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

Disassembly:
mov eax, dword [0x597650]
sub esp, 0x3f8
push ebx
xor ebx, ebx
cmp eax, ebx
push ebp
mov ebp, ecx
je 0x48c0ba
lea esp, [esp]
cmp eax, ebp
je 0x48bbf9
mov eax, dword [eax + 0x4bc]
cmp eax, ebx
jne 0x48bbe0
pop ebp
xor eax, eax
pop ebx
add esp, 0x3f8
ret
mov ecx, dword [ebp + 0x4b8]
call fcn.004dbea0
test eax, eax
je 0x48c0ba
cmp dword [ebp + 0x47c], 2
push esi
push edi
jne 0x48bf0d
mov eax, dword [ebp + 0x480]
sub eax, 0x82
je 0x48c0c5
dec eax
jne 0x48be92
mov eax, dword [0x5a1b00]
mov ecx, dword [ebp + 0x4b0]
push ebx
push ebx
push eax
push ecx
call dword [sym.imp.WSOCK32.dll_WSAAsyncSelect]
mov eax, dword [ebp + 0x4b0]
push ebx
push 0x3e6
lea edx, [esp + 0x28]
push edx
push eax
call dword [sym.imp.WSOCK32.dll_recv]
cmp eax, 0xffffffff
je 0x48be92
cmp eax, ebx
jle 0x48be92
lea ecx, [esp + 0x20]
mov byte [esp + eax + 0x20], bl
call fcn.004dac20
test eax, eax
je 0x48be92
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
lea edx, [esp + 0x20]
mov dword [esp + 0x18], ecx
push 0x575258
push edx
mov dword [esp + 0x24], ecx
call fcn.00563e6f
push 0x575258
mov edi, 1
push ebx
mov dword [esp + 0x20], eax
mov esi, edi
call fcn.00563e6f
add esp, 0x10
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x48be92
lea esp, [esp]
cmp esi, 3
jge 0x48bcec
push 0x575258
push ebx
inc esi
call fcn.00563e6f
add esp, 8
cmp eax, ebx
mov dword [esp + esi*4 + 0x10], eax
jne 0x48bcd0
cmp esi, 2
jl 0x48be92
mov ecx, dword [esp + 0x14]
call fcn.004dac60
test eax, eax
je 0x48be92
mov eax, dword [esp + 0x10]
push eax
call fcn.00563a6c
add esp, 4
cmp eax, 0x83
je 0x48bdb8
mov esi, dword [0x592640]
cmp esi, ebx
je 0x48be92
lea esp, [esp]
cmp dword [esi + 0x53c], ebx
je 0x48bd5b
cmp dword [esi + 0x520], 3
jne 0x48bd5b
lea ecx, [ebp + 0xcc]
push ecx
lea edx, [esi + 0x4b8]
push edx
call fcn.00572b46
add esp, 8
test eax, eax
je 0x48bd7b
mov esi, dword [esi + 0x88c]
cmp esi, ebx
jne 0x48bd30
xor edx, edx
mov ecx, ebp
call fcn.0048aaf0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3f8
ret
mov eax, dword [0x594094]
push eax
xor edx, edx
mov ecx, 0xb61
mov dword [0x589b90], ebx
mov dword [0x59c69c], edi
call fcn.0041c9e0
mov ecx, dword [esi]
mov edx, eax
call fcn.004fb730
xor edx, edx
mov ecx, ebp
call fcn.0048aaf0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3f8
ret
mov ecx, dword [esp + 0x18]
push 0xa
push ebx
push ecx
call fcn.005639fd
add esp, 0xc
push ebx
lea esi, [ebp + 0x234]
push ebx
lea edx, [ebp + 0x130]
mov ecx, esi
mov dword [ebp + 0x464], eax
call fcn.0047d5b0
mov ecx, esi
call fcn.0041ed60
test eax, eax
jne 0x48be92
cmp dword [0x5899a4], ebx
mov edx, dword [0x594294]
mov dword [0x5a1b3c], edx
je 0x48be1c
mov ecx, dword [0x5a1b00]
push ebx
push 0x466f60
mov edx, 0x32a
call fcn.00464b70
mov ecx, ebp
call fcn.0048ae20
test eax, eax
je 0x48be92
mov eax, dword [0x594b78]
mov dword [ebp + 0x468], eax
mov dword [0x594b78], ebx
mov ecx, ebp
mov dword [ebp + 0x474], edi
call fcn.0048a840
push esi
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [ebp + 4]
push ecx
lea edx, [esp + 0x28]
push str.Get__s__s
push edx
mov dword [ebp + 0x4ac], ebx
call esi
add esp, 0x10
mov ecx, ebp
call fcn.0048b1a0
cmp eax, ebx
mov dword [ebp], eax
jne 0x48bea8
mov eax, dword [ebp + 0x4b8]
push eax
push ebx
push 2
mov edx, 3
lea ecx, [esp + 0x2c]
call fcn.0053c810
cmp eax, ebx
mov dword [ebp], eax
jne 0x48bea8
xor edx, edx
mov ecx, ebp
call fcn.0048aaf0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3f8
ret
push ebx
push ebx
push ebx
push ebx
mov edx, 2
mov ecx, ebp
call fcn.0052a6c0
mov eax, dword [ebp + 0x4b8]
mov edx, dword [eax + 0xf28]
mov ecx, dword [ebp + 0x468]
imul edx, edx, 0x64
push ecx
lea eax, [edx + eax + 0xdfc]
push eax
lea ecx, [esp + 0x28]
push str.132__s__lu_n
push ecx
call esi
lea eax, [esp + 0x30]
add esp, 0x10
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x48bef0
sub eax, edx
push ebx
push eax
mov eax, dword [ebp + 0x4b0]
lea edx, [esp + 0x28]
push edx
push eax
call dword [sym.imp.WSOCK32.dll_send]
push ebx
mov dword [ebp + 0x440], 4
mov dword [ebp + 0x458], ebx
mov dword [ebp + 0x460], ebx
call fcn.00563e36
add esp, 4
mov dword [ebp + 0x490], eax
mov dword [ebp + 0x494], eax
call fcn.0041e350
mov dword [ebp + 0x49c], edx
mov edx, dword [ebp + 0x458]
mov dword [ebp + 0x4a0], edx
lea esi, [ebp + 0x130]
lea edx, [esp + 0x20]
mov dword [ebp + 0x498], eax
mov dword [ebp + 0x4a4], ebx
mov dword [ebp + 0x4a8], ebx
mov eax, esi
sub edx, esi
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x48bf70
mov edx, 2
lea ecx, [esp + 0x20]
call fcn.0041ef30
test eax, eax
jne 0x48bfbf
push ebx
push ebx
lea edx, [esp + 0x28]
mov ecx, 0x574b10
call fcn.0047d5b0
mov edx, 2
lea ecx, [esp + 0x20]
call fcn.0041ef30
test eax, eax
jne 0x48bfbf
mov edi, edi
mov cl, byte [eax + 0x598248]
mov byte [esp + eax + 0x20], cl
inc eax
cmp cl, bl
jne 0x48bfb0
lea ecx, [esp + 0x20]
call fcn.0041f4e0
lea eax, [esp + 0x20]
push eax
mov edx, 0x104
mov ecx, esi
call fcn.0041e120
lea eax, [ebp + 0x234]
mov edx, eax
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x48bfe1
lea edi, [esp + 0x20]
sub eax, edx
dec edi
nop
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x48bff0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp + 0x468]
and ecx, 3
cmp eax, ebx
push ebx
rep movsb byte es:[edi], byte [esi]
push 0x80
jbe 0x48c139
push 3
push ebx
push 1
push 0x40000000
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp + 0x43c], eax
je 0x48c15d
mov eax, dword [ebp + 0x468]
mov dword [ebp + 0x458], eax
mov dword [ebp + 0x4a0], eax
xor edx, edx
mov ecx, 0xb63
call fcn.0041c9e0
push eax
push 1
push 1
push 1
mov edx, 1
mov ecx, ebp
call fcn.0052a6c0
xor edx, edx
mov ecx, 0xb64
call fcn.0041c9e0
push eax
push ebx
push ebx
push ebx
xor edx, edx
mov ecx, ebp
call fcn.0052a6c0
cmp dword [0x5891b4], ebx
je 0x48c09e
mov edx, 0x1c
mov ecx, ebp
call fcn.0048a7f0
push 0x23
push 0x8012
mov eax, dword [0x5a1b00]
mov ecx, dword [ebp + 0x4b0]
push eax
push ecx
call dword [sym.imp.WSOCK32.dll_WSAAsyncSelect]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3f8
ret
mov eax, dword [ebp + 0x4b8]
lea ecx, [ebp + 0x234]
push ecx
mov dword [ebp + 0x480], 0x83
mov ecx, dword [eax + 0xf28]
imul ecx, ecx, 0x64
lea edx, [ebp + 0x130]
push edx
lea edx, [ecx + eax + 0xdfc]
push edx
lea eax, [esp + 0x2c]
push str.130__s__s_s_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x34]
add esp, 0x14
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x48c110
push ebx
sub eax, edx
mov edx, dword [ebp + 0x4b0]
push eax
lea ecx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.WSOCK32.dll_send]
push 0x21
push 0x800f
jmp 0x48c0a5
push 2
push ebx
push 1
push 0x40000000
lea edx, [esp + 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp + 0x43c], eax
jne 0x48c052
xor edx, edx
mov ecx, 0xb62
call fcn.0041c9e0
push eax
xor edx, edx
mov ecx, ebp
call fcn.0048b250
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3f8
ret