Function at 0x468db0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov ecx, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
mov edi, dword [esi]
mov dword [ebp - 0x38], eax
mov edx, dword [edi + 0x1e0]
mov dword [ebp - 0x28], edx
cmp edx, eax
jne 0x468dda
mov dword [ebp - 0x28], 0x36ee80
cmp dword [esi + ecx*4 + 0x4cc], 2
mov edx, dword [esi + ecx*4 + 0x140]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x24], eax
je 0x469784
mov dword [esi + 0x210], eax
jmp 0x468e10
cmp dword [esi + ecx*4 + 0x4cc], eax
je 0x469404
lea ebx, [edi + 0x5ac]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 8], 1
cmp dword [ebp - 8], 0
je 0x469353
cmp dword [ebp - 0x24], 0
jne 0x469723
mov eax, dword [esi + 0x134]
mov ecx, dword [esi + 0x130]
push eax
push ecx
call fcn.0044b9d0
push edx
push eax
call fcn.0044ba00
mov ecx, dword [ebp - 0x28]
sub ecx, eax
add esp, 0x10
test ecx, ecx
jle 0x4693ea
cmp ecx, 0x3e8
jl 0x468e7e
mov ecx, 0x3e8
mov edx, dword [ebp - 0x2c]
push ecx
push 0xffffffffffffffff
push 0xffffffffffffffff
push edx
call fcn.0044aa20
add esp, 0x10
cmp eax, 0xffffffff
je 0x46931a
test eax, eax
je 0x46932f
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
mov ecx, 0x4000
sub ecx, dword [ebp - 0x18]
push edx
mov edx, dword [ebp - 0x2c]
call fcn.0044b650
add esp, 8
cmp eax, 0x51
je 0x469343
xor ecx, ecx
cmp eax, ecx
je 0x468ed5
mov dword [ebp - 8], ecx
jmp 0x46932f
mov eax, dword [ebp - 0xc]
cmp eax, ecx
jg 0x468f0a
mov dword [ebp - 8], ecx
cmp dword [edi + 0x158], ecx
je 0x468f00
cmp dword [edi + 0x864c], ecx
je 0x468f00
mov eax, esi
mov dword [eax + 0x210], 1
jmp 0x46932f
push str.Proxy_CONNECT_aborted
jmp 0x46931f
add dword [ebp - 0x18], eax
cmp dword [ebp - 8], 1
jle 0x468fb9
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0x18], ecx
lea ecx, [edi + 0x5ac]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x3c]
mov edx, esi
or edx, ecx
je 0x468f58
cdq
sub esi, eax
sbb ecx, edx
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], ecx
test ecx, ecx
jg 0x46932f
jl 0x468f4c
test esi, esi
jne 0x46932f
mov dword [ebp - 8], 0
jmp 0x46932f
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
push ecx
push edx
mov dword [ebp - 0x14], 0
call fcn.0046b0c0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x468fa2
push str.chunk_reading_DONE_n
push edi
call fcn.0044b0a0
mov ecx, dword [ebp + 0xc]
mov eax, esi
mov dword [ebp - 8], 0
mov dword [eax + ecx*4 + 0x4cc], 2
jmp 0x46932c
mov edx, dword [ebp - 0x14]
push edx
push str.Read__zd_bytes_of_chunk__continue_n
push edi
call fcn.0044b0a0
add esp, 0xc
jmp 0x46932f
mov dword [ebp - 0x14], ecx
cmp eax, ecx
jle 0x46932f
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
inc esi
cmp byte [eax], 0xa
mov dword [ebp - 0x20], esi
jne 0x4691b9
cmp dword [edi + 0x324], 0
je 0x468ff2
mov ecx, dword [ebp + 8]
push ecx
push esi
push ebx
push 1
mov ecx, edi
call fcn.0044b7d0
add esp, 0x10
cmp dword [edi + 0x308], 0
mov eax, 2
je 0x469005
mov eax, 3
push ebx
push eax
mov eax, dword [ebp + 8]
mov ecx, esi
call fcn.0044b4a0
add dword [edi + 0x8700], esi
add dword [edi + 0x80], esi
add esp, 8
test eax, eax
jne 0x469786
mov al, byte [ebx]
cmp al, 0xd
je 0x4691d1
cmp al, 0xa
je 0x4691d1
mov dl, byte [esi + ebx]
mov byte [ebp - 1], dl
mov eax, 0x11
mov ecx, ebx
mov edx, str.WWW_Authenticate:
mov byte [esi + ebx], 0
call fcn.00465380
test eax, eax
je 0x469066
mov eax, dword [edi + 0xc8]
cmp eax, 0x191
je 0x469088
mov eax, 0x13
mov ecx, ebx
mov edx, str.Proxy_authenticate:
call fcn.00465380
test eax, eax
je 0x4690d4
mov eax, dword [edi + 0xc8]
cmp eax, 0x197
jne 0x4690d4
xor ecx, ecx
cmp eax, 0x197
sete cl
mov eax, ebx
mov dword [ebp - 0x34], ecx
call fcn.004519d0
mov esi, eax
test esi, esi
je 0x469468
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp + 8]
push edx
push eax
mov eax, esi
call fcn.004521c0
push esi
mov dword [ebp - 0x34], eax
call dword [0x4dc04c]
add esp, 0xc
cmp dword [ebp - 0x34], 0
jne 0x469689
mov esi, dword [ebp - 0x20]
jmp 0x4691aa
mov eax, 0xf
mov ecx, ebx
mov edx, str.Content_Length:
call fcn.00465380
test eax, eax
je 0x469104
push 0xa
lea ecx, [ebx + 0xf]
push 0
push ecx
call fcn.0048e389
add esp, 0xc
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
jmp 0x4691aa
push str.close
mov ecx, str.Connection:
mov eax, ebx
call fcn.00452750
add esp, 4
test eax, eax
je 0x469128
mov dword [ebp - 0x1c], 1
jmp 0x4691aa
push str.chunked
mov ecx, str.Transfer_Encoding:
mov eax, ebx
call fcn.00452750
add esp, 4
test eax, eax
je 0x46915f
push str.CONNECT_responded_chunked_n
push edi
call fcn.0044b0a0
mov eax, dword [ebp + 8]
add esp, 8
mov dword [ebp - 0x30], 1
call fcn.0046b0b0
jmp 0x4691aa
push str.close
mov ecx, str.Proxy_Connection:
mov eax, ebx
call fcn.00452750
add esp, 4
test eax, eax
je 0x469180
mov dword [ebp - 0x1c], 1
jmp 0x4691aa
lea eax, [edi + 0xc8]
push eax
lea edx, [ebp - 0x38]
push edx
push str.HTTP_1._d__d
push ebx
call fcn.004a394b
add esp, 0x10
cmp eax, 2
jne 0x4691aa
mov eax, dword [edi + 0xc8]
mov dword [edi + 0x86f0], eax
mov cl, byte [ebp - 1]
mov byte [esi + ebx], cl
mov ebx, dword [ebp - 0x10]
xor esi, esi
mov dword [ebp - 0x20], esi
inc ebx
mov eax, dword [ebp - 0x14]
inc dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, dword [ebp - 0xc]
jl 0x468fc7
jmp 0x46932f
xor ecx, ecx
cmp dword [edi + 0xc8], 0x197
lea eax, [edi + 0x5ac]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], eax
jne 0x4692de
cmp dword [edi + 0x865c], ecx
jne 0x4692de
mov eax, dword [ebp - 0x40]
or eax, dword [ebp - 0x3c]
mov dword [ebp - 8], 2
je 0x46924f
mov esi, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
push esi
push ecx
push str.Ignore__lld_bytes_of_response_body_n
push edi
call fcn.0044b0a0
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
add esp, 0x10
cdq
sub dword [ebp - 0x40], eax
sbb esi, edx
mov dword [ebp - 0x3c], esi
test esi, esi
jg 0x469307
jl 0x469243
cmp dword [ebp - 0x40], 0
ja 0x469307
mov dword [ebp - 8], 0
jmp 0x469307
cmp dword [ebp - 0x30], ecx
je 0x4692d9
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x14]
mov esi, 1
push edx
push str._zd_bytes_of_chunk_left_n
push edi
mov dword [edi + 0x100], esi
call fcn.0044b0a0
add esp, 0xc
cmp byte [ebx + 1], 0xa
jne 0x469282
inc ebx
add dword [ebp - 0x14], esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
lea ecx, [ebx + 1]
push eax
push ecx
call fcn.0046b0c0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4692c8
push str.chunk_reading_DONE_n
push edi
call fcn.0044b0a0
mov eax, dword [ebp + 0xc]
mov edx, esi
add esp, 8
mov dword [ebp - 8], 0
mov dword [edx + eax*4 + 0x4cc], 2
jmp 0x469307
mov ecx, dword [ebp - 0xc]
push ecx
push str.Read__zd_bytes_of_chunk__continue_n
push edi
call fcn.0044b0a0
jmp 0x469304
mov dword [ebp - 8], ecx
jmp 0x469307
cmp dword [edi + 0x86f0], 0xc8
mov dword [ebp - 8], ecx
jne 0x469307
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
dec eax
cmp eax, ecx
je 0x469307
push eax
push str.Proxy_CONNECT_followed_by__zd_bytes_of_opaque_data._Data_ignored__known_bug_39_
push edi
call fcn.0044b120
add esp, 0xc
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [eax + edx*4 + 0x4cc], 2
jmp 0x46932f
push str.Proxy_CONNECT_aborted_due_to_select_poll_error
push edi
mov dword [ebp - 0x24], 1
call fcn.0044b120
add esp, 8
mov ecx, dword [ebp + 8]
push ecx
call fcn.00455b00
add esp, 4
test eax, eax
jne 0x469693
cmp dword [ebp - 0x18], 0x4000
mov esi, dword [ebp + 8]
jb 0x468e33
cmp dword [ebp - 0x24], 0
jne 0x469723
cmp dword [edi + 0x86f0], 0xc8
je 0x46938b
push esi
call fcn.00451da0
add esp, 4
test eax, eax
jne 0x469786
cmp dword [esi + 0x1b8], eax
je 0x46938b
mov dword [ebp - 0x1c], 1
jmp 0x469391
cmp dword [ebp - 0x1c], 0
je 0x46939e
cmp dword [edi + 0x10c], 0
jne 0x46969f
cmp dword [edi + 0x10c], 0
mov ebx, dword [ebp + 0xc]
je 0x4696c5
cmp dword [esi + ebx*4 + 0x4cc], 2
jne 0x4693d3
push 0
push str.TUNNEL_STATE_switched_to:__d_n
push edi
mov dword [esi + ebx*4 + 0x4cc], 0
call fcn.0044b0a0
add esp, 0xc
cmp dword [edi + 0x10c], 0
je 0x4696c5
mov ecx, dword [ebp + 0xc]
xor eax, eax
jmp 0x468e10
push str.Proxy_CONNECT_aborted_due_to_timeout
push edi
call fcn.0044b120
add esp, 8
mov eax, 0x38
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx esi, word [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
push esi
push ebx
push str.Establish_HTTP_proxy_tunnel_to__s:_hu_n
push edi
call fcn.0044b0a0
mov eax, dword [edi + 0x10c]
add esp, 0x10
test eax, eax
je 0x469439
push eax
call dword [0x4dc04c]
add esp, 4
mov dword [edi + 0x10c], 0
call fcn.00452440
mov dword [ebp - 0x18], eax
test eax, eax
je 0x469468
push esi
push ebx
push str._s:_hu
call sym.kometabrowsercmd.exe_curl_maprintf
add esp, 0xc
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x469474
mov edx, dword [ebp - 0x18]
push edx
call dword [0x4dc04c]
add esp, 4
mov eax, 0x1b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x30]
mov esi, dword [ebp + 8]
push 1
push eax
push str.CONNECT
call fcn.004520b0
mov ecx, dword [ebp - 0x30]
add esp, 0xc
push ecx
mov ebx, eax
call dword [0x4dc04c]
add esp, 4
test ebx, ebx
jne 0x46965c
cmp dword [esi + 0x124], 1
mov ecx, 0x4b93b6
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], 0x4c1fdc
je 0x4694c6
mov dword [ebp - 0x28], 0x4c1fd8
mov esi, dword [esi + 0x1d0]
mov edx, 0x4c0adc
test esi, esi
jne 0x4694d9
mov edx, ecx
jmp 0x4694de
mov ecx, 0x4c0ae0
movzx eax, word [ebp + 0x14]
push eax
push edx
mov edx, dword [ebp + 0x10]
push edx
push ecx
push str._s_s_s:_hu
call sym.kometabrowsercmd.exe_curl_maprintf
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x469513
mov eax, dword [ebp - 0x18]
push eax
call dword [0x4dc04c]
add esp, 4
lea eax, [esi + 0x1b]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
mov ebx, str.Host:
call fcn.00451980
add esp, 4
test eax, eax
jne 0x46955d
push esi
push str.Host:__s_r_n
call sym.kometabrowsercmd.exe_curl_maprintf
add esp, 8
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x46955d
push esi
call dword [0x4dc04c]
mov ecx, dword [ebp - 0x18]
add esp, 4
push ecx
call dword [0x4dc04c]
add esp, 4
mov eax, 0x1b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
mov ebx, str.Proxy_Connection:
call fcn.00451980
add esp, 4
test eax, eax
jne 0x469576
mov dword [ebp - 0x30], str.Proxy_Connection:_Keep_Alive_r_n
push edi
mov ebx, str.User_Agent:
call fcn.00451980
add esp, 4
test eax, eax
jne 0x46959c
cmp dword [edi + 0x3e4], eax
je 0x46959c
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x244]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x240]
test eax, eax
jne 0x4695ae
mov eax, 0x4b93b6
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
push edx
mov edx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x28]
push edx
push eax
push esi
push str.CONNECT__s_HTTP__s_r_n_s_s_s_s
push ecx
call fcn.00452600
add esp, 0x20
cmp dword [ebp - 0x14], 0
mov ebx, eax
je 0x4695ed
mov edx, dword [ebp - 0x14]
cmp byte [edx], 0
je 0x4695ed
mov eax, edx
push eax
call dword [0x4dc04c]
add esp, 4
push esi
call dword [0x4dc04c]
add esp, 4
test ebx, ebx
jne 0x469645
mov ecx, dword [ebp + 8]
mov esi, dword [ebp - 0x18]
push ecx
mov ebx, esi
call fcn.00452a60
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x469645
push 0x4c0478
push esi
call fcn.00452600
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x469645
mov ebx, dword [ebp + 8]
push eax
lea edx, [edi + 0x8704]
push edx
push esi
mov esi, dword [ebp + 0xc]
mov ecx, esi
call fcn.00452450
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x469672
push str.Failed_sending_CONNECT_to_proxy
push edi
call fcn.0044b120
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x18]
push eax
call dword [0x4dc04c]
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
mov dword [ecx + esi*4 + 0x4cc], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x34]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x2a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebx + edx*4 + 0x140]
mov eax, ebx
call fcn.00449b30
mov eax, dword [ebp + 0xc]
mov dword [ebx + eax*4 + 0x140], 0xffffffff
mov esi, ebx
mov ebx, eax
mov eax, dword [edi + 0xc8]
cmp eax, 0xc8
je 0x46972f
push eax
push str.Received_HTTP_code__d_from_proxy_after_CONNECT
push edi
call fcn.0044b120
add esp, 0xc
cmp dword [ebp - 0x1c], 0
je 0x4696fa
cmp dword [edi + 0x10c], 0
je 0x4696fa
mov dword [esi + 0x210], 1
mov eax, dword [edi + 0x10c]
test eax, eax
je 0x469718
push eax
call dword [0x4dc04c]
add esp, 4
mov dword [edi + 0x10c], 0
mov dword [esi + ebx*4 + 0x4cc], 0
mov eax, 0x38
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + ebx*4 + 0x4cc], 2
mov eax, dword [esi + 0x240]
test eax, eax
je 0x469758
push eax
call dword [0x4dc04c]
add esp, 4
xor ebx, ebx
mov dword [esi + 0x240], ebx
jmp 0x46975a
xor ebx, ebx
push str.Proxy_replied_OK_to_CONNECT_request_n
mov dword [esi + 0x240], ebx
push edi
mov dword [edi + 0x8650], 1
call fcn.0044b0a0
mov dword [edi + 0x100], ebx
add esp, 8
mov dword [esi + 0x1f4], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret