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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5722b8
mov eax, dword fs:[0]
push eax
sub esp, 0x1b4
mov eax, dword [0xfd2698]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c0], ecx
mov eax, dword [ebp - 0x1c0]
mov dword [eax + 0x38], 0
mov dword [0xfd477c], 0
mov ecx, 0xfd4780
call fcn.00402730
mov ecx, dword [ebp - 0x1c0]
xor edx, edx
cmp edx, dword [ecx + 8]
sbb eax, eax
add eax, 1
je 0x41891d
push 1
mov ecx, dword [ebp - 0x1c0]
add ecx, 0x34
call fcn.0042ad70
mov ecx, dword [ebp - 0x1c0]
mov edx, dword [ecx + 0x34]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x68]
mov byte [eax], 0xc3
mov ecx, dword [ebp - 0x1c0]
mov edx, dword [ecx + 0x38]
mov dword [ebp - 0x98], edx
mov eax, dword [ebp - 0x1c0]
mov ecx, dword [eax + 0x34]
mov dword [ebp - 0x9c], ecx
lea edx, [ebp - 0x64]
push edx
push 0x40
mov eax, dword [ebp - 0x98]
push eax
mov ecx, dword [ebp - 0x9c]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebp - 0x1c0]
mov eax, dword [edx + 0x38]
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0x1c0]
mov edx, dword [ecx + 0x34]
mov dword [ebp - 0xa4], edx
mov eax, dword [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0xa4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
jmp 0x418c3c
mov ecx, dword [ebp - 0x1c0]
call fcn.00419110
lea ecx, [ebp - 0x58]
call fcn.00418c50
mov dword [ebp - 4], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x6c], 0
mov edx, dword [ebp - 0x1c0]
mov eax, dword [edx + 8]
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0x6c]
cmp ecx, dword [ebp - 0xac]
jge 0x41899e
mov edx, dword [ebp - 0x1c0]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x6c]
lea edx, [eax + ecx*4]
mov dword [ebp - 0xb0], edx
mov eax, dword [ebp - 0xb0]
mov ecx, dword [eax]
mov dword [ebp - 0x70], ecx
lea edx, [ebp - 0x5c]
push edx
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x70]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x70]
mov eax, dword [edx + 0x40]
call eax
mov ecx, dword [ebp - 0x6c]
add ecx, 1
mov dword [ebp - 0x6c], ecx
jmp 0x418945
mov edx, dword [ebp - 0x1c0]
add edx, 0x34
push edx
mov ecx, 0x102e1e0
call fcn.00508c10
cmp dword [ebp - 0x58], 0
je 0x4189da
mov ecx, 0x102e1e0
call fcn.00509720
mov ecx, 0x102e1e0
call fcn.00509e90
mov eax, dword [ebp - 0x58]
push eax
mov ecx, 0x102e1e0
call fcn.0050a0a0
lea ecx, [ebp - 0x58]
push ecx
mov ecx, dword [ebp - 0x1c0]
call fcn.00416c20
cmp dword [ebp - 0x58], 0
je 0x418a03
mov ecx, 0x102e1e0
call fcn.00509e60
mov ecx, 0x102e1e0
call fcn.00509700
mov ecx, 0x102e1e0
call fcn.00509580
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x74], 0
jmp 0x418a2d
mov edx, dword [ebp - 0x74]
add edx, 1
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0x74]
cmp ecx, dword [ebp - 0xb4]
jae 0x418bbc
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x34]
lea ecx, [eax + edx*4]
mov dword [ebp - 0xb8], ecx
push 0
push 0xfcf420
push 0xfcf2a4
push 0
mov edx, dword [ebp - 0xb8]
mov eax, dword [edx]
push eax
call fcn.00536c1f
add esp, 0x14
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x24
push ecx
lea edx, [ebp - 0x7c]
push edx
lea ecx, [ebp - 0x54]
call fcn.0041e150
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xec], eax
lea ecx, [ebp - 0x54]
push ecx
mov edx, dword [ebp - 0xec]
push edx
lea ecx, [ebp - 0x84]
call fcn.00426630
xor eax, eax
cmp dword [ebp - 0x1c], 0
setne al
movzx ecx, al
test ecx, ecx
je 0x418ad8
mov edx, dword [ebp - 0x1c]
xor eax, eax
cmp edx, dword [ebp - 0x84]
sete al
movzx ecx, al
test ecx, ecx
jne 0x418add
call fcn.005347cd
xor edx, edx
jne 0x418add
mov eax, dword [ebp - 0x18]
xor ecx, ecx
cmp eax, dword [ebp - 0x80]
sete cl
movzx edx, cl
test edx, edx
je 0x418b43
mov eax, dword [ebp - 0x14]
mov dword [0xfd477c], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x24]
push edx
push 0x58b820
push 0xfd4780
call fcn.00402ac0
add esp, 0xc
mov dword [ebp - 0x88], 0xfd477c
push 0xfbbf6c
lea eax, [ebp - 0x88]
push eax
call fcn.0053504a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00418cd0
jmp 0x418c3c
lea ecx, [ebp - 0x1c]
call fcn.0046ceb0
mov dword [ebp - 0x100], eax
mov ecx, dword [0x102e1e0]
mov edx, dword [ecx]
mov dword [ebp - 0x104], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x28]
mov edx, dword [ebp - 0x104]
mov eax, dword [edx + ecx]
mov dword [ebp - 0x108], eax
mov ecx, dword [ebp - 0x100]
mov edx, dword [ecx + 4]
sub edx, dword [ebp - 0x108]
mov dword [ebp - 0x114], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x110], ecx
mov edx, dword [0x102e1e0]
mov eax, dword [edx]
mov dword [ebp - 0x10c], eax
mov ecx, dword [ebp - 0x10c]
add ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x114]
mov dword [ecx], edx
jmp 0x418a24
mov eax, dword [ebp - 0x1c0]
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0x118], ecx
mov edx, dword [ebp - 0x1c0]
mov eax, dword [edx + 0x34]
mov dword [ebp - 0x11c], eax
lea ecx, [ebp - 0x10]
push ecx
push 0x40
mov edx, dword [ebp - 0x118]
push edx
mov eax, dword [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 0x1c0]
mov edx, dword [ecx + 0x38]
mov dword [ebp - 0x120], edx
mov eax, dword [ebp - 0x1c0]
mov ecx, dword [eax + 0x34]
mov dword [ebp - 0x124], ecx
mov edx, dword [ebp - 0x120]
push edx
mov eax, dword [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00418cd0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret