Function at 0x548fe4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
call fcn.005493f1
push eax
call fcn.00479ee6
mov dword [ebp - 4], eax
push dword [ebp - 4]
call fcn.00479ee6
mov dword [ebp - 0x14], eax
fild dword [ebp + 8]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fsub qword [0x8d8945]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x8d8d9e]
fstp qword [ebp - 0x2c]
fild dword [ebp - 0x14]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fadd qword [ebp - 0x2c]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
call fcn.0046d6ce
push eax
call fcn.00479ee6
mov dword [ebp - 8], eax
cmp dword [ebp + 0xc], 0xffffffff
jle 0x54907b
cmp dword [ebp - 8], 0
jle 0x54907b
mov eax, 1
jmp 0x549080
mov eax, 0
test eax, eax
je 0x5493cf
cmp dword [0x9140be], 0
jne 0x549104
mov dword [ebp - 0x14], esp
push 0x40
push 0x1000
push 0x1e
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x5490c8
push 6
call fcn.00686550
add esp, 4
mov dword [0x9140be], eax
mov dword [ebp - 0x14], esp
push 0x1e
mov eax, 0x8e53ba
test eax, eax
je 0x5490e1
add eax, 8
push eax
push dword [0x9140be]
call dword [sym.imp.kernel32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x549104
push 6
call fcn.00686550
add esp, 4
cmp dword [ebp + 0x18], 0
je 0x549164
lea eax, [ebp - 4]
push eax
call fcn.00549418
mov dword [ebp - 0x14], eax
push 0x8e53e0
push dword [ebp - 0x14]
push 0x8e53ea
mov ecx, 3
call fcn.00476046
add esp, 0xc
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x549147
push ebx
call fcn.00686538
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x54915b
push ebx
call fcn.00686538
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
jmp 0x5491f7
fild dword [ebp + 0xc]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fmul qword [0x8d8d9e]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
call fcn.0046d6ce
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x10]
push eax
call fcn.00549467
mov dword [ebp - 0x14], eax
lea eax, [ebp - 4]
push eax
call fcn.00549418
mov dword [ebp - 0x18], eax
push 0x8e53e0
push dword [ebp - 0x18]
push 0x8e5402
push dword [ebp - 0x14]
push 0x8e5415
mov ecx, 5
call fcn.00476046
add esp, 0x14
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x5491cf
push ebx
call fcn.00686538
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x5491df
push ebx
call fcn.00686538
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x5491f3
push ebx
call fcn.00686538
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0xc], 0
je 0x549272
fild dword [ebp + 0xc]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fmul qword [0x8d8d9e]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
call fcn.0046d6ce
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.00549418
mov dword [ebp - 0x14], eax
push 0x8e5421
push dword [ebp - 0x14]
push 0x8e543d
push dword [ebp - 0xc]
mov ecx, 4
call fcn.00476046
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x54925a
push ebx
call fcn.00686538
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x54926e
push ebx
call fcn.00686538
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0x10], 0
je 0x5492ac
push 0x8e5446
push dword [ebp - 0xc]
mov ecx, 2
call fcn.00476046
add esp, 8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x5492a8
push ebx
call fcn.00686538
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
call fcn.00549418
mov dword [ebp - 0x14], eax
push 0x80000301
push 0
push dword [0x9140be]
push 1
mov ebx, 0x198
call fcn.00687d00
add esp, 0x10
mov dword [ebp - 0x18], eax
push 0x8e544f
push dword [ebp - 0x18]
push 0x8daf24
push dword [ebp - 0x14]
push 0x8e5459
push dword [ebp - 0xc]
mov ecx, 6
call fcn.00476046
add esp, 0x18
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x549312
push ebx
call fcn.00686538
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x549322
push ebx
call fcn.00686538
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x549336
push ebx
call fcn.00686538
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x54934d
mov eax, 0x8d88e6
push eax
push 1
mov ebx, 0x194
call fcn.00687f40
add esp, 0x10
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], esp
push 0x40
push 0x1000
push dword [ebp - 4]
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x549394
push 6
call fcn.00686550
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], esp
push dword [ebp - 4]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x5493a7
add eax, 8
push eax
push dword [ebp - 8]
call dword [sym.imp.kernel32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x5493c7
push 6
call fcn.00686550
add esp, 4
mov eax, dword [ebp - 8]
jmp 0x5493d9
mov eax, 0
jmp 0x5493d9
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x5493ea
push ebx
call fcn.00686538
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x18