Function at 0x41db20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x30
mov eax, dword [0x46a36c]
xor eax, esp
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x3c]
push ebx
mov ebx, dword [esp + 0x44]
push ebp
mov ebp, dword [esp + 0x3c]
push esi
push edi
mov edi, dword [esp + 0x48]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], 0
mov al, byte [edi + 0xd4f]
lea esi, [edi + 0x80]
test al, al
je 0x41db6a
movzx eax, al
mov byte [edi + 0xd4f], 0
jmp 0x41dbbd
mov al, byte [ebp + 0x44c]
test al, al
je 0x41db80
movzx eax, al
mov byte [ebp + 0x44c], 0
jmp 0x41dbbd
mov ecx, dword [esi + 0x64]
mov eax, ecx
and al, 0x15
cmp al, 1
jne 0x41db93
mov edx, dword [ebp + 0x1f8]
jmp 0x41db96
or edx, 0xffffffff
and cl, 0x2a
cmp cl, 2
jne 0x41dba6
mov eax, dword [ebp + 0x1fc]
jmp 0x41dba9
or eax, 0xffffffff
push 0
push 0
push eax
push 0xffffffffffffffff
push edx
call fcn.004283f0
mov ecx, dword [esp + 0x2c]
add esp, 0x14
mov dword [esp + 0x14], eax
cmp eax, 4
jne 0x41dbee
push str.select_poll_returned_error
push edi
call fcn.00418a90
mov ebx, 0x37
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00457aa1
add esp, 0x30
ret
test byte [esi + 0x64], 1
je 0x41dc20
test al, 1
je 0x41dc20
push ebx
push ecx
lea eax, [esp + 0x18]
push eax
push esi
push ebp
push edi
call fcn.0041e240
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x41deaf
mov eax, dword [esp + 0x18]
cmp byte [eax], bl
jne 0x41deaf
mov eax, dword [esi + 0x64]
and eax, dword [esp + 0x14]
test al, 2
je 0x41dc44
lea eax, [esp + 0x10]
push eax
push ebp
push edi
call fcn.0041e930
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x41deaf
lea eax, [esp + 0x1c]
push eax
call fcn.0040de90
mov ecx, eax
add esp, 4
cmp dword [esp + 0x10], 0
movups xmm0, xmmword [ecx]
movups xmmword [esp + 0x2c], xmm0
jne 0x41dcd0
cmp dword [esi + 0x78], 1
jne 0x41dcbd
movups xmm0, xmmword [esi + 0x68]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [ecx]
movups xmmword [eax], xmm0
call fcn.0040df40
mov ebx, eax
mov ecx, edx
mov eax, dword [edi + 0x684]
add esp, 0x20
cdq
cmp ecx, edx
jl 0x41dcbd
jg 0x41dc9c
cmp ebx, eax
jb 0x41dcbd
or dword [esi + 0x64], 2
push 0
push edi
mov dword [esi + 0x78], 0
call fcn.00408980
push str.Done_waiting_for_100_continue
push edi
call fcn.00418b60
add esp, 0x10
push edi
call fcn.004184c0
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x41deaf
push edi
call fcn.00427220
add esp, 4
test eax, eax
jne 0x41de85
movups xmm0, xmmword [esp + 0x2c]
sub esp, 0x10
mov eax, esp
push edi
movups xmmword [eax], xmm0
call fcn.00428570
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x41deaf
cmp dword [esi + 0x64], eax
je 0x41ddda
push eax
lea eax, [esp + 0x30]
push eax
push edi
call fcn.00419a10
add esp, 0xc
test edx, edx
jg 0x41de9f
jl 0x41dd2b
test eax, eax
jae 0x41de9f
mov edx, dword [esi]
mov eax, edx
mov ecx, dword [esi + 4]
and eax, ecx
mov ebx, dword [esi + 0x10]
mov esi, dword [esi + 0x14]
movups xmm0, xmmword [edi + 0x790]
cmp eax, 0xffffffff
je 0x41dd91
push ecx
push edx
push esi
push ebx
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esp + 0x5c]
movups xmmword [eax], xmm0
call fcn.0040df40
add esp, 0x20
push edx
push eax
push str.Operation_timed_out_after__I64d_milliseconds_with__I64d_out_of__I64d_bytes_received
push edi
call fcn.00418a90
mov ebx, 0x1c
add esp, 0x20
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00457aa1
add esp, 0x30
ret
push esi
push ebx
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esp + 0x54]
movups xmmword [eax], xmm0
call fcn.0040df40
add esp, 0x20
push edx
push eax
push str.Operation_timed_out_after__I64d_milliseconds_with__I64d_bytes_received
push edi
call fcn.00418a90
mov ebx, 0x1c
add esp, 0x18
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00457aa1
add esp, 0x30
ret
cmp byte [edi + 0x14c], 0
jne 0x41de78
mov edx, dword [esi]
mov eax, edx
mov ecx, dword [esi + 4]
and eax, ecx
cmp eax, 0xffffffff
je 0x41de41
mov eax, dword [esi + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x14]
cmp dword [esi + 0x10], edx
jne 0x41de08
cmp eax, ecx
je 0x41de41
cmp dword [esi + 0x98], 0
jne 0x41de41
sub edx, dword [esp + 0x10]
sbb ecx, eax
push ecx
push edx
push str.transfer_closed_with__I64d_bytes_remaining_to_read
push edi
call fcn.00418a90
mov ebx, 0x12
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00457aa1
add esp, 0x30
ret
cmp byte [esi + 0xc7], 0
je 0x41de78
cmp dword [ebp + 0x18], 4
je 0x41de78
push str.transfer_closed_with_outstanding_read_data_remaining
push edi
call fcn.00418a90
mov ebx, 0x12
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00457aa1
add esp, 0x30
ret
push edi
call fcn.00427220
add esp, 4
test eax, eax
je 0x41de9f
mov ebx, 0x2a
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00457aa1
add esp, 0x30
ret
test dword [esi + 0x64], 0x3f
mov ecx, dword [esp + 0x18]
sete al
mov byte [ecx], al
mov ecx, dword [esp + 0x3c]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00457aa1
add esp, 0x30
ret