Function at 0x449180
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0xbc
push ebx
push ebp
xor ebx, ebx
lea ebp, [esp + 0x34]
push edi
mov edi, dword [esp + 0xcc]
xor eax, eax
mov dword [esp + 0x18], ebx
mov byte [esp + 0x13], bl
mov dword [esp + 0xc], ebp
test edi, edi
je 0x449581
cmp dword [edi], 0xbab1e
jne 0x449581
cmp byte [edi + 0xe0], al
je 0x4491cd
pop edi
pop ebp
lea eax, [ebx + 8]
pop ebx
add esp, 0xbc
ret
mov eax, dword [edi + 4]
mov dword [esp + 0x1c], eax
push esi
test eax, eax
je 0x44924b
lea esp, [esp]
lea ecx, [esp + 0x28]
push ecx
push eax
call fcn.00449010
add esp, 8
mov ebp, eax
xor edi, edi
mov eax, 1
jmp 0x449200
or esi, 0xffffffff
lea edx, [edi*4]
test ebp, eax
je 0x449213
mov esi, dword [esp + edx + 0x28]
inc ebx
mov ecx, eax
rol ecx, 0x10
test ebp, ecx
je 0x449221
mov esi, dword [esp + edx + 0x28]
inc ebx
cmp esi, 0xffffffff
je 0x44922e
inc edi
rol eax, 1
cmp edi, 5
jb 0x449200
mov eax, dword [esp + 0x20]
mov dword [esp + 0x1c], ebx
mov eax, dword [eax]
mov dword [esp + 0x20], eax
test eax, eax
jne 0x4491e0
mov edi, dword [esp + 0xd0]
lea ebp, [esp + 0x3c]
lea eax, [esp + 0x18]
push eax
push edi
call fcn.00448b30
mov eax, dword [esp + 0x20]
add esp, 8
test eax, eax
js 0x449272
mov ecx, dword [esp + 0xdc]
mov dword [esp + 0x20], ecx
cmp eax, ecx
jge 0x44927d
jmp 0x449279
mov eax, dword [esp + 0xdc]
mov dword [esp + 0x20], eax
cmp byte [esp + 0xe8], 0
mov esi, dword [esp + 0xd8]
lea eax, [ebx + esi]
mov dword [esp + 0x24], eax
je 0x44929f
cmp dword [edi + 0xe8], 0xffffffff
je 0x44929f
inc eax
cmp eax, 0xa
jbe 0x4492ce
shl eax, 3
push eax
call dword [0x518cc0]
mov ebp, eax
add esp, 4
mov dword [esp + 0x10], ebp
test ebp, ebp
jne 0x4492c9
pop esi
pop edi
lea eax, [ebp + 3]
pop ebp
pop ebx
add esp, 0xbc
ret
mov byte [esp + 0x17], 1
xor edi, edi
test ebx, ebx
je 0x449379
mov eax, dword [esp + 0xd0]
mov eax, dword [eax + 4]
mov dword [esp + 0x18], eax
test eax, eax
je 0x449379
mov edi, edi
lea ecx, [esp + 0x28]
push ecx
push eax
call fcn.00449010
add esp, 8
lea edx, [esp + 0x28]
mov ebx, eax
xor ebp, ebp
mov ecx, 1
jmp 0x449310
or esi, 0xffffffff
test ebx, ecx
je 0x44932d
mov esi, dword [esp + 0x10]
mov eax, dword [edx]
mov dword [esi + edi*8], eax
mov eax, 0x300
mov word [esi + edi*8 + 4], ax
inc edi
mov esi, dword [edx]
mov eax, ecx
rol eax, 0x10
test ebx, eax
je 0x44934c
mov esi, dword [esp + 0x10]
mov eax, dword [edx]
mov dword [esi + edi*8], eax
mov eax, 0x10
mov word [esi + edi*8 + 4], ax
inc edi
mov esi, dword [edx]
cmp esi, 0xffffffff
je 0x44935c
inc ebp
rol ecx, 1
add edx, 4
cmp ebp, 5
jb 0x449310
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x4492f0
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0xd8]
mov ebp, dword [esp + 0x10]
test esi, esi
je 0x4493df
mov edx, dword [esp + 0xd4]
lea ecx, [ebp + 4]
lea ecx, [ecx + edi*8]
add edx, 4
mov ebp, esi
add edi, esi
mov ebx, 0x300
mov eax, dword [edx - 4]
mov dword [ecx - 4], eax
xor eax, eax
mov word [ecx], ax
test byte [edx], 1
je 0x4493ab
mov word [ecx], bx
mov eax, ebx
test byte [edx], 2
movzx esi, ax
je 0x4493be
or eax, 0x400
mov word [ecx], ax
movzx esi, ax
test byte [edx], 4
je 0x4493c9
or esi, 0x10
mov word [ecx], si
add ecx, 8
add edx, 8
sub ebp, 1
jne 0x449396
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0xd8]
cmp byte [esp + 0xe8], 0
mov ecx, dword [esp + 0x10]
je 0x44940d
mov eax, dword [esp + 0xd0]
mov eax, dword [eax + 0xe8]
cmp eax, 0xffffffff
je 0x44940d
mov dword [ecx + edi*8], eax
mov eax, 0x300
mov word [ecx + edi*8 + 4], ax
inc edi
test edi, edi
je 0x4494ef
push dword [esp + 0x20]
push edi
push ecx
call fcn.0045ca80
mov ebp, eax
add esp, 0xc
mov dword [esp + 0x18], ebp
test ebp, ebp
jle 0x4494ef
mov dword [esp + 0x1c], ebp
test esi, esi
je 0x449492
mov esi, dword [esp + 0xd4]
lea ebx, [ebx*8 + 6]
mov ebp, dword [esp + 0xd8]
add esi, 6
add ebx, dword [esp + 0x10]
movsx edx, word [ebx]
mov eax, edx
and eax, 0x300
neg eax
sbb eax, eax
neg eax
movzx ecx, ax
mov eax, ecx
test dl, 0x10
je 0x449475
or ecx, 4
movzx eax, cx
test edx, 0x400
je 0x449480
or eax, 2
mov word [esi], ax
add ebx, 8
add esi, 8
sub ebp, 1
jne 0x449455
mov ebp, dword [esp + 0x18]
cmp byte [esp + 0xe8], 0
mov ebx, dword [esp + 0xd0]
mov eax, dword [esp + 0x10]
je 0x4494fe
cmp dword [ebx + 0xe8], 0xffffffff
je 0x4494fe
mov ecx, dword [esp + 0x24]
mov edx, 0x300
test word [eax + ecx*8 + 6], dx
je 0x4494fe
mov esi, dword [sym.imp.WS2_32.dll_recv]
jmp 0x4494d0
push 0
push 0x40
lea eax, [esp + 0x94]
push eax
push dword [ebx + 0xe8]
call esi
test eax, eax
jns 0x4494d0
mov eax, dword [esp + 0x10]
dec ebp
jmp 0x449502
mov eax, dword [esp + 0x10]
xor ebp, ebp
mov ebx, dword [esp + 0xd0]
jmp 0x449502
mov ebp, dword [esp + 0x1c]
cmp byte [esp + 0x17], 0
je 0x449513
push eax
call dword [0x518cc4]
add esp, 4
mov eax, dword [esp + 0xe0]
test eax, eax
je 0x449520
mov dword [eax], ebp
cmp byte [esp + 0xe4], 0
je 0x449574
test edi, edi
jne 0x449574
cmp dword [ebx], 0xbab1e
mov dword [esp + 0x18], edi
jne 0x449574
cmp byte [ebx + 0xe0], 0
jne 0x449574
lea eax, [esp + 0x18]
push eax
push ebx
call fcn.00448b30
add esp, 8
test eax, eax
jne 0x449574
mov eax, dword [esp + 0x18]
test eax, eax
je 0x449574
mov ecx, dword [esp + 0x20]
cmp eax, ecx
jg 0x449569
test eax, eax
jns 0x44956b
mov eax, ecx
push eax
call fcn.0045cea0
add esp, 4
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0xbc
ret
pop edi
pop ebp
mov eax, 1
pop ebx
add esp, 0xbc
ret