Function at 0x4282e9
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
fild dword [ebp + 0x14]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fild dword [ebp + 0x10]
fstp qword [ebp - 0x38]
fsub qword [ebp - 0x38]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
call fcn.004011c3
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x428377
push 6
call fcn.0043fb89
add esp, 4
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], esp
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyn]
nop
nop
nop
nop
cmp dword [ebp - 0x34], esp
je 0x4283a6
push 6
call fcn.0043fb89
add esp, 4
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], esp
push dword [ebp - 0x38]
push 0x40
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
nop
nop
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x4283d9
push 6
call fcn.0043fb89
add esp, 4
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
call fcn.00401699
xor ecx, ecx
push eax
lea eax, [ebp - 0xc]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x42868a
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
call fcn.004011ea
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x428419
push 4
call fcn.0043fb89
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x42842c
push 1
call fcn.0043fb89
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
xor ecx, ecx
push eax
lea eax, [ebp - 0x14]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x42865f
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
call fcn.004011ea
push ebx
push ecx
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fild dword [ebp - 0x14]
fstp qword [ebp - 0x38]
fadd qword [ebp - 0x38]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
call fcn.004011c3
dec eax
jns 0x428494
push 4
call fcn.0043fb89
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4284a7
push 1
call fcn.0043fb89
add esp, 4
shl eax, 1
add ebx, eax
mov dword [ebp - 0x44], ebx
push 0x80000301
push 0
push 0xfff
mov ebx, dword [ebp - 0x44]
mov ax, word [ebx]
cwde
push 0x80000301
push 0
push eax
push 2
mov ebx, 0xc4
call fcn.004401f0
add esp, 0x1c
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
call fcn.004011ea
push ebx
push ecx
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fild dword [ebp - 0x14]
fstp qword [ebp - 0x38]
fadd qword [ebp - 0x38]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
call fcn.004011c3
dec eax
jns 0x428517
push 4
call fcn.0043fb89
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x42852a
push 1
call fcn.0043fb89
add esp, 4
shl eax, 1
add ebx, eax
mov dword [ebp - 0x44], ebx
push 0x80000301
push 0
push 0xc
mov ebx, dword [ebp - 0x44]
mov ax, word [ebx]
cwde
push 0x80000301
push 0
push eax
push 2
mov ebx, 0x9fc
call fcn.00440210
add esp, 0x1c
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jne 0x42864d
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
call fcn.004011ea
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x42858a
push 4
call fcn.0043fb89
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x42859d
push 1
call fcn.0043fb89
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x2c], ebx
fild dword [ebp + 0x18]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
mov ebx, dword [ebp - 0x2c]
fild dword [ebx]
fstp qword [ebp - 0x3c]
fadd qword [ebp - 0x3c]
fild dword [ebp - 0x18]
fstp qword [ebp - 0x44]
fadd qword [ebp - 0x44]
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x4c]
call fcn.004011c3
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], esp
push 4
push dword [ebp - 0x24]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x4285fd
push 6
call fcn.0043fb89
add esp, 4
fild dword [ebp - 4]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fild dword [ebp - 0x28]
fstp qword [ebp - 0x38]
fadd qword [ebp - 0x38]
fstp qword [ebp - 0x40]
mov dword [ebp - 0x44], esp
push 4
fld qword [ebp - 0x40]
call fcn.004011c3
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x44], esp
je 0x428648
push 6
call fcn.0043fb89
add esp, 4
jmp 0x428657
cmp dword [ebp - 0x20], 0
jne 0x428657
pop eax
pop ebx
pop ecx
jmp 0x42844d
add esp, 0xc
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fild dword [ebp - 0x10]
fstp qword [ebp - 0x38]
fadd qword [ebp - 0x38]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
call fcn.004011c3
mov dword [ebp - 0x1c], eax
pop eax
pop ebx
pop ecx
jmp 0x4283ec
add esp, 0xc
mov dword [ebp - 0x2c], esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x4286ac
push 6
call fcn.0043fb89
add esp, 4
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], esp
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyn]
nop
nop
nop
nop
cmp dword [ebp - 0x34], esp
je 0x4286db
push 6
call fcn.0043fb89
add esp, 4
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], esp
push dword [ebp - 0x38]
push dword [ebp - 8]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
nop
nop
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x42870c
push 6
call fcn.0043fb89
add esp, 4
mov esp, ebp
pop ebp
ret 0x18