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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc04
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
push ebx
call fcn.0048be97
test eax, eax
jne 0x48d0a3
xor eax, eax
jmp 0x48d632
push dword [ebx + 0x3b0]
call fcn.00412773
test eax, eax
jne 0x48d0b9
xor eax, eax
jmp 0x48d632
cmp dword [ebx + 0x374], 2
jne 0x48d414
mov edx, dword [ebx + 0x378]
sub edx, 0x82
je 0x48d0e0
dec edx
je 0x48d163
jmp 0x48d405
mov dword [ebx + 0x378], 0x83
lea ecx, [ebx + 0x234]
push ecx
lea edx, [ebx + 0x130]
push edx
mov eax, dword [ebx + 0x3b0]
imul ecx, dword [eax + 0xb84], 0x64
add ecx, eax
add ecx, 0xa58
push ecx
push str.130__s__s_s_n
lea eax, [ebp - 0x3ec]
push eax
call sub.USER32.dll_wsprintfA
add esp, 0x14
push 0
lea edx, [ebp - 0x3ec]
push edx
call fcn.0054c2d0
pop ecx
push eax
lea ecx, [ebp - 0x3ec]
push ecx
push dword [ebx + 0x3a8]
call sub.WSOCK32.dll_send
push 0x21
push 0x800f
push dword [0x56cee8]
push dword [ebx + 0x3a8]
call sub.WSOCK32.dll_WSAAsyncSelect
xor eax, eax
jmp 0x48d632
push 0
push 0
push dword [0x56cee8]
push dword [ebx + 0x3a8]
call sub.WSOCK32.dll_WSAAsyncSelect
push 0
push 0x3e6
lea edx, [ebp - 0x3ec]
push edx
push dword [ebx + 0x3a8]
call sub.WSOCK32.dll_recv
mov esi, eax
cmp esi, 0xffffffff
je 0x48d405
test esi, esi
jle 0x48d405
mov byte [ebp + esi - 0x3ec], 0
lea eax, [ebp - 0x3ec]
push eax
call fcn.004d38ec
test eax, eax
je 0x48d405
xor esi, esi
lea eax, [ebp - 0x3fc]
xor edx, edx
mov dword [eax], edx
inc esi
add eax, 4
cmp esi, 4
jl 0x48d1c8
push 0x5643e8
lea ecx, [ebp - 0x3ec]
push ecx
call fcn.0054c688
add esp, 8
xor edx, edx
mov esi, edx
mov dword [ebp + edx*4 - 0x3fc], eax
jmp 0x48d1fb
cmp esi, 3
jge 0x48d216
push 0x5643eb
push 0
call fcn.0054c688
add esp, 8
inc esi
mov dword [ebp + esi*4 - 0x3fc], eax
test eax, eax
jne 0x48d1f6
cmp esi, 2
jl 0x48d405
push dword [ebp - 0x3f8]
call fcn.004d3933
test eax, eax
je 0x48d405
push dword [ebp - 0x3fc]
call fcn.00555124
pop ecx
mov esi, eax
cmp esi, 0x83
je 0x48d2c1
mov esi, dword [0x55f1e0]
test esi, esi
je 0x48d288
cmp dword [esi + 0x53c], 0
je 0x48d27e
cmp dword [esi + 0x520], 3
jne 0x48d27e
lea eax, [ebx + 0xcc]
push eax
lea edx, [esi + 0x4b8]
push edx
call fcn.0054c494
add esp, 8
test eax, eax
je 0x48d288
mov esi, dword [esi + 0x88c]
test esi, esi
jne 0x48d252
test esi, esi
je 0x48d405
xor ecx, ecx
mov dword [0x56ac00], ecx
mov dword [0x56ac10], 1
push dword [0x55f89c]
push 0
push 0xb61
call fcn.0042c564
push eax
push dword [esi]
call fcn.004ee447
jmp 0x48d405
push 0xa
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x3f4]
call fcn.0055666c
add esp, 0xc
mov dword [ebx + 0x35c], eax
push 0
push 0
lea edx, [ebx + 0x130]
push edx
lea esi, [ebx + 0x234]
push esi
call fcn.00482188
push esi
call fcn.0042c67e
test eax, eax
jne 0x48d405
mov eax, dword [0x561bf4]
mov dword [0x56d074], eax
cmp dword [0x56217c], 0
je 0x48d32a
push 0
push 0x46dfaa
push 0x32a
push dword [0x56cee8]
call fcn.0046b0f0
push ebx
call fcn.0048c4ae
test eax, eax
je 0x48d405
mov edx, dword [0x562164]
mov dword [ebx + 0x360], edx
push ebx
call fcn.0048c433
xor ecx, ecx
mov dword [0x562164], ecx
xor eax, eax
mov dword [ebx + 0x3a4], eax
push esi
lea edx, [ebx + 4]
push edx
push str.Get__s__s
lea ecx, [ebp - 0x3ec]
push ecx
call sub.USER32.dll_wsprintfA
add esp, 0x10
push ebx
call fcn.0048c7ce
mov esi, eax
mov dword [ebx], esi
test esi, esi
jne 0x48d3a1
push dword [ebx + 0x3b0]
push 0
push 2
push 3
lea eax, [ebp - 0x3ec]
push eax
call fcn.00524566
mov esi, eax
mov dword [ebx], esi
test esi, esi
je 0x48d405
push 0
push 0
push 0
push 0
push 2
push ebx
call fcn.00517489
push dword [ebx + 0x360]
mov eax, dword [ebx + 0x3b0]
imul edx, dword [eax + 0xb84], 0x64
add edx, eax
add edx, 0xa58
push edx
push str.132__s__lu_n
lea ecx, [ebp - 0x3ec]
push ecx
call sub.USER32.dll_wsprintfA
add esp, 0x10
push 0
lea eax, [ebp - 0x3ec]
push eax
call fcn.0054c2d0
pop ecx
push eax
lea edx, [ebp - 0x3ec]
push edx
push dword [ebx + 0x3a8]
call sub.WSOCK32.dll_send
jmp 0x48d414
push 0
push ebx
call fcn.0048bdab
xor eax, eax
jmp 0x48d632
mov dword [ebx + 0x33c], 4
xor edx, edx
mov dword [ebx + 0x350], edx
xor ecx, ecx
mov dword [ebx + 0x358], ecx
push 0
call fcn.0055aa70
pop ecx
mov esi, eax
mov dword [ebx + 0x388], esi
mov dword [ebx + 0x38c], esi
call fcn.0042e52c
mov dword [ebx + 0x390], eax
mov dword [ebx + 0x394], edx
mov eax, dword [ebx + 0x350]
mov dword [ebx + 0x398], eax
xor edx, edx
mov dword [ebx + 0x39c], edx
xor ecx, ecx
mov dword [ebx + 0x3a0], ecx
lea esi, [ebx + 0x130]
push esi
mov edi, esi
lea esi, [ebp - 0x3ec]
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
push 2
lea eax, [ebp - 0x3ec]
push eax
call fcn.0042c9b5
test eax, eax
jne 0x48d501
push 0
push 0
lea edx, [ebp - 0x3ec]
push edx
push 0x564406
call fcn.00482188
push 2
lea ecx, [ebp - 0x3ec]
push ecx
call fcn.0042c9b5
test eax, eax
jne 0x48d501
push esi
lea esi, [ebp - 0x3ec]
mov edi, 0x57fd38
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
lea eax, [ebp - 0x3ec]
push eax
call fcn.0042e417
lea edx, [ebp - 0x3ec]
push edx
push 0x104
push esi
call fcn.0042e322
lea ecx, [ebx + 0x234]
push ecx
lea eax, [ebp - 0x3ec]
push eax
call fcn.0054c1f4
add esp, 8
cmp dword [ebx + 0x360], 0
jbe 0x48d593
push 0x180
push 0x20
push 0x8901
lea edx, [ebp - 0x3ec]
push edx
call fcn.00552270
add esp, 0x10
mov dword [ebx + 0x338], eax
test eax, eax
jge 0x48d57f
push 0
push 0xb62
call fcn.0042c564
push eax
push 0
push ebx
call fcn.0048daba
xor eax, eax
jmp 0x48d632
mov eax, dword [ebx + 0x360]
mov dword [ebx + 0x350], eax
mov dword [ebx + 0x398], eax
jmp 0x48d5d1
push 0x180
push 0x20
push 0x8301
lea edx, [ebp - 0x3ec]
push edx
call fcn.00552270
add esp, 0x10
mov dword [ebx + 0x338], eax
test eax, eax
jge 0x48d5d1
push 0
push 0xb62
call fcn.0042c564
push eax
push 0
push ebx
call fcn.0048daba
xor eax, eax
jmp 0x48d632
push 0
push 0xb63
call fcn.0042c564
push eax
push 1
push 1
push 1
push 1
push ebx
call fcn.00517489
push 0
push 0xb64
call fcn.0042c564
push eax
push 0
push 0
push 0
push 0
push ebx
call fcn.00517489
cmp dword [0x55c624], 0
je 0x48d618
push 0x1c
push ebx
call fcn.0048bfd7
push 0x23
push 0x8012
push dword [0x56cee8]
push dword [ebx + 0x3a8]
call sub.WSOCK32.dll_WSAAsyncSelect
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4