Function at 0x483750
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
sub esp, 0x80
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.004dbf30
mov ebx, eax
test ebx, ebx
je 0x483bc1
mov eax, esi
shr eax, 0x10
test eax, eax
jne 0x483b7c
cmp esi, 0x20
je 0x483b7c
mov edx, dword [0x589a2c]
push eax
push 0x7f
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.WSOCK32.dll_recv]
cmp eax, 0xffffffff
je 0x4837a0
cmp eax, 1
jg 0x4837b5
mov ecx, 1
call fcn.00483510
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret
cmp eax, 0x78
jle 0x4837bf
mov eax, 0x78
mov byte [esp + eax + 0x10], 0
lea eax, [esp + 0x10]
push 0xd
push eax
call fcn.00563730
add esp, 8
test eax, eax
je 0x4837da
mov byte [eax], 0
lea ecx, [esp + 0x10]
push 0xa
push ecx
call fcn.00563730
add esp, 8
test eax, eax
je 0x4837f0
mov byte [eax], 0
mov al, byte [esp + 0x10]
test al, al
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
jne 0x48381f
mov edx, dword [str._default_]
mov eax, dword [0x578750]
mov cx, word [0x578754]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
mov word [esp + 0x18], cx
jmp 0x483844
lea edx, [esp + 0x10]
push edx
push 0x574b78
push 0x5970e8
call ebp
add esp, 0xc
xor eax, eax
mov cl, byte [eax + 0x5970e8]
mov byte [esp + eax + 0x10], cl
inc eax
test cl, cl
jne 0x483835
mov eax, dword [0x5a1b00]
mov ecx, dword [0x589a2c]
push 0
push 0
push eax
push ecx
call dword [sym.imp.WSOCK32.dll_WSAAsyncSelect]
lea edx, [esp + 0x10]
push edx
xor edx, edx
mov ecx, 0x917
call fcn.0041c9e0
push eax
push 0x5970e8
call ebp
mov al, byte [0x597080]
add esp, 0xc
test al, al
je 0x4838d1
mov edi, 0x5970e8
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x483886
mov ax, word [0x578748]
mov cl, byte [0x57874a]
mov word [edi], ax
mov eax, 0x5970e8
mov byte [edi + 2], cl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4838a8
sub eax, edx
push 0x597080
xor edx, edx
mov ecx, 0x918
mov esi, eax
call fcn.0041c9e0
push eax
lea edx, [esi + 0x5970e8]
push edx
call ebp
add esp, 0xc
push 0x40
push 0x574b08
push 0x596f78
call fcn.00563d6a
xor edi, edi
add esp, 0xc
cmp eax, edi
mov dword [0x59707c], eax
jne 0x483982
mov eax, 0x5970e8
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x483900
sub eax, edx
push 0x596f78
xor edx, edx
mov ecx, 0x919
mov esi, eax
call fcn.0041c9e0
push eax
lea eax, [esi + 0x5970e8]
push eax
call ebp
mov ecx, dword [0x5940a4]
add esp, 0xc
mov dword [0x589b90], edi
mov dword [0x59c69c], 1
push ecx
mov ecx, dword [ebx]
mov edx, 0x5970e8
call fcn.004fc570
lea edx, [esp + 0x10]
mov ecx, 0x91a
call fcn.0041c9e0
lea eax, [esp + 0x10]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x483961
sub eax, edx
push edi
push eax
mov eax, dword [0x589a2c]
lea edx, [esp + 0x18]
push edx
push eax
call dword [sym.imp.WSOCK32.dll_send]
jmp 0x483bc1
cmp dword [0x596f74], edi
je 0x4839b0
mov ecx, dword [0x5940a4]
mov dword [0x589b90], edi
mov dword [0x59c69c], 1
push ecx
mov ecx, dword [ebx]
mov edx, 0x5970e8
call fcn.004fc570
lea ecx, [ecx]
mov edx, dword [0x59707c]
push edx
push 0x3e7
push 0x5970e8
call fcn.00563d13
add esp, 0xc
test eax, eax
je 0x483a18
lea ecx, [ecx]
lea eax, [esp + 0x10]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4839d7
sub eax, edx
push eax
lea eax, [esp + 0x14]
push eax
push 0x5970e8
call fcn.00572b89
add esp, 0xc
test eax, eax
je 0x483a97
mov ecx, dword [0x59707c]
push ecx
push 0x3e7
push 0x5970e8
call fcn.00563d13
add esp, 0xc
test eax, eax
jne 0x4839d0
lea edx, [esp + 0x10]
push str._default_
push edx
call fcn.00572b46
add esp, 8
test eax, eax
je 0x483a60
mov eax, dword [0x59707c]
push eax
call fcn.00565981
mov ecx, dword [str._default_]
mov edx, dword [0x578750]
mov ax, word [0x578754]
add esp, 4
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov word [esp + 0x18], ax
jmp 0x4839b0
lea edx, [esp + 0x10]
mov ecx, 0x91b
call fcn.0041c9e0
lea eax, [esp + 0x10]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x483a75
push edi
sub eax, edx
mov edx, dword [0x589a2c]
push eax
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.WSOCK32.dll_send]
jmp 0x483bc1
mov eax, dword [0x5a1b00]
mov ecx, dword [0x589a2c]
push 0x22
push 0x8030
push eax
push ecx
call dword [sym.imp.WSOCK32.dll_WSAAsyncSelect]
mov edx, dword [0x59707c]
push edx
push 0x3e7
push 0x5970e8
call fcn.00563d13
add esp, 0xc
test eax, eax
je 0x483bc1
mov ecx, 0x5970e8
call fcn.004ac820
test eax, eax
jne 0x483bc1
mov ecx, 0x5970e8
call fcn.004836d0
test eax, eax
je 0x483b62
push 0xa
push 0x5970e8
call fcn.00563730
add esp, 8
test eax, eax
jne 0x483b21
mov edi, 0x5970e8
dec edi
jmp 0x483b10
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x483b10
mov ax, word [0x575404]
mov word [edi], ax
mov eax, 0x5970e8
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x483b30
mov ecx, dword [0x589a2c]
push 0
sub eax, edx
push eax
push 0x5970e8
push ecx
call dword [sym.imp.WSOCK32.dll_send]
cmp eax, 0xffffffff
jne 0x483b62
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x483bcb
jmp 0x483bc1
mov edx, 0x3e7
mov ecx, 0x5970e8
call fcn.0041e210
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret
mov eax, dword [0x596f74]
test eax, eax
je 0x483bc1
mov al, byte [0x597080]
test al, al
je 0x483bc1
push 0x597080
xor edx, edx
mov ecx, 0x916
call fcn.0041c9e0
push eax
push 0x5970e8
call dword [sym.imp.USER32.dll_wsprintfA]
mov edx, dword [0x5940a4]
mov ecx, dword [ebx]
add esp, 0xc
push edx
mov edx, 0x5970e8
call fcn.004fc570
mov ecx, 2
call fcn.00483510
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret