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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 4]
call fcn.0047c8f0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2e
jl 0x4a3a60
cmp dword [ebp - 0xc], 0xff
jle 0x4a3a67
mov al, 1
jmp 0x4a3cc2
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x7c]
push edx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x4a3cc0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x80], 0
jle 0x4a3abf
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x80], 8
jge 0x4a3abf
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x80]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x84
push ecx
mov edx, dword [ebp - 4]
add edx, 0x168
push edx
call fcn.005b4f00
add esp, 0xc
jmp 0x4a3afa
mov eax, dword [ebp - 4]
cmp dword [eax + 0x80], 0
je 0x4a3afa
mov dword [ebp - 0xd8], 0x1b
lea ecx, [ebp - 0xd8]
push ecx
mov ecx, dword [ebp - 4]
call fcn.00482410
push 0x3c
push 0x5d932c
call fcn.0051c190
add esp, 8
xor al, al
jmp 0x4a3cc2
push 0
mov edx, dword [ebp - 4]
mov eax, 0x20140
sub eax, dword [edx + 0x80]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x80]
mov eax, dword [ebp - 4]
lea ecx, [eax + edx + 0x168]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x7c]
push eax
call dword [sym.imp.WS2_32.dll_recv]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x80]
add edx, eax
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0
jle 0x4a3c47
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [0x6bc7a0]
call fcn.004a3cd0
mov ecx, dword [ebp - 8]
and ecx, 7
test ecx, ecx
je 0x4a3b96
mov edx, dword [ebp - 8]
and edx, 7
push edx
mov eax, dword [ebp - 8]
and al, 0xf8
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax + 0x168]
push edx
mov eax, dword [ebp - 4]
add eax, 0x84
push eax
call fcn.005b4f00
add esp, 0xc
mov ecx, dword [ebp - 8]
and ecx, 7
mov edx, dword [ebp - 4]
mov dword [edx + 0x80], ecx
jmp 0x4a3ba3
mov eax, dword [ebp - 4]
mov dword [eax + 0x80], 0
mov ecx, dword [ebp - 8]
and ecx, 0xfffffff8
push ecx
mov edx, dword [ebp - 4]
add edx, 0x168
push edx
mov ecx, dword [ebp - 4]
call fcn.004a3d50
and eax, 0xff
test eax, eax
jne 0x4a3c38
mov dword [ebp - 0xdc], 0x1b
lea eax, [ebp - 0xdc]
push eax
mov ecx, dword [ebp - 4]
call fcn.00482410
mov ecx, dword [ebp - 4]
call fcn.004a48e0
push eax
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xa8]
call fcn.00407740
push eax
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0xa8]
call fcn.004a3d20
push eax
push str._d_____s_____s
lea eax, [ebp - 0x70]
push eax
call fcn.005b5240
add esp, 0x14
push 0x3d
lea ecx, [ebp - 0x70]
push ecx
call fcn.0051c190
add esp, 8
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x7c]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
xor al, al
jmp 0x4a3cc2
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x164], 0
jmp 0x4a3cc0
cmp dword [ebp - 0xc], 0x2e
jl 0x4a3cbc
cmp dword [0x60f874], 0
jne 0x4a3cbc
mov dword [ebp - 0xe0], 0x1b
lea edx, [ebp - 0xe0]
push edx
mov ecx, dword [ebp - 4]
call fcn.00482410
mov ecx, dword [ebp - 4]
call fcn.004a48e0
push eax
mov ecx, dword [ebp - 4]
call fcn.0043f2b0
push eax
mov ecx, dword [ebp - 4]
call fcn.004846f0
push eax
push str._d_____s_____s
lea eax, [ebp - 0xd4]
push eax
call fcn.005b5240
add esp, 0x14
push 0x3e
lea ecx, [ebp - 0xd4]
push ecx
call fcn.0051c190
add esp, 8
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x7c]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
xor al, al
jmp 0x4a3cc2
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4