Function at 0x44fd08
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 0x44fd7b
jmp 0x450268
mov eax, dword [ebp - 4]
mov dword [ebp - 0x278], eax
and dword [ebp - 0x278], 0xfff
cmp dword [ebp - 0x278], 0xfbe
jbe 0x44fdd7
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 0x44fe3a
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 0x44fe41
mov dword [ebp - 0x50], 0
cmp dword [ebp - 0x50], 0
je 0x450268
call fcn.0044fc42
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jne 0x44ffd3
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], 0x190
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], 0x50
push 0x47f404
push 0x47f418
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x268], eax
mov eax, dword [ebp - 0x18]
mov byte [eax + 8], 0xe8
xor eax, eax
sub eax, dword [ebp + 0x18]
neg eax
sub dword [ebp - 0x268], eax
sub dword [ebp - 0x268], 0xd
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x268]
mov dword [eax + 9], ecx
mov eax, dword [ebp - 0x18]
mov byte [eax + 0xd], 0x85
mov eax, dword [ebp - 0x18]
mov byte [eax + 0xe], 0xc0
mov eax, dword [ebp - 0x18]
mov byte [eax + 0xf], 0x75
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x10], 0xc
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x11], 0x90
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x268], eax
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x12], 0xb8
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x268]
mov dword [eax + 0x13], ecx
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x17], 0x50
push 0x47f428
push 0x47f438
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x268], eax
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x18], 0xe8
xor eax, eax
sub eax, dword [ebp + 0x18]
neg eax
sub dword [ebp - 0x268], eax
sub dword [ebp - 0x268], 0x1d
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x268]
mov dword [eax + 0x19], ecx
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x1d], 0x9d
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x1e], 0x61
mov eax, dword [ebp - 0x50]
lea esi, [ebp - 0x4c]
mov edi, dword [ebp - 0x18]
add edi, 0x1f
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 + 0x1f], 0xe9
mov eax, dword [ebp - 0x50]
add eax, 0x20
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
jmp 0x45025a
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 - 0x18]
mov byte [eax + 2], 0xb8
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x54]
mov dword [eax + 3], ecx
mov eax, dword [ebp - 0x18]
mov byte [eax + 7], 0xf
mov eax, dword [ebp - 0x18]
mov byte [eax + 8], 0xb6
mov eax, dword [ebp - 0x18]
mov byte [eax + 9], 0x40
mov eax, dword [ebp - 0x18]
mov byte [eax + 0xa], 0
mov dword [ebp - 0x274], 0x10
mov eax, dword [ebp - 0x18]
mov byte [eax + 0xb], 0x3d
mov eax, dword [ebp - 0x18]
mov byte [eax + 0xc], 0xe9
mov eax, dword [ebp - 0x18]
mov byte [eax + 0xd], 0
mov eax, dword [ebp - 0x18]
mov byte [eax + 0xe], 0
mov eax, dword [ebp - 0x18]
mov byte [eax + 0xf], 0
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x10], 0x75
mov eax, dword [ebp - 0x274]
add eax, 0xb
mov ecx, dword [ebp - 0x18]
mov byte [ecx + 0x11], al
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x268], eax
add dword [ebp - 0x268], 0x190
mov eax, dword [ebp - 0x274]
mov ecx, dword [ebp - 0x18]
mov byte [eax + ecx + 2], 0xb8
mov eax, dword [ebp - 0x274]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x268]
mov dword [eax + ecx + 3], edx
mov eax, dword [ebp - 0x274]
mov ecx, dword [ebp - 0x18]
mov byte [eax + ecx + 7], 0x50
push str.GetModuleHandleA
push 0x47f45c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x268], eax
mov eax, dword [ebp - 0x274]
mov ecx, dword [ebp - 0x18]
mov byte [eax + ecx + 8], 0xe8
xor eax, eax
sub eax, dword [ebp + 0x18]
neg eax
sub dword [ebp - 0x268], eax
xor eax, eax
mov ecx, dword [ebp - 0x274]
add ecx, 0xd
sub eax, ecx
neg eax
sub dword [ebp - 0x268], eax
mov eax, dword [ebp - 0x274]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x268]
mov dword [eax + ecx + 9], edx
mov eax, dword [ebp - 0x274]
mov ecx, dword [ebp - 0x18]
mov byte [eax + ecx + 0xd], 0x85
mov eax, dword [ebp - 0x274]
mov ecx, dword [ebp - 0x18]
mov byte [eax + ecx + 0xe], 0xc0
mov eax, dword [ebp - 0x274]
mov ecx, dword [ebp - 0x18]
mov byte [eax + ecx + 0xf], 0x75
mov eax, dword [ebp - 0x274]
mov ecx, dword [ebp - 0x18]
mov byte [eax + ecx + 0x10], 0xc
mov eax, dword [ebp - 0x274]
mov ecx, dword [ebp - 0x18]
mov byte [eax + ecx + 0x11], 0x90
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x268], eax
mov eax, dword [ebp - 0x274]
mov ecx, dword [ebp - 0x18]
mov byte [eax + ecx + 0x12], 0xb8
mov eax, dword [ebp - 0x274]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x268]
mov dword [eax + ecx + 0x13], edx
mov eax, dword [ebp - 0x274]
mov ecx, dword [ebp - 0x18]
mov byte [eax + ecx + 0x17], 0x50
push 0x47f46c
push 0x47f47c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x268], eax
mov eax, dword [ebp - 0x274]
mov ecx, dword [ebp - 0x18]
mov byte [eax + ecx + 0x18], 0xe8
xor eax, eax
sub eax, dword [ebp + 0x18]
neg eax
sub dword [ebp - 0x268], eax
xor eax, eax
mov ecx, dword [ebp - 0x274]
add ecx, 0x1d
sub eax, ecx
neg eax
sub dword [ebp - 0x268], eax
mov eax, dword [ebp - 0x274]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x268]
mov dword [eax + ecx + 0x19], edx
mov eax, dword [ebp - 0x274]
mov ecx, dword [ebp - 0x18]
mov byte [eax + ecx + 0x1d], 0x9d
mov eax, dword [ebp - 0x274]
mov ecx, dword [ebp - 0x18]
mov byte [eax + ecx + 0x1e], 0x61
mov eax, dword [ebp - 0x50]
lea esi, [ebp - 0x4c]
mov ecx, dword [ebp - 0x274]
add ecx, 0x1f
add ecx, dword [ebp - 0x18]
mov edi, ecx
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]
add eax, dword [ebp - 0x274]
mov ecx, dword [ebp - 0x18]
mov byte [eax + ecx + 0x1f], 0xe9
mov eax, dword [ebp - 0x50]
add eax, dword [ebp - 0x274]
add eax, 0x20
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 0x450268
pop edi
pop esi
pop ebx
leave
ret