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

Disassembly:
sub esp, 0x44
mov eax, dword [edi + 0x9cc]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
push ebx
xor ebx, ebx
mov dword [ecx], ebx
push ebp
mov dword [esp + 0xc], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x20], 0x64
mov dword [esp + 0x18], eax
mov dword [edx], ebx
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov ebp, dword [edi + 0x518]
mov edx, eax
and edx, ecx
cmp edx, 0xffffffff
je 0x10043862
cmp dword [esi + 0xc4], 0
jne 0x10043862
sub eax, dword [esi + 0x10]
sbb ecx, dword [esi + 0x14]
xor edx, edx
cmp ecx, edx
jg 0x10043862
jl 0x10043860
cmp eax, ebp
jae 0x10043862
mov ebp, eax
test ebp, ebp
je 0x1004389e
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x50]
lea eax, [esp + 8]
push eax
mov eax, dword [edx + 0x270]
push ebp
push ecx
push eax
push edi
call fcn.10020ea0
mov ebx, eax
add esp, 0x14
mov dword [esp + 0xc], ebx
cmp ebx, 0x51
je 0x10043daf
test ebx, ebx
jg 0x10043ebb
jmp 0x100438a6
mov dword [esp + 8], 0
mov ecx, dword [esi + 0x10]
or ecx, dword [esi + 0x14]
jne 0x100438e8
push 7
lea edx, [esp + 0x30]
push edi
push edx
call fcn.10042380
add esp, 0xc
cmp dword [esi + 0x78], 0
jle 0x100438e8
lea eax, [esp + 0x3c]
push eax
call fcn.10023220
mov ecx, dword [eax]
mov dword [esi + 0x68], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x6c], edx
mov ecx, dword [eax + 8]
mov dword [esi + 0x70], ecx
mov edx, dword [eax + 0xc]
add esp, 4
mov dword [esi + 0x74], edx
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 8]
or dword [eax], 1
test ecx, ecx
jne 0x10043909
cmp dword [esi + 0x90], ecx
jne 0x10043909
mov dword [esp + 0x14], 1
jmp 0x10043919
mov dword [esp + 0x14], 0
test ecx, ecx
jle 0x10043db6
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x50]
mov byte [ecx + eax], 0
mov dword [esi + 0x50], eax
mov eax, dword [ebp + 0x254]
mov eax, dword [eax + 0x34]
test eax, eax
je 0x1004395e
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0xc]
push edx
push ebp
push edi
call eax
mov ebx, eax
add esp, 0x10
mov dword [esp + 0xc], ebx
test ebx, ebx
jne 0x10043ebb
cmp dword [esp + 0x10], eax
jne 0x10043e79
cmp dword [esi + 0xc4], 0
je 0x10043a0d
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0xc]
push ecx
push ebp
push edi
mov dword [esp + 0x34], 0
call fcn.1003aad0
mov ebx, eax
add esp, 0x10
mov dword [esp + 0xc], ebx
test ebx, ebx
jne 0x10043ebb
mov edx, dword [ebp + 0x254]
mov eax, dword [edx + 0x34]
test eax, eax
je 0x100439df
cmp dword [esi + 0xc], ebx
jg 0x100439df
jl 0x100439ae
cmp dword [esi + 8], ebx
ja 0x100439df
mov ecx, dword [esp + 8]
test ecx, ecx
jle 0x100439e3
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0xc]
push edx
push ebp
push edi
call eax
mov ebx, eax
add esp, 0x10
mov dword [esp + 0xc], eax
test ebx, ebx
jne 0x10043ebb
cmp dword [esp + 0x10], eax
jne 0x10043e79
mov ecx, dword [esp + 8]
cmp dword [esp + 0x24], 0
je 0x10043a11
test ecx, ecx
jle 0x10043e79
mov edx, dword [edi + 0xdcc]
push edx
push ecx
push str.Excess_found:_excess___zd_url___s__zero_length_body_
push edi
call fcn.1001ccc0
add esp, 0x10
jmp 0x10043e79
mov ecx, dword [esp + 8]
cmp dword [esi + 0xc4], 0
jne 0x10043d32
test ecx, ecx
jg 0x10043a2d
cmp dword [esp + 0x14], 0
je 0x10043d32
cmp dword [edi + 0x16c], 0
jne 0x10043dbf
cmp dword [esi + 0x90], 0
jne 0x10043a87
cmp dword [esp + 0x14], 0
jne 0x10043a87
mov eax, dword [esp + 0x50]
mov edx, dword [eax + 0x254]
test dword [edx + 0x44], 0x40003
je 0x10043a87
mov ebp, dword [esp + 0x58]
push ebp
push eax
push edi
call fcn.10039550
mov ebx, eax
add esp, 0xc
mov dword [esp + 0xc], ebx
test ebx, ebx
jne 0x10043ebb
cmp dword [ebp], eax
jne 0x10043ebb
mov ecx, dword [esp + 8]
inc dword [esi + 0x90]
cmp dword [edi + 0x790], 0
je 0x10043ae6
cmp dword [esi + 0x48], 0
je 0x10043ad2
lea ebp, [edi + 0x9bc]
push ebp
call fcn.100508f0
add esp, 4
push eax
push ebp
call fcn.100208d0
add esp, 4
push eax
push 3
push edi
call fcn.1001cae0
add esp, 0x10
cmp dword [esi + 0x48], 1
jne 0x10043ae2
mov eax, dword [esp + 8]
mov ecx, dword [esi + 0x50]
push eax
push ecx
jmp 0x10043ad7
mov edx, dword [esi + 0x50]
push ecx
push edx
push 3
push edi
call fcn.1001cae0
add esp, 0x10
mov ecx, dword [esp + 8]
cmp dword [esi + 0xd8], 0
je 0x10043b3c
lea eax, [esp + 0x28]
push eax
mov eax, dword [esi + 0x50]
lea edx, [esp + 0xc]
push edx
push ecx
push eax
push edi
call fcn.100499b0
add esp, 0x14
test eax, eax
jg 0x10043de5
cmp eax, 0xffffffff
jne 0x10043b38
and dword [esi + 0x64], 0xfffffffe
mov ecx, dword [esp + 0x50]
mov eax, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x14]
mov edx, eax
or edx, ecx
je 0x10043b38
push ecx
push eax
push str.Leftovers_after_chunking:___I64du_bytes
push edi
call fcn.1001ccc0
add esp, 0x10
mov ecx, dword [esp + 8]
cmp dword [esi + 0x48], 1
jne 0x10043b65
cmp dword [esi + 0xd0], 0
jne 0x10043b65
lea eax, [edi + 0x9bc]
push eax
call fcn.100508f0
mov ecx, dword [esp + 0xc]
add esp, 4
add dword [esi + 0x10], eax
adc dword [esi + 0x14], 0
cmp dword [esi + 8], 0xffffffff
mov edx, dword [esi + 0xc]
jne 0x10043b73
cmp edx, 0xffffffff
je 0x10043be9
mov ebp, dword [esi + 0x10]
mov ebx, dword [esi + 0xc]
mov eax, ecx
cdq
add eax, ebp
adc edx, dword [esi + 0x14]
cmp edx, ebx
jl 0x10043be5
jg 0x10043b8c
cmp eax, dword [esi + 8]
jb 0x10043be5
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 8]
add eax, ecx
mov dword [esp + 0x1c], eax
je 0x10043bcf
cmp dword [esi + 0xd0], 0
jne 0x10043bcf
mov ecx, dword [esi + 0x14]
mov edx, dword [esi]
push ecx
mov ecx, dword [esi + 8]
push ebp
push ebx
push ecx
mov ecx, dword [esi + 4]
push ecx
push edx
push eax
push str.Excess_found_in_a_read:_excess___zu__size___I64d__maxdownload___I64d__bytecount___I64d
push edi
call fcn.1001ccc0
mov eax, dword [esp + 0x74]
push 1
push eax
call fcn.10021ed0
add esp, 0x2c
mov ecx, dword [esi + 8]
sub ecx, dword [esi + 0x10]
mov dword [esp + 8], ecx
jns 0x10043be1
xor ecx, ecx
mov dword [esp + 8], ecx
and dword [esi + 0x64], 0xfffffffe
mov ebx, dword [esp + 0xc]
mov eax, ecx
cdq
add dword [esi + 0x10], eax
adc dword [esi + 0x14], edx
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
push ecx
push edx
push edi
call fcn.100424e0
mov ecx, dword [esp + 0x14]
add esp, 0xc
cmp dword [esi + 0xd8], 0
jne 0x10043d32
test ecx, ecx
jne 0x10043c27
cmp dword [esi + 0x48], ecx
jne 0x10043c2d
cmp dword [esp + 0x14], ecx
je 0x10043d32
cmp dword [esi + 0x48], 0
je 0x10043ca6
cmp dword [esi + 0xd0], 0
jne 0x10043ca6
lea ebp, [edi + 0x9bc]
push ebp
call fcn.100508f0
mov edx, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov ebx, edx
and ebx, ecx
add esp, 4
cmp ebx, 0xffffffff
je 0x10043c7e
xor ebx, ebx
cmp ebx, ecx
jl 0x10043c7e
jg 0x10043c60
cmp eax, edx
jbe 0x10043c7e
mov eax, dword [esi + 8]
push eax
push ebp
call fcn.100208d0
add esp, 4
push eax
push 1
push edi
call fcn.10020e80
mov ebx, eax
mov dword [esp + 0x1c], ebx
jmp 0x10043c97
push eax
push ebp
call fcn.100208d0
add esp, 4
push eax
push 1
push edi
call fcn.10020e80
mov ebx, eax
mov dword [esp + 0x1c], eax
add esp, 0x10
test ebx, ebx
jne 0x10043ebb
mov ecx, dword [esp + 8]
cmp dword [esi + 0x48], 2
jge 0x10043d23
cmp dword [edi + 0x7b0], 0
jne 0x10043cda
mov eax, dword [esi + 0x80]
test eax, eax
je 0x10043cda
cmp dword [esi + 0xd0], 0
jne 0x10043d23
test ecx, ecx
je 0x10043d23
push ecx
mov ecx, dword [esi + 0x50]
push ecx
push eax
push edi
call fcn.1001b130
jmp 0x10043d16
cmp dword [esi + 0xd0], 0
jne 0x10043d23
test ecx, ecx
je 0x10043d23
mov edx, dword [esp + 0x50]
mov eax, dword [edx + 0x254]
test dword [eax + 0x44], 0xc000
push ecx
je 0x10043d0a
mov ecx, dword [esi + 0x50]
push ecx
push edi
call fcn.10029460
add esp, 0xc
jmp 0x10043d19
mov edx, dword [esi + 0x50]
push edx
push 1
push edi
call fcn.10020e80
add esp, 0x10
mov ecx, dword [esp + 8]
mov ebx, eax
mov dword [esp + 0xc], ebx
mov dword [esi + 0x48], 0
test ebx, ebx
jne 0x10043ebb
mov eax, dword [esp + 0x50]
mov edx, dword [eax + 0x254]
cmp dword [edx + 0x34], 0
je 0x10043d4e
mov edx, dword [esp + 0x1c]
test edx, edx
jne 0x10043e26
cmp dword [esp + 0x14], 0
je 0x10043d59
and dword [esi + 0x64], 0xfffffffe
mov eax, dword [esi + 0x64]
test al, 0x10
jne 0x10043e79
test al, 1
je 0x10043e79
mov eax, dword [edi + 0xc]
mov eax, dword [eax + 0x254]
mov eax, dword [eax + 0x44]
test al, 0xc
je 0x10043d80
push 1
jmp 0x10043d86
test al, 0x30
jne 0x10043d97
push 0
push edi
call fcn.10021490
add esp, 8
test eax, eax
je 0x10043e79
mov eax, dword [esp + 0x20]
mov ecx, eax
dec eax
mov dword [esp + 0x20], eax
test ecx, ecx
jne 0x10043831
jmp 0x10043e79
xor ebx, ebx
jmp 0x10043e79
and dword [esi + 0x64], 0xfffffffe
jmp 0x10043e79
mov eax, dword [esp + 0x50]
push 2
push eax
call fcn.10021ed0
mov ecx, dword [esp + 0x60]
add esp, 8
mov ebx, 8
pop ebp
mov eax, ebx
mov dword [ecx], 1
pop ebx
add esp, 0x44
ret
cmp eax, 6
jne 0x10043e04
push str.Failed_reading_the_chunked_encoded_stream
push edi
call fcn.1001cb80
mov ebx, dword [esp + 0x30]
add esp, 8
pop ebp
mov eax, ebx
pop ebx
add esp, 0x44
ret
push eax
call fcn.10049dc0
push eax
push str._s_in_chunked_encoding
push edi
call fcn.1001cb80
add esp, 0x10
mov ebx, 0x38
pop ebp
mov eax, ebx
pop ebx
add esp, 0x44
ret
add dword [esi + 0x50], ecx
mov ecx, dword [esi + 0x50]
mov eax, dword [edi + 0x518]
mov ebp, dword [esp + 0x18]
lea ebx, [ecx + edx]
add ebp, eax
cmp ebx, ebp
jbe 0x10043e47
sub eax, ecx
add eax, dword [esp + 0x18]
mov edx, eax
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x10], edx
mov edx, dword [eax + 0x254]
mov edx, dword [edx + 0x34]
push eax
push edi
call edx
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x10043ebb
cmp dword [esp + 0x10], eax
je 0x10043e79
or dword [esi + 0x64], 1
cmp dword [esp + 0x20], 0
jg 0x10043e91
mov eax, dword [esp + 0x5c]
mov byte [edi + 0xe77], 1
mov dword [eax], 1
mov ecx, dword [esi + 0x64]
and cl, 3
cmp cl, 2
jne 0x10043ebb
mov edx, dword [esp + 0x50]
cmp dword [edx + 0x1f0], 0
je 0x10043ebb
push str.we_are_done_reading_and_this_is_set_to_close__stop_send
push edi
call fcn.1001ccc0
add esp, 8
and dword [esi + 0x64], 0xfffffffd
pop ebp
mov eax, ebx
pop ebx
add esp, 0x44
ret