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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xdc
mov eax, dword [ebp + 8]
lea ebx, [ebp - 0x98]
mov edi, dword [eax + 0x4b0]
mov esi, dword [eax]
mov dword [esp], ebx
call sub.msvcrt.dll__time64
mov ecx, dword [ebp - 0x94]
mov eax, dword [edi + 0x30]
cmp dword [edi + 0x34], ecx
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xac], eax
jg 0x6b26d188
jge 0x6b26d180
mov eax, dword [ebp + 0xc]
mov dword [edi + 8], 0xffffff9d
mov dword [edi], 3
mov dword [eax], 0
mov dword [esp + 4], 0x6b28e2f4
mov dword [esp], esi
call fcn.6b24c1c0
mov eax, 0x1c
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
cmp dword [ebp - 0xb0], eax
jb 0x6b26d147
mov eax, dword [edi + 0x1c]
cdq
add eax, dword [edi + 0x38]
adc edx, dword [edi + 0x3c]
cmp ecx, edx
jl 0x6b26d1f0
jle 0x6b26d1e8
lea eax, [edi + 0x38]
mov dword [esp], eax
call sub.msvcrt.dll__time64
mov eax, dword [edi + 0x30]
sub eax, dword [ebp - 0x98]
mov edx, dword [ebp + 0xc]
test eax, eax
mov dword [edx], 0
jle 0x6b26d15d
mov edx, 7
mov eax, edi
call fcn.6b26cce0
test eax, eax
jne 0x6b26d172
xor eax, eax
mov edx, dword [ebp + 0xc]
cmp dword [edi], 3
sete al
test eax, eax
mov dword [edx], eax
jne 0x6b26d4e2
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
cmp dword [ebp - 0xac], eax
ja 0x6b26d198
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
mov eax, dword [ebp - 0xb0]
sub eax, dword [ebp - 0xac]
test eax, eax
jle 0x6b26d15d
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0xffffffff
mov eax, dword [edi + 0x14]
mov dword [esp], eax
call fcn.6b26aac0
cmp eax, 0xffffffff
je 0x6b26d6d0
test eax, eax
je 0x6b26d1de
mov eax, dword [ebp + 8]
mov dword [ebp - 0x9c], pe_nt_image_headers32
mov eax, dword [eax]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x4b0]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0
mov esi, eax
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0x9c]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x154]
mov dword [ebp - 0xb0], eax
add eax, 4
mov dword [esp + 8], eax
mov eax, dword [esi + 0x15c]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x14]
mov dword [esp], eax
call sub.ws2_32.dll_recvfrom
mov ecx, dword [esi + 0x148]
sub esp, 0x18
test ecx, ecx
mov dword [esi + 0x14c], eax
je 0x6b26d530
cmp eax, 3
jle 0x6b26d498
mov esi, dword [ebp - 0xac]
mov ebx, dword [esi + 0x15c]
movzx ecx, byte [ebx]
movzx edx, byte [ebx + 1]
shl ecx, 8
or edx, ecx
movzx ecx, dx
cmp dx, 4
mov dword [esi + 0xc], ecx
je 0x6b26d6a1
jbe 0x6b26d60c
cmp dx, 5
je 0x6b26d706
cmp dx, 6
lea esi, [esi]
jne 0x6b26d741
lea esi, [ebx + 2]
mov ebx, dword [ebp - 0xac]
lea eax, [esi + eax - 2]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xc0], edi
mov edx, dword [ebx + 0x10]
mov ecx, dword [edx]
mov dword [ebx + 0x154], 0x200
mov dword [ebp - 0xb4], ecx
cmp dword [ebp - 0xb0], esi
jbe 0x6b26d764
mov ebx, dword [ebp - 0xb0]
mov dword [esp + 4], 0
mov dword [esp], esi
sub ebx, esi
mov dword [esp + 8], ebx
call sub.msvcrt.dll_memchr
mov edi, eax
sub edi, esi
test eax, eax
cmove edi, ebx
lea ecx, [edi + 1]
cmp ebx, ecx
jbe 0x6b26d770
mov edx, ebx
sub edx, ecx
add ecx, esi
mov dword [esp + 8], edx
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [ebp - 0xbc], edx
mov dword [ebp - 0xb8], ecx
call sub.msvcrt.dll_memchr
mov ecx, dword [ebp - 0xb8]
mov edx, eax
sub edx, ecx
test eax, eax
mov ecx, edx
mov edx, dword [ebp - 0xbc]
cmovne edx, ecx
lea edi, [edi + edx + 2]
cmp ebx, edi
jb 0x6b26d770
mov dword [esp], esi
call sub.msvcrt.dll_strlen
add edi, esi
lea ebx, [esi + eax + 1]
je 0x6b26d770
mov eax, dword [ebp - 0xb4]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], esi
mov dword [esp + 4], str.got_option__s__value__s__n
mov dword [esp], eax
call fcn.6b24c140
mov dword [esp], esi
call sub.msvcrt.dll_strlen
mov dword [esp + 4], str.blksize
mov dword [esp], esi
mov dword [esp + 8], eax
call fcn.6b26ef10
test eax, eax
je 0x6b26d570
mov dword [esp + 8], 0xa
mov dword [esp + 4], 0
mov dword [esp], ebx
call sub.msvcrt.dll_strtol
test eax, eax
je 0x6b26d7b8
cmp eax, 0xffb8
jg 0x6b26d790
cmp eax, 7
jle 0x6b26d7f4
mov esi, dword [ebp - 0xac]
mov edx, dword [esi + 0x158]
cmp eax, edx
jg 0x6b26d7d0
mov esi, dword [ebp - 0xac]
mov dword [esi + 0x154], eax
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xb4]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], str.requested
mov dword [esp + 8], str.blksize_parsed_from_OACK
mov dword [esp + 4], str._s___d___s___d__n
mov dword [esp], eax
call fcn.6b24c140
mov esi, edi
jmp 0x6b26d334
mov eax, dword [ebp - 0xb4]
mov dword [esp + 4], str.Received_too_short_packet
mov dword [esp], eax
call fcn.6b24c1c0
mov eax, dword [ebp - 0xac]
mov dword [eax + 0xc], 7
mov edx, dword [edi + 0xc]
mov eax, edi
call fcn.6b26cce0
test eax, eax
jne 0x6b26d172
xor eax, eax
mov esi, dword [ebp + 0xc]
cmp dword [edi], 3
sete al
test eax, eax
mov dword [esi], eax
je 0x6b26d1de
mov eax, dword [ebp + 8]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x14], 0
mov dword [esp], eax
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0xffffffff
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], 0xffffffff
call fcn.6b25f190
xor eax, eax
jmp 0x6b26d1e0
mov esi, dword [ebp - 0xac]
mov edx, dword [ebp - 0x9c]
mov dword [esp + 4], ebx
mov eax, esi
add eax, 0xc8
mov dword [esp + 8], edx
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x9c]
mov dword [esi + 0x148], eax
mov eax, dword [esi + 0x14c]
jmp 0x6b26d2b8
mov dword [esp], esi
call sub.msvcrt.dll_strlen
mov dword [esp + 4], str.tsize
mov dword [esp], esi
mov dword [esp + 8], eax
call fcn.6b26ef10
test eax, eax
je 0x6b26d491
mov dword [esp + 8], 0xa
mov dword [esp + 4], 0
mov dword [esp], ebx
call sub.msvcrt.dll_strtol
mov dword [esp + 8], str.tsize_parsed_from_OACK
mov dword [esp + 4], str._s___ld__n
mov dword [esp + 0xc], eax
mov esi, eax
mov eax, dword [ebp - 0xb4]
mov dword [esp], eax
call fcn.6b24c140
mov eax, dword [ebp - 0xb4]
mov edx, dword [eax + 0x354]
test edx, edx
jne 0x6b26d491
test esi, esi
je 0x6b26d836
mov eax, dword [ebp - 0xb4]
mov dword [esp + 4], esi
sar esi, 0x1f
mov dword [esp + 8], esi
mov esi, edi
mov dword [esp], eax
call fcn.6b243250
jmp 0x6b26d334
cmp dx, 3
jne 0x6b26d741
cmp eax, 4
je 0x6b26d6a1
mov esi, dword [ebp - 0xac]
movzx ecx, byte [ebx + 2]
movzx edx, word [esi + 0x40]
shl ecx, 8
lea esi, [edx + 1]
movzx edx, byte [ebx + 3]
or edx, ecx
cmp dx, si
jne 0x6b26d6a1
sub eax, 4
add ebx, 4
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp + 8], ebx
mov dword [esp + 4], 1
mov dword [esp], eax
call fcn.6b24c430
test eax, eax
mov ebx, eax
jne 0x6b26d81f
mov eax, dword [ebp - 0xac]
mov esi, dword [ebp - 0xb4]
mov eax, dword [eax + 0x14c]
mov dword [ebp - 0xb0], eax
sub eax, 4
cdq
add eax, dword [esi + 0x70]
adc edx, dword [esi + 0x74]
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], edx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp], esi
call fcn.6b243210
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.6b2432b0
test eax, eax
je 0x6b26d4bb
mov eax, dword [ebp - 0xac]
mov edx, 5
call fcn.6b26cce0
mov eax, 0x2a
jmp 0x6b26d172
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.6b268f00
mov dword [esp + 4], 0x6b28e0ea
mov dword [esp], esi
mov dword [esp + 8], eax
call fcn.6b24c1c0
xor eax, eax
mov dword [edi + 0xc], 5
jmp 0x6b26d172
movzx edx, byte [ebx + 2]
add ebx, 4
movzx eax, byte [ebx - 1]
mov esi, dword [ebp - 0xac]
shl edx, 8
or eax, edx
movzx eax, ax
mov dword [esi + 8], eax
mov eax, dword [ebp - 0xb4]
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x6b28e1a0
mov dword [esp], eax
call fcn.6b24c140
jmp 0x6b26d6a1
mov eax, dword [ebp - 0xb4]
mov dword [esp + 8], str.Internal_error:_Unexpected_packet
mov dword [esp + 4], 0x6b28e0ea
mov dword [esp], eax
call fcn.6b24c1c0
jmp 0x6b26d6a1
mov edi, dword [ebp - 0xc0]
jmp 0x6b26d6a1
mov eax, dword [ebp - 0xb4]
mov dword [esp + 4], str.Malformed_ACK_packet__rejecting
mov dword [esp], eax
call fcn.6b24c1c0
mov eax, 0x47
jmp 0x6b26d172
mov eax, dword [ebp - 0xb4]
mov dword [esp + 0xc], 0xffb8
mov dword [esp + 8], str.blksize_is_larger_than_max_supported
mov dword [esp + 4], str._s___d_
mov dword [esp], eax
call fcn.6b24c1c0
jmp 0x6b26d786
mov eax, dword [ebp - 0xb4]
mov dword [esp + 4], str.invalid_blocksize_value_in_OACK_packet
mov dword [esp], eax
call fcn.6b24c1c0
jmp 0x6b26d786
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xb4]
mov dword [esp + 8], str.server_requested_blksize_larger_than_allocated
mov dword [esp + 4], str._s___ld_
mov dword [esp], eax
call fcn.6b24c1c0
jmp 0x6b26d786
mov eax, dword [ebp - 0xb4]
mov dword [esp + 0xc], 8
mov dword [esp + 8], str.blksize_is_smaller_than_min_supported
mov dword [esp + 4], str._s___d_
mov dword [esp], eax
call fcn.6b24c1c0
jmp 0x6b26d786
mov eax, dword [ebp - 0xac]
mov edx, 5
call fcn.6b26cce0
mov eax, ebx
jmp 0x6b26d172
mov dword [esp + 8], ebx
mov dword [esp + 4], str.invalid_tsize__:_s:__value_in_OACK_packet
mov dword [esp], eax
call fcn.6b24c1c0
jmp 0x6b26d786