Function at 0x429180
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x437580
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x44aae4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
push 0x40
push 0x1000
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax + 0x14]
imul ecx, ecx, 0x64
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4291f6
mov dword [ebp - 0x4c], str.Error_allocating_memory...
push 0x4465f0
lea edx, [ebp - 0x4c]
push edx
call fcn.004130b6
jmp 0x42921a
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0x14]
imul edx, edx, 0x19
push edx
push str.Allocated_0x_08X_bytes_at:_0x_08X
push 0x32
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax + 0x28]
push ecx
call fcn.0040fe9e
add esp, 0x14
mov edx, dword [ebp + 0x10]
add edx, 1
imul edx, edx, 0x64
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x18]
push ecx
push 4
mov edx, dword [ebp + 0x18]
sub edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [0x44ec5c]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [0x44ec3c]
call fcn.0042d040
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov ecx, dword [ebp - 0x64]
call fcn.00428c50
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
je 0x4294b5
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x429358
mov ecx, dword [ebp - 0x3c]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x14]
lea eax, [edx + ecx + 0xc]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [ebp - 0x14]
mov edx, dword [0x44ec44]
add ecx, dword [edx + 0x20]
mov dword [ebp - 0x34], ecx
push 4
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0040fee0
add esp, 0xc
mov edx, dword [ebp - 0x1c]
add edx, 4
mov dword [ebp - 0x1c], edx
mov eax, dword [0x44ec44]
mov ecx, dword [ebp - 0x38]
sub ecx, dword [eax + 0x24]
mov dword [ebp - 0x34], ecx
push 4
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0040fee0
add esp, 0xc
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x24]
imul edx, edx, 0x140
mov eax, dword [ebp + 8]
mov ecx, dword [eax + edx + 0x108]
push ecx
mov edx, dword [ebp - 0x24]
imul edx, edx, 0x140
mov eax, dword [ebp + 8]
mov ecx, dword [eax + edx]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0040fee0
add esp, 0xc
mov eax, dword [ebp - 0x24]
imul eax, eax, 0x140
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax + 0x108]
mov eax, dword [ebp - 0x2c]
lea ecx, [eax + edx + 2]
mov dword [ebp - 0x2c], ecx
mov byte [ebp - 0x1d], 0
mov edx, dword [ebp - 0x24]
imul edx, edx, 0x140
mov eax, dword [ebp - 0x30]
shl eax, 4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + edx + 0x13c]
movzx eax, byte [edx + eax + 8]
test eax, eax
je 0x429460
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [ebp - 0x14]
mov edx, dword [0x44ec44]
add ecx, dword [edx + 0x20]
mov dword [ebp - 0x1c], ecx
lea eax, [ebp - 0x18]
push eax
push 4
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [0x44ec5c]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 0x1c]
add eax, 1
mov ecx, dword [ebp - 0x64]
mov dword [ecx + 0x1c], eax
push 2
mov edx, dword [ebp - 0x24]
imul edx, edx, 0x140
mov eax, dword [ebp - 0x30]
shl eax, 4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + edx + 0x13c]
lea eax, [edx + eax + 0xa]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0040fee0
add esp, 0xc
mov edx, dword [ebp - 0x2c]
add edx, 2
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x24]
imul eax, eax, 0x140
mov ecx, dword [ebp - 0x30]
shl ecx, 4
mov edx, dword [ebp + 8]
mov eax, dword [edx + eax + 0x13c]
mov ecx, dword [eax + ecx + 4]
push ecx
mov edx, dword [ebp - 0x24]
imul edx, edx, 0x140
mov eax, dword [ebp - 0x30]
shl eax, 4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + edx + 0x13c]
mov eax, dword [edx + eax]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0040fee0
add esp, 0xc
mov edx, dword [ebp - 0x24]
imul edx, edx, 0x140
mov eax, dword [ebp - 0x30]
shl eax, 4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + edx + 0x13c]
mov eax, dword [edx + eax + 4]
mov ecx, dword [ebp - 0x2c]
lea edx, [ecx + eax + 2]
mov dword [ebp - 0x2c], edx
jmp 0x4294b3
mov eax, dword [ebp - 0x24]
imul eax, eax, 0x140
mov ecx, dword [ebp - 0x30]
shl ecx, 4
mov edx, dword [ebp + 8]
mov eax, dword [edx + eax + 0x13c]
movzx ecx, word [eax + ecx + 0xa]
sub ecx, 0x80000000
mov dword [ebp - 0x1c], ecx
lea edx, [ebp - 0x18]
push edx
push 4
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [0x44ec5c]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0x1c]
add edx, 1
mov eax, dword [ebp - 0x64]
mov dword [eax + 0x1c], edx
jmp 0x4294e9
mov dword [ebp - 0x34], 0
push 0
push 4
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [0x44ec5c]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov byte [ebp - 0x1d], 1
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 0x1c]
add eax, 1
mov ecx, dword [ebp - 0x64]
mov dword [ecx + 0x1c], eax
mov edx, dword [ebp - 0x38]
add edx, 4
mov dword [ebp - 0x38], edx
mov eax, dword [ebp + 0x18]
add eax, 4
cmp dword [ebp - 0x38], eax
jbe 0x42925a
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x38]
mov dword [ecx + 0x20], edx
mov dword [ebp - 0x40], 0
jmp 0x42951c
mov eax, dword [ebp - 0x40]
add eax, 1
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [ebp + 0xc]
jae 0x4295c4
mov dword [ebp - 0x44], 0
jmp 0x42953a
mov edx, dword [ebp - 0x44]
add edx, 1
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x40]
imul eax, eax, 0x140
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x44]
cmp edx, dword [ecx + eax + 0x120]
jge 0x42957f
mov eax, dword [ebp - 0x40]
imul eax, eax, 0x140
mov ecx, dword [ebp - 0x44]
shl ecx, 4
mov edx, dword [ebp + 8]
mov eax, dword [edx + eax + 0x13c]
mov ecx, dword [ecx + eax]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x50]
push edx
call fcn.00402710
add esp, 4
jmp 0x429531
mov eax, dword [ebp - 0x40]
imul eax, eax, 0x140
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x54]
push eax
call fcn.00402710
add esp, 4
mov ecx, dword [ebp - 0x40]
imul ecx, ecx, 0x140
mov edx, dword [ebp + 8]
mov eax, dword [edx + ecx + 0x13c]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
push ecx
call fcn.00402710
add esp, 4
jmp 0x429513
mov edx, dword [ebp + 8]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x5c]
push eax
call fcn.00402710
add esp, 4
jmp 0x4295fc
mov dword [ebp - 4], 0xffffffff
jmp 0x42960a
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x14]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp + 0x10]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x64]
mov dword [edx + 0x10], ecx
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14