Function at 0x402360
Capabilities:
Create process on windows
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x426258
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
push edi
lea eax, [esp + 8]
push eax
mov dword [esp + 0x18], ecx
call fcn.00401c00
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x4276e0
push 0x82
push 0
mov dword [esp + 0x3c], 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x4023ec
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov dword [esp + 0x30], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402590
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop edi
pop esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
push ebx
push esi
push 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
jne 0x40243b
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x34], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40258f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
push esi
push 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4023ff
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
test ebp, ebp
jne 0x402467
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x402568
call fcn.0041afba
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push 0x4276dc
push ecx
mov byte [esp + 0x44], 1
call fcn.00401a10
push 0
call fcn.0040d341
push eax
call fcn.0040d246
add esp, 0x14
mov esi, 0xb
call fcn.0040d253
cdq
mov ecx, 0x1a
idiv ecx
lea ecx, [esp + 0x14]
add dl, 0x61
mov byte [esp + 0x18], dl
mov edx, dword [esp + 0x18]
push edx
call fcn.00401650
dec esi
jne 0x4024a8
push 4
push 0x4276d4
lea ecx, [esp + 0x1c]
call fcn.00401860
lea ecx, [esp + 0x20]
call fcn.0041b3b1
mov esi, dword [esp + 0x14]
push 0
push 0x1001
push esi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x44], 2
call fcn.0041b649
test eax, eax
je 0x402534
push ebx
push ebp
lea ecx, [esp + 0x28]
call fcn.0041b104
lea ecx, [esp + 0x20]
call fcn.0041b34f
mov eax, dword [esp + 0x1c]
push 0
push 0
add eax, 0xa4
push eax
push esi
push 0x4276cc
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 1
call fcn.0041b3f0
lea eax, [esi - 0x10]
mov byte [esp + 0x38], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402568
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x38], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40258e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret