Function at 0x48cb83
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.0048b997
test eax, eax
jne 0x48cba3
xor eax, eax
jmp 0x48d132
push dword [ebx + 0x3b0]
call fcn.0041261f
test eax, eax
jne 0x48cbb9
xor eax, eax
jmp 0x48d132
cmp dword [ebx + 0x374], 2
jne 0x48cf14
mov edx, dword [ebx + 0x378]
sub edx, 0x82
je 0x48cbe0
dec edx
je 0x48cc63
jmp 0x48cf05
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 + 0xb88], 0x64
add ecx, eax
add ecx, 0xa5c
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.0054e28c
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 [0x56f018]
push dword [ebx + 0x3a8]
call sub.WSOCK32.dll_WSAAsyncSelect
xor eax, eax
jmp 0x48d132
push 0
push 0
push dword [0x56f018]
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 0x48cf05
test esi, esi
jle 0x48cf05
mov byte [ebp + esi - 0x3ec], 0
lea eax, [ebp - 0x3ec]
push eax
call fcn.004d46f8
test eax, eax
je 0x48cf05
xor esi, esi
lea eax, [ebp - 0x3fc]
xor edx, edx
mov dword [eax], edx
inc esi
add eax, 4
cmp esi, 4
jl 0x48ccc8
push 0x56646c
lea ecx, [ebp - 0x3ec]
push ecx
call fcn.0054e644
add esp, 8
xor edx, edx
mov esi, edx
mov dword [ebp + edx*4 - 0x3fc], eax
jmp 0x48ccfb
cmp esi, 3
jge 0x48cd16
push 0x56646f
push 0
call fcn.0054e644
add esp, 8
inc esi
mov dword [ebp + esi*4 - 0x3fc], eax
test eax, eax
jne 0x48ccf6
cmp esi, 2
jl 0x48cf05
push dword [ebp - 0x3f8]
call fcn.004d473f
test eax, eax
je 0x48cf05
push dword [ebp - 0x3fc]
call fcn.005570e0
pop ecx
mov esi, eax
cmp esi, 0x83
je 0x48cdc1
mov esi, dword [0x561210]
test esi, esi
je 0x48cd88
cmp dword [esi + 0x53c], 0
je 0x48cd7e
cmp dword [esi + 0x520], 3
jne 0x48cd7e
lea eax, [ebx + 0xcc]
push eax
lea edx, [esi + 0x4b8]
push edx
call fcn.0054e450
add esp, 8
test eax, eax
je 0x48cd88
mov esi, dword [esi + 0x88c]
test esi, esi
jne 0x48cd52
test esi, esi
je 0x48cf05
xor ecx, ecx
mov dword [0x56cd18], ecx
mov dword [0x56cd28], 1
push dword [0x5618e8]
push 0
push 0xb61
call fcn.0042c771
push eax
push dword [esi]
call fcn.004ef55b
jmp 0x48cf05
push 0xa
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x3f4]
call fcn.00558628
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.00481b78
push esi
call fcn.0042c88b
test eax, eax
jne 0x48cf05
mov eax, dword [0x563c18]
mov dword [0x56f1a4], eax
cmp dword [0x5641a4], 0
je 0x48ce2a
push 0
push 0x46d978
push 0x32a
push dword [0x56f018]
call fcn.0046a7c4
push ebx
call fcn.0048bfae
test eax, eax
je 0x48cf05
mov edx, dword [0x56418c]
mov dword [ebx + 0x360], edx
push ebx
call fcn.0048bf33
xor ecx, ecx
mov dword [0x56418c], 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.0048c2ce
mov esi, eax
mov dword [ebx], esi
test esi, esi
jne 0x48cea1
push dword [ebx + 0x3b0]
push 0
push 2
push 3
lea eax, [ebp - 0x3ec]
push eax
call fcn.0052637f
mov esi, eax
mov dword [ebx], esi
test esi, esi
je 0x48cf05
push 0
push 0
push 0
push 0
push 2
push ebx
call fcn.005191c5
push dword [ebx + 0x360]
mov eax, dword [ebx + 0x3b0]
imul edx, dword [eax + 0xb88], 0x64
add edx, eax
add edx, 0xa5c
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.0054e28c
pop ecx
push eax
lea edx, [ebp - 0x3ec]
push edx
push dword [ebx + 0x3a8]
call sub.WSOCK32.dll_send
jmp 0x48cf14
push 0
push ebx
call fcn.0048b8ab
xor eax, eax
jmp 0x48d132
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.0055ca2c
pop ecx
mov esi, eax
mov dword [ebx + 0x388], esi
mov dword [ebx + 0x38c], esi
call fcn.0042e7ed
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.0042cbc2
test eax, eax
jne 0x48d001
push 0
push 0
lea edx, [ebp - 0x3ec]
push edx
push 0x56648a
call fcn.00481b78
push 2
lea ecx, [ebp - 0x3ec]
push ecx
call fcn.0042cbc2
test eax, eax
jne 0x48d001
push esi
lea esi, [ebp - 0x3ec]
mov edi, 0x581f80
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.0042e6d8
lea edx, [ebp - 0x3ec]
push edx
push 0x104
push esi
call fcn.0042e5e3
lea ecx, [ebx + 0x234]
push ecx
lea eax, [ebp - 0x3ec]
push eax
call fcn.0054e1b0
add esp, 8
cmp dword [ebx + 0x360], 0
jbe 0x48d093
push 0x180
push 0x20
push 0x8901
lea edx, [ebp - 0x3ec]
push edx
call fcn.0055422c
add esp, 0x10
mov dword [ebx + 0x338], eax
test eax, eax
jge 0x48d07f
push 0
push 0xb62
call fcn.0042c771
push eax
push 0
push ebx
call fcn.0048d5ba
xor eax, eax
jmp 0x48d132
mov eax, dword [ebx + 0x360]
mov dword [ebx + 0x350], eax
mov dword [ebx + 0x398], eax
jmp 0x48d0d1
push 0x180
push 0x20
push 0x8301
lea edx, [ebp - 0x3ec]
push edx
call fcn.0055422c
add esp, 0x10
mov dword [ebx + 0x338], eax
test eax, eax
jge 0x48d0d1
push 0
push 0xb62
call fcn.0042c771
push eax
push 0
push ebx
call fcn.0048d5ba
xor eax, eax
jmp 0x48d132
push 0
push 0xb63
call fcn.0042c771
push eax
push 1
push 1
push 1
push 1
push ebx
call fcn.005191c5
push 0
push 0xb64
call fcn.0042c771
push eax
push 0
push 0
push 0
push 0
push ebx
call fcn.005191c5
cmp dword [0x55e624], 0
je 0x48d118
push 0x1c
push ebx
call fcn.0048bad7
push 0x23
push 0x8012
push dword [0x56f018]
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