Function at 0x642608
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.00642a15
push eax
call fcn.005585bf
mov dword [ebp - 4], eax
push dword [ebp - 4]
call fcn.005585bf
mov dword [ebp - 0x14], eax
fild dword [ebp + 8]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fsub qword [0xab7ef2]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0xab8329]
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.00558d52
push eax
call fcn.005585bf
mov dword [ebp - 8], eax
cmp dword [ebp + 0xc], 0xffffffff
jle 0x64269f
cmp dword [ebp - 8], 0
jle 0x64269f
mov eax, 1
jmp 0x6426a4
mov eax, 0
test eax, eax
je 0x6429f3
cmp dword [0xaf369e], 0
jne 0x642728
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 0x6426ec
push 6
call fcn.0079ceca
add esp, 4
mov dword [0xaf369e], eax
mov dword [ebp - 0x14], esp
push 0x1e
mov eax, 0xac474d
test eax, eax
je 0x642705
add eax, 8
push eax
push dword [0xaf369e]
call dword [sym.imp.kernel32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x642728
push 6
call fcn.0079ceca
add esp, 4
cmp dword [ebp + 0x18], 0
je 0x642788
lea eax, [ebp - 4]
push eax
call fcn.00642a3c
mov dword [ebp - 0x14], eax
push 0xac4773
push dword [ebp - 0x14]
push 0xac477d
mov ecx, 3
call fcn.00567505
add esp, 0xc
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x64276b
push ebx
call fcn.0079cebe
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x64277f
push ebx
call fcn.0079cebe
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
jmp 0x64281b
fild dword [ebp + 0xc]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fmul qword [0xab8329]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
call fcn.00558d52
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x10]
push eax
call fcn.00642a8b
mov dword [ebp - 0x14], eax
lea eax, [ebp - 4]
push eax
call fcn.00642a3c
mov dword [ebp - 0x18], eax
push 0xac4773
push dword [ebp - 0x18]
push 0xac4795
push dword [ebp - 0x14]
push 0xac47a8
mov ecx, 5
call fcn.00567505
add esp, 0x14
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x6427f3
push ebx
call fcn.0079cebe
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x642803
push ebx
call fcn.0079cebe
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x642817
push ebx
call fcn.0079cebe
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0xc], 0
je 0x642896
fild dword [ebp + 0xc]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fmul qword [0xab8329]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
call fcn.00558d52
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.00642a3c
mov dword [ebp - 0x14], eax
push 0xac47b4
push dword [ebp - 0x14]
push 0xac47d0
push dword [ebp - 0xc]
mov ecx, 4
call fcn.00567505
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x64287e
push ebx
call fcn.0079cebe
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x642892
push ebx
call fcn.0079cebe
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0x10], 0
je 0x6428d0
push 0xac47d9
push dword [ebp - 0xc]
mov ecx, 2
call fcn.00567505
add esp, 8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x6428cc
push ebx
call fcn.0079cebe
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
call fcn.00642a3c
mov dword [ebp - 0x14], eax
push 0x80000301
push 0
push dword [0xaf369e]
push 1
mov ebx, 0x198
call fcn.0079e511
add esp, 0x10
mov dword [ebp - 0x18], eax
push 0xac47e2
push dword [ebp - 0x18]
push 0xabfedf
push dword [ebp - 0x14]
push 0xac47ec
push dword [ebp - 0xc]
mov ecx, 6
call fcn.00567505
add esp, 0x18
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x642936
push ebx
call fcn.0079cebe
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x642946
push ebx
call fcn.0079cebe
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x64295a
push ebx
call fcn.0079cebe
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 0x642971
mov eax, 0xab7c6f
push eax
push 1
mov ebx, 0x194
call fcn.0079e751
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 0x6429b8
push 6
call fcn.0079ceca
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 0x6429cb
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 0x6429eb
push 6
call fcn.0079ceca
add esp, 4
mov eax, dword [ebp - 8]
jmp 0x6429fd
mov eax, 0
jmp 0x6429fd
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x642a0e
push ebx
call fcn.0079cebe
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x18