Function at 0x45428c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x33c
push esi
push edi
mov eax, dword [0x464ce0]
mov dword [ebp - 0x2f0], eax
mov dword [ebp - 0x2ec], 0
call fcn.00454903
sub eax, 6
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x2e8]
push edx
lea eax, [ebp - 0x1e4]
push eax
push 0
call fcn.00453d3c
add esp, 0x10
test eax, eax
je 0x4548e7
push 0x1cc
lea edx, [ebp - 0x1e4]
push edx
push 0x464870
call fcn.0045e1d0
add esp, 0xc
mov byte [ebp - 0x31c], 4
mov byte [ebp - 0x31b], 8
mov byte [ebp - 0x31a], 0
mov byte [ebp - 0x319], 0
mov byte [ebp - 0x318], 0xc8
mov byte [ebp - 0x317], 0
mov byte [ebp - 0x316], 0
mov byte [ebp - 0x315], 0
mov byte [ebp - 0x314], 0x18
mov byte [ebp - 0x313], 0x61
mov byte [ebp - 0x312], 0xe
mov byte [ebp - 0x311], 0
mov byte [ebp - 0x310], 0x22
mov byte [ebp - 0x30f], 0
mov byte [ebp - 0x30e], 0
mov byte [ebp - 0x30d], 0
mov byte [ebp - 0x30c], 0x90
mov byte [ebp - 0x30b], 0x66
mov byte [ebp - 0x30a], 0xe
mov byte [ebp - 0x309], 0
mov byte [ebp - 0x308], 0xe8
mov byte [ebp - 0x307], 2
mov byte [ebp - 0x306], 0
mov byte [ebp - 0x305], 0
mov byte [ebp - 0x304], 0
mov byte [ebp - 0x303], 0
mov byte [ebp - 0x302], 0
mov byte [ebp - 0x301], 0
mov byte [ebp - 0x300], 0
mov byte [ebp - 0x2ff], 0
mov byte [ebp - 0x2fe], 0
mov byte [ebp - 0x2fd], 0
push 0x1cc
lea eax, [ebp - 0x31c]
push eax
push 0x64
push 0x464870
call fcn.0045827d
add esp, 0x10
mov ecx, dword [ebp - 0x1d4]
and ecx, 0xff
test ecx, ecx
je 0x45442a
mov edx, dword [ebp - 0x1e0]
and edx, 0xff
cmp edx, 2
je 0x45442a
sub esp, 0x1cc
mov ecx, 0x73
mov esi, 0x464870
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call dword [0x464c68]
mov eax, dword [ebp - 4]
sub eax, 0x1cc
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x1d8]
and ecx, 0xff
test ecx, ecx
je 0x454496
mov edx, dword [0x464dec]
push edx
call fcn.00464340
add esp, 4
mov dword [ebp - 0x33c], eax
push 4
push 0x1000
mov eax, dword [ebp - 0x33c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x33c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [0x464dec]
push ecx
call fcn.004642c0
add esp, 0x10
mov dword [ebp - 4], eax
jmp 0x4544c3
push 4
push 0x1000
mov edx, dword [ebp - 4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [0x464dec]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.0045e1d0
add esp, 0xc
cmp dword [0x464850], 0
je 0x4544df
push 0x8000
push 0
mov eax, dword [0x464dec]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
lea ecx, [ebp - 0x2e8]
push ecx
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x2ec]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.004549a3
add esp, 0x18
test eax, eax
jne 0x454521
push 0x8000
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x4548fd
push 0x8000
push 0
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x334], eax
mov dword [ebp - 0x2f4], 0x464dec
call fcn.00454267
mov dword [0x464a44], eax
mov dword [ebp - 0x324], 0x464a44
lea eax, [ebp - 0x10]
push eax
push 0x40
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x2f0]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x45457e
xor eax, eax
jmp 0x4548fd
push 0x40
push 0x1000
push 0x64
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x464868], eax
mov dword [ebp - 0x330], 0
mov eax, dword [0x464868]
add eax, dword [ebp - 0x330]
mov byte [eax], 0x6a
mov ecx, dword [ebp - 0x330]
add ecx, 1
mov dword [ebp - 0x330], ecx
mov edx, dword [0x464868]
add edx, dword [ebp - 0x330]
mov byte [edx], 0
mov eax, dword [ebp - 0x330]
add eax, 1
mov dword [ebp - 0x330], eax
mov ecx, dword [0x464868]
add ecx, dword [ebp - 0x330]
mov byte [ecx], 0x68
mov edx, dword [ebp - 0x330]
add edx, 1
mov dword [ebp - 0x330], edx
push 4
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [0x464868]
add ecx, dword [ebp - 0x330]
push ecx
call fcn.0045e1d0
add esp, 0xc
mov edx, dword [ebp - 0x330]
add edx, 4
mov dword [ebp - 0x330], edx
mov eax, dword [0x464868]
add eax, dword [ebp - 0x330]
mov byte [eax], 0x68
mov ecx, dword [ebp - 0x330]
add ecx, 1
mov dword [ebp - 0x330], ecx
push 4
push 0x464a4c
mov edx, dword [0x464868]
add edx, dword [ebp - 0x330]
push edx
call fcn.0045e1d0
add esp, 0xc
mov eax, dword [ebp - 0x330]
add eax, 4
mov dword [ebp - 0x330], eax
mov ecx, dword [0x464868]
add ecx, dword [ebp - 0x330]
mov byte [ecx], 0x68
mov edx, dword [ebp - 0x330]
add edx, 1
mov dword [ebp - 0x330], edx
push 4
lea eax, [ebp - 0x2f0]
push eax
mov ecx, dword [0x464868]
add ecx, dword [ebp - 0x330]
push ecx
call fcn.0045e1d0
add esp, 0xc
mov edx, dword [ebp - 0x330]
add edx, 4
mov dword [ebp - 0x330], edx
mov eax, dword [0x464868]
add eax, dword [ebp - 0x330]
mov byte [eax], 0x68
mov ecx, dword [ebp - 0x330]
add ecx, 1
mov dword [ebp - 0x330], ecx
push 4
lea edx, [ebp - 0x334]
push edx
mov eax, dword [0x464868]
add eax, dword [ebp - 0x330]
push eax
call fcn.0045e1d0
add esp, 0xc
mov ecx, dword [ebp - 0x330]
add ecx, 4
mov dword [ebp - 0x330], ecx
mov edx, dword [0x464868]
add edx, dword [ebp - 0x330]
mov byte [edx], 0xff
mov eax, dword [ebp - 0x330]
add eax, 1
mov dword [ebp - 0x330], eax
mov ecx, dword [0x464868]
add ecx, dword [ebp - 0x330]
mov byte [ecx], 0x15
mov edx, dword [ebp - 0x330]
add edx, 1
mov dword [ebp - 0x330], edx
push 4
lea eax, [ebp - 0x324]
push eax
mov ecx, dword [0x464868]
add ecx, dword [ebp - 0x330]
push ecx
call fcn.0045e1d0
add esp, 0xc
mov edx, dword [ebp - 0x330]
add edx, 4
mov dword [ebp - 0x330], edx
mov eax, dword [0x464868]
add eax, dword [ebp - 0x330]
mov byte [eax], 0x8b
mov ecx, dword [ebp - 0x330]
add ecx, 1
mov dword [ebp - 0x330], ecx
mov edx, dword [0x464868]
add edx, dword [ebp - 0x330]
mov byte [edx], 0xe5
mov eax, dword [ebp - 0x330]
add eax, 1
mov dword [ebp - 0x330], eax
mov ecx, dword [0x464868]
add ecx, dword [ebp - 0x330]
mov byte [ecx], 0x5d
mov edx, dword [ebp - 0x330]
add edx, 1
mov dword [ebp - 0x330], edx
mov eax, dword [0x464868]
add eax, dword [ebp - 0x330]
mov byte [eax], 0x8b
mov ecx, dword [ebp - 0x330]
add ecx, 1
mov dword [ebp - 0x330], ecx
mov edx, dword [0x464868]
add edx, dword [ebp - 0x330]
mov byte [edx], 0xe5
mov eax, dword [ebp - 0x330]
add eax, 1
mov dword [ebp - 0x330], eax
mov ecx, dword [0x464868]
add ecx, dword [ebp - 0x330]
mov byte [ecx], 0x5d
mov edx, dword [ebp - 0x330]
add edx, 1
mov dword [ebp - 0x330], edx
mov eax, dword [0x464868]
add eax, dword [ebp - 0x330]
mov byte [eax], 0xe9
mov ecx, dword [ebp - 0x330]
add ecx, 1
mov dword [ebp - 0x330], ecx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x2fc], edx
mov eax, dword [0x464868]
sub eax, dword [ebp - 0x2fc]
sub eax, 5
mov dword [0x464a40], eax
mov ecx, dword [ebp - 0x2fc]
mov dword [ebp - 0x338], ecx
mov edx, dword [ebp - 0x1dc]
add edx, dword [0x464ce0]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
sub eax, dword [0x464868]
mov ecx, dword [ebp - 0x330]
add ecx, 4
sub eax, ecx
mov dword [ebp - 0x2f8], eax
push 4
lea edx, [ebp - 0x2f8]
push edx
mov eax, dword [0x464868]
add eax, dword [ebp - 0x330]
push eax
call fcn.0045e1d0
add esp, 0xc
mov byte [ebp - 0x32c], 0xe9
push 4
push 0x464a40
lea ecx, [ebp - 0x32b]
push ecx
call fcn.0045e1d0
add esp, 0xc
push 0
push 5
lea edx, [ebp - 0x32c]
push edx
mov eax, dword [ebp - 0x338]
push eax
mov ecx, dword [ebp - 0x334]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [ebp - 0x320], eax
jmp 0x4548fb
push 0x10
push 0x450504
push 0x45050c
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret