Function at 0x48bad0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x18], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x48bf1f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebx + 0xec], 0
mov byte [ebx + 0x319], 0
mov byte [ebx + 0x31a], 0
mov byte [ebx + 0x2fc], 0
mov byte [ebx + 0x2f2], 0
cmp byte [ebx + 0x371], 0
je 0x48bb25
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.0048e504
cmp dword [ebx + 0x36c], 0
jne 0x48bb3a
mov edx, 0x1000
mov eax, ebx
call fcn.0048a87c
push 6
push 1
push 2
call sub.wsock32.dll_socket
mov esi, eax
mov dword [ebx + 0x344], esi
inc esi
jne 0x48bb5e
lea ecx, [ebp - 0x18]
mov dx, 0x2733
mov eax, ebx
call fcn.0048e6e8
mov eax, dword [ebx + 0x2d0]
mov edx, dword [0x5536c4]
mov edx, dword [edx]
call fcn.00403f34
je 0x48bbc8
lea eax, [ebp - 0x14]
xor ecx, ecx
mov edx, 0x10
call fcn.00402bd8
mov word [ebp - 0x14], 2
push 0x15
call sub.wsock32.dll_htons
mov word [ebp - 0x12], ax
mov eax, dword [ebx + 0x2d0]
call fcn.00403fe8
push eax
call sub.wsock32.dll_inet_addr
mov esi, eax
mov dword [ebp - 0x10], esi
cmp esi, 0x100007f
jne 0x48bbb6
xor eax, eax
mov dword [ebp - 0x10], eax
push 0x10
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebx + 0x344]
push eax
call sub.wsock32.dll_bind
push 0x3f
push 0x465
mov eax, dword [ebx + 0x34c]
push eax
mov eax, dword [ebx + 0x344]
push eax
call sub.wsock32.dll_WSAAsyncSelect
mov dl, 1
mov eax, ebx
call fcn.0048a844
mov eax, ebx
call fcn.0048fcb4
mov byte [ebx + 0x348], 1
mov byte [ebx + 0x371], 1
cmp word [ebx + 0x4e], 0
je 0x48bc0f
mov edx, ebx
mov eax, dword [ebx + 0x50]
call dword [ebx + 0x4c]
mov byte [ebx + 0x331], 0
mov byte [ebx + 0x332], 0
cmp byte [ebx + 0x370], 0
je 0x48bc3c
mov ecx, 0x48bf38
mov dl, 1
mov eax, dword [0x489ed4]
call fcn.0040ba70
call fcn.0040361c
xor esi, esi
xor eax, eax
push ebp
push 0x48bc62
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x18]
xor edx, edx
mov eax, ebx
call fcn.0048e83c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48bc8e
cmp dword [ebx + 0x2c0], 0
jne 0x48bce9
test esi, esi
jg 0x48bca2
cmp word [ebx + 0x7e], 0
jne 0x48bcba
mov ecx, 0x48bf54
mov dl, 1
mov eax, dword [0x489ed4]
call fcn.0040ba70
call fcn.0040361c
jmp 0x48bce9
mov byte [ebp - 1], 0
lea ecx, [ebp - 1]
mov edx, ebx
mov eax, dword [ebx + 0x80]
call dword [ebx + 0x7c]
cmp byte [ebp - 1], 0
jne 0x48bce8
mov ecx, 0x48bf54
mov dl, 1
mov eax, dword [0x489ed4]
call fcn.0040ba70
call fcn.0040361c
inc esi
cmp dword [ebx + 0x2c0], 0
je 0x48bc3e
mov word [ebx + 0x2bc], 2
cmp dword [ebx + 0xd8], 0
jne 0x48bd1e
mov ax, word [ebx + 0xf8]
push eax
call sub.wsock32.dll_htons
mov word [ebx + 0x2be], ax
jmp 0x48bd32
mov ax, word [ebx + 0xe4]
push eax
call sub.wsock32.dll_htons
mov word [ebx + 0x2be], ax
mov byte [ebx + 0x128], 0
mov eax, 0x10
mov byte [ebx + 0xf4], 1
push eax
lea eax, [ebx + 0x2bc]
push eax
mov eax, dword [ebx + 0x344]
push eax
call sub.wsock32.dll_connect
inc eax
jne 0x48bd6a
lea ecx, [ebp - 0x18]
mov dx, 0x2733
mov eax, ebx
call fcn.0048e6e8
xor edx, edx
mov eax, ebx
call fcn.0048d358
mov eax, ebx
call fcn.0048ed04
cmp byte [ebx + 0x370], 0
jne 0x48bd9e
cmp byte [ebx + 0x332], 0
jne 0x48bd9e
cmp byte [ebx + 0x331], 0
jne 0x48bd9e
cmp byte [ebx + 0xf4], 0
jne 0x48bd73
mov eax, ebx
call fcn.0048d3a8
cmp byte [ebx + 0x332], 0
jne 0x48bdc4
cmp byte [ebx + 0x331], 0
jne 0x48bdc4
cmp byte [ebx + 0xf4], 0
jne 0x48bec9
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.0048e504
mov byte [ebx + 0x371], 0
cmp word [ebx + 0xa6], 0
je 0x48bdee
mov edx, ebx
mov eax, dword [ebx + 0xa8]
call dword [ebx + 0xa4]
cmp byte [ebx + 0xee], 0
je 0x48be0d
mov ecx, 0x48bf78
mov dl, 1
mov eax, dword [0x489f2c]
call fcn.0040ba70
call fcn.0040361c
cmp byte [ebx + 0xf4], 0
jne 0x48be55
mov eax, ebx
call fcn.0048e6d0
cmp eax, 0x2733
jne 0x48be30
mov edx, 0x274c
mov eax, ebx
call fcn.0048e6d8
mov eax, ebx
call fcn.0048e6d0
lea ecx, [ebp - 0x18]
mov dl, 1
call fcn.00488570
mov ecx, dword [ebp - 0x18]
mov dl, 1
mov eax, dword [0x489ed4]
call fcn.0040ba70
call fcn.0040361c
cmp byte [ebx + 0x332], 0
je 0x48be80
lea ecx, [ebp - 0x18]
mov dl, 1
mov ax, 0x274c
call fcn.00488570
mov ecx, dword [ebp - 0x18]
mov dl, 1
mov eax, dword [0x489ed4]
call fcn.0040ba70
call fcn.0040361c
cmp byte [ebx + 0xf4], 0
je 0x48bea8
cmp byte [ebx + 0x370], 0
jne 0x48bea8
mov ecx, 0x48bf94
mov dl, 1
mov eax, dword [0x489ed4]
call fcn.0040ba70
call fcn.0040361c
cmp byte [ebx + 0x331], 0
je 0x48bf09
mov ecx, 0x48bf78
mov dl, 1
mov eax, dword [0x489ed4]
call fcn.0040ba70
call fcn.0040361c
jmp 0x48bf09
mov eax, dword [ebx + 0xe8]
cmp eax, 0xa
jne 0x48bedf
xor edx, edx
mov eax, ebx
call fcn.0048eda4
jmp 0x48bf09
cmp eax, 0x10
jne 0x48beef
mov dl, 1
mov eax, ebx
call fcn.0048eda4
jmp 0x48bf09
cmp eax, 0xb
jne 0x48befd
mov eax, ebx
call fcn.0048f1e4
jmp 0x48bf09
cmp eax, 0xd
jne 0x48bf09
mov eax, ebx
call fcn.0048fa38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48bf26
lea eax, [ebp - 0x18]
call fcn.00403ba8
ret