Function at 0x419110
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x572318
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0xfd2698]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x220], ecx
mov eax, dword [ebp - 0x220]
mov dword [eax + 0x44], 0
mov ecx, dword [ebp - 0x220]
mov dword [ecx + 0x4c], 0
mov edx, dword [ebp - 0x220]
add edx, 0x50
mov dword [ebp - 0xa0], edx
mov eax, dword [ebp - 0xa0]
mov dword [eax + 8], 0
xor ecx, ecx
je 0x4191b9
mov edx, dword [ebp - 0xa0]
cmp dword [edx], 0
je 0x4191b9
mov eax, dword [ebp - 0xa0]
mov ecx, dword [eax]
mov dword [ebp - 0x9c], ecx
mov edx, dword [ebp - 0x9c]
push edx
call fcn.00515115
add esp, 4
mov eax, dword [ebp - 0xa0]
mov dword [eax], 0
mov ecx, dword [ebp - 0xa0]
mov dword [ecx + 4], 0
mov ecx, dword [ebp - 0x220]
call fcn.00466970
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0xa4], eax
xor ecx, ecx
cmp dword [ebp - 0xa4], 0
sete cl
movzx edx, cl
test edx, edx
je 0x4191eb
jmp 0x41976c
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0xa8], ecx
mov edx, dword [ebp - 0x220]
add edx, 0x50
mov dword [ebp - 0xac], edx
mov eax, dword [ebp - 0xa8]
push eax
mov ecx, dword [ebp - 0xac]
call fcn.00422450
mov ecx, dword [ebp - 0xac]
mov edx, dword [ebp - 0xa8]
mov dword [ecx + 8], edx
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0xb0], ecx
mov edx, dword [ebp - 0xb0]
mov eax, dword [edx]
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0xb4]
push edx
lea ecx, [ebp - 0x54]
call fcn.00426630
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
jmp 0x4192a3
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xbc], edx
mov dword [ebp - 0xb8], eax
lea ecx, [ebp - 0x38]
call fcn.00426560
mov ecx, dword [ebp - 0xbc]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0xb8]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0xc0], ecx
mov edx, dword [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x64]
call fcn.00426630
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x38]
call fcn.004c3410
movzx edx, al
neg edx
sbb edx, edx
add edx, 1
movzx eax, dl
test eax, eax
je 0x419396
lea ecx, [ebp - 0x38]
call fcn.0046ceb0
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0xc4]
mov edx, dword [ecx + 4]
mov dword [ebp - 0xc8], edx
xor eax, eax
shl eax, 2
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ecx + 0x10]
mov eax, dword [eax + edx]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x220]
mov edx, dword [ecx + 0x50]
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
mov dword [edx + eax*4], ecx
lea ecx, [ebp - 0x38]
call fcn.0046ceb0
mov dword [ebp - 0xcc], eax
mov edx, dword [ebp - 0xcc]
mov eax, dword [edx + 4]
mov dword [ebp - 0xd0], eax
mov ecx, dword [ebp - 0xd0]
mov edx, dword [ecx + 8]
mov dword [ebp - 0xd4], edx
cmp dword [ebp - 0xd4], 0
jne 0x419367
mov dword [ebp - 0xdc], 4
jmp 0x419385
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax + 8]
mov dword [ebp - 0xd8], ecx
mov edx, dword [ebp - 0xd8]
mov eax, dword [edx + 8]
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp - 0x48]
add ecx, dword [ebp - 0xdc]
mov dword [ebp - 0x48], ecx
jmp 0x419277
mov edx, dword [ebp - 0x220]
mov eax, dword [ebp - 0x48]
mov dword [edx + 0x4c], eax
lea ecx, [ebp - 0xdd]
push ecx
lea edx, [ebp - 0xde]
push edx
lea ecx, [ebp - 0x30]
call fcn.0046e390
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0xe4], ecx
mov edx, dword [ebp - 0xe4]
mov eax, dword [edx]
mov dword [ebp - 0xe8], eax
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0xe8]
push edx
lea ecx, [ebp - 0x6c]
call fcn.00426630
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
jmp 0x419426
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xf0], edx
mov dword [ebp - 0xec], eax
lea ecx, [ebp - 0x38]
call fcn.00426560
mov ecx, dword [ebp - 0xf0]
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0xec]
mov dword [ebp - 0x70], edx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0xf4], ecx
mov edx, dword [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0xf4]
push eax
lea ecx, [ebp - 0x7c]
call fcn.00426630
lea ecx, [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x38]
call fcn.004c3410
movzx edx, al
neg edx
sbb edx, edx
add edx, 1
movzx eax, dl
test eax, eax
je 0x419553
lea ecx, [ebp - 0x38]
call fcn.0046ceb0
mov dword [ebp - 0xf8], eax
mov ecx, dword [ebp - 0xf8]
mov edx, dword [ecx + 4]
mov dword [ebp - 0xfc], edx
mov eax, dword [ebp - 0xfc]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x100], ecx
cmp dword [ebp - 0x100], 0
je 0x4194da
lea ecx, [ebp - 0x38]
call fcn.0046ceb0
mov dword [ebp - 0x104], eax
mov edx, dword [ebp - 0x104]
mov eax, dword [edx + 4]
mov dword [ebp - 0x108], eax
mov ecx, dword [ebp - 0x108]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x10c], edx
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax + 0x18]
and ecx, 1
je 0x4194da
jmp 0x4193fa
lea ecx, [ebp - 0x38]
call fcn.0046ceb0
mov dword [ebp - 0x110], eax
mov edx, dword [ebp - 0x110]
mov eax, dword [edx + 4]
mov dword [ebp - 0x114], eax
xor ecx, ecx
shl ecx, 2
mov edx, dword [ebp - 0x114]
add ecx, dword [edx + 0x10]
mov dword [ebp - 0x118], ecx
mov eax, dword [ebp - 0x114]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x11c], ecx
mov edx, dword [ebp - 0x118]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ecx]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x120], eax
mov ecx, dword [ebp - 0x120]
mov dword [ebp - 0x80], ecx
lea edx, [ebp - 0x80]
push edx
lea ecx, [ebp - 0x30]
call fcn.0041e370
mov dword [eax], 0
jmp 0x4193fa
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x15c], eax
xor ecx, ecx
cmp dword [ebp - 0x15c], 0
sete cl
movzx edx, cl
test edx, edx
je 0x419583
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00427de0
jmp 0x41976c
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x164], eax
mov ecx, dword [ebp - 0x164]
imul ecx, ecx, 0xc
add ecx, 1
push ecx
mov ecx, dword [ebp - 0x220]
add ecx, 0x40
call fcn.0042ada0
mov edx, dword [ebp - 0x220]
add edx, 0x40
push edx
mov ecx, 0x102e1e0
call fcn.00508c10
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x168], eax
mov ecx, dword [ebp - 0x168]
mov edx, dword [ecx]
mov dword [ebp - 0x16c], edx
mov dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x84], eax
lea ecx, [ebp - 0x30]
test ecx, ecx
jne 0x419602
call fcn.005347cd
xor edx, edx
jne 0x419602
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], edx
jmp 0x419655
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x170], ecx
lea ecx, [ebp - 0x40]
call fcn.00426560
mov edx, dword [ebp - 0x174]
mov dword [ebp - 0x90], edx
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x178], ecx
mov dword [ebp - 0x98], 0
mov edx, dword [ebp - 0x178]
mov dword [ebp - 0x94], edx
lea eax, [ebp - 0x30]
test eax, eax
jne 0x419680
call fcn.005347cd
xor ecx, ecx
jne 0x419680
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x98], edx
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0x40]
call fcn.005060f0
movzx ecx, al
test ecx, ecx
je 0x4196e2
lea ecx, [ebp - 0x40]
call fcn.0046ceb0
mov dword [ebp - 0x180], eax
mov edx, dword [ebp - 0x180]
mov eax, dword [edx]
push eax
mov ecx, 0x102e1e0
call fcn.0050a8b0
mov ecx, 0x102e1e0
call fcn.005096c0
push fcn.00447320
mov ecx, 0x102e1e0
call fcn.00508f90
jmp 0x419623
mov ecx, 0x102e1e0
call fcn.00509580
mov ecx, dword [ebp - 0x220]
mov edx, dword [ecx + 0x44]
mov dword [ebp - 0x184], edx
mov eax, dword [ebp - 0x220]
mov ecx, dword [eax + 0x40]
mov dword [ebp - 0x188], ecx
lea edx, [ebp - 0x10]
push edx
push 0x40
mov eax, dword [ebp - 0x184]
push eax
mov ecx, dword [ebp - 0x188]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebp - 0x220]
mov eax, dword [edx + 0x44]
mov dword [ebp - 0x18c], eax
mov ecx, dword [ebp - 0x220]
mov edx, dword [ecx + 0x40]
mov dword [ebp - 0x190], edx
mov eax, dword [ebp - 0x18c]
push eax
mov ecx, dword [ebp - 0x190]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00427de0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret