Function at 0x4040e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0xffffffffffffffff
push 0x44c502
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.00407050
lea ebp, [esi + 0x64]
xor ebx, ebx
mov ecx, ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], ebp
call fcn.00407100
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0x10], ebx
mov word [ebp + 0x14], bx
mov byte [ebp + 0x16], bl
mov eax, 0x44f60c
mov ecx, 1
mov dword [ebp + 0xc], eax
cmp word [0x44f60c], 0xffff
mov byte [esp + 0x24], cl
je 0x40414f
add eax, 4
inc ecx
cmp word [eax], 0xffff
jne 0x404144
lea edi, [ecx*8]
push edi
call fcn.00438f1a
mov edx, eax
add esp, 4
cmp edx, ebx
mov dword [ebp + 0x10], edx
je 0x40417c
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], 0x44f608
call fcn.004081b0
mov dword [esi + 0x5c], 0x44f604
or eax, 0xffffffff
mov dword [esi + 0x60], 0x44f5b8
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 0x4041e2
lea ecx, [eax - 0x9c]
jmp 0x4041e4
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 0x598
mov byte [esp + 0x28], 6
call fcn.00438f1a
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x24], 7
je 0x404237
mov ecx, eax
call fcn.0041d500
jmp 0x404239
xor eax, eax
mov dword [esi + 0xb8], eax
push 0x530
mov byte [esp + 0x28], 8
call fcn.00438f1a
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x24], 9
je 0x404267
mov ecx, eax
call fcn.00411610
jmp 0x404269
xor eax, eax
mov dword [esi + 0xbc], eax
push 0x420
mov byte [esp + 0x28], 0xa
call fcn.00438f1a
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x24], 0xb
je 0x404297
mov ecx, eax
call fcn.00418130
jmp 0x404299
xor eax, eax
mov dword [esi + 0xc0], eax
push 0x58c
mov byte [esp + 0x28], 0xc
call fcn.00438f1a
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x24], 0xd
je 0x4042c7
mov ecx, eax
call fcn.004153b0
jmp 0x4042c9
xor eax, eax
mov dword [esi + 0xc4], eax
push 0x160
mov byte [esp + 0x28], 0xe
call fcn.00438f1a
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x24], 0xf
je 0x4042f7
mov ecx, eax
call fcn.0041bf20
jmp 0x4042f9
xor eax, eax
mov dword [esi + 0xc8], eax
lea ecx, [esi + 0xd0]
mov byte [esp + 0x24], 0x10
mov dword [esi + 0xcc], ebx
call fcn.004247b0
lea ecx, [esi + 0x12c]
mov byte [esp + 0x24], 0x11
call fcn.0040cb10
lea ecx, [esi + 0x1ec]
mov byte [esp + 0x24], 0x12
call fcn.0040cb10
lea ecx, [esi + 0x65c]
mov byte [esp + 0x24], 0x13
call fcn.00428ce0
lea ecx, [esi + 0x68c]
mov byte [esp + 0x24], 0x14
mov dword [esi + 0x670], ebx
mov dword [esi + 0x680], ebx
mov dword [esi + 0x688], ebx
call fcn.004227e0
mov dword [edi], 0x44f5b4
mov ecx, 0xea
xor eax, eax
lea edi, [esi + 0x2b0]
mov dword [esi], 0x44f5a8
mov dword [esi + 0x1c], 0x44f5a4
mov dword [esi + 0x5c], 0x44f5a0
mov dword [esi + 0x60], 0x44f554
mov dword [esi + 0x2ac], ebx
mov dword [esi + 0x124], 0x5003
mov dword [esi + 0x128], 0x3000
mov dword [esi + 0x658], ebx
mov dword [esi + 0x674], ebx
mov dword [esi + 0x678], ebx
mov dword [esi + 0x684], 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