Function at 0x5f98c6
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
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
push 0x10
call fcn.005fffc4
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
add ebx, 0xc
push ebx
push 0x10
call fcn.005fffc4
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x77f41c
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
push dword [ebp + 8]
call fcn.0051d8fe
mov dword [ebp - 4], eax
fild dword [ebp + 8]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fadd qword [0x76044e]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
call fcn.004c58cd
push eax
call fcn.0051d8fe
mov dword [ebp - 8], eax
fild dword [ebp + 8]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fadd qword [0x760459]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
call fcn.004c58cd
push eax
call fcn.0051d8fe
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push dword [ebp - 0xc]
push 1
mov ebx, 0x1bc
call fcn.00603860
add esp, 0x10
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x5f99d4
push ebx
call fcn.005fffbe
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x24], esp
mov eax, 0x10
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0x10
call fcn.005fffc4
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 8
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push 0
push dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x5f9a4a
add eax, 8
push eax
push dword [ebp - 4]
call dword [sym.imp.wsock32.dll_recvfrom]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x5f9a6a
push 6
call fcn.005fffca
add esp, 4
push eax
mov ebx, dword [ebp - 0x2c]
push ebx
mov edi, dword [ebp - 0x30]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 1
mov eax, 2
call fcn.006010d0
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x5f9ac1
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x5f9abf
imul eax, dword [edi]
jmp 0x5f9ab4
mov ecx, eax
cmp ecx, 8
jle 0x5f9acb
mov ecx, 8
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 8
call fcn.005fffbe
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jle 0x5f9c38
mov ebx, dword [ebp - 0x18]
add ebx, 8
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], esp
mov ebx, dword [ebp - 0x24]
push dword [ebx]
call dword [sym.imp.wsock32.dll_inet_ntoa]
nop
nop
nop
nop
cmp dword [ebp - 0x28], esp
je 0x5f9b1a
push 6
call fcn.005fffca
add esp, 4
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x90c
call fcn.00601260
add esp, 0x10
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x5f9b4b
push ebx
call fcn.005fffbe
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
add ebx, 4
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], esp
mov ebx, dword [ebp - 0x24]
mov ax, word [ebx]
push eax
call dword [sym.imp.wsock32.dll_ntohs]
nop
nop
nop
nop
cmp dword [ebp - 0x28], esp
je 0x5f9b7e
push 6
call fcn.005fffca
add esp, 4
cwde
mov dword [ebp - 0x20], eax
push 0x80000301
push 0
push dword [ebp - 0x14]
push reloc.wsock32.dll_getpeername
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x5f9b9f
mov eax, 0x760403
push eax
push 2
mov ebx, 0x1a0
call fcn.00603e00
add esp, 0x1c
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x5f9bc9
push ebx
call fcn.005fffbe
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x24], esp
push dword [ebp - 0x1c]
call dword [sym.imp.kernel32.dll_SetHandleCount]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x5f9bef
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], esp
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x5f9bff
add eax, 8
push eax
call dword [sym.imp.kernel32.dll_SetHandleCount]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x5f9c1c
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x30], eax
push dword [ebp - 0x14]
push dword [ebp - 0x30]
push dword [ebp - 0x20]
push dword [ebp - 0x28]
push dword [ebp - 8]
call fcn.0057ae14
jmp 0x5f9c47
cmp dword [ebp - 0x14], 0xffffffff
jne 0x5f9c47
jmp 0x5f9c4c
jmp 0x5f99d8
mov dword [ebp - 0x24], esp
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_LocalFree]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x5f9c6e
push 6
call fcn.005fffca
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x5f9c7e
push ebx
call fcn.005fffbe
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
add ebx, 0xc
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.005fffbe
add esp, 4
pop ebx
call fcn.005fffbe
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x5f9caa
push ebx
call fcn.005fffbe
add esp, 4
mov esp, ebp
pop ebp
ret 4