Function at 0x413830
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x4607a0]
xor eax, ebp
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x6c], 0x68
mov byte [ebp - 0x6b], 0
mov byte [ebp - 0x6a], 0
mov byte [ebp - 0x69], 0
mov byte [ebp - 0x68], 0
mov byte [ebp - 0x67], 0x68
mov byte [ebp - 0x66], 0
mov byte [ebp - 0x65], 0
mov byte [ebp - 0x64], 0
mov byte [ebp - 0x63], 0
mov byte [ebp - 0x62], 0x68
mov byte [ebp - 0x61], 0
mov byte [ebp - 0x60], 0
mov byte [ebp - 0x5f], 0
mov byte [ebp - 0x5e], 0
mov byte [ebp - 0x5d], 0x68
mov byte [ebp - 0x5c], 0
mov byte [ebp - 0x5b], 0
mov byte [ebp - 0x5a], 0
mov byte [ebp - 0x59], 0
mov byte [ebp - 0x58], pe_nt_image_headers32
mov byte [ebp - 0x57], 0
mov byte [ebp - 0x56], 0
mov byte [ebp - 0x55], 0
mov byte [ebp - 0x54], 0
mov byte [ebp - 0x53], 0x68
mov byte [ebp - 0x52], 0
mov byte [ebp - 0x51], 0
mov byte [ebp - 0x50], 0
mov byte [ebp - 0x4f], 0
mov byte [ebp - 0x4e], 0x68
mov byte [ebp - 0x4d], 0
mov byte [ebp - 0x4c], 0
mov byte [ebp - 0x4b], 0
mov byte [ebp - 0x4a], 0
mov byte [ebp - 0x49], pe_nt_image_headers32
mov byte [ebp - 0x48], 0
mov byte [ebp - 0x47], 0
mov byte [ebp - 0x46], 0
mov byte [ebp - 0x45], 0
mov byte [ebp - 0x44], 0xe9
mov byte [ebp - 0x43], 0
mov byte [ebp - 0x42], 0
mov byte [ebp - 0x41], 0
mov byte [ebp - 0x40], 0
mov byte [ebp - 0x3f], 0xcc
call fcn.00413b70
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 8]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0x10]
add ecx, 0x2c
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp + 0x10]
add edx, 0x38
mov dword [ebp - 0x24], edx
mov eax, dword [ebp + 0x10]
add eax, 0x30
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0xc], 0x2e
push 0x40
push 0x1000
push 0x1000
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x41396e
mov eax, dword [ebp - 0x30]
jmp 0x413a59
push 4
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x6b]
push eax
call fcn.0043e8b0
add esp, 0xc
push 4
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x66]
push edx
call fcn.0043e8b0
add esp, 0xc
mov eax, dword [ebp - 0x34]
add eax, 0x14
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
add ecx, 5
mov edx, dword [ebp - 0x14]
sub edx, ecx
mov dword [ebp - 4], edx
push 4
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x57]
push ecx
call fcn.0043e8b0
add esp, 0xc
push 4
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x52]
push eax
call fcn.0043e8b0
add esp, 0xc
mov ecx, dword [ebp - 0x34]
add ecx, 0x23
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x70]
add edx, 5
mov eax, dword [ebp - 0x10]
sub eax, edx
mov dword [ebp - 0x74], eax
push 4
lea ecx, [ebp - 0x74]
push ecx
lea edx, [ebp - 0x48]
push edx
call fcn.0043e8b0
add esp, 0xc
mov eax, dword [ebp - 0x34]
add eax, 0x28
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 5
mov edx, dword [ebp + 0xc]
sub edx, ecx
mov dword [ebp - 0x18], edx
push 4
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x43]
push ecx
call fcn.0043e8b0
add esp, 0xc
mov dword [ebp - 8], 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
lea ecx, [ebp - 0x6c]
push ecx
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x413a4e
mov eax, dword [ebp - 0x30]
jmp 0x413a59
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x34]
mov dword [ecx], edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x3c]
xor ecx, ebp
call fcn.0043ec15
mov esp, ebp
pop ebp
ret 0x10