Function at 0x419600
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58a768
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0xfef5f0]
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 0x4196a9
mov edx, dword [ebp - 0xa0]
cmp dword [edx], 0
je 0x4196a9
mov eax, dword [ebp - 0xa0]
mov ecx, dword [eax]
mov dword [ebp - 0x9c], ecx
mov edx, dword [ebp - 0x9c]
push edx
call fcn.0052e377
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.00458230
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 0x4196db
jmp 0x419c5c
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.004243d0
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.0045f470
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
jmp 0x419793
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.004c6f90
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.0045f470
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00429bf0
movzx edx, al
neg edx
sbb edx, edx
add edx, 1
movzx eax, dl
test eax, eax
je 0x419886
lea ecx, [ebp - 0x38]
call fcn.0051cfe0
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.0051cfe0
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 0x419857
mov dword [ebp - 0xdc], 4
jmp 0x419875
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 0x419767
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.004210d0
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.0045f470
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
jmp 0x419916
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.004c6f90
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.0045f470
lea ecx, [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00429bf0
movzx edx, al
neg edx
sbb edx, edx
add edx, 1
movzx eax, dl
test eax, eax
je 0x419a43
lea ecx, [ebp - 0x38]
call fcn.0051cfe0
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 0x4199ca
lea ecx, [ebp - 0x38]
call fcn.0051cfe0
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 0x4199ca
jmp 0x4198ea
lea ecx, [ebp - 0x38]
call fcn.0051cfe0
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.0041ef00
mov dword [eax], 0
jmp 0x4198ea
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 0x419a73
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00428370
jmp 0x419c5c
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.0042b0b0
mov edx, dword [ebp - 0x220]
add edx, 0x40
push edx
mov ecx, 0x104a750
call fcn.0052bd20
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 0x419af2
call fcn.0054db5a
xor edx, edx
jne 0x419af2
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 0x419b45
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.004c6f90
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 0x419b70
call fcn.0054db5a
xor ecx, ecx
jne 0x419b70
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x98], edx
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0x40]
call fcn.00420d10
movzx ecx, al
test ecx, ecx
je 0x419bd2
lea ecx, [ebp - 0x40]
call fcn.0051cfe0
mov dword [ebp - 0x180], eax
mov edx, dword [ebp - 0x180]
mov eax, dword [edx]
push eax
mov ecx, 0x104a750
call fcn.0052d8b0
mov ecx, 0x104a750
call fcn.0052c680
push fcn.00446e70
mov ecx, 0x104a750
call fcn.0052c0a0
jmp 0x419b13
mov ecx, 0x104a750
call fcn.0052c540
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.00428370
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret