Function at 0x548094
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.005484a1
push eax
call fcn.00478f96
mov dword [ebp - 4], eax
push dword [ebp - 4]
call fcn.00478f96
mov dword [ebp - 0x14], eax
fild dword [ebp + 8]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fsub qword [0x79f62b]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x79fa84]
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.0046c77e
push eax
call fcn.00478f96
mov dword [ebp - 8], eax
cmp dword [ebp + 0xc], 0xffffffff
jle 0x54812b
cmp dword [ebp - 8], 0
jle 0x54812b
mov eax, 1
jmp 0x548130
mov eax, 0
test eax, eax
je 0x54847f
cmp dword [0x7dada4], 0
jne 0x5481b4
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 0x548178
push 6
call fcn.00685600
add esp, 4
mov dword [0x7dada4], eax
mov dword [ebp - 0x14], esp
push 0x1e
mov eax, 0x7ac0a0
test eax, eax
je 0x548191
add eax, 8
push eax
push dword [0x7dada4]
call dword [sym.imp.kernel32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x5481b4
push 6
call fcn.00685600
add esp, 4
cmp dword [ebp + 0x18], 0
je 0x548214
lea eax, [ebp - 4]
push eax
call fcn.005484c8
mov dword [ebp - 0x14], eax
push 0x7ac0c6
push dword [ebp - 0x14]
push 0x7ac0d0
mov ecx, 3
call fcn.004750f6
add esp, 0xc
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x5481f7
push ebx
call fcn.006855e8
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x54820b
push ebx
call fcn.006855e8
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
jmp 0x5482a7
fild dword [ebp + 0xc]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fmul qword [0x79fa84]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
call fcn.0046c77e
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x10]
push eax
call fcn.00548517
mov dword [ebp - 0x14], eax
lea eax, [ebp - 4]
push eax
call fcn.005484c8
mov dword [ebp - 0x18], eax
push 0x7ac0c6
push dword [ebp - 0x18]
push 0x7ac0e8
push dword [ebp - 0x14]
push 0x7ac0fb
mov ecx, 5
call fcn.004750f6
add esp, 0x14
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x54827f
push ebx
call fcn.006855e8
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x54828f
push ebx
call fcn.006855e8
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x5482a3
push ebx
call fcn.006855e8
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0xc], 0
je 0x548322
fild dword [ebp + 0xc]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fmul qword [0x79fa84]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
call fcn.0046c77e
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.005484c8
mov dword [ebp - 0x14], eax
push 0x7ac107
push dword [ebp - 0x14]
push 0x7ac123
push dword [ebp - 0xc]
mov ecx, 4
call fcn.004750f6
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x54830a
push ebx
call fcn.006855e8
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x54831e
push ebx
call fcn.006855e8
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0x10], 0
je 0x54835c
push 0x7ac12c
push dword [ebp - 0xc]
mov ecx, 2
call fcn.004750f6
add esp, 8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x548358
push ebx
call fcn.006855e8
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
call fcn.005484c8
mov dword [ebp - 0x14], eax
push 0x80000301
push 0
push dword [0x7dada4]
push 1
mov ebx, 0x198
call fcn.00686db0
add esp, 0x10
mov dword [ebp - 0x18], eax
push 0x7ac135
push dword [ebp - 0x18]
push 0x7a1c0a
push dword [ebp - 0x14]
push 0x7ac13f
push dword [ebp - 0xc]
mov ecx, 6
call fcn.004750f6
add esp, 0x18
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x5483c2
push ebx
call fcn.006855e8
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x5483d2
push ebx
call fcn.006855e8
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x5483e6
push ebx
call fcn.006855e8
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 0x5483fd
mov eax, 0x79f5cc
push eax
push 1
mov ebx, 0x194
call fcn.00686ff0
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 0x548444
push 6
call fcn.00685600
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 0x548457
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 0x548477
push 6
call fcn.00685600
add esp, 4
mov eax, dword [ebp - 8]
jmp 0x548489
mov eax, 0
jmp 0x548489
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x54849a
push ebx
call fcn.006855e8
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x18