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

Disassembly:
mov eax, dword [0x63709c]
sub esp, 0x3f8
push ebx
xor ebx, ebx
cmp eax, ebx
push ebp
je 0x49e4ba
mov ebp, dword [esp + 0x404]
mov edi, edi
cmp eax, ebp
je 0x49dfc9
mov eax, dword [eax + 0x4bc]
cmp eax, ebx
jne 0x49dfb0
pop ebp
xor eax, eax
pop ebx
add esp, 0x3f8
ret
mov eax, dword [ebp + 0x4b8]
push eax
call fcn.00502a60
add esp, 4
test eax, eax
je 0x49e4ba
cmp dword [ebp + 0x47c], 2
push esi
push edi
jne 0x49e2ed
mov eax, dword [ebp + 0x480]
sub eax, 0x82
je 0x49e4c5
dec eax
jne 0x49e273
mov ecx, dword [0x645324]
mov edx, dword [ebp + 0x4b0]
push ebx
push ebx
push ecx
push edx
call dword [sym.imp.WSOCK32.dll_WSAAsyncSelect]
mov ecx, dword [ebp + 0x4b0]
push ebx
push 0x3e6
lea eax, [esp + 0x28]
push eax
push ecx
call dword [sym.imp.WSOCK32.dll_recv]
cmp eax, 0xffffffff
je 0x49e273
cmp eax, ebx
jle 0x49e273
lea edx, [esp + 0x20]
push edx
mov byte [esp + eax + 0x24], bl
call fcn.005017f0
add esp, 4
test eax, eax
je 0x49e273
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], eax
push 0x5e7420
push ecx
mov dword [esp + 0x24], eax
call fcn.005cd1ed
push 0x5e7420
mov edi, 1
push ebx
mov dword [esp + 0x20], eax
mov esi, edi
call fcn.005cd1ed
add esp, 0x10
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x49e273
cmp esi, 3
jge 0x49e0c1
push 0x5e7420
push ebx
inc esi
call fcn.005cd1ed
add esp, 8
cmp eax, ebx
mov dword [esp + esi*4 + 0x10], eax
jne 0x49e0a5
cmp esi, 2
jl 0x49e273
mov edx, dword [esp + 0x14]
push edx
call fcn.00501830
add esp, 4
test eax, eax
je 0x49e273
mov eax, dword [esp + 0x10]
push eax
call fcn.005cbe51
add esp, 4
cmp eax, 0x83
je 0x49e194
mov esi, dword [0x611900]
cmp esi, ebx
je 0x49e273
cmp dword [esi + 0x53c], ebx
je 0x49e130
cmp dword [esi + 0x520], 3
jne 0x49e130
lea ecx, [ebp + 0xcc]
push ecx
lea edx, [esi + 0x4b8]
push edx
call fcn.005e31f5
add esp, 8
test eax, eax
je 0x49e151
mov esi, dword [esi + 0x890]
cmp esi, ebx
jne 0x49e105
push ebx
push ebp
call fcn.0049cd40
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3f8
ret
mov eax, dword [0x61369c]
push eax
push ebx
push 0xb61
mov dword [0x63f7ac], ebx
mov dword [0x63f7bc], edi
call fcn.00421db0
mov ecx, dword [esi]
add esp, 8
push eax
push ecx
call fcn.00526870
add esp, 0xc
push ebx
push ebp
call fcn.0049cd40
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3f8
ret
mov edx, dword [esp + 0x18]
push 0xa
push ebx
push edx
call fcn.005cc742
push ebx
mov dword [ebp + 0x464], eax
push ebx
lea eax, [ebp + 0x130]
push eax
lea esi, [ebp + 0x234]
push esi
call fcn.0048b9a0
push esi
call fcn.00425960
add esp, 0x20
test eax, eax
jne 0x49e273
cmp dword [0x609a4c], ebx
mov ecx, dword [0x6138ac]
mov dword [0x645374], ecx
je 0x49e1fb
mov edx, dword [0x645324]
push ebx
push 0x477660
push 0x32a
push edx
call fcn.00475160
add esp, 0x10
push ebp
call fcn.0049d090
add esp, 4
test eax, eax
je 0x49e273
mov eax, dword [0x614178]
mov dword [ebp + 0x468], eax
mov dword [0x614178], ebx
push ebp
mov dword [ebp + 0x474], edi
call fcn.0049c970
push esi
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [ebp + 4]
push ecx
lea edx, [esp + 0x2c]
push str.Get__s__s
push edx
mov dword [ebp + 0x4ac], ebx
call esi
push ebp
call fcn.0049d460
add esp, 0x18
cmp eax, ebx
mov dword [ebp], eax
jne 0x49e28a
mov eax, dword [ebp + 0x4b8]
push ebp
push eax
push ebx
push 2
lea ecx, [esp + 0x30]
push 3
push ecx
call fcn.005899d0
add esp, 0x18
cmp eax, ebx
mov dword [ebp], eax
jne 0x49e28a
push ebx
push ebp
call fcn.0049cd40
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3f8
ret
push ebx
push ebx
push ebx
push ebx
push 2
push ebp
call fcn.00568380
mov eax, dword [ebp + 0x4b8]
mov ecx, dword [eax + 0xf28]
mov edx, dword [ebp + 0x468]
imul ecx, ecx, 0x64
push edx
lea edx, [ecx + eax + 0xdfc]
push edx
lea eax, [esp + 0x40]
push str.132__s__lu_n
push eax
call esi
lea eax, [esp + 0x48]
add esp, 0x28
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x49e2d0
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 ebx
mov dword [ebp + 0x440], 4
mov dword [ebp + 0x458], ebx
mov dword [ebp + 0x460], ebx
call fcn.005cce76
add esp, 4
mov dword [ebp + 0x490], eax
mov dword [ebp + 0x494], eax
call fcn.00423b40
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 0x49e350
lea eax, [esp + 0x20]
push 2
push eax
call fcn.00425b60
add esp, 8
test eax, eax
jne 0x49e381
push ebx
push ebx
lea ecx, [esp + 0x28]
push ecx
push 0x5e6c98
call fcn.0048b9a0
add esp, 0x10
lea edx, [esp + 0x20]
push edx
call fcn.00426aa0
lea eax, [esp + 0x24]
push eax
push 0x104
push esi
call fcn.00423900
lea eax, [ebp + 0x234]
add esp, 0x10
mov edx, eax
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x49e3a6
lea edi, [esp + 0x20]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x49e3b4
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 0x49e539
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 0x49e55d
mov eax, dword [ebp + 0x468]
mov dword [ebp + 0x458], eax
mov dword [ebp + 0x4a0], eax
push ebx
push 0xb63
call fcn.00421db0
push eax
push 1
push 1
push 1
push 1
push ebp
call fcn.00568380
push ebx
push 0xb64
call fcn.00421db0
push eax
push ebx
push ebx
push ebx
push ebx
push ebp
call fcn.00568380
mov eax, dword [0x6081e4]
add esp, 0x40
cmp eax, ebx
je 0x49e472
push ebx
call fcn.00414770
add esp, 4
test eax, eax
je 0x49e472
mov eax, dword [ebp + 0x4b8]
push ebp
push eax
push 0x1c
push ebx
call fcn.00417150
add esp, 0x10
cmp dword [0x6446f0], ebx
je 0x49e49e
push ebx
call fcn.0056cf70
add esp, 4
test eax, eax
je 0x49e49e
mov ecx, dword [ebp]
mov edx, dword [ebp + 0x4b8]
push ecx
push ebp
push edx
push 0x1c
push ebx
call fcn.0056d820
add esp, 0x14
push 0x23
push 0x8012
mov eax, dword [0x645324]
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 0x49e510
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 0x49e4a5
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 0x49e416
push ebx
push 0xb62
call fcn.00421db0
push eax
push ebx
push ebp
call fcn.0049d510
add esp, 0x14
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3f8
ret