Function at 0x425b60
Capabilities:
Check http status code

Disassembly:
sub esp, 0x3c
mov ecx, dword [esp + 0x40]
push ebx
mov ebx, dword [ecx]
mov dword [esp + 0x3c], 0
mov eax, dword [ebx + 0x1d4]
test eax, eax
mov edx, 0x36ee80
cmovne edx, eax
mov eax, dword [esp + 0x48]
push ebp
mov ebp, dword [ecx + eax*4 + 0x130]
lea eax, [ecx + eax*4]
push esi
xor esi, esi
xor eax, eax
xorps xmm0, xmm0
movlpd qword [esp + 0x38], xmm0
mov dword [esp + 0x40], eax
mov dword [esp + 0x28], eax
mov dword [ecx + 0x21c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x38]
push edi
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], esi
mov dword [esp + 0x20], eax
cmp dword [ecx + 0x1f8], 0
mov esi, dword [esp + 0x58]
jne 0x425dc1
movzx ebp, word [esp + 0x5c]
push ebp
push esi
push str.Establish_HTTP_proxy_tunnel_to__s:_hu_n
push ebx
call fcn.0040fba0
mov eax, dword [ebx + 0x10c]
add esp, 0x10
test eax, eax
je 0x425c0d
push eax
call fcn.004c2904
add esp, 4
mov dword [ebx + 0x10c], 0
call fcn.00417120
mov edi, eax
test edi, edi
je 0x4263d7
push ebp
push esi
push str._s:_hu
call fcn.00411bf0
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
je 0x4263ce
push 1
push eax
push str.CONNECT
push dword [esp + 0x5c]
call fcn.004179f0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x425d8e
mov ecx, dword [esp + 0x50]
mov eax, 0x4dc158
cmp dword [ecx + 0x114], 1
mov ecx, 0x4dc154
cmovne eax, ecx
push str.Host:
mov ebp, 0x4d929c
push ebx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x44], eax
call fcn.004175b0
add esp, 8
test eax, eax
jne 0x425ca8
mov esi, dword [esp + 0x18]
push esi
push str.Host:__s_r_n
call fcn.00411bf0
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x4263a8
push str.Proxy_Connection:
push ebx
call fcn.004175b0
test eax, eax
mov eax, 0x4d929c
push str.User_Agent:
mov esi, str.Proxy_Connection:_Keep_Alive_r_n
push ebx
cmovne esi, eax
call fcn.004175b0
add esp, 0x10
test eax, eax
jne 0x425cea
cmp dword [ebx + 0x3d8], eax
je 0x425cea
mov eax, dword [esp + 0x50]
mov eax, dword [eax + 0x250]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x50]
push esi
mov eax, dword [eax + 0x24c]
push dword [esp + 0x2c]
test eax, eax
mov ecx, 0x4d929c
cmovne ecx, eax
movzx eax, word [esp + 0x64]
push ecx
push ebp
push dword [esp + 0x4c]
push eax
push dword [esp + 0x70]
push str.CONNECT__s:_hu_HTTP__s_r_n_s_s_s_s
push edi
call fcn.004172f0
add esp, 0x24
mov esi, eax
test ebp, ebp
je 0x425d36
cmp byte [ebp], 0
je 0x425d36
push ebp
call fcn.004c2904
add esp, 4
test esi, esi
jne 0x425d7a
mov ebp, dword [esp + 0x50]
push edi
push ebp
call fcn.00417360
mov esi, eax
add esp, 8
test esi, esi
jne 0x425d7a
push 0x4d96d4
push edi
call fcn.004172f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x425d7a
push dword [esp + 0x54]
push eax
lea eax, [ebx + 0x86e4]
push eax
push ebp
push edi
call fcn.00417130
add esp, 0x14
mov esi, eax
xor edi, edi
test esi, esi
je 0x425d8e
push str.Failed_sending_CONNECT_to_proxy
push ebx
call fcn.0040fad0
add esp, 8
push dword [esp + 0x18]
call fcn.004c2904
add esp, 4
test edi, edi
je 0x425da7
push edi
call fcn.004c2904
add esp, 4
test esi, esi
jne 0x4263c4
mov ecx, dword [esp + 0x50]
mov ebp, dword [esp + 0x34]
mov dword [ecx + 0x1f8], 1
push dword [ecx + 0x124]
push dword [ecx + 0x120]
call fcn.00413840
push edx
push eax
call fcn.004137b0
mov ecx, dword [esp + 0x48]
sub ecx, eax
add esp, 0x10
test ecx, ecx
jle 0x4264cc
cmp dword [ebx + 0x560], 2
jne 0x425e0a
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebp
call fcn.0041a850
add esp, 0x10
test eax, eax
je 0x4264c2
mov ecx, dword [esp + 0x50]
lea ebp, [ebx + 0x57c]
mov eax, 1
mov dword [ecx + 0x1f8], 0
mov dword [esp + 0x14], ebp
mov esi, ebp
mov dword [esp + 0x28], 0
xor edi, edi
mov dword [esp + 0x18], eax
test eax, eax
je 0x426267
cmp dword [esp + 0x2c], 0
jne 0x426468
push dword [ecx + 0x124]
push dword [ecx + 0x120]
call fcn.00413840
push edx
push eax
call fcn.004137b0
mov ecx, dword [esp + 0x48]
sub ecx, eax
add esp, 0x10
test ecx, ecx
jle 0x4263f1
mov eax, 0x3e8
cmp ecx, eax
cmovl eax, ecx
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [esp + 0x40]
call fcn.0041a850
add esp, 0x10
cmp eax, 0xffffffff
je 0x426366
test eax, eax
je 0x42623c
lea eax, [esp + 0x1c]
push eax
mov eax, 0x4000
sub eax, dword [esp + 0x2c]
push eax
push ebp
push dword [esp + 0x40]
push dword [esp + 0x60]
call fcn.0040fc80
add esp, 0x14
cmp eax, 0x51
je 0x426251
test eax, eax
je 0x425ed7
xor eax, eax
mov dword [esp + 0x18], eax
jmp 0x42623c
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jg 0x425f23
xor eax, eax
mov dword [esp + 0x18], eax
cmp dword [ebx + 0x150], eax
je 0x425f08
cmp dword [ebx + 0x861c], eax
je 0x425f08
mov ecx, dword [esp + 0x50]
mov dword [ecx + 0x21c], 1
jmp 0x426240
push str.Proxy_CONNECT_aborted
push ebx
mov dword [esp + 0x34], 1
call fcn.0040fad0
add esp, 8
jmp 0x42623c
add dword [esp + 0x28], ecx
cmp dword [esp + 0x18], 1
jle 0x425fd2
mov eax, dword [esp + 0x20]
or eax, dword [esp + 0x24]
lea ebp, [ebx + 0x57c]
mov dword [esp + 0x28], 0
mov dword [esp + 0x14], ebp
je 0x425f82
mov eax, ecx
mov ecx, dword [esp + 0x20]
cdq
sub ecx, eax
mov eax, dword [esp + 0x24]
sbb eax, edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
test eax, eax
jg 0x42623c
jl 0x425f77
test ecx, ecx
jne 0x42623c
xor eax, eax
mov dword [esp + 0x18], eax
jmp 0x42623c
lea eax, [esp + 0x3c]
push eax
push ecx
push ebp
push dword [esp + 0x5c]
mov dword [esp + 0x4c], 0
call fcn.00415300
add esp, 0x10
cmp eax, 0xffffffff
jne 0x425fbb
push str.chunk_reading_DONE_n
push ebx
call fcn.0040fba0
add esp, 8
xor eax, eax
mov dword [esp + 0x18], eax
jmp 0x42623c
push dword [esp + 0x3c]
push str.Read__zd_bytes_of_chunk__continue_n
push ebx
call fcn.0040fba0
add esp, 0xc
jmp 0x42623c
xor ebp, ebp
mov dword [esp + 0x3c], ebp
test ecx, ecx
jle 0x426238
mov eax, dword [esp + 0x14]
inc edi
cmp byte [eax], 0xa
jne 0x42619d
cmp dword [ebx + 0x31c], 0
je 0x426008
push dword [esp + 0x50]
push edi
push esi
push 1
push ebx
call fcn.0040f9e0
add esp, 0x14
cmp dword [ebx + 0x300], 0
push edi
mov ecx, 3
mov eax, 2
cmovne eax, ecx
push esi
push eax
push dword [esp + 0x5c]
call fcn.0040f880
add esp, 0x10
test eax, eax
jne 0x4264df
mov al, byte [esi]
cmp al, 0xd
je 0x4261b4
cmp al, 0xa
je 0x4261b4
mov al, byte [edi + esi]
lea ebp, [edi + esi]
push 0x11
push esi
push str.WWW_Authenticate:
mov byte [esp + 0x1f], al
mov byte [ebp], 0
call fcn.00413230
add esp, 0xc
test eax, eax
je 0x426074
mov eax, dword [ebx + 0x90]
cmp eax, 0x191
je 0x426095
push 0x13
push esi
push str.Proxy_authenticate:
call fcn.00413230
add esp, 0xc
test eax, eax
je 0x4260b0
mov eax, dword [ebx + 0x90]
cmp eax, 0x197
jne 0x4260b0
push esi
push eax
push dword [esp + 0x58]
call fcn.004178a0
add esp, 0xc
test eax, eax
jne 0x4264df
jmp 0x426185
push 0xf
push esi
push str.Content_Length:
call fcn.00413230
add esp, 0xc
test eax, eax
je 0x4260e1
push 0xa
push 0
add esi, 0xf
push esi
call fcn.004c545a
add esp, 0xc
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
jmp 0x426185
push str.close
push str.Connection:
push esi
call fcn.00417600
add esp, 0xc
test eax, eax
je 0x426105
mov dword [esp + 0x30], 1
jmp 0x426185
push str.chunked
push str.Transfer_Encoding:
push esi
call fcn.00417600
add esp, 0xc
test eax, eax
je 0x42613d
push str.CONNECT_responded_chunked_n
push ebx
call fcn.0040fba0
push dword [esp + 0x58]
mov dword [esp + 0x50], 1
call fcn.004152e0
add esp, 0xc
jmp 0x426185
push str.close
push str.Proxy_Connection:
push esi
call fcn.00417600
add esp, 0xc
test eax, eax
je 0x42615e
mov dword [esp + 0x30], 1
jmp 0x426185
lea edi, [ebx + 0x90]
push edi
lea eax, [esp + 0x4c]
push eax
push str.HTTP_1._d__d
push esi
call fcn.004c4e28
add esp, 0x10
cmp eax, 2
jne 0x426185
mov eax, dword [edi]
mov dword [ebx + 0x86d0], eax
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x1c]
mov byte [ebp], al
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x3c]
xor edi, edi
lea esi, [eax + 1]
inc ebp
inc eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x3c], ebp
cmp ebp, ecx
jl 0x425fe4
jmp 0x426238
cmp dword [ebx + 0x90], 0x197
lea eax, [ebx + 0x57c]
mov dword [esp + 0x28], 0
mov dword [esp + 0x14], eax
jne 0x42632f
cmp dword [ebx + 0x862c], 0
jne 0x42632f
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov eax, ecx
or eax, edx
mov dword [esp + 0x18], 2
je 0x4262b1
push edx
push ecx
push str.Ignore__lld_bytes_of_response_body_n
push ebx
call fcn.0040fba0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
sub eax, ebp
cdq
add esp, 0x10
sub ecx, eax
mov eax, dword [esp + 0x24]
sbb eax, edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
test eax, eax
jg 0x426238
jl 0x426232
test ecx, ecx
jne 0x426238
xor eax, eax
mov dword [esp + 0x18], eax
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x50]
push ecx
call fcn.00419c80
add esp, 4
test eax, eax
jne 0x4263e4
cmp dword [esp + 0x28], 0x4000
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x18]
jb 0x425e37
cmp dword [esp + 0x2c], 0
jne 0x426468
cmp dword [ebx + 0x86d0], 0xc8
je 0x426381
push ecx
call fcn.004176d0
add esp, 4
test eax, eax
jne 0x4264df
mov ecx, dword [esp + 0x50]
cmp dword [ecx + 0x1c0], eax
je 0x426381
mov esi, 1
mov dword [esp + 0x30], esi
jmp 0x426389
mov eax, dword [esp + 0x44]
test eax, eax
je 0x426232
mov eax, dword [esp + 0x1c]
sub eax, ebp
push eax
push str._zd_bytes_of_chunk_left_n
push ebx
mov dword [ebx + 0x100], 1
call fcn.0040fba0
add esp, 0xc
cmp byte [esi + 1], 0xa
jne 0x4262e4
inc esi
inc ebp
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x20]
sub eax, ebp
push eax
lea eax, [esi + 1]
push eax
push dword [esp + 0x5c]
call fcn.00415300
add esp, 0x10
cmp eax, 0xffffffff
jne 0x426318
push str.chunk_reading_DONE_n
push ebx
call fcn.0040fba0
add esp, 8
jmp 0x426232
push dword [esp + 0x1c]
push str.Read__zd_bytes_of_chunk__continue_n
push ebx
call fcn.0040fba0
add esp, 0xc
jmp 0x426238
xor eax, eax
cmp dword [ebx + 0x86d0], 0xc8
mov dword [esp + 0x18], eax
jne 0x426238
mov eax, dword [esp + 0x1c]
sub eax, ebp
dec eax
je 0x426238
push eax
push str.Proxy_CONNECT_followed_by__zd_bytes_of_opaque_data._Data_ignored__known_bug_39_
push ebx
call fcn.0040fad0
add esp, 0xc
jmp 0x426238
push str.Proxy_CONNECT_aborted_due_to_select_poll_error
push ebx
mov dword [esp + 0x34], 1
call fcn.0040fad0
add esp, 8
jmp 0x42623c
mov esi, dword [esp + 0x30]
test esi, esi
je 0x426392
cmp dword [ebx + 0x10c], 0
jne 0x42640c
cmp dword [ebx + 0x10c], 0
je 0x426431
mov ebp, dword [esp + 0x34]
jmp 0x425bca
push edi
call fcn.004c2904
push esi
call fcn.004c2904
add esp, 8
mov eax, 0x1b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
push edi
call fcn.004c2904
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x3c
ret
pop edi
pop esi
pop ebp
mov eax, 0x2a
pop ebx
add esp, 0x3c
ret
push str.Proxy_CONNECT_aborted_due_to_timeout
push ebx
call fcn.0040fad0
add esp, 8
mov eax, 0x38
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov eax, dword [esp + 0x54]
push dword [ecx + eax*4 + 0x130]
lea edi, [ecx + eax*4]
push ecx
call fcn.00410060
mov ecx, dword [esp + 0x58]
add esp, 8
mov dword [edi + 0x130], 0xffffffff
mov eax, dword [ebx + 0x90]
cmp eax, 0xc8
je 0x426475
push eax
push str.Received_HTTP_code__d_from_proxy_after_CONNECT
push ebx
call fcn.0040fad0
add esp, 0xc
test esi, esi
je 0x426468
cmp dword [ebx + 0x10c], 0
je 0x426468
mov eax, dword [esp + 0x50]
mov dword [eax + 0x21c], 1
pop edi
pop esi
pop ebp
mov eax, 0x38
pop ebx
add esp, 0x3c
ret
mov eax, dword [ecx + 0x24c]
test eax, eax
je 0x426496
push eax
call fcn.004c2904
mov ecx, dword [esp + 0x54]
add esp, 4
mov dword [ecx + 0x24c], 0
push str.Proxy_replied_OK_to_CONNECT_request_n
mov dword [ecx + 0x24c], 0
push ebx
mov dword [ebx + 0x8620], 1
call fcn.0040fba0
add esp, 8
mov dword [ebx + 0x100], 0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3c
ret
push str.Proxy_CONNECT_aborted_due_to_timeout
push ebx
call fcn.0040fad0
mov eax, 0x38
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret