Function at 0x4d154f
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
fild dword [ebp + 0xc]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fmul qword [0x9b5884]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fadd qword [0x9b5902]
fstp qword [ebp - 0x28]
push 0x80000301
push 0
push 0x2000
push 0x80000301
push 0
push 0x1000
push 2
mov ebx, 0xc8
call fcn.004d8e60
add esp, 0x1c
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], esp
push 0x40
push dword [ebp - 0x2c]
fld qword [ebp - 0x28]
call fcn.00403dfe
push eax
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x4d15fe
push 0x73
push 0x4163065
push 6
call fcn.004d5785
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4d1615
mov eax, 0
jmp 0x4d197b
mov eax, 0x9b6e4c
test eax, eax
je 0x4d1631
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.004d577f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4d1642
push ebx
call fcn.004d5797
add esp, 4
pop eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.004d1993
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
push 3
push dword [ebp - 0x14]
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x4d1686
push 0x152
push 0x4163065
push 6
call fcn.004d5785
add esp, 0xc
add dword [ebp - 0xc], 3
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x198
call fcn.004d7e80
add esp, 0x10
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
push 0x9a2e13
mov ecx, 2
call fcn.0040c652
add esp, 8
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4d16d1
push ebx
call fcn.004d5797
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4d16e5
push ebx
call fcn.004d5797
add esp, 4
pop eax
mov dword [ebp - 8], eax
fild dword [ebp - 4]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fild dword [ebp - 0xc]
fstp qword [ebp - 0x20]
fadd qword [ebp - 0x20]
fstp qword [ebp - 0x28]
lea eax, [ebp - 8]
push eax
call fcn.004d1993
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], esp
push 5
push dword [ebp - 0x2c]
fld qword [ebp - 0x28]
call fcn.00403dfe
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x4d1744
push 0x24b
push 0x4163065
push 6
call fcn.004d5785
add esp, 0xc
add dword [ebp - 0xc], 5
mov eax, dword [ebp + 0xc]
xor ecx, ecx
push eax
lea eax, [ebp - 0x10]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x4d18e4
mov eax, 0x9b6e57
test eax, eax
je 0x4d177e
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.004d577f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4d178f
push ebx
call fcn.004d5797
add esp, 4
pop eax
mov dword [ebp - 8], eax
fild dword [ebp - 4]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fild dword [ebp - 0xc]
fstp qword [ebp - 0x20]
fadd qword [ebp - 0x20]
fstp qword [ebp - 0x28]
lea eax, [ebp - 8]
push eax
call fcn.004d1993
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], esp
push 2
push dword [ebp - 0x2c]
fld qword [ebp - 0x28]
call fcn.00403dfe
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x4d17ee
push 0x32e
push 0x4163065
push 6
call fcn.004d5785
add esp, 0xc
add dword [ebp - 0xc], 2
fild dword [ebp - 0x10]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fsub qword [0x537082]
fstp qword [ebp - 0x20]
fild dword [ebp + 0xc]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fsub qword [ebp - 0x20]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fmul qword [0x537495]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fadd qword [0x537495]
fstp qword [ebp - 0x40]
push 0x80000601
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push 1
mov ebx, 0x9dc
call fcn.004d77e0
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x198
call fcn.004d7e80
add esp, 0x10
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4d1879
push ebx
call fcn.004d5797
add esp, 4
pop eax
mov dword [ebp - 8], eax
fild dword [ebp - 4]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fild dword [ebp - 0xc]
fstp qword [ebp - 0x20]
fadd qword [ebp - 0x20]
fstp qword [ebp - 0x28]
lea eax, [ebp - 8]
push eax
call fcn.004d1993
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], esp
push 4
push dword [ebp - 0x2c]
fld qword [ebp - 0x28]
call fcn.00403dfe
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x4d18d8
push 0x494
push 0x4163065
push 6
call fcn.004d5785
add esp, 0xc
add dword [ebp - 0xc], 4
pop eax
pop ebx
pop ecx
jmp 0x4d1754
add esp, 0xc
mov eax, 0x9b6e61
test eax, eax
je 0x4d1903
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.004d577f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4d1914
push ebx
call fcn.004d5797
add esp, 4
pop eax
mov dword [ebp - 8], eax
fild dword [ebp - 4]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fild dword [ebp - 0xc]
fstp qword [ebp - 0x20]
fadd qword [ebp - 0x20]
fstp qword [ebp - 0x28]
lea eax, [ebp - 8]
push eax
call fcn.004d1993
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], esp
push 4
push dword [ebp - 0x2c]
fld qword [ebp - 0x28]
call fcn.00403dfe
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x4d1973
push 0x594
push 0x4163065
push 6
call fcn.004d5785
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x4d197b
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4d198c
push ebx
call fcn.004d5797
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8