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

Disassembly:
sub esp, 0x58
push ebx
mov ebx, dword [esp + 0x60]
push ebp
push esi
mov esi, dword [esp + 0x70]
xor ebp, ebp
mov edx, dword [ebx + 0x234]
push edi
mov edi, dword [ebx + 0x230]
mov eax, edi
or eax, edx
mov dword [esp + 0x34], ebp
mov byte [esp + 0x12], 0
mov dword [esp + 0x38], 0x64
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], edx
jne 0x41e42c
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x1c], connect
mov eax, dword [ebx + 0x8c8]
lea ecx, [esi + 0x10]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x7c]
mov byte [eax], 0
mov eax, dword [esp + 0x80]
mov byte [eax], 0
lea eax, [esi + 0xc2]
mov dword [esp + 0x2c], eax
nop dword [eax]
nop dword [eax + eax]
mov edi, dword [esi + 4]
mov edx, dword [ebx + 0x4b8]
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], ecx
mov ecx, dword [esi]
mov eax, ecx
and eax, edi
cmp eax, 0xffffffff
je 0x41e49a
mov eax, dword [esp + 0x2c]
cmp byte [eax], 0
jne 0x41e49a
mov eax, dword [esp + 0x30]
sub ecx, dword [eax]
sbb edi, dword [eax + 4]
test edi, edi
jg 0x41e49a
jl 0x41e498
cmp ecx, edx
jae 0x41e49a
mov edx, ecx
mov edi, dword [esp + 0x70]
test edx, edx
je 0x41e4d4
lea eax, [esp + 0x14]
push eax
push edx
push dword [esp + 0x30]
push dword [edi + 0x200]
push ebx
call fcn.00416f50
mov ebp, eax
add esp, 0x14
cmp ebp, 0x51
je 0x41e9ef
test ebp, ebp
jg 0x41eb33
mov ecx, dword [esp + 0x14]
jmp 0x41e4da
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x30]
mov eax, dword [edx]
or eax, dword [edx + 4]
jne 0x41e513
push 7
lea eax, [esp + 0x4c]
push ebx
push eax
call fcn.00427230
add esp, 0xc
cmp dword [esi + 0x78], 0
jle 0x41e50f
lea eax, [esp + 0x58]
push eax
call fcn.0040c1f0
add esp, 4
movups xmm0, xmmword [eax]
movups xmmword [esi + 0x68], xmm0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x78]
or dword [eax], 1
test ecx, ecx
jne 0x41e52a
cmp dword [esi + 0x90], ecx
jne 0x41e52a
mov al, 1
jmp 0x41e52c
xor al, al
mov byte [esp + 0x6c], al
test ecx, ecx
jg 0x41e53c
test al, al
je 0x41e9f6
mov eax, dword [esp + 0x28]
mov byte [ecx + eax], 0
mov dword [esi + 0x50], eax
mov eax, dword [edi + 0x1e8]
mov eax, dword [eax + 0x34]
test eax, eax
je 0x41e579
lea ecx, [esp + 0x12]
push ecx
lea ecx, [esp + 0x18]
push ecx
push edi
push ebx
call eax
mov ebp, eax
add esp, 0x10
test ebp, ebp
jne 0x41eb33
cmp byte [esp + 0x12], al
jne 0x41eae6
mov eax, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
cmp byte [eax], 0
je 0x41e5f9
lea eax, [esp + 0x13]
mov byte [esp + 0x13], 0
push eax
lea eax, [esp + 0x18]
push eax
push edi
push ebx
call fcn.004243c0
mov ebp, eax
add esp, 0x10
test ebp, ebp
jne 0x41eb33
mov eax, dword [edi + 0x1e8]
mov eax, dword [eax + 0x34]
test eax, eax
je 0x41e5ee
cmp dword [esi + 0xc], ebp
jg 0x41e5ee
jl 0x41e5c2
cmp dword [esi + 8], ebp
ja 0x41e5ee
cmp dword [esp + 0x14], 0
jle 0x41e5ee
lea ecx, [esp + 0x12]
push ecx
lea ecx, [esp + 0x18]
push ecx
push edi
push ebx
call eax
mov ebp, eax
add esp, 0x10
test ebp, ebp
jne 0x41eb33
cmp byte [esp + 0x12], al
jne 0x41eae6
cmp byte [esp + 0x13], 0
jne 0x41e9ff
cmp byte [esi + 0xc2], 0
mov cl, byte [esp + 0x6c]
jne 0x41e959
cmp dword [esp + 0x14], 0
jg 0x41e619
test cl, cl
je 0x41e959
cmp byte [ebx + 0x154], 0
jne 0x41ea6a
cmp dword [esi + 0x90], 0
jne 0x41e667
test cl, cl
jne 0x41e667
mov eax, dword [edi + 0x1e8]
test dword [eax + 0x44], 0x40003
je 0x41e667
push dword [esp + 0x7c]
push edi
push ebx
call fcn.004232c0
mov ebp, eax
add esp, 0xc
test ebp, ebp
jne 0x41eb33
mov eax, dword [esp + 0x7c]
cmp byte [eax], 0
jne 0x41eb33
inc dword [esi + 0x90]
cmp byte [ebx + 0x6db], 0
je 0x41e6b9
cmp dword [esi + 0x48], 0
je 0x41e6a7
lea edi, [ebx + 0x8b8]
push edi
call fcn.0040ccd0
add esp, 4
push eax
push edi
call fcn.0040cce0
add esp, 4
push eax
push 3
push ebx
call fcn.00416d40
add esp, 0x10
cmp dword [esi + 0x48], 1
jne 0x41e6b9
push dword [esp + 0x14]
push dword [esi + 0x50]
push 3
push ebx
call fcn.00416d40
add esp, 0x10
cmp byte [esi + 0xc7], 0
lea edi, [esi + 0xc7]
mov dword [esp + 0x18], edi
je 0x41e729
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x1c]
push dword [esi + 0x50]
push ebx
call fcn.00446d00
add esp, 0x14
test eax, eax
jg 0x41ea25
mov dword [esp + 0x18], edi
cmp eax, 0xffffffff
jne 0x41e729
mov eax, dword [esp + 0x70]
and dword [esi + 0x64], 0xfffffffe
mov dword [esp + 0x18], edi
mov edx, dword [eax + 0x10]
mov ecx, dword [eax + 0x14]
mov eax, edx
or eax, ecx
je 0x41e729
push ecx
push edx
push str.Leftovers_after_chunking:___I64du_bytes
push ebx
call fcn.00416eb0
lea edi, [esi + 0xc7]
add esp, 0x10
mov dword [esp + 0x18], edi
cmp dword [esi + 0x48], 1
lea eax, [esi + 0x48]
mov dword [esp + 0x24], eax
mov edx, eax
jne 0x41e75e
cmp byte [esi + 0xc5], 0
jne 0x41e75e
lea eax, [ebx + 0x8b8]
push eax
call fcn.0040ccd0
add esp, 4
lea edx, [esi + 0x48]
xor ecx, ecx
add dword [esi + 0x10], eax
adc ecx, dword [esi + 0x14]
mov dword [esi + 0x14], ecx
mov ecx, dword [esi + 8]
cmp ecx, 0xffffffff
jne 0x41e76f
cmp dword [esi + 0xc], ecx
je 0x41e801
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], edx
cdq
mov dword [esp + 0x18], edi
mov edi, eax
mov eax, dword [esi + 0x10]
add edi, eax
mov dword [esp + 0x3c], edi
adc edx, dword [esi + 0x14]
mov edi, dword [esi + 0xc]
cmp edx, edi
jl 0x41e801
jg 0x41e799
cmp dword [esp + 0x3c], ecx
jb 0x41e801
mov edx, eax
sub edx, ecx
add edx, dword [esp + 0x14]
mov dword [esp + 0x34], edx
je 0x41e7d8
cmp byte [esi + 0xc5], 0
jne 0x41e7d8
push dword [esi + 0x14]
push eax
push edi
push ecx
push dword [esi + 4]
push dword [esi]
push edx
push str.Excess_found_in_a_read:_excess___zu__size___I64d__maxdownload___I64d__bytecount___I64d
push ebx
call fcn.00416eb0
push 1
push dword [esp + 0x98]
call fcn.00417b80
add esp, 0x2c
mov eax, dword [esi + 8]
sub eax, dword [esi + 0x10]
mov dword [esp + 0x14], eax
jns 0x41e7ec
mov dword [esp + 0x14], 0
and dword [esi + 0x64], 0xfffffffe
lea eax, [esi + 0xc7]
mov dword [esp + 0x18], eax
lea eax, [esi + 0x48]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x14]
cdq
mov edi, eax
add edi, dword [esi + 0x10]
mov dword [esi + 0x10], edi
adc ecx, edx
sub dword [esp + 0x20], eax
push ecx
sbb dword [esp + 0x20], edx
push edi
push ebx
mov dword [esi + 0x14], ecx
call fcn.00426f90
mov ecx, dword [esp + 0x24]
add esp, 0xc
cmp byte [ecx], 0
jne 0x41e951
cmp dword [esp + 0x14], 0
mov eax, dword [esp + 0x24]
jne 0x41e852
cmp dword [eax], 0
jne 0x41e857
mov cl, byte [esp + 0x6c]
test cl, cl
je 0x41e94b
cmp dword [eax], 0
je 0x41e8b2
cmp byte [esi + 0xc5], 0
jne 0x41e8b2
lea eax, [ebx + 0x8b8]
push eax
call fcn.0040ccd0
mov edi, dword [esi + 8]
add esp, 4
mov edx, dword [esi + 0xc]
mov ecx, edi
and ecx, edx
cmp ecx, 0xffffffff
je 0x41e88a
xor ecx, ecx
cmp ecx, edx
jl 0x41e88a
jg 0x41e88c
cmp eax, edi
ja 0x41e88c
mov edi, eax
mov ecx, 0x8b8
mov eax, ebx
add eax, ecx
push eax
call fcn.0040cce0
push edi
push eax
push 1
push ebx
call fcn.00416f40
mov ebp, eax
add esp, 0x14
test ebp, ebp
jne 0x41eb33
cmp dword [esi + 0x48], 2
jge 0x41e8ec
cmp byte [ebx + 0x6e3], 0
jne 0x41e901
mov eax, dword [esi + 0x80]
test eax, eax
je 0x41e901
cmp byte [esi + 0xc5], 0
jne 0x41e8ec
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x41e8ec
push ecx
push dword [esi + 0x50]
push eax
push ebx
call fcn.0041c970
add esp, 0x10
mov ebp, eax
mov edi, dword [esp + 0x70]
mov dword [esi + 0x48], 0
test ebp, ebp
jne 0x41eb33
jmp 0x41e955
cmp byte [esi + 0xc5], 0
jne 0x41e8ec
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x70]
test ecx, ecx
je 0x41e8f0
mov eax, dword [edi + 0x1e8]
mov edx, dword [esi + 0x50]
test dword [eax + 0x44], 0xc000
je 0x41e937
push ecx
push edx
push ebx
call fcn.00433540
add esp, 0xc
mov ebp, eax
jmp 0x41e8f0
push dword [esp + 0x14]
push edx
push 1
push ebx
call fcn.00416f40
add esp, 0x10
mov ebp, eax
jmp 0x41e8f0
mov edi, dword [esp + 0x70]
jmp 0x41e959
mov edi, dword [esp + 0x70]
mov cl, byte [esp + 0x6c]
mov eax, dword [edi + 0x1e8]
cmp dword [eax + 0x34], 0
je 0x41e971
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x41ea8e
test cl, cl
je 0x41e979
and dword [esi + 0x64], 0xfffffffe
mov eax, dword [esi + 0x64]
test al, 0x10
jne 0x41eae6
test al, 1
je 0x41eae6
cmp dword [esp + 0x1c], 0
jl 0x41eae6
jg 0x41e9a4
cmp dword [esp + 0x20], 0
jbe 0x41eae6
mov eax, dword [ebx + 0x18]
mov eax, dword [eax + 0x1e8]
mov eax, dword [eax + 0x44]
test al, 0xc
je 0x41e9b8
push 1
jmp 0x41e9be
test al, 0x30
jne 0x41e9cf
push 0
push ebx
call fcn.004166b0
add esp, 8
test al, al
je 0x41eae6
mov ecx, dword [esp + 0x38]
mov eax, ecx
dec ecx
mov dword [esp + 0x38], ecx
test eax, eax
je 0x41eae6
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
jmp 0x41e460
xor ebp, ebp
jmp 0x41eae6
and dword [esi + 0x64], 0xfffffffe
jmp 0x41eae6
mov ecx, dword [esp + 0x14]
test ecx, ecx
jle 0x41eae6
push dword [ebx + 0xcb4]
push ecx
push str.Excess_found:_excess___zd_url___s__zero_length_body_
push ebx
call fcn.00416eb0
add esp, 0x10
jmp 0x41eae6
cmp eax, 6
jne 0x41ea46
push str.Failed_reading_the_chunked_encoded_stream
push ebx
call fcn.00416de0
mov ebp, dword [esp + 0x4c]
add esp, 8
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
push eax
call fcn.00446c70
push eax
push str._s_in_chunked_encoding
push ebx
call fcn.00416de0
add esp, 0x10
mov ebp, 0x38
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
push 2
push edi
call fcn.00417b80
mov eax, dword [esp + 0x84]
add esp, 8
mov ebp, 8
pop edi
pop esi
mov byte [eax], 1
mov eax, ebp
pop ebp
pop ebx
add esp, 0x58
ret
mov edx, dword [esi + 0x50]
add edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
add eax, edx
mov dword [esi + 0x50], edx
mov ebp, dword [ebx + 0x4b8]
add ecx, ebp
cmp eax, ecx
jbe 0x41eab4
mov eax, ebp
sub eax, edx
add eax, dword [esp + 0x28]
jmp 0x41eab8
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x12]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x1e8]
push ecx
lea ecx, [esp + 0x18]
push ecx
mov eax, dword [eax + 0x34]
push edi
push ebx
call eax
mov ebp, eax
add esp, 0x10
test ebp, ebp
jne 0x41eb33
cmp byte [esp + 0x12], al
je 0x41eae6
or dword [esi + 0x64], 1
mov eax, dword [esp + 0x38]
test eax, eax
jle 0x41eafe
cmp dword [esp + 0x1c], 0
jg 0x41eb0f
jl 0x41eafe
cmp dword [esp + 0x20], 0
ja 0x41eb0f
mov eax, dword [esp + 0x80]
mov byte [ebx + 0xd5f], 1
mov byte [eax], 1
mov eax, dword [esi + 0x64]
and al, 3
cmp al, 2
jne 0x41eb33
cmp byte [edi + 0x1ce], 0
je 0x41eb33
push str.we_are_done_reading_and_this_is_set_to_close__stop_send
push ebx
call fcn.00416eb0
add esp, 8
and dword [esi + 0x64], 0xfffffffd
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x58
ret