Function at 0x450737
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push ebx
push esi
push edi
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 0x1c]
mov dword [eax], 0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push 0x40
push 0x14
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
jne 0x450780
jmp 0x450a06
mov eax, dword [ebp - 4]
mov dword [ebp - 0x64], eax
and dword [ebp - 0x64], 0xfff
cmp dword [ebp - 0x64], 0xfbe
jbe 0x4507c4
mov eax, dword [ebp - 4]
mov dword [ebp - 0x64], eax
and dword [ebp - 0x64], 0xfffff000
add dword [ebp - 0x64], 0x1000
lea eax, [ebp - 0x68]
push eax
push 0x40
push 0x14
mov eax, dword [ebp - 0x64]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov eax, dword [ebp - 4]
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.0044f4b8
add esp, 0xc
cmp dword [ebp - 0x4c], 0
je 0x450a06
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov byte [eax], 0x8b
mov eax, dword [ebp - 0x14]
mov byte [eax + 1], 0xc4
mov eax, dword [ebp - 0x14]
mov byte [eax + 2], 0x83
mov eax, dword [ebp - 0x14]
mov byte [eax + 3], 0xc0
mov eax, dword [ebp - 0x14]
mov byte [eax + 4], 0x10
mov eax, dword [ebp - 0x14]
mov byte [eax + 5], 0xff
mov eax, dword [ebp - 0x14]
mov byte [eax + 6], 0x30
mov eax, dword [ebp - 0x14]
mov byte [eax + 7], 0x83
mov eax, dword [ebp - 0x14]
mov byte [eax + 8], 0xe8
mov eax, dword [ebp - 0x14]
mov byte [eax + 9], 4
mov eax, dword [ebp - 0x14]
mov byte [eax + 0xa], 0xff
mov eax, dword [ebp - 0x14]
mov byte [eax + 0xb], 0x30
mov eax, dword [ebp - 0x14]
mov byte [eax + 0xc], 0x83
mov eax, dword [ebp - 0x14]
mov byte [eax + 0xd], 0xe8
mov eax, dword [ebp - 0x14]
mov byte [eax + 0xe], 4
mov eax, dword [ebp - 0x14]
mov byte [eax + 0xf], 0xff
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x10], 0x30
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x11], 0x83
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x12], 0xc0
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x13], 4
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x14], 0xff
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x15], 0x30
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x16], 0xe8
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x17], 0x49
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x18], 0
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x19], 0
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x1a], 0
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x1b], 0x60
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x1c], 0x50
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x1d], 0xbf
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov dword [eax + 0x1e], ecx
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x22], 0xbe
mov dword [ebp - 0x5c], 0x64
mov eax, dword [ebp + 0x18]
add dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x5c]
mov dword [eax + 0x23], ecx
mov eax, dword [ebp - 0x4c]
lea esi, [ebp - 0x48]
mov edi, dword [ebp - 0x14]
add edi, 0x64
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x27], 0xb9
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x4c]
mov dword [eax + 0x28], ecx
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x2c], 0xf3
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x2d], 0xa4
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x2e], 0xb8
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x5c]
mov dword [eax + 0x2f], ecx
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x33], 0x50
push str.LoadLibraryW
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x34], 0xe8
xor eax, eax
sub eax, dword [ebp + 0x18]
neg eax
sub dword [ebp - 0x5c], eax
sub dword [ebp - 0x5c], 0x39
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x5c]
mov dword [eax + 0x35], ecx
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x39], 0x58
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x3a], 0x61
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x3b], 0xc2
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x3c], 0x10
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x3d], 0
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x3e], 0
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x3f], 0
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x40], 0
mov eax, dword [ebp - 0x4c]
lea esi, [ebp - 0x48]
mov edi, dword [ebp - 0x14]
add edi, 0x64
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x4c]
add eax, 0x64
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x14]
mov byte [eax + ecx], 0xe9
inc dword [ebp - 0x54]
mov eax, dword [ebp - 4]
sub eax, dword [ebp + 0x18]
sub eax, dword [ebp - 0x54]
add eax, dword [ebp - 0x4c]
sub eax, 4
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x50]
mov dword [eax + ecx], edx
mov eax, dword [ebp + 0x1c]
mov dword [eax], 1
jmp 0x450a06
pop edi
pop esi
pop ebx
leave
ret