Function at 0x44d300
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 0x44d701
cmp dword [edi], 0xbab1e
jne 0x44d701
cmp byte [edi + 0xe0], al
je 0x44d34d
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 0x44d3cb
lea esp, [esp]
lea ecx, [esp + 0x28]
push ecx
push eax
call fcn.0044d190
add esp, 8
mov ebp, eax
xor edi, edi
mov eax, 1
jmp 0x44d380
or esi, 0xffffffff
lea edx, [edi*4]
test ebp, eax
je 0x44d393
mov esi, dword [esp + edx + 0x28]
inc ebx
mov ecx, eax
rol ecx, 0x10
test ebp, ecx
je 0x44d3a1
mov esi, dword [esp + edx + 0x28]
inc ebx
cmp esi, 0xffffffff
je 0x44d3ae
inc edi
rol eax, 1
cmp edi, 5
jb 0x44d380
mov eax, dword [esp + 0x20]
mov dword [esp + 0x1c], ebx
mov eax, dword [eax]
mov dword [esp + 0x20], eax
test eax, eax
jne 0x44d360
mov edi, dword [esp + 0xd0]
lea ebp, [esp + 0x3c]
lea eax, [esp + 0x18]
push eax
push edi
call fcn.0044ccb0
mov eax, dword [esp + 0x20]
add esp, 8
test eax, eax
js 0x44d3f2
mov ecx, dword [esp + 0xdc]
mov dword [esp + 0x20], ecx
cmp eax, ecx
jge 0x44d3fd
jmp 0x44d3f9
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 0x44d41f
cmp dword [edi + 0xe8], 0xffffffff
je 0x44d41f
inc eax
cmp eax, 0xa
jbe 0x44d44e
shl eax, 3
push eax
call dword [0x4e81d0]
mov ebp, eax
add esp, 4
mov dword [esp + 0x10], ebp
test ebp, ebp
jne 0x44d449
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 0x44d4f9
mov eax, dword [esp + 0xd0]
mov eax, dword [eax + 4]
mov dword [esp + 0x18], eax
test eax, eax
je 0x44d4f9
mov edi, edi
lea ecx, [esp + 0x28]
push ecx
push eax
call fcn.0044d190
add esp, 8
lea edx, [esp + 0x28]
mov ebx, eax
xor ebp, ebp
mov ecx, 1
jmp 0x44d490
or esi, 0xffffffff
test ebx, ecx
je 0x44d4ad
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 0x44d4cc
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 0x44d4dc
inc ebp
rol ecx, 1
add edx, 4
cmp ebp, 5
jb 0x44d490
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x44d470
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0xd8]
mov ebp, dword [esp + 0x10]
test esi, esi
je 0x44d55f
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 0x44d52b
mov word [ecx], bx
mov eax, ebx
test byte [edx], 2
movzx esi, ax
je 0x44d53e
or eax, 0x400
mov word [ecx], ax
movzx esi, ax
test byte [edx], 4
je 0x44d549
or esi, 0x10
mov word [ecx], si
add ecx, 8
add edx, 8
sub ebp, 1
jne 0x44d516
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0xd8]
cmp byte [esp + 0xe8], 0
mov ecx, dword [esp + 0x10]
je 0x44d58d
mov eax, dword [esp + 0xd0]
mov eax, dword [eax + 0xe8]
cmp eax, 0xffffffff
je 0x44d58d
mov dword [ecx + edi*8], eax
mov eax, 0x300
mov word [ecx + edi*8 + 4], ax
inc edi
test edi, edi
je 0x44d66f
push dword [esp + 0x20]
push edi
push ecx
call fcn.00461750
mov ebp, eax
add esp, 0xc
mov dword [esp + 0x18], ebp
test ebp, ebp
jle 0x44d66f
mov dword [esp + 0x1c], ebp
test esi, esi
je 0x44d612
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 0x44d5f5
or ecx, 4
movzx eax, cx
test edx, 0x400
je 0x44d600
or eax, 2
mov word [esi], ax
add ebx, 8
add esi, 8
sub ebp, 1
jne 0x44d5d5
mov ebp, dword [esp + 0x18]
cmp byte [esp + 0xe8], 0
mov ebx, dword [esp + 0xd0]
mov eax, dword [esp + 0x10]
je 0x44d67e
cmp dword [ebx + 0xe8], 0xffffffff
je 0x44d67e
mov ecx, dword [esp + 0x24]
mov edx, 0x300
test word [eax + ecx*8 + 6], dx
je 0x44d67e
mov esi, dword [sym.imp.WS2_32.dll_recv]
jmp 0x44d650
push 0
push 0x40
lea eax, [esp + 0x94]
push eax
push dword [ebx + 0xe8]
call esi
test eax, eax
jns 0x44d650
mov eax, dword [esp + 0x10]
dec ebp
jmp 0x44d682
mov eax, dword [esp + 0x10]
xor ebp, ebp
mov ebx, dword [esp + 0xd0]
jmp 0x44d682
mov ebp, dword [esp + 0x1c]
cmp byte [esp + 0x17], 0
je 0x44d693
push eax
call dword [0x4e81d4]
add esp, 4
mov eax, dword [esp + 0xe0]
test eax, eax
je 0x44d6a0
mov dword [eax], ebp
cmp byte [esp + 0xe4], 0
je 0x44d6f4
test edi, edi
jne 0x44d6f4
cmp dword [ebx], 0xbab1e
mov dword [esp + 0x18], edi
jne 0x44d6f4
cmp byte [ebx + 0xe0], 0
jne 0x44d6f4
lea eax, [esp + 0x18]
push eax
push ebx
call fcn.0044ccb0
add esp, 8
test eax, eax
jne 0x44d6f4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x44d6f4
mov ecx, dword [esp + 0x20]
cmp eax, ecx
jg 0x44d6e9
test eax, eax
jns 0x44d6eb
mov eax, ecx
push eax
call fcn.00461b70
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