Function at 0x45026d
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x27c
push ebx
push esi
push edi
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 0x1c]
mov dword [eax], 0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x25c]
mov dword [eax], 0
mov dword [eax + 4], 0
mov word [eax + 8], 0
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 0x4502e0
jmp 0x450732
mov eax, dword [ebp - 4]
mov dword [ebp - 0x278], eax
and dword [ebp - 0x278], 0xfff
cmp dword [ebp - 0x278], 0xfbe
jbe 0x45033c
mov eax, dword [ebp - 4]
mov dword [ebp - 0x278], eax
and dword [ebp - 0x278], 0xfffff000
add dword [ebp - 0x278], 0x1000
lea eax, [ebp - 0x27c]
push eax
push 0x40
push 0x14
mov eax, dword [ebp - 0x278]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push 0x200
lea eax, [ebp - 0x25c]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov dword [ebp - 0x270], eax
cmp dword [ebp - 0x270], 0
je 0x45039f
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x264], eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x58]
push eax
call fcn.0044f4b8
add esp, 0xc
jmp 0x4503a6
mov dword [ebp - 0x50], 0
cmp dword [ebp - 0x50], 0
je 0x450732
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov byte [eax], 0x60
mov eax, dword [ebp - 0x18]
mov byte [eax + 1], 0x9c
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x268], eax
add dword [ebp - 0x268], 0x19e
mov eax, dword [ebp - 0x18]
mov byte [eax + 2], 0xb8
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x268]
mov dword [eax + 3], ecx
mov eax, dword [ebp - 0x18]
mov byte [eax + 7], 0x89
mov eax, dword [ebp - 0x18]
mov byte [eax + 8], 0xc6
mov eax, dword [ebp - 0x18]
mov byte [eax + 9], 0x8b
mov eax, dword [ebp - 0x18]
mov byte [eax + 0xa], 6
mov eax, dword [ebp - 0x18]
mov byte [eax + 0xb], 0x85
mov eax, dword [ebp - 0x18]
mov byte [eax + 0xc], 0xc0
mov eax, dword [ebp - 0x18]
mov byte [eax + 0xd], 0x75
mov eax, dword [ebp - 0x18]
mov byte [eax + 0xe], 0x51
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x268], eax
add dword [ebp - 0x268], 0x14a
mov eax, dword [ebp - 0x18]
mov byte [eax + 0xf], 0xb8
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x268]
mov dword [eax + 0x10], ecx
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x14], 0x50
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x15], 0x31
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x16], 0xc0
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x17], 0x50
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x268], eax
add dword [ebp - 0x268], 0x154
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x18], 0xb8
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x268]
mov dword [eax + 0x19], ecx
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x1d], 0x50
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x1e], 0xe8
push 0x47f48c
push 0x47f4a4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x268], eax
xor eax, eax
sub eax, dword [ebp + 0x18]
neg eax
sub dword [ebp - 0x268], eax
sub dword [ebp - 0x268], 0x23
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x268]
mov dword [eax + 0x1f], ecx
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x23], 0x85
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x24], 0xc0
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x25], 0x75
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x26], 0x39
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x268], eax
add dword [ebp - 0x268], 0x19e
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x27], 0xb8
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x268]
mov dword [eax + 0x28], ecx
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x2c], 0x50
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x2d], 0x31
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x2e], 0xc0
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x2f], 0x50
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x268], eax
add dword [ebp - 0x268], 0x1a4
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x30], 0xb8
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x268]
mov dword [eax + 0x31], ecx
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x35], 0x50
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x36], 0xe8
push 0x47f4b0
push 0x47f4c8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x268], eax
xor eax, eax
sub eax, dword [ebp + 0x18]
neg eax
sub dword [ebp - 0x268], eax
sub dword [ebp - 0x268], 0x3b
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x268]
mov dword [eax + 0x37], ecx
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x3b], 0x85
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x3c], 0xc0
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x3d], 0x74
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x3e], 0x21
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x268], eax
add dword [ebp - 0x268], 0x19e
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x3f], 0xb8
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x268]
mov dword [eax + 0x40], ecx
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x44], 0x50
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x45], 0x89
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x46], 0xc6
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x47], 0x89
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x48], 6
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x268], eax
add dword [ebp - 0x268], 0xf0
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x49], 0xb8
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x268]
mov dword [eax + 0x4a], ecx
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x4e], 0x50
mov dword [ebp - 0x268], 0
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x4f], 0xb8
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x268]
mov dword [eax + 0x50], ecx
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x54], 0x50
mov dword [ebp - 0x268], 0
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x55], 0xb8
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x268]
mov dword [eax + 0x56], ecx
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x5a], 0x50
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x5b], 0xe8
push 0x47f4d4
push 0x47f4e0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x268], eax
xor eax, eax
sub eax, dword [ebp + 0x18]
neg eax
sub dword [ebp - 0x268], eax
sub dword [ebp - 0x268], 0x60
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x268]
mov dword [eax + 0x5c], ecx
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x60], 0x9d
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x61], 0x61
mov eax, dword [ebp - 0x50]
lea esi, [ebp - 0x4c]
mov edi, dword [ebp - 0x18]
add edi, 0x62
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 - 0x50]
mov ecx, dword [ebp - 0x18]
mov byte [eax + ecx + 0x62], 0xe9
mov eax, dword [ebp - 0x50]
add eax, 0x63
mov dword [ebp - 0x260], eax
mov eax, dword [ebp - 4]
sub eax, dword [ebp + 0x18]
sub eax, dword [ebp - 0x260]
add eax, dword [ebp - 0x50]
sub eax, 4
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x260]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x5c]
mov dword [eax + ecx], edx
mov eax, dword [ebp + 0x1c]
mov dword [eax], 1
jmp 0x450732
pop edi
pop esi
pop ebx
leave
ret