Function at 0x42ca30
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
mov ebx, dword [ebp + 8]
xor ecx, ecx
push esi
mov esi, dword [ebx]
mov dword [ebp - 0x34], ecx
mov eax, dword [esi + 0x19c]
mov dword [ebp - 0x28], eax
cmp eax, ecx
jne 0x42ca56
mov dword [ebp - 0x28], 0x36ee80
mov eax, dword [ebp + 0xc]
cmp dword [ebx + eax*4 + 0x47c], 2
mov edx, dword [ebx + eax*4 + 0x134]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x24], ecx
jne 0x42ca84
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push edi
mov dword [ebx + 0x1fc], ecx
jmp 0x42ca90
cmp dword [ebx + eax*4 + 0x47c], ecx
je 0x42d06a
lea eax, [esi + 0x564]
mov dword [ebp - 0x10], eax
mov edi, eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 1
cmp dword [ebp - 8], ecx
je 0x42cfba
cmp dword [ebp - 0x24], ecx
jne 0x42d372
mov eax, dword [ebx + 0x128]
mov ecx, dword [ebx + 0x124]
push eax
push ecx
call fcn.00410cf0
push edx
push eax
call fcn.00410d20
mov ecx, dword [ebp - 0x28]
sub ecx, eax
add esp, 0x10
test ecx, ecx
jle 0x42d050
cmp ecx, 0x3e8
jl 0x42cafe
mov ecx, 0x3e8
mov edx, dword [ebp - 0x2c]
push ecx
push 0xffffffffffffffff
push 0xffffffffffffffff
push edx
call fcn.00407200
add esp, 0x10
cmp eax, 0xffffffff
je 0x42cf85
test eax, eax
je 0x42cf9a
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x2c]
mov ecx, 0x4000
sub ecx, dword [ebp - 0x1c]
push ecx
push edx
push eax
push ebx
call fcn.00410e90
add esp, 0x14
cmp eax, 0x51
je 0x42cfab
xor ecx, ecx
cmp eax, ecx
je 0x42cb55
mov dword [ebp - 8], ecx
jmp 0x42cf9a
mov eax, dword [ebp - 0x14]
cmp eax, ecx
jg 0x42cb88
mov dword [ebp - 8], ecx
cmp dword [esi + 0x118], ecx
je 0x42cb7e
cmp dword [esi + 0x8604], ecx
je 0x42cb7e
mov dword [ebx + 0x1fc], 1
jmp 0x42cf9a
push str.Proxy_CONNECT_aborted
jmp 0x42cf8a
add dword [ebp - 0x1c], eax
mov edx, 1
cmp dword [ebp - 8], edx
jle 0x42cc33
mov dword [ebp - 0x1c], ecx
lea ecx, [esi + 0x564]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x3c]
or ecx, dword [ebp - 0x38]
je 0x42cbd9
cdq
sub dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
sbb eax, edx
mov dword [ebp - 0x38], eax
test eax, eax
jg 0x42cf9a
jl 0x42cbcd
cmp dword [ebp - 0x3c], 0
ja 0x42cf9a
mov dword [ebp - 8], 0
jmp 0x42cf9a
lea edx, [ebp - 0x18]
push edx
push eax
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov dword [ebp - 0x18], 0
call fcn.00434510
add esp, 0x10
cmp eax, 0xffffffff
jne 0x42cc1c
push str.chunk_reading_DONE_n
push esi
call fcn.00411100
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], 0
mov dword [ebx + ecx*4 + 0x47c], 2
jmp 0x42cf97
mov edx, dword [ebp - 0x18]
push edx
push str.Read__zd_bytes_of_chunk__continue_n
push esi
call fcn.00411100
add esp, 0xc
jmp 0x42cf9a
mov dword [ebp - 0x18], ecx
cmp eax, ecx
jle 0x42cf9a
jmp 0x42cc42
xor ecx, ecx
add dword [ebp - 0xc], edx
mov edx, dword [ebp - 0x10]
cmp byte [edx], 0xa
jne 0x42cdfb
cmp dword [esi + 0x2e4], ecx
je 0x42cc6a
mov eax, dword [ebp - 0xc]
push ebx
push eax
push edi
push 1
push esi
call fcn.00411020
add esp, 0x14
cmp dword [esi + 0x2c8], 0
mov eax, 2
je 0x42cc7d
mov eax, 3
mov ecx, dword [ebp - 0xc]
push ecx
push edi
push eax
push ebx
call fcn.00411450
mov ecx, dword [ebp - 0xc]
add dword [esi + 0x86c0], ecx
add dword [esi + 0x48], ecx
add esp, 0x10
test eax, eax
jne 0x42d3d5
mov al, byte [edi]
cmp al, 0xd
je 0x42ce18
cmp al, 0xa
je 0x42ce18
mov eax, ecx
mov dl, byte [eax + edi]
push 0x11
push edi
push str.WWW_Authenticate:
mov byte [ebp - 1], dl
mov byte [eax + edi], 0
call fcn.0042d5b0
add esp, 0xc
test eax, eax
je 0x42ccdf
mov eax, dword [esi + 0x90]
cmp eax, 0x191
je 0x42cd00
push 0x13
push edi
push str.Proxy_authenticate:
call fcn.0042d5b0
add esp, 0xc
test eax, eax
je 0x42cd18
mov eax, dword [esi + 0x90]
cmp eax, 0x197
jne 0x42cd18
push edi
push eax
push ebx
call fcn.00426840
add esp, 0xc
test eax, eax
jne 0x42d3d5
jmp 0x42cde1
push 0xf
push edi
push str.Content_Length:
call fcn.0042d5b0
add esp, 0xc
test eax, eax
je 0x42cd47
push 0xa
lea eax, [edi + 0xf]
push 0
push eax
call fcn.0043834c
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
jmp 0x42cde1
push str.close
push str.Connection:
push edi
call fcn.00426db0
add esp, 0xc
test eax, eax
je 0x42cd67
mov dword [ebp - 0x20], 1
jmp 0x42cde1
push str.chunked
push str.Transfer_Encoding:
push edi
call fcn.00426db0
add esp, 0xc
test eax, eax
je 0x42cd9b
push str.CONNECT_responded_chunked_n
push esi
call fcn.00411100
push ebx
mov dword [ebp - 0x30], 1
call fcn.004344f0
add esp, 0xc
jmp 0x42cde1
push str.close
push str.Proxy_Connection:
push edi
call fcn.00426db0
add esp, 0xc
test eax, eax
je 0x42cdbb
mov dword [ebp - 0x20], 1
jmp 0x42cde1
lea ebx, [esi + 0x90]
push ebx
lea ecx, [ebp - 0x34]
push ecx
push str.HTTP_1._d__d
push edi
call fcn.00436181
add esp, 0x10
cmp eax, 2
jne 0x42cde1
mov edx, dword [ebx]
mov dword [esi + 0x86b0], edx
mov al, byte [ebp - 1]
mov ecx, dword [ebp - 0xc]
mov ebx, dword [ebp + 8]
mov byte [ecx + edi], al
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], 0
inc edi
mov ecx, dword [ebp - 0x18]
mov edx, 1
add dword [ebp - 0x10], edx
add ecx, edx
mov dword [ebp - 0x18], ecx
cmp ecx, eax
jl 0x42cc40
jmp 0x42cf9a
xor ecx, ecx
cmp dword [esi + 0x90], 0x197
lea eax, [esi + 0x564]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x10], eax
jne 0x42cf4c
cmp dword [esi + 0x8614], ecx
jne 0x42cf4c
mov eax, dword [ebp - 0x3c]
or eax, dword [ebp - 0x38]
mov dword [ebp - 8], 2
je 0x42cea7
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x3c]
push ecx
push edx
push str.Ignore__lld_bytes_of_response_body_n
push esi
call fcn.00411100
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x18]
add esp, 0x10
cdq
sub dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
sbb eax, edx
mov dword [ebp - 0x38], eax
test eax, eax
jg 0x42cf75
jl 0x42ce8d
cmp dword [ebp - 0x3c], 0
ja 0x42cf75
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], 0
mov dword [ebx + eax*4 + 0x47c], 2
jmp 0x42cf9a
cmp dword [ebp - 0x30], ecx
je 0x42cf39
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x18]
mov dword [esi + 0xc8], 1
push eax
push str._zd_bytes_of_chunk_left_n
push esi
call fcn.00411100
add esp, 0xc
cmp byte [edi + 1], 0xa
jne 0x42ced9
inc edi
inc dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
push ecx
push edx
lea eax, [edi + 1]
push eax
push ebx
call fcn.00434510
add esp, 0x10
cmp eax, 0xffffffff
jne 0x42cf28
push str.chunk_reading_DONE_n
push esi
call fcn.00411100
mov ecx, dword [ebp + 0xc]
mov eax, ecx
mov dword [ebx + ecx*4 + 0x47c], 2
add esp, 8
mov dword [ebp - 8], 0
mov dword [ebx + eax*4 + 0x47c], 2
jmp 0x42cf9a
mov edx, dword [ebp - 0x14]
push edx
push str.Read__zd_bytes_of_chunk__continue_n
push esi
call fcn.00411100
jmp 0x42cf72
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov dword [ebx + eax*4 + 0x47c], 2
jmp 0x42cf9a
cmp dword [esi + 0x86b0], 0xc8
mov dword [ebp - 8], ecx
jne 0x42cf75
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x18]
dec eax
cmp eax, ecx
je 0x42cf75
push eax
push str.Proxy_CONNECT_followed_by__zd_bytes_of_opaque_data._Data_ignored__known_bug_39_
push esi
call fcn.00411180
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov dword [ebx + eax*4 + 0x47c], 2
jmp 0x42cf9a
push str.Proxy_CONNECT_aborted_due_to_select_poll_error
push esi
mov dword [ebp - 0x24], 1
call fcn.00411180
add esp, 8
push ebx
call fcn.0042c2a0
add esp, 4
test eax, eax
jne 0x42d2e9
xor ecx, ecx
cmp dword [ebp - 0x1c], 0x4000
jb 0x42cab5
cmp dword [ebp - 0x24], ecx
jne 0x42d372
cmp dword [esi + 0x86b0], 0xc8
je 0x42cff1
push ebx
call fcn.00427260
add esp, 4
test eax, eax
jne 0x42d3d5
cmp dword [ebx + 0x1a4], eax
je 0x42cff1
mov dword [ebp - 0x20], 1
jmp 0x42cff7
cmp dword [ebp - 0x20], 0
je 0x42d004
cmp dword [esi + 0xd4], 0
jne 0x42d2f5
cmp dword [esi + 0xd4], 0
mov edi, dword [ebp + 0xc]
je 0x42d314
cmp dword [ebx + edi*4 + 0x47c], 2
jne 0x42d039
push 0
push str.TUNNEL_STATE_switched_to:__d_n
push esi
mov dword [ebx + edi*4 + 0x47c], 0
call fcn.00411100
add esp, 0xc
cmp dword [esi + 0xd4], 0
je 0x42d314
mov eax, dword [ebp + 0xc]
xor ecx, ecx
jmp 0x42ca90
push str.Proxy_CONNECT_aborted_due_to_timeout
push esi
call fcn.00411180
add esp, 8
pop edi
pop esi
mov eax, 0x38
pop ebx
mov esp, ebp
pop ebp
ret
movzx edi, word [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
push edi
push ecx
push str.Establish_HTTP_proxy_tunnel_to__s:_hu_n
push esi
call fcn.00411100
mov eax, dword [esi + 0xd4]
add esp, 0x10
test eax, eax
je 0x42d09f
push eax
call dword [0x458064]
add esp, 4
mov dword [esi + 0xd4], 0
call fcn.00426b10
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x42d1b5
mov edx, dword [ebp + 0x10]
push edi
push edx
push str._s:_hu
call sym.SkyrSetup.exe_curl_maprintf
add esp, 0xc
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x42d0e1
mov eax, dword [ebp - 0x1c]
push eax
call dword [0x458064]
add esp, 4
pop edi
pop esi
mov eax, 0x1b
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x30]
push 1
push ecx
push str.CONNECT
push ebx
call fcn.00426730
mov edx, dword [ebp - 0x30]
push edx
mov edi, eax
call dword [0x458064]
add esp, 0x14
test edi, edi
jne 0x42d2b9
cmp dword [ebx + 0x118], 1
mov ecx, 0x453964
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x30], ecx
mov edi, ecx
mov dword [ebp - 0x2c], 0x44f2f0
je 0x42d12d
mov dword [ebp - 0x2c], 0x44f2f4
mov ebx, dword [ebx + 0x1bc]
mov edx, 0x44a698
test ebx, ebx
jne 0x42d140
mov edx, ecx
jmp 0x42d145
mov ecx, 0x44a67c
movzx eax, word [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push edx
push eax
push ecx
push str._s_s_s:_hu
call sym.SkyrSetup.exe_curl_maprintf
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x42d17a
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [0x458064]
add esp, 4
pop edi
pop esi
lea eax, [ebx + 0x1b]
pop ebx
mov esp, ebp
pop ebp
ret
push str.Host:
push esi
call fcn.004261e0
add esp, 8
test eax, eax
jne 0x42d1c1
push ebx
push str.Host:__s_r_n
call sym.SkyrSetup.exe_curl_maprintf
add esp, 8
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x42d1c1
push ebx
call dword [0x458064]
mov edx, dword [ebp - 0x1c]
push edx
call dword [0x458064]
add esp, 8
pop edi
pop esi
mov eax, 0x1b
pop ebx
mov esp, ebp
pop ebp
ret
push str.Proxy_Connection:
push esi
call fcn.004261e0
add esp, 8
test eax, eax
jne 0x42d1da
mov dword [ebp - 0x30], str.Proxy_Connection:_Keep_Alive_r_n
push str.User_Agent:
push esi
call fcn.004261e0
add esp, 8
test eax, eax
jne 0x42d1fd
cmp dword [esi + 0x3a4], eax
je 0x42d1fd
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x230]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x22c]
test eax, eax
jne 0x42d20f
mov eax, 0x453964
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
push edx
mov edx, dword [ebp - 0x1c]
push edi
push eax
mov eax, dword [ebp - 0x18]
push eax
push ecx
push ebx
push str.CONNECT__s_HTTP__s_r_n_s_s_s_s
push edx
call fcn.00427440
add esp, 0x20
cmp dword [ebp - 0x18], 0
mov edi, eax
je 0x42d24b
mov eax, dword [ebp - 0x18]
cmp byte [eax], 0
je 0x42d24b
mov ecx, eax
push ecx
call dword [0x458064]
add esp, 4
push ebx
call dword [0x458064]
add esp, 4
test edi, edi
jne 0x42d2a2
mov ebx, dword [ebp - 0x1c]
mov edx, dword [ebp + 8]
push ebx
push edx
call fcn.00427520
mov edi, eax
add esp, 8
test edi, edi
jne 0x42d2a2
push 0x44c3e4
push ebx
call fcn.00427440
mov edi, eax
add esp, 8
test edi, edi
jne 0x42d2a2
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push eax
push edi
lea ecx, [esi + 0x86c4]
push ecx
push edx
push ebx
call fcn.00426b20
mov edi, eax
add esp, 0x14
test edi, edi
je 0x42d2cf
push str.Failed_sending_CONNECT_to_proxy
push esi
call fcn.00411180
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x1c]
push eax
call dword [0x458064]
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
pop edi
pop esi
mov dword [ecx + edx*4 + 0x47c], 1
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0x2a
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0xc]
mov eax, dword [ebx + edi*4 + 0x134]
push eax
push ebx
call fcn.00413bb0
add esp, 8
mov dword [ebx + edi*4 + 0x134], 0xffffffff
mov eax, dword [esi + 0x90]
cmp eax, 0xc8
je 0x42d37e
push eax
push str.Received_HTTP_code__d_from_proxy_after_CONNECT
push esi
call fcn.00411180
add esp, 0xc
cmp dword [ebp - 0x20], 0
je 0x42d349
cmp dword [esi + 0xd4], 0
je 0x42d349
mov dword [ebx + 0x1fc], 1
mov eax, dword [esi + 0xd4]
test eax, eax
je 0x42d367
push eax
call dword [0x458064]
add esp, 4
mov dword [esi + 0xd4], 0
mov dword [ebx + edi*4 + 0x47c], 0
pop edi
pop esi
mov eax, 0x38
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebx + edi*4 + 0x47c], 2
mov eax, dword [ebx + 0x22c]
test eax, eax
je 0x42d3a7
push eax
call dword [0x458064]
add esp, 4
xor edi, edi
mov dword [ebx + 0x22c], edi
jmp 0x42d3a9
xor edi, edi
push 0x450218
mov dword [ebx + 0x22c], edi
push esi
mov dword [esi + 0x8608], 1
call fcn.00411100
add esp, 8
mov dword [esi + 0xc8], edi
mov dword [ebx + 0x1e0], edi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret