Function at 0x10043b74
Capabilities:
Check http status code

Disassembly:
lea eax, [ebp - 0x18]
push eax
push 1
lea eax, [ebp + 0xb]
push eax
push dword [ebp - 0x2c]
push edi
call fcn.10076753
mov esi, eax
add esp, 0x14
cmp esi, 0x51
je 0x10044216
push edi
call fcn.10085267
add esp, 4
test eax, eax
jne 0x1004421f
test esi, esi
jne 0x10043f96
add byte [eax], al
cmp dword [ebp - 0x18], esi
jle 0x10043f5a
cmp dword [ebx + 0x1e4], 2
jne 0x10043be1
mov ecx, dword [ebx + 0x1e8]
mov eax, ecx
mov edx, dword [ebx + 0x1ec]
or eax, edx
je 0x10043bab
sub ecx, 1
mov dword [ebx + 0x1e8], ecx
sbb edx, esi
mov dword [ebx + 0x1ec], edx
js 0x10043b93
jg 0x10043f4b
test ecx, ecx
jne 0x10043f4b
mov esi, dword [ebp - 4]
mov dword [ebx + 0x1e4], 0
lea eax, [ebp - 0x34]
mov dword [ebp - 0x10], 0
push eax
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp + 0xb]
inc ebp
or edx, dword [eax + 0x57]
call 0x100a4f36
add esp, 0x14
cmp eax, 0xffffffff
jne 0x10043f4b
mov dword [ebx + 0x1e4], 0
jmp 0x10086f23
push 1
lea eax, [ebp + 0xb]
push eax
lea esi, [ebx + 0x1bc]
push esi
call fcn.1006d3b3
add esp, 0xc
test eax, eax
jne 0x1004410a
cmp byte [ebp + 0xb], 0xa
jne 0x10043f4b
inc dword [ebx + 0x1e0]
push esi
call fcn.1006d454
mov esi, eax
lea eax, [ebx + 0x1bc]
push eax
call fcn.1006d452
push eax
push esi
push 1
push edi
mov dword [ebp - 0x10], eax
call 0x100766ff
add esp, 0x18
cmp byte [edi + 0x70c], 0
jne 0x10043c71
push dword [ebp - 0x10]
xor ecx, ecx
cmp byte [edi + 0x6f4], cl
push esi
setne cl
xor eax, eax
cmp dword [ebx + 0x1e0], 1
sete al
lea eax, [eax*4 + 0xa]
or ecx, eax
push ecx
push edi
call fcn.10076726
add esp, 0x10
test eax, eax
jne 0x10044218
mov eax, dword [ebp - 0x10]
cdq
add dword [edi + 0xd50], eax
adc dword [edi + 0xd54], edx
mov al, byte [esi]
cmp al, 0xd
je 0x10043e80
cmp al, 0xa
je 0x10043e80
push 0x11
push str.WWW_Authenticate:
push esi
call fcn.1007b080
add esp, 0xc
test eax, eax
je 0x10043cb7
mov eax, dword [edi + 0xf0]
mov dword [ebp - 0x10], eax
cmp eax, 0x191
je 0x10043cdb
push 0x13
push str.Proxy_authenticate:
push esi
call fcn.1007b0a4
add esp, 0xc
test eax, eax
je 0x10043d2f
mov eax, dword [edi + 0xf0]
mov dword [ebp - 0x10], eax
cmp eax, 0x197
jne 0x10043d2f
push esi
call fcn.1007f5e1
mov esi, eax
add esp, 4
test esi, esi
je 0x100440a7
cmp dword [ebp - 0x10], 0x197
push esi
sete cl
movzx ecx, cl
push ecx
push edi
call fcn.10081053
push esi
mov dword [ebp - 0x10], eax
call dword [0x100bd004]
mov eax, dword [ebp - 0x10]
add esp, 0x10
test eax, eax
jne 0x10044218
lea eax, [ebx + 0x1bc]
push eax
call fcn.1006d577
add esp, 4
jmp 0x1008707a
push 0xf
push str.Content_Length:
push esi
call 0x1007b11c
add esp, 0xc
test eax, eax
je 0x10043d82
mov eax, dword [edi + 0xf0]
sub eax, 0xc8
cmp eax, 0x64
jb 0x10043e6c
lea eax, [ebx + 0x1e8]
push eax
push 0xa
lea eax, [esi + 0xf]
push 0
push eax
call fcn.1008a3db
add esp, 0x10
lea eax, [ebx + 0x1bc]
push eax
call fcn.1006d5ca
add esp, 4
jmp 0x100870cd
push 5
push str.close
push 0xb
push str.Connection:
push esi
call fcn.1007f5f6
add esp, 0x14
test al, al
jne 0x10043e65
push 0x12
push str.Transfer_Encoding:
push esi
call fcn.1007b18e
add esp, 0xc
test eax, eax
je 0x10043e0c
mov eax, dword [edi + 0xf0]
sub eax, 0xc8
cmp eax, 0x64
jb 0x10043e6c
push 7
push str.chunked
push 0x12
push str.Transfer_Encoding:
push esi
call fcn.1007f63d
add esp, 0x14
test al, al
je 0x10043e6c
push edi
mov byte [ebx + 0x1f4], 1
call 0x100a5135
add esp, 4
lea eax, [ebx + 0x1bc]
push eax
call fcn.1006d654
add esp, 4
jmp 0x10087157
push 5
push str.close
push 0x11
push str.Proxy_Connection:
push esi
call fcn.1007f680
add esp, 0x14
test al, al
jne 0x10043e65
lea eax, [edi + 0xf0]
push eax
lea eax, [ebp - 0x30]
push eax
push str.HTTP_1._d__d
push esi
call fcn.1006cccd
add esp, 0x10
cmp eax, 2
jne 0x10043e6c
mov eax, dword [edi + 0xf0]
mov dword [edi + 0xd3c], eax
lea eax, [ebx + 0x1bc]
push eax
call fcn.1006d6ad
add esp, 4
jmp 0x100871b0
mov byte [ebx + 0x1f5], 1
lea eax, [ebx + 0x1bc]
push eax
call fcn.1006d6c8
add esp, 4
jmp 0x100871cb
cmp dword [edi + 0xf0], 0x197
jne 0x10043f2b
cmp byte [edi + 0xd01], 0
jne 0x10043f2b
mov eax, dword [ebx + 0x1e8]
lea edx, [ebx + 0x1e8]
or eax, dword [edx + 4]
mov ecx, 2
mov dword [ebx + 0x1e4], 2
mov dword [ebp - 0x10], edx
jne 0x10043f25
cmp byte [ebx + 0x1f4], al
je 0x10043f19
lea eax, [esi + 1]
mov byte [edi + 0x140], 1
cmp byte [eax], 0xa
cmove esi, eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x18]
push eax
push 1
lea eax, [esi + 1]
push eax
push edi
call 0x100a525c
add esp, 0x14
cmp eax, 0xffffffff
jne 0x10043f0e
mov eax, dword [ebp - 4]
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov dword [ebx + 0x1e4], 0
mov dword [eax], 2
jmp 0x10043f25
mov ecx, dword [ebx + 0x1e4]
mov edx, dword [ebp - 0x10]
jmp 0x10043f25
mov dword [ebx + 0x1e4], 0
xor ecx, ecx
test ecx, ecx
jne 0x10043f4b
jmp 0x10043f3b
mov dword [ebx + 0x1e4], 0
lea edx, [ebx + 0x1e8]
mov eax, dword [edx]
or eax, dword [edx + 4]
jne 0x10043f4b
mov eax, dword [ebp - 4]
mov dword [eax], 2
cmp dword [ebx + 0x1e4], 0
jne 0x10043b10
jmp 0x10043fa0
cmp dword [edi + 0x16c], 0
je 0x10043f81
cmp dword [edi + 0x998], 0
je 0x10043f81
cmp dword [edi + 0xcc4], 0
je 0x10043f81
mov eax, dword [ebp - 8]
mov byte [eax + 0x264], 1
jmp 0x10043f96
push str.Proxy_CONNECT_aborted
push edi
mov dword [ebp - 0x1c], 1
call fcn.10076b03
add esp, 8
mov dword [ebx + 0x1e4], 0
mov esi, dword [ebp - 4]
push edi
call fcn.100856d9
add esp, 4
test eax, eax
jne 0x1004421f
cmp dword [ebp - 0x1c], eax
jne 0x10044118
mov eax, dword [edi + 0xd3c]
sub eax, 0xc8
cmp eax, 0x64
jb 0x10043ff1
push edi
call fcn.1007f9a3
add esp, 4
test eax, eax
jne 0x10044218
mov eax, dword [ebp - 8]
cmp byte [eax + 0x266], 0
je 0x10043ff1
mov byte [ebx + 0x1f5], 1
cmp byte [ebx + 0x1f5], 0
mov eax, dword [ebp - 0xc]
je 0x1004400b
cmp dword [eax], 0
jne 0x10044124
mov dword [ebp - 0x10], eax
jmp 0x10044086
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
cmp dword [ecx], 0
je 0x10044086
cmp dword [esi], 2
jne 0x10044086
mov esi, dword [edi + 0xc]
mov eax, dword [esi + 0x2a8]
test dword [eax + 0x4c], 0x4000
je 0x1004403f
push dword [eax]
push str._s_cannot_be_done_over_CONNECT
push edi
call fcn.10076baa
add esp, 0xc
jmp 0x10044083
mov esi, dword [esi + 0x4f0]
lea eax, [esi + 0x1bc]
push eax
call fcn.1006d8a1
add esp, 4
mov dword [esi + 0x1f0], 0
mov dword [esi + 0x1e4], 1
mov dword [esi + 0x43470e8], 0
mov dword [esi + 0x1ec], 0
mov byte [esi + 0x1f5], 0
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
cmp dword [esi], 0
je 0x10044141
mov esi, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
jmp 0x10086cbd
pop edi
pop esi
mov eax, 0x1b
pop ebx
mov esp, ebp
pop ebp
ret
push str.CONNECT_response_too_large
push edi
call fcn.10076c85
add esp, 8
pop edi
pop esi
mov eax, 0x38
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x20]
mov esi, dword [ebp - 8]
push dword [eax]
push esi
push edi
call fcn.100776c3
mov eax, dword [ebp - 0x20]
add esp, 0xc
mov dword [eax], 0xffffffff
jmp 0x10044144
mov esi, dword [ebp - 8]
mov eax, dword [edi + 0xd3c]
sub eax, 0xc8
cmp eax, 0x64
jb 0x100441d1
cmp byte [ebx + 0x1f5], 0
mov eax, dword [ebp - 0xc]
je 0x10044177
cmp dword [eax], 0
je 0x10044177
push edi
mov byte [esi + 0x264], 1
call fcn.100877f2
add esp, 4
jmp 0x10044193
push dword [eax]
call dword [0x100bd004]
mov eax, dword [ebp - 0xc]
push 2
push esi
mov dword [eax], 0
call fcn.10077850
add esp, 0xc
mov eax, dword [ebp - 4]
mov dword [eax], 0
cmp byte [esi + 0x264], 0
jne 0x10044216
lea eax, [ebx + 0x1bc]
push eax
call fcn.1006d981
push dword [edi + 0xf0]
push str.Received_HTTP_code__d_from_proxy_after_CONNECT
push edi
call fcn.10076d32
add esp, 0x10
mov eax, 0x38
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
mov dword [eax], 2
push dword [edi + 0xcc4]
call dword [0x100bd004]
lea eax, [ebx + 0x1bc]
mov dword [edi + 0xcc4], 0
mov word [edi + 0x99c], 1
mov byte [edi + 0x140], 0
push eax
mov byte [esi + 0x271], 0
call fcn.1006d9e3
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0x2a
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0xc0000000
jmp 0x10086ce7
push ebx
mov dword [esi + 4], eax
call 0x1010ccfd
pop ecx
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x10]
push 0x10
pop ecx
invalid
in al, dx
lock or dword [eax], edx
add ecx, dword [edx + 0x275d445]
cld
adc byte [eax + 0x2028084c], al