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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59d718
mov eax, dword fs:[0]
push eax
sub esp, 0x1b8
mov eax, dword [0x1004610]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c4], ecx
mov eax, dword [ebp - 0x1c4]
mov dword [eax + 0x38], 0
mov dword [0x10066f0], 0
mov ecx, 0x10066f4
call fcn.00402880
mov ecx, dword [ebp - 0x1c4]
xor edx, edx
cmp edx, dword [ecx + 8]
sbb eax, eax
add eax, 1
je 0x41990d
push 1
mov ecx, dword [ebp - 0x1c4]
add ecx, 0x34
call fcn.0042c4f0
mov ecx, dword [ebp - 0x1c4]
mov edx, dword [ecx + 0x34]
mov dword [ebp - 0x70], edx
mov eax, dword [ebp - 0x70]
mov byte [eax], 0xc3
mov ecx, dword [ebp - 0x1c4]
mov edx, dword [ecx + 0x38]
mov dword [ebp - 0xa0], edx
mov eax, dword [ebp - 0x1c4]
mov ecx, dword [eax + 0x34]
mov dword [ebp - 0xa4], ecx
lea edx, [ebp - 0x6c]
push edx
push 0x40
mov eax, dword [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0xa4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebp - 0x1c4]
mov eax, dword [edx + 0x38]
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0x1c4]
mov edx, dword [ecx + 0x34]
mov dword [ebp - 0xac], edx
mov eax, dword [ebp - 0xa8]
push eax
mov ecx, dword [ebp - 0xac]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
jmp 0x419c95
mov ecx, dword [ebp - 0x1c4]
call fcn.0041a170
lea ecx, [ebp - 0x64]
call fcn.00419cb0
mov dword [ebp - 4], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x74], 0
mov edx, dword [ebp - 0x1c4]
mov eax, dword [edx + 8]
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0x74]
cmp ecx, dword [ebp - 0xbc]
jge 0x41998e
mov edx, dword [ebp - 0x1c4]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x74]
lea edx, [eax + ecx*4]
mov dword [ebp - 0xc0], edx
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax]
mov dword [ebp - 0x78], ecx
lea edx, [ebp - 0x68]
push edx
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x78]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x78]
mov eax, dword [edx + 0x44]
call eax
mov ecx, dword [ebp - 0x74]
add ecx, 1
mov dword [ebp - 0x74], ecx
jmp 0x419935
lea edx, [ebp - 0x64]
push edx
mov ecx, dword [ebp - 0x1c4]
call fcn.00416e60
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x64], 0
je 0x4199bd
mov eax, dword [ebp - 0x18]
add eax, 0xf
push eax
mov ecx, dword [ebp - 0x1c4]
add ecx, 0x34
call fcn.0042c4f0
jmp 0x4199d2
mov ecx, dword [ebp - 0x18]
add ecx, 3
push ecx
mov ecx, dword [ebp - 0x1c4]
add ecx, 0x34
call fcn.0042c4f0
mov edx, dword [ebp - 0x1c4]
mov eax, dword [edx + 0x34]
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x64], 0
je 0x419a46
mov eax, dword [ebp - 0x14]
mov byte [eax], 0x55
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
mov byte [edx], 0x8b
mov eax, dword [ebp - 0x14]
mov byte [eax + 1], 0xec
mov ecx, dword [ebp - 0x14]
add ecx, 2
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
mov byte [edx], 0x81
mov eax, dword [ebp - 0x14]
mov byte [eax + 1], 0xec
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x64]
mov dword [ecx + 2], edx
mov eax, dword [ebp - 0x14]
add eax, 6
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 9
mov dword [ebp - 0x1c], ecx
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x1c4]
call fcn.00417f20
cmp dword [ebp - 0x64], 0
je 0x419a84
mov ecx, dword [ebp - 0x14]
mov byte [ecx], 0x8b
mov edx, dword [ebp - 0x14]
mov byte [edx + 1], 0xe5
mov eax, dword [ebp - 0x14]
add eax, 2
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov byte [ecx], 0x5d
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
mov byte [eax], 0xc3
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x7c], 0
jmp 0x419ab3
mov edx, dword [ebp - 0x7c]
add edx, 1
mov dword [ebp - 0x7c], edx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0x7c]
cmp ecx, dword [ebp - 0xc8]
jae 0x419c15
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x40]
lea ecx, [eax + edx*4]
mov dword [ebp - 0xcc], ecx
push 0
push 0x1001420
push 0x10012a4
push 0
mov edx, dword [ebp - 0xcc]
mov eax, dword [edx]
push eax
call fcn.00562eca
add esp, 0x14
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
add ecx, 0x24
push ecx
lea edx, [ebp - 0x84]
push edx
lea ecx, [ebp - 0x60]
call fcn.0052fb30
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x100], eax
mov dword [ebp - 0x8c], 0
mov ecx, dword [ebp - 0x100]
mov dword [ebp - 0x88], ecx
lea edx, [ebp - 0x60]
test edx, edx
jne 0x419b48
call fcn.00560baa
xor eax, eax
jne 0x419b48
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x8c], ecx
xor edx, edx
cmp dword [ebp - 0x28], 0
setne dl
movzx eax, dl
test eax, eax
je 0x419b7a
mov ecx, dword [ebp - 0x28]
xor edx, edx
cmp ecx, dword [ebp - 0x8c]
sete dl
movzx eax, dl
test eax, eax
jne 0x419b7f
call fcn.00560baa
xor ecx, ecx
jne 0x419b7f
mov edx, dword [ebp - 0x24]
xor eax, eax
cmp edx, dword [ebp - 0x88]
sete al
movzx ecx, al
test ecx, ecx
je 0x419be9
mov edx, dword [ebp - 0x20]
mov dword [0x10066f0], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x24]
push ecx
push 0x5ba818
push 0x10066f4
call fcn.00402c00
add esp, 0xc
mov dword [ebp - 0x90], 0x10066f0
push 0xfebc30
lea edx, [ebp - 0x90]
push edx
call fcn.005613a6
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00419d30
jmp 0x419c95
lea ecx, [ebp - 0x28]
call fcn.00422420
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x28]
mov edx, dword [ebp - 0x118]
mov eax, dword [edx + 4]
sub eax, dword [ecx]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x28]
mov dword [edx], eax
jmp 0x419aaa
mov eax, dword [ebp - 0x1c4]
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0x11c], ecx
mov edx, dword [ebp - 0x1c4]
mov eax, dword [edx + 0x34]
mov dword [ebp - 0x120], eax
lea ecx, [ebp - 0x10]
push ecx
push 0x40
mov edx, dword [ebp - 0x11c]
push edx
mov eax, dword [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 0x1c4]
mov edx, dword [ecx + 0x38]
mov dword [ebp - 0x124], edx
mov eax, dword [ebp - 0x1c4]
mov ecx, dword [eax + 0x34]
mov dword [ebp - 0x128], ecx
mov edx, dword [ebp - 0x124]
push edx
mov eax, dword [ebp - 0x128]
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 - 0x64]
call fcn.00419d30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret