Function at 0x4597e0
Capabilities:
Check for time delay via gettickcount
Check http status code

Disassembly:
push ebp
lea ebp, [esp - 0x560]
sub esp, 0x560
push 0xffffffffffffffff
push 0x57386c
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x641030]
xor eax, ebp
mov dword [ebp + 0x55c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x570]
mov edx, dword [ebp + 0x584]
mov esi, dword [ebp + 0x5a4]
mov ebx, ecx
mov ecx, dword [ebp + 0x580]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x588]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp + 0x58c]
mov dword [ebp - 0x54], edx
mov edx, dword [ebp + 0x590]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x594]
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp + 0x598]
mov dword [ebp - 0x2c], edx
mov edx, dword [ebp + 0x59c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x5a0]
push str.fullHttpRequest
mov dword [ebp - 0x14], ecx
push esi
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x24], eax
call fcn.00437740
cmp dword [ebx + 0x590], 0x99b4002d
mov dword [ebp - 4], 0
je 0x4598c5
push esi
push 0x66
call fcn.004778b0
add esp, 8
mov bl, al
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.004377b0
mov al, bl
jmp 0x45a1a9
mov ecx, dword [ebp - 0x24]
mov edi, dword [ecx + 4]
mov ecx, dword [ebp - 0x14]
call fcn.0044e3a0
mov ecx, dword [ebp - 0x44]
call fcn.00446f40
mov ecx, dword [ebp - 0x3c]
call fcn.0042bab0
test eax, eax
jne 0x45990b
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.No_domain
mov ecx, esi
call eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.004377b0
xor al, al
jmp 0x45a1a9
cmp dword [ebp + 0x574], 0
jne 0x45991e
mov dword [ebp + 0x574], 0x50
mov ecx, dword [ebp - 0x3c]
push ecx
push str.domain
mov ecx, esi
call fcn.004370f0
mov edx, dword [ebp + 0x574]
push edx
push str.port
mov ecx, esi
call fcn.004373b0
mov eax, dword [ebp + 0x578]
push eax
push 0x58f824
mov ecx, esi
call fcn.00437380
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [ebp - 0x24]
add ecx, 0x30
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], ecx
call fcn.0042c960
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp + 0x57c]
mov eax, dword [ebp + 0x578]
push esi
push ecx
mov ecx, dword [ebp + 0x574]
push edx
mov edx, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x54]
push ecx
mov ecx, dword [ebp - 0x20]
push edx
push eax
push ecx
mov ecx, ebx
call fcn.00459200
test al, al
jne 0x4599d6
mov edx, dword [ebp - 0x24]
cmp dword [edx + 0x28], 0x32
jne 0x4598f5
mov edi, dword [ebp - 0x74]
mov ecx, edi
call fcn.0042bab0
test eax, eax
je 0x4598f5
push esi
mov ecx, edi
call fcn.0051b3b0
mov ecx, dword [ebp - 0x14]
push eax
add ecx, 0x190
call fcn.0044ffa0
jmp 0x4598f5
mov eax, dword [ebp - 0x78]
push eax
push str.connectTime
mov ecx, esi
call fcn.00436e60
test edi, edi
je 0x4599fa
push esi
mov ecx, edi
call fcn.00485430
test al, al
jne 0x4598f5
lea ecx, [ebp + 0x400]
mov byte [ebx + 0x841], 0
mov byte [ebx + 0x840], 0
call fcn.0042d110
mov ecx, dword [ebp - 0x1c]
push ecx
lea ecx, [ebp + 0x400]
mov byte [ebp - 4], 1
call fcn.0042eb10
push 0x20
lea ecx, [ebp + 0x400]
call fcn.0042c770
push str.HEAD
lea ecx, [ebp + 0x400]
call fcn.0042f1d0
push 0x58ed38
lea ecx, [ebp + 0x400]
mov byte [ebp - 0x27], al
call fcn.0042f1d0
mov byte [ebp - 0x15], al
test edi, edi
je 0x459ac1
lea ecx, [ebp + 0x4e8]
call fcn.0042d110
lea edx, [ebp + 0x400]
push edx
lea ecx, [ebp + 0x4e8]
mov byte [ebp - 4], 2
call fcn.0042eb10
push 0x2c
lea ecx, [ebp + 0x4e8]
call fcn.0042f880
mov eax, dword [ebp - 0x48]
push eax
lea ecx, [ebp + 0x4e8]
call fcn.0042eb10
lea ecx, [ebp + 0x4e8]
call fcn.0051b3b0
push eax
push str.HttpRequestBegin
mov ecx, edi
call fcn.004851b0
lea ecx, [ebp + 0x4e8]
mov byte [ebp - 4], 1
call fcn.0042d1d0
cmp byte [esi + 0x121], 0
je 0x459b6a
lea ecx, [ebp + 0x4e8]
call fcn.0042d110
mov ecx, dword [ebp - 0x1c]
push ecx
lea ecx, [ebp + 0x4e8]
mov byte [ebp - 4], 3
call fcn.0042eb10
lea ecx, [ebp + 0x4e8]
call fcn.0042bc00
lea edx, [ebp + 0x4e8]
push edx
push str.startLine
mov ecx, esi
call fcn.004370f0
lea ecx, [ebp + 0x4e8]
call fcn.0042c960
mov eax, dword [ebp - 0x2c]
push eax
lea ecx, [ebp + 0x4e8]
call fcn.0042eb10
lea ecx, [ebp + 0x4e8]
call fcn.0042bc00
mov edx, dword [esi]
mov eax, dword [edx + 0x24]
push 1
push str.fullRequestHeader
mov ecx, esi
call eax
lea ecx, [ebp + 0x4e8]
push ecx
push str.requestHeader
mov ecx, esi
call fcn.004370f0
mov edx, dword [esi]
mov eax, dword [edx + 0x28]
mov ecx, esi
call eax
lea ecx, [ebp + 0x4e8]
mov byte [ebp - 4], 1
call fcn.0042d1d0
test edi, edi
je 0x459b83
mov ecx, dword [ebp - 0x2c]
call fcn.0051b3b0
push eax
push str.RequestHeader
mov ecx, edi
call fcn.004851b0
lea ecx, [ebp + 0x474]
call fcn.0042d110
mov ecx, dword [ebp - 0x1c]
push ecx
lea ecx, [ebp + 0x474]
mov byte [ebp - 4], 4
call fcn.0042eb10
mov edx, dword [ebp - 0x2c]
push edx
lea ecx, [ebp + 0x474]
call fcn.0042eb10
cmp dword [ebx + 0x590], 0x99b4002d
je 0x459bec
push esi
push 0x67
call fcn.004778b0
add esp, 8
mov bl, al
lea ecx, [ebp + 0x474]
mov byte [ebp - 4], 1
call fcn.0042d1d0
lea ecx, [ebp + 0x400]
mov byte [ebp - 4], 0
call fcn.0042d1d0
jmp 0x4598af
test edi, edi
je 0x459c57
lea ecx, [ebp + 0x474]
call fcn.0042bab0
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x56c]
push esi
push eax
mov dword [ebp - 0x48], 0
call fcn.00472050
mov ecx, dword [ebp - 0x4c]
add ecx, eax
mov eax, dword [ebp - 0x48]
adc eax, edx
push eax
push ecx
mov dword [ebp - 0x4c], ecx
push str.StartSendingRequest
mov ecx, edi
mov dword [ebp - 0x48], eax
call fcn.004852d0
mov ecx, dword [ebp - 0x20]
cmp byte [ecx + 0x154], 0
jne 0x459c57
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
add eax, 0x200
push esi
adc ecx, 0
push ecx
push eax
mov ecx, edi
call fcn.004858f0
mov ecx, dword [ebp - 0x14]
lea edx, [ebp + 0x474]
push edx
call fcn.0044e420
cmp dword [ebx + 0x590], 0x99b4002d
push esi
je 0x459c7a
push 0x68
jmp 0x459bbf
lea ecx, [ebx + 0x688]
push 0
call fcn.004a9680
push edi
call fcn.00457920
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
add esp, 4
push esi
push eax
mov eax, dword [edx + 0xf60]
push ecx
push eax
lea ecx, [ebp + 0x474]
push ecx
mov ecx, ebx
call fcn.00458370
test al, al
jne 0x459cf1
push edi
push 0
call fcn.00457940
mov byte [ebx + 0x842], 1
mov byte [ebx + 0x840], 1
add esp, 8
lea ecx, [ebp + 0x474]
mov byte [ebp - 4], 1
call fcn.0042d1d0
lea ecx, [ebp + 0x400]
mov byte [ebp - 4], 0
call fcn.0042d1d0
jmp 0x4598f5
cmp dword [ebx + 0x590], 0x99b4002d
je 0x459d05
push esi
push 0x69
jmp 0x459bbf
push str._nExpect:
lea ecx, [ebp + 0x474]
mov byte [ebp - 0x25], 0
mov byte [ebp - 0x26], 0
call fcn.0042efe0
test al, al
je 0x459f13
push str.100_continue
lea ecx, [ebp + 0x474]
call fcn.0042efe0
test al, al
je 0x459f13
push str.expect100Continue
push esi
lea ecx, [ebp - 0x50]
call fcn.00437740
mov byte [ebp - 4], 5
mov byte [ebp - 0x26], 1
test edi, edi
je 0x459d78
push str.Begin_reading_100_continue_response.
push str.HttpInfo
mov ecx, edi
call fcn.004851b0
push esi
mov ecx, edi
call fcn.00485430
test al, al
jne 0x45a42b
push edi
push 1
call fcn.00457940
push edi
call fcn.00457960
add esp, 0xc
cmp dword [ebx + 0x590], 0x99b4002d
push esi
je 0x459db3
push 0x6a
call fcn.004778b0
add esp, 8
lea ecx, [ebp - 0x50]
mov bl, al
mov byte [ebp - 4], 4
call fcn.004377b0
jmp 0x459bc9
push 1
lea ecx, [ebx + 0x688]
call fcn.004a9680
lea ecx, [ebp - 0x70]
call fcn.00447240
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
push esi
push edx
lea eax, [ebp - 0x70]
push eax
push 0
push ecx
mov ecx, ebx
mov byte [ebp - 4], 6
call fcn.00458490
push esi
push edi
push 0
lea ecx, [ebx + 0x688]
mov byte [ebp - 0x2c], al
call fcn.004a9690
mov edx, dword [ebp - 0x2c]
push edi
push edx
call fcn.00457980
add esp, 8
cmp byte [ebp - 0x2c], 0
je 0x459edf
push esi
push edi
push 1
lea ecx, [ebx + 0x688]
call fcn.004a9690
lea ecx, [ebp]
call fcn.0044ddb0
push esi
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp + 0x190]
mov byte [ebp - 4], 7
call fcn.004505a0
mov eax, dword [ebp + 0x2d4]
mov dword [ebp - 0x2c], eax
test edi, edi
je 0x459e50
push eax
push str.HttpStatusCode
mov ecx, edi
call fcn.00485230
mov ecx, dword [ebp - 0x2c]
push ecx
push str.statusCode
mov ecx, esi
call fcn.004373b0
lea ecx, [ebp + 0x4e8]
call fcn.0042d110
lea edx, [ebp + 0x4e8]
push edx
lea ecx, [ebp + 0x190]
mov byte [ebp - 4], 8
call fcn.0044fa20
lea eax, [ebp + 0x4e8]
push eax
push str.statusText
mov ecx, esi
call fcn.004370f0
lea ecx, [ebp + 0x4e8]
mov byte [ebp - 4], 7
call fcn.0042d1d0
cmp dword [ebp - 0x2c], 0x64
je 0x459ec0
push esi
lea ecx, [ebp - 0x70]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x190
mov byte [ebp - 0x25], 1
call fcn.004505a0
mov edx, dword [ebp - 0x20]
push edi
push esi
push edx
lea eax, [ebp]
push eax
mov ecx, ebx
call fcn.00453190
lea ecx, [ebp]
mov byte [ebp - 4], 6
call fcn.0044de50
jmp 0x459eed
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.Failed_to_receive_the_100_continue_response__continuing_anyway...
mov ecx, esi
call eax
push esi
push 0
lea ecx, [ebx + 0x688]
call fcn.004a9680
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 5
call fcn.004479b0
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 4
call fcn.004377b0
cmp dword [ebx + 0x590], 0x99b4002d
je 0x459f27
push esi
push 0x6b
jmp 0x459bbf
cmp byte [ebp - 0x25], 0
jne 0x45a385
cmp byte [ebp - 0x26], 0
je 0x459f40
push edi
call fcn.00457920
add esp, 4
lea ecx, [ebx + 0x820]
call fcn.00446f40
cmp byte [ebp - 0x15], 0
jne 0x45a1da
cmp byte [ebp - 0x27], 0
jne 0x45a1da
push esi
push 0
lea ecx, [ebx + 0x688]
call fcn.004a9680
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x54]
push esi
push edx
mov edx, dword [ebp - 0x40]
push ecx
lea eax, [ebx + 0x58c]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0xf60]
mov eax, dword [ebp + 0x56c]
push ecx
mov ecx, dword [ebp + 0x568]
push edx
push eax
push ecx
mov ecx, ebx
call fcn.004580e0
test al, al
jne 0x45a1d0
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.sendRequestBody_failed.
mov ecx, esi
call eax
lea ecx, [ebx + 0x820]
call fcn.0051d090
push eax
push str.numBytesReceivedWhileSending
mov ecx, esi
call fcn.004373b0
lea ecx, [ebx + 0x820]
call fcn.0051d090
test eax, eax
je 0x45a022
lea ecx, [ebp + 0x4e8]
call fcn.0042d110
lea eax, [ebx + 0x820]
push eax
lea ecx, [ebp + 0x4e8]
mov byte [ebp - 4], 9
call fcn.0042ff60
lea ecx, [ebp + 0x4e8]
push ecx
push str.responseReceivedWhileSending
mov ecx, esi
call fcn.004370f0
lea ecx, [ebp + 0x4e8]
mov byte [ebp - 4], 4
call fcn.0042d1d0
mov edx, dword [ebp - 0x24]
push edi
push 0
mov dword [edx + 0x10], 0
call fcn.00457940
add esp, 8
lea ecx, [ebx + 0x820]
call fcn.0051d090
test eax, eax
je 0x459cce
mov ecx, dword [ebp - 0x14]
push esi
lea eax, [ebx + 0x820]
add ecx, 0x190
push eax
call fcn.004505a0
push 4
push str._r_n_r_n
lea ecx, [ebx + 0x820]
call fcn.004486e0
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x45a0ab
add dword [ebp - 0x1c], 4
lea ecx, [ebx + 0x820]
call fcn.00446f60
mov ecx, dword [ebp - 0x1c]
sub ecx, eax
mov dword [ebp - 0x48], ecx
lea ecx, [ebx + 0x820]
call fcn.0051d090
sub eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00448260
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
push edi
push esi
push ecx
push edx
mov ecx, ebx
call fcn.00453190
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x2d4]
mov dword [ebp - 0x1c], ecx
test edi, edi
je 0x45a0db
mov edx, ecx
push edx
push str.HttpStatusCode
mov ecx, edi
call fcn.00485230
mov eax, dword [ebp - 0x1c]
push eax
push str.statusCode
mov ecx, esi
call fcn.004373b0
lea ecx, [ebp + 0x4e8]
call fcn.0042d110
lea ecx, [ebp + 0x4e8]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x190
mov byte [ebp - 4], 0xa
call fcn.0044fa20
lea edx, [ebp + 0x4e8]
push edx
push str.statusText
mov ecx, esi
call fcn.004370f0
cmp dword [ebp - 0x1c], 0x12c
jge 0x45a140
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
push esi
push edi
push eax
push ecx
mov ecx, ebx
call fcn.004588f0
test al, al
je 0x45a157
cmp dword [ebp - 0x1c], 0x197
jne 0x45a16b
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.Proxy_authentication_failed_or_not_satisfied.
mov ecx, esi
call eax
lea ecx, [ebp + 0x4e8]
mov byte [ebp - 4], 4
call fcn.0042d1d0
jmp 0x459cce
lea ecx, [ebp + 0x4e8]
mov byte [ebp - 4], 4
call fcn.0042d1d0
lea ecx, [ebp + 0x474]
mov byte [ebp - 4], 1
call fcn.0042d1d0
lea ecx, [ebp + 0x400]
mov byte [ebp - 4], 0
call fcn.0042d1d0
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.004377b0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x55c]
xor ecx, ebp
call fcn.005550b0
add ebp, 0x560
mov esp, ebp
pop ebp
ret 0x40
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x10], 0
test edi, edi
je 0x45a1e9
push edi
push 1
call fcn.00457940
add esp, 8
cmp dword [ebx + 0x590], 0x99b4002d
je 0x45a1fd
push esi
push 0x6c
jmp 0x459bbf
test edi, edi
je 0x45a222
push str.Begin_reading_response
push str.HttpInfo
mov ecx, edi
call fcn.004851b0
push esi
mov ecx, edi
call fcn.00485430
test al, al
jne 0x459cce
push edi
call fcn.00457960
add esp, 4
call sub.KERNEL32.dll_GetTickCount
push esi
push 1
lea ecx, [ebx + 0x688]
call fcn.004a9680
lea ecx, [ebp - 0x70]
call fcn.00447240
lea eax, [ebx + 0x820]
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xb
call fcn.00449d90
cmp dword [ebx + 0x590], 0x99b4002d
push esi
je 0x45a283
push 0x6d
call fcn.004778b0
add esp, 8
lea ecx, [ebp - 0x70]
mov bl, al
mov byte [ebp - 4], 4
call fcn.004479b0
jmp 0x459bc9
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
push edx
lea eax, [ebp - 0x70]
push eax
lea eax, [ebx + 0x820]
push eax
push ecx
mov ecx, ebx
call fcn.00458490
push esi
push edi
push 0
lea ecx, [ebx + 0x688]
mov byte [ebp - 0x15], al
call fcn.004a9690
cmp byte [ebp - 0x15], 0
jne 0x45a2d1
push edi
push 0
call fcn.00457980
add esp, 8
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 4
call fcn.004479b0
jmp 0x459cce
push esi
push edi
push 1
lea ecx, [ebx + 0x688]
call fcn.004a9690
mov ecx, dword [ebp - 0x14]
push esi
lea edx, [ebp - 0x70]
add ecx, 0x190
push edx
call fcn.004505a0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
push edi
push esi
push eax
push ecx
mov ecx, ebx
call fcn.00453190
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x2d4]
mov dword [ebp - 0x40], eax
test edi, edi
je 0x45a323
mov ecx, eax
push ecx
push str.HttpStatusCode
mov ecx, edi
call fcn.00485230
mov edx, dword [ebp - 0x40]
push edx
push str.statusCode
mov ecx, esi
call fcn.004373b0
lea ecx, [ebp + 0x4e8]
call fcn.0042d110
mov ecx, dword [ebp - 0x14]
lea eax, [ebp + 0x4e8]
push eax
add ecx, 0x190
mov byte [ebp - 4], 0xc
call fcn.0044fa20
lea ecx, [ebp + 0x4e8]
push ecx
push str.statusText
mov ecx, esi
call fcn.004370f0
lea ecx, [ebp + 0x4e8]
mov byte [ebp - 4], 0xb
call fcn.0042d1d0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 4
call fcn.004479b0
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x2d4]
mov dword [ebp - 0x1c], eax
cmp eax, 0x64
jne 0x45a4ff
push str.unexpected100Continue
push esi
lea ecx, [ebp - 0x50]
call fcn.00437740
mov byte [ebp - 4], 0xd
test edi, edi
je 0x45a3cd
push str.Begin_reading_response_again
push str.HttpInfo
mov ecx, edi
call fcn.004851b0
push esi
mov ecx, edi
call fcn.00485430
test al, al
jne 0x45a42b
push edi
call fcn.00457960
add esp, 4
call sub.KERNEL32.dll_GetTickCount
push esi
push 1
lea ecx, [ebx + 0x688]
call fcn.004a9680
lea ecx, [ebp - 0x70]
call fcn.00447240
mov eax, dword [ebp - 0x24]
push esi
push eax
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x70]
push ecx
lea edx, [ebx + 0x820]
push edx
push eax
mov ecx, ebx
mov byte [ebp - 4], 0xe
call fcn.00458490
test al, al
jne 0x45a43c
push edi
push 0
call fcn.00457980
add esp, 8
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xd
call fcn.004479b0
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 4
call fcn.004377b0
jmp 0x459cce
push esi
push edi
push 1
lea ecx, [ebx + 0x688]
call fcn.004a9690
mov ecx, dword [ebp - 0x14]
push esi
lea edx, [ebp - 0x70]
add ecx, 0x190
push edx
call fcn.004505a0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
push edi
push esi
push eax
push ecx
mov ecx, ebx
call fcn.00453190
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x2d4]
mov dword [ebp - 0x1c], eax
test edi, edi
je 0x45a48e
mov ecx, eax
push ecx
push str.HttpStatusCode
mov ecx, edi
call fcn.00485230
mov edx, dword [ebp - 0x1c]
push edx
push str.statusCode
mov ecx, esi
call fcn.004373b0
lea ecx, [ebp + 0x4e8]
call fcn.0042d110
mov ecx, dword [ebp - 0x14]
lea eax, [ebp + 0x4e8]
push eax
add ecx, 0x190
mov byte [ebp - 4], 0xf
call fcn.0044fa20
lea ecx, [ebp + 0x4e8]
push ecx
push str.statusText
mov ecx, esi
call fcn.004370f0
lea ecx, [ebp + 0x4e8]
mov byte [ebp - 4], 0xe
call fcn.0042d1d0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xd
call fcn.004479b0
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 4
call fcn.004377b0
mov eax, dword [ebp - 0x1c]
cmp eax, 0x12c
jge 0x45a51f
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
push esi
push edi
push edx
push eax
mov ecx, ebx
call fcn.004588f0
test al, al
je 0x459cce
cmp byte [ebp - 0x27], 0
jne 0x45a6f1
mov ecx, dword [ebp - 0x20]
add ecx, 0x158
call fcn.0042bab0
test eax, eax
je 0x45a694
mov eax, dword [ebp - 0x20]
add eax, 0x158
push eax
push str.streamResponseBodyPath
mov ecx, esi
call fcn.004370f0
mov ecx, dword [ebp - 0x20]
push esi
add ecx, 0x158
call fcn.0051b3b0
push eax
call fcn.00473ed0
add esp, 8
test eax, eax
je 0x459cce
push esi
push 1
lea ecx, [ebx + 0x688]
mov dword [ebp - 0x3c], eax
call fcn.004a9680
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x3c]
push esi
push eax
mov eax, dword [ebp - 0x14]
push 0
push ecx
mov ecx, dword [ebp - 0x20]
lea edx, [ebx + 0x820]
push edx
push eax
push ecx
mov ecx, ebx
call fcn.00458ad0
cmp dword [ebp - 0x3c], 0
mov byte [ebp - 0x15], al
je 0x45a5bb
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
push 1
call eax
mov ecx, dword [ebp - 0x44]
call fcn.0051d090
cmp byte [esi + 0x121], 0
mov dword [ebp - 0x40], eax
je 0x45a5de
mov ecx, eax
push ecx
push str.responseBodySize
mov ecx, esi
call fcn.004373b0
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x2d4], 0x190
jl 0x45a681
mov eax, dword [ebp - 0x40]
test eax, eax
jbe 0x45a681
cmp byte [esi + 0x121], 0
jne 0x45a60c
cmp eax, 0x2000
ja 0x45a681
lea ecx, [ebp + 0x2e8]
call fcn.0040e280
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0x13
call fcn.00447240
mov eax, dword [ebp - 0x44]
push eax
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0x14
call fcn.00449d90
push str.utf_8
lea ecx, [ebp - 0x94]
push ecx
lea ecx, [ebp + 0x2e8]
call fcn.0040f290
lea edx, [ebp + 0x2e8]
push edx
push str.errResponseBody
mov ecx, esi
call fcn.004370a0
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0x13
call fcn.004479b0
lea ecx, [ebp + 0x2e8]
mov byte [ebp - 4], 4
call fcn.0040e320
cmp byte [ebp - 0x15], 0
jne 0x45a6e2
push edi
push 0
call fcn.00457980
jmp 0x459ccb
push 0x188
mov byte [ebp - 4], 0x10
call fcn.0055562d
mov ecx, eax
add esp, 4
mov dword [ebp - 0x48], ecx
mov byte [ebp - 4], 0x11
test ecx, ecx
je 0x45a6c7
mov edx, dword [ebp - 0x44]
push edx
call fcn.004bb8b0
mov dword [ebp - 4], 4
jmp 0x45a56c
xor eax, eax
mov dword [ebp - 4], 4
jmp 0x45a56c
push esi
push edi
push 1
lea ecx, [ebx + 0x688]
call fcn.004a9690
push edi
push 1
call fcn.00457980
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
add esp, 8
push esi
push edi
push eax
push ecx
push 0
mov ecx, ebx
call fcn.00459070
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x20]
push esi
push edi
push edx
push eax
push ecx
call fcn.004579d0
add esp, 0x14
test al, al
jne 0x45a73c
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.Failed_to_ungzip_response_body.
mov ecx, esi
call eax
jmp 0x459cce
cmp dword [ebp - 0x1c], 0x197
jne 0x45a17a
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.Proxy_authentication_failed_or_not_satisfied.
mov ecx, esi
call eax
jmp 0x459cce