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

Disassembly:
sub esp, 0x54
push ebx
mov ebx, dword [esp + 0x5c]
push ebp
push esi
mov esi, dword [esp + 0x6c]
xor ebp, ebp
mov edx, dword [ebx + 0x22c]
push edi
mov edi, dword [ebx + 0x228]
mov eax, edi
or eax, edx
mov dword [esp + 0x24], ebp
mov byte [esp + 0x12], 0
mov dword [esp + 0x34], 0x64
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], edx
jne 0x43c28c
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x1c], connect
mov eax, dword [ebx + 0x8c0]
lea ecx, [esi + 0xba]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x2c], ecx
mov byte [eax], 0
mov eax, dword [esp + 0x7c]
mov byte [eax], 0
lea eax, [esi + 0x10]
mov edi, dword [esi + 4]
mov edx, dword [ebx + 0x4b0]
mov dword [esp + 0x18], eax
mov dword [esp + 0x38], ecx
mov ecx, dword [esi]
mov dword [esp + 0x28], eax
mov eax, ecx
and eax, edi
cmp eax, 0xffffffff
je 0x43c2ef
mov eax, dword [esp + 0x2c]
cmp byte [eax], 0
jne 0x43c2ef
mov eax, dword [esp + 0x28]
sub ecx, dword [eax]
sbb edi, dword [eax + 4]
test edi, edi
jg 0x43c2ef
jl 0x43c2ed
cmp ecx, edx
jae 0x43c2ef
mov edx, ecx
mov edi, dword [esp + 0x30]
test edx, edx
je 0x43c326
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x70]
push edx
push edi
push dword [eax + 0x200]
push ebx
call fcn.00435470
mov ebp, eax
add esp, 0x14
cmp ebp, 0x51
je 0x43c810
test ebp, ebp
jg 0x43c952
jmp 0x43c32e
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
or eax, dword [ecx + 4]
jne 0x43c363
push 7
lea eax, [esp + 0x48]
push ebx
push eax
call fcn.00445070
add esp, 0xc
cmp dword [esi + 0x70], 0
jle 0x43c363
lea eax, [esp + 0x54]
push eax
call fcn.0042a640
add esp, 4
movups xmm0, xmmword [eax]
movups xmmword [esi + 0x60], xmm0
mov eax, dword [esp + 0x74]
or dword [eax], 1
cmp dword [esp + 0x14], 0
jne 0x43c37e
cmp dword [esi + 0x88], 0
jne 0x43c37e
mov al, 1
jmp 0x43c380
xor al, al
cmp dword [esp + 0x14], 0
mov byte [esp + 0x11], al
jg 0x43c38f
test al, al
je 0x43c39b
mov eax, dword [esp + 0x14]
mov byte [eax + edi], 0
mov al, byte [esp + 0x11]
cmp dword [esp + 0x14], 0
jne 0x43c3b1
mov dword [esi + 0x5c], 0
test al, al
je 0x43c904
mov ecx, dword [esp + 0x6c]
mov dword [esi + 0x48], edi
mov eax, dword [ecx + 0x1e8]
mov eax, dword [eax + 0x34]
test eax, eax
je 0x43c3ee
lea edx, [esp + 0x12]
push edx
lea edx, [esp + 0x18]
push edx
push ecx
push ebx
call eax
mov ebp, eax
add esp, 0x10
test ebp, ebp
jne 0x43c952
mov ecx, dword [esp + 0x6c]
cmp byte [esp + 0x12], al
jne 0x43c908
mov edi, dword [esp + 0x38]
mov dword [esp + 0x2c], edi
cmp byte [edi], 0
je 0x43c47f
lea eax, [esp + 0x13]
mov byte [esp + 0x13], 0
push eax
lea eax, [esp + 0x18]
push eax
push ecx
push ebx
call fcn.00442130
mov ebp, eax
add esp, 0x10
test ebp, ebp
jne 0x43c952
mov ecx, dword [esp + 0x6c]
mov eax, dword [ecx + 0x1e8]
mov eax, dword [eax + 0x34]
test eax, eax
je 0x43c46b
cmp dword [esi + 0xc], ebp
jg 0x43c46b
jl 0x43c43f
cmp dword [esi + 8], ebp
ja 0x43c46b
cmp dword [esp + 0x14], 0
jle 0x43c46b
lea edx, [esp + 0x12]
push edx
lea edx, [esp + 0x18]
push edx
push ecx
push ebx
call eax
mov ebp, eax
add esp, 0x10
test ebp, ebp
jne 0x43c952
cmp byte [esp + 0x12], al
jne 0x43c904
cmp byte [esp + 0x13], 0
jne 0x43c817
cmp byte [edi], 0
jne 0x43c772
cmp dword [esp + 0x14], 0
mov dl, byte [esp + 0x11]
jg 0x43c492
test dl, dl
je 0x43c776
cmp byte [ebx + 0x14c], 0
jne 0x43c882
cmp dword [esi + 0x88], 0
jne 0x43c4e0
test dl, dl
jne 0x43c4e0
mov ecx, dword [esp + 0x6c]
mov eax, dword [ecx + 0x1e8]
test dword [eax + 0x44], 0x40003
je 0x43c4e0
mov edi, dword [esp + 0x78]
push edi
push ecx
push ebx
call fcn.00441060
mov ebp, eax
add esp, 0xc
test ebp, ebp
jne 0x43c952
cmp byte [edi], al
jne 0x43c952
inc dword [esi + 0x88]
cmp byte [ebx + 0x6d3], 0
je 0x43c532
cmp dword [esi + 0x40], 0
je 0x43c520
lea edi, [ebx + 0x8b0]
push edi
call fcn.00424a60
add esp, 4
push eax
push edi
call fcn.00424a70
add esp, 4
push eax
push 3
push ebx
call fcn.00435130
add esp, 0x10
cmp dword [esi + 0x40], 1
jne 0x43c532
push dword [esp + 0x14]
push dword [esi + 0x48]
push 3
push ebx
call fcn.00435130
add esp, 0x10
cmp byte [esi + 0xbf], 0
je 0x43c586
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x1c]
push dword [esi + 0x48]
push ebx
call fcn.004676c0
add esp, 0x14
test eax, eax
jg 0x43c83d
cmp eax, 0xffffffff
jne 0x43c586
mov eax, dword [esp + 0x6c]
and dword [esi + 0x5c], 0xfffffffe
mov edx, dword [eax + 0x10]
mov ecx, dword [eax + 0x14]
mov eax, edx
or eax, ecx
je 0x43c586
push ecx
push edx
push str.Leftovers_after_chunking:___I64du_bytes
push ebx
call fcn.004352b0
add esp, 0x10
cmp dword [esi + 0x40], 1
jne 0x43c5ae
cmp byte [esi + 0xbd], 0
jne 0x43c5ae
lea eax, [ebx + 0x8b0]
push eax
call fcn.00424a60
mov edx, dword [esp + 0x1c]
add esp, 4
add dword [edx], eax
adc dword [edx + 4], 0
mov ecx, dword [esi + 8]
mov edi, dword [esi + 0xc]
cmp ecx, 0xffffffff
jne 0x43c5c1
cmp edi, ecx
je 0x43c647
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
cdq
add eax, dword [ebx]
adc edx, dword [ebx + 4]
mov ebx, dword [esp + 0x68]
cmp edx, edi
jl 0x43c647
jg 0x43c5dd
cmp eax, ecx
jb 0x43c647
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
mov esi, eax
sub esi, ecx
add esi, dword [esp + 0x14]
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x70]
je 0x43c62a
cmp byte [esi + 0xbd], 0
jne 0x43c62a
push dword [edx + 4]
push eax
push edi
push ecx
push dword [esi + 4]
push dword [esi]
push dword [esp + 0x3c]
push str.Excess_found_in_a_read:_excess___zu__size___I64d__maxdownload___I64d__bytecount___I64d
push ebx
call fcn.004352b0
mov eax, dword [esp + 0x90]
push 1
push eax
call fcn.00436130
add esp, 0x2c
mov ecx, dword [esp + 0x18]
mov eax, dword [esi + 8]
sub eax, dword [ecx]
mov dword [esp + 0x14], eax
jns 0x43c641
mov dword [esp + 0x14], 0
and dword [esi + 0x5c], 0xfffffffe
jmp 0x43c64b
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
cdq
add dword [ecx], eax
adc dword [ecx + 4], edx
push dword [ecx + 4]
sub dword [esp + 0x24], eax
push dword [ecx]
sbb dword [esp + 0x24], edx
push ebx
call fcn.00444dd0
add esp, 0xc
cmp byte [esi + 0xbf], 0
jne 0x43c772
cmp dword [esp + 0x14], 0
jne 0x43c691
cmp dword [esi + 0x40], 0
jne 0x43c697
mov dl, byte [esp + 0x11]
test dl, dl
je 0x43c776
cmp dword [esi + 0x40], 0
je 0x43c6e9
cmp byte [esi + 0xbd], 0
jne 0x43c6e9
lea ebp, [ebx + 0x8b0]
push ebp
call fcn.00424a60
mov edi, dword [esi + 8]
add esp, 4
mov edx, dword [esi + 0xc]
mov ecx, edi
and ecx, edx
cmp ecx, 0xffffffff
je 0x43c6ca
xor ecx, ecx
cmp ecx, edx
jl 0x43c6ca
jg 0x43c6cc
cmp eax, edi
ja 0x43c6cc
mov edi, eax
push ebp
call fcn.00424a70
push edi
push eax
push 1
push ebx
call fcn.00435400
mov ebp, eax
add esp, 0x14
test ebp, ebp
jne 0x43c952
cmp dword [esi + 0x40], 2
jge 0x43c763
cmp byte [ebx + 0x6db], 0
jne 0x43c71d
mov eax, dword [esi + 0x78]
test eax, eax
je 0x43c71d
cmp byte [esi + 0xbd], 0
jne 0x43c763
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x43c763
push ecx
push dword [esi + 0x48]
push eax
push ebx
call fcn.0043acb0
jmp 0x43c75e
cmp byte [esi + 0xbd], 0
jne 0x43c763
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x43c763
mov eax, dword [esp + 0x6c]
mov edx, dword [esi + 0x48]
mov eax, dword [eax + 0x1e8]
test dword [eax + 0x44], 0xc000
je 0x43c751
push ecx
push edx
push ebx
call fcn.0044d720
add esp, 0xc
jmp 0x43c761
push dword [esp + 0x14]
push edx
push 1
push ebx
call fcn.00435400
add esp, 0x10
mov ebp, eax
mov dword [esi + 0x40], 0
test ebp, ebp
jne 0x43c952
mov dl, byte [esp + 0x11]
mov ecx, dword [esp + 0x6c]
mov eax, dword [ecx + 0x1e8]
cmp dword [eax + 0x34], 0
je 0x43c792
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x43c8a9
test dl, dl
je 0x43c79a
and dword [esi + 0x5c], 0xfffffffe
mov eax, dword [esi + 0x5c]
test al, 0x10
jne 0x43c908
test al, 1
je 0x43c908
cmp dword [esp + 0x1c], 0
jl 0x43c904
jg 0x43c7c5
cmp dword [esp + 0x20], 0
jbe 0x43c904
mov eax, dword [ebx + 0x18]
mov eax, dword [eax + 0x1e8]
mov eax, dword [eax + 0x44]
test al, 0xc
je 0x43c7d9
push 1
jmp 0x43c7df
test al, 0x30
jne 0x43c7f0
push 0
push ebx
call fcn.00434aa0
add esp, 8
test al, al
je 0x43c904
mov ecx, dword [esp + 0x34]
mov eax, ecx
dec ecx
mov dword [esp + 0x34], ecx
test eax, eax
je 0x43c904
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
jmp 0x43c2b1
xor ebp, ebp
jmp 0x43c904
mov ecx, dword [esp + 0x14]
test ecx, ecx
jle 0x43c904
push dword [ebx + 0xcac]
push ecx
push str.Excess_found:_excess___zd_url___s__zero_length_body_
push ebx
call fcn.004352b0
add esp, 0x10
jmp 0x43c904
cmp eax, 6
jne 0x43c85e
push str.Failed_reading_the_chunked_encoded_stream
push ebx
call fcn.004351e0
mov ebp, dword [esp + 0x48]
add esp, 8
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
push eax
call fcn.00467630
push eax
push str._s_in_chunked_encoding
push ebx
call fcn.004351e0
add esp, 0x10
mov ebp, 0x38
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
push 2
push dword [esp + 0x70]
call fcn.00436130
mov eax, dword [esp + 0x80]
add esp, 8
mov ebp, 8
pop edi
pop esi
mov byte [eax], 1
mov eax, ebp
pop ebp
pop ebx
add esp, 0x54
ret
mov edx, dword [esi + 0x48]
add edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x30]
add eax, edx
mov dword [esi + 0x48], edx
mov edi, dword [ebx + 0x4b0]
lea ecx, [edi + ebp]
cmp eax, ecx
jbe 0x43c8ce
mov eax, edi
sub eax, edx
add eax, ebp
jmp 0x43c8d2
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x6c]
lea edx, [esp + 0x12]
push edx
mov dword [esp + 0x18], eax
lea edx, [esp + 0x18]
push edx
mov eax, dword [ecx + 0x1e8]
push ecx
push ebx
mov eax, dword [eax + 0x34]
call eax
mov ebp, eax
add esp, 0x10
test ebp, ebp
jne 0x43c952
cmp byte [esp + 0x12], al
je 0x43c904
or dword [esi + 0x5c], 1
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x34]
test eax, eax
jle 0x43c920
cmp dword [esp + 0x1c], 0
jg 0x43c92e
jl 0x43c920
cmp dword [esp + 0x20], 0
ja 0x43c92e
mov eax, dword [esp + 0x7c]
mov byte [ebx + 0xd5f], 1
mov byte [eax], 1
mov eax, dword [esi + 0x5c]
and al, 3
cmp al, 2
jne 0x43c952
cmp byte [ecx + 0x1ce], 0
je 0x43c952
push str.we_are_done_reading_and_this_is_set_to_close__stop_send
push ebx
call fcn.004352b0
add esp, 8
and dword [esi + 0x5c], 0xfffffffd
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x54
ret