Function at 0x409a10
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0xffffffffffffffff
push 0x4544d2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
call fcn.0040cbb0
lea ebp, [esi + 0x64]
xor ebx, ebx
mov ecx, ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], ebp
call fcn.0040cbc0
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0x10], ebx
mov word [ebp + 0x14], bx
mov byte [ebp + 0x16], bl
mov eax, 0x4586a4
mov ecx, 1
mov dword [ebp + 0xc], eax
cmp word [0x4586a4], 0xffff
mov byte [esp + 0x24], cl
je 0x409a7f
add eax, 4
inc ecx
cmp word [eax], 0xffff
jne 0x409a74
lea edi, [ecx*8]
push edi
call fcn.00440c16
mov edx, eax
add esp, 4
cmp edx, ebx
mov dword [ebp + 0x10], edx
je 0x409aac
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea edi, [esi + 0x20]
mov byte [esp + 0x24], 2
mov ecx, edi
mov dword [esi + 0x1c], 0x4586a0
call fcn.00410190
mov dword [esi + 0x5c], 0x45869c
or eax, 0xffffffff
mov dword [esi + 0x60], 0x458650
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov byte [esi + 0x98], bl
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
lea eax, [esi + 0x9c]
cmp eax, ebx
je 0x409b12
lea ecx, [eax - 0x9c]
jmp 0x409b14
xor ecx, ecx
push eax
add ecx, 8
push 0x40
push 0xd
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov al, byte [esp + 0x13]
mov dword [esi + 0xac], ebx
mov byte [esi + 0xa8], al
mov dword [esi + 0xb0], ebx
mov dword [esi + 0xb4], ebx
push 0x10fc
mov byte [esp + 0x28], 6
call fcn.00440c16
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x24], 7
je 0x409b67
mov ecx, eax
call fcn.00426380
jmp 0x409b69
xor eax, eax
mov dword [esi + 0xb8], eax
push 0x6e4
mov byte [esp + 0x28], 8
call fcn.00440c16
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x24], 9
je 0x409b97
mov ecx, eax
call fcn.00419c90
jmp 0x409b99
xor eax, eax
mov dword [esi + 0xbc], eax
push 0x434
mov byte [esp + 0x28], 0xa
call fcn.00440c16
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x24], 0xb
je 0x409bc7
mov ecx, eax
call fcn.00421070
jmp 0x409bc9
xor eax, eax
mov dword [esi + 0xc0], eax
push 0x5b0
mov byte [esp + 0x28], 0xc
call fcn.00440c16
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x24], 0xd
je 0x409bf7
mov ecx, eax
call fcn.0041e090
jmp 0x409bf9
xor eax, eax
mov dword [esi + 0xc4], eax
push 0x16c
mov byte [esp + 0x28], 0xe
call fcn.00440c16
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x24], 0xf
je 0x409c27
mov ecx, eax
call fcn.00424d80
jmp 0x409c29
xor eax, eax
mov dword [esi + 0xc8], eax
lea ecx, [esi + 0xd0]
mov byte [esp + 0x24], 0x10
mov dword [esi + 0xcc], ebx
call int.00430670
lea ecx, [esi + 0x12c]
mov byte [esp + 0x24], 0x11
call fcn.00415180
lea ecx, [esi + 0x1f4]
mov byte [esp + 0x24], 0x12
call fcn.00415180
lea ecx, [esi + 0x66c]
mov byte [esp + 0x24], 0x13
call 0x434e40
lea ecx, [esi + 0x69c]
mov byte [esp + 0x24], 0x14
mov dword [esi + 0x680], ebx
mov dword [esi + 0x690], ebx
mov dword [esi + 0x698], ebx
call fcn.0042e4e0
mov dword [edi], 0x45864c
mov ecx, 0xea
xor eax, eax
lea edi, [esi + 0x2c0]
mov dword [esi], 0x458640
mov dword [esi + 0x1c], 0x45863c
mov dword [esi + 0x5c], 0x458638
mov dword [esi + 0x60], 0x4585ec
mov dword [esi + 0x2bc], ebx
mov dword [esi + 0x124], 0x5003
mov dword [esi + 0x128], 0x3000
mov dword [esi + 0x668], ebx
mov dword [esi + 0x684], ebx
mov dword [esi + 0x688], ebx
mov dword [esi + 0x694], ebx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret