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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aaf24
mov eax, dword fs:[0]
push eax
sub esp, 0x5e8
mov eax, dword [0x676664]
xor eax, ebp
mov dword [ebp - 0x14], 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 + 0x10]
mov edx, dword [ebp + 0x24]
mov esi, dword [ebp + 0x44]
mov ebx, ecx
mov ecx, dword [ebp + 0x20]
mov dword [ebp - 0x59c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x580], ecx
mov ecx, dword [ebp + 0x2c]
mov dword [ebp - 0x5b4], edx
mov edx, dword [ebp + 0x30]
mov dword [ebp - 0x57c], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x5a8], ecx
mov ecx, dword [ebp + 0x38]
mov dword [ebp - 0x58c], edx
mov edx, dword [ebp + 0x3c]
mov dword [ebp - 0x5a0], eax
mov eax, dword [ebp + 0x40]
push str.fullHttpRequest
mov dword [ebp - 0x574], ecx
push esi
lea ecx, [ebp - 0x598]
mov dword [ebp - 0x5a4], edx
mov dword [ebp - 0x584], eax
call fcn.0044ec60
cmp dword [ebx + 0x5b4], 0x99b4002d
mov dword [ebp - 4], 0
je 0x4d556a
push esi
push 0x66
call fcn.004bf510
add esp, 8
mov bl, al
lea ecx, [ebp - 0x598]
mov dword [ebp - 4], 0xffffffff
call fcn.0044ecf0
mov al, bl
jmp 0x4d5f46
mov ecx, dword [ebp - 0x584]
mov edi, dword [ecx + 4]
mov ecx, dword [ebp - 0x574]
call fcn.004da600
mov ecx, dword [ebp - 0x5a4]
call fcn.00410b40
mov ecx, dword [ebp - 0x59c]
call fcn.00442580
test eax, eax
jne 0x4d55bf
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.No_domain
mov ecx, esi
call eax
lea ecx, [ebp - 0x598]
mov dword [ebp - 4], 0xffffffff
call fcn.0044ecf0
xor al, al
jmp 0x4d5f46
cmp dword [ebp + 0x14], 0
jne 0x4d55cc
mov dword [ebp + 0x14], 0x50
mov ecx, dword [ebp - 0x59c]
push ecx
push str.domain
mov ecx, esi
call fcn.0044e520
mov edx, dword [ebp + 0x14]
push edx
push str.port
mov ecx, esi
call fcn.0044e8c0
mov eax, dword [ebp + 0x18]
push eax
push 0x5becf4
mov ecx, esi
call fcn.0044e880
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [ebp - 0x584]
add ecx, 0x30
mov dword [ebp - 0x5d8], eax
mov dword [ebp - 0x5d4], ecx
call fcn.004439b0
mov ecx, dword [ebp - 0x584]
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
push esi
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp - 0x59c]
push eax
mov eax, dword [ebp - 0x5b4]
push ecx
mov ecx, dword [ebp - 0x580]
push edx
push eax
push ecx
mov ecx, ebx
call fcn.004d4dd0
test al, al
jne 0x4d5696
mov edx, dword [ebp - 0x584]
cmp dword [edx + 0x28], 0x32
jne 0x4d55a6
mov edi, dword [ebp - 0x5d4]
mov ecx, edi
call fcn.00442580
test eax, eax
je 0x4d55a6
push esi
mov ecx, edi
call fcn.00410b70
mov ecx, dword [ebp - 0x574]
push eax
add ecx, 0x190
call fcn.004cdef0
jmp 0x4d55a6
mov eax, dword [ebp - 0x5d8]
push eax
push str.connectTime
mov ecx, esi
call fcn.0044e1d0
test edi, edi
je 0x4d56bd
push esi
mov ecx, edi
call fcn.00463a30
test al, al
jne 0x4d55a6
lea ecx, [ebp - 0x170]
mov word [ebx + 0x868], 0
call fcn.00444390
mov ecx, dword [ebp - 0x57c]
push ecx
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 1
call fcn.00445f20
push 0x20
lea ecx, [ebp - 0x170]
call fcn.004437a0
push str.HEAD
lea ecx, [ebp - 0x170]
call fcn.00446650
push 0x64729c
lea ecx, [ebp - 0x170]
mov byte [ebp - 0x587], al
call fcn.00446650
mov byte [ebp - 0x575], al
test edi, edi
je 0x4d578b
lea ecx, [ebp - 0x88]
call fcn.00444390
lea edx, [ebp - 0x170]
push edx
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 2
call fcn.00445f20
push 0x2c
lea ecx, [ebp - 0x88]
call fcn.00446e90
mov eax, dword [ebp - 0x5a8]
push eax
lea ecx, [ebp - 0x88]
call fcn.00445f20
lea ecx, [ebp - 0x88]
call fcn.00410b70
push eax
push str.HttpRequestBegin
mov ecx, edi
call fcn.00463730
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 1
call fcn.00444450
cmp byte [esi + 0x125], 0
je 0x4d583a
lea ecx, [ebp - 0x88]
call fcn.00444390
mov ecx, dword [ebp - 0x57c]
push ecx
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 3
call fcn.00445f20
lea ecx, [ebp - 0x88]
call fcn.00442720
lea edx, [ebp - 0x88]
push edx
push str.startLine
mov ecx, esi
call fcn.0044e520
lea ecx, [ebp - 0x88]
call fcn.004439b0
mov eax, dword [ebp - 0x58c]
push eax
lea ecx, [ebp - 0x88]
call fcn.00445f20
lea ecx, [ebp - 0x88]
call fcn.00442720
mov edx, dword [esi]
mov eax, dword [edx + 0x24]
push 1
push str.fullRequestHeader
mov ecx, esi
call eax
lea ecx, [ebp - 0x88]
push ecx
push str.requestHeader
mov ecx, esi
call fcn.0044e520
mov edx, dword [esi]
mov eax, dword [edx + 0x28]
mov ecx, esi
call eax
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 1
call fcn.00444450
test edi, edi
je 0x4d5856
mov ecx, dword [ebp - 0x58c]
call fcn.00410b70
push eax
push str.RequestHeader
mov ecx, edi
call fcn.00463730
lea ecx, [ebp - 0xfc]
call fcn.00444390
mov ecx, dword [ebp - 0x57c]
push ecx
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 4
call fcn.00445f20
mov edx, dword [ebp - 0x58c]
push edx
lea ecx, [ebp - 0xfc]
call fcn.00445f20
cmp dword [ebx + 0x5b4], 0x99b4002d
je 0x4d58c5
push esi
push 0x67
call fcn.004bf510
add esp, 8
mov bl, al
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 1
call fcn.00444450
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 0
call fcn.00444450
jmp 0x4d5551
test edi, edi
je 0x4d594f
lea ecx, [ebp - 0xfc]
call fcn.00442580
mov ecx, dword [ebp - 0x5a0]
mov dword [ebp - 0x5ac], eax
mov eax, dword [ebp + 0xc]
push esi
push eax
mov dword [ebp - 0x5a8], 0
call fcn.004e28f0
mov ecx, dword [ebp - 0x5ac]
add ecx, eax
mov eax, dword [ebp - 0x5a8]
adc eax, edx
push eax
push ecx
mov dword [ebp - 0x5ac], ecx
push str.StartSendingRequest
mov ecx, edi
mov dword [ebp - 0x5a8], eax
call fcn.004638d0
mov ecx, dword [ebp - 0x580]
cmp byte [ecx + 0x15c], 0
jne 0x4d594f
mov eax, dword [ebp - 0x5ac]
mov ecx, dword [ebp - 0x5a8]
add eax, 0x200
push esi
adc ecx, 0
push ecx
push eax
mov ecx, edi
call fcn.00463f00
mov ecx, dword [ebp - 0x574]
lea edx, [ebp - 0xfc]
push edx
call fcn.004da680
cmp dword [ebx + 0x5b4], 0x99b4002d
push esi
je 0x4d5975
push 0x68
jmp 0x4d5898
lea ecx, [ebx + 0x6b0]
push 0
call fcn.0057b870
push edi
call fcn.004d3100
mov eax, dword [ebp - 0x5b4]
mov ecx, dword [ebp - 0x584]
mov edx, dword [ebp - 0x580]
add esp, 4
push esi
push eax
mov eax, dword [edx + 0x11d0]
push ecx
push eax
lea ecx, [ebp - 0xfc]
push ecx
mov ecx, ebx
call fcn.004d3bc0
test al, al
jne 0x4d59f5
push edi
push 0
call fcn.004d3120
mov byte [ebx + 0x86a], 1
mov byte [ebx + 0x868], 1
add esp, 8
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 1
call fcn.00444450
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 0
call fcn.00444450
jmp 0x4d55a6
cmp dword [ebx + 0x5b4], 0x99b4002d
je 0x4d5a09
push esi
push 0x69
jmp 0x4d5898
push str._nExpect:
lea ecx, [ebp - 0xfc]
mov byte [ebp - 0x585], 0
mov byte [ebp - 0x586], 0
call fcn.00446450
test al, al
je 0x4d5c62
push str.100_continue
lea ecx, [ebp - 0xfc]
call fcn.00446450
test al, al
je 0x4d5c62
push str.expect100Continue
push esi
lea ecx, [ebp - 0x5b0]
call fcn.0044ec60
mov byte [ebp - 4], 5
mov byte [ebp - 0x586], 1
test edi, edi
je 0x4d5a88
push str.Begin_reading_100_continue_response.
push str.HttpInfo
mov ecx, edi
call fcn.00463730
push esi
mov ecx, edi
call fcn.00463a30
test al, al
jne 0x4d6210
push edi
push 1
call fcn.004d3120
push edi
call fcn.004d3150
add esp, 0xc
cmp dword [ebx + 0x5b4], 0x99b4002d
push esi
je 0x4d5ac6
push 0x6a
call fcn.004bf510
add esp, 8
lea ecx, [ebp - 0x5b0]
mov bl, al
mov byte [ebp - 4], 4
call fcn.0044ecf0
jmp 0x4d58a2
push 1
lea ecx, [ebx + 0x6b0]
call fcn.0057b870
lea ecx, [ebp - 0x5d0]
call fcn.00410e50
mov edx, dword [ebp - 0x584]
mov ecx, dword [ebp - 0x580]
push esi
push edx
lea eax, [ebp - 0x5d0]
push eax
push 0
push ecx
mov ecx, ebx
mov byte [ebp - 4], 6
call fcn.004d3d10
push esi
push edi
push 0
lea ecx, [ebx + 0x6b0]
mov byte [ebp - 0x58c], al
call fcn.0057b890
mov edx, dword [ebp - 0x58c]
push edi
push edx
call fcn.004d3170
add esp, 8
cmp byte [ebp - 0x58c], 0
je 0x4d5c28
push esi
push edi
push 1
lea ecx, [ebx + 0x6b0]
call fcn.0057b890
lea ecx, [ebp - 0x570]
call fcn.004da060
push esi
lea eax, [ebp - 0x5d0]
push eax
lea ecx, [ebp - 0x3e0]
mov byte [ebp - 4], 7
call fcn.004ce5f0
mov eax, dword [ebp - 0x29c]
mov dword [ebp - 0x58c], eax
test edi, edi
je 0x4d5b81
push eax
push str.HttpStatusCode
mov ecx, edi
call fcn.00463830
mov ecx, dword [ebp - 0x58c]
push ecx
push str.statusCode
mov ecx, esi
call fcn.0044e8c0
lea ecx, [ebp - 0x88]
call fcn.00444390
lea edx, [ebp - 0x88]
push edx
lea ecx, [ebp - 0x3e0]
mov byte [ebp - 4], 8
call fcn.004cda10
lea eax, [ebp - 0x88]
push eax
push str.statusText
mov ecx, esi
call fcn.0044e520
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 7
call fcn.00444450
cmp dword [ebp - 0x58c], 0x64
je 0x4d5c00
push esi
lea ecx, [ebp - 0x5d0]
push ecx
mov ecx, dword [ebp - 0x574]
add ecx, 0x190
mov byte [ebp - 0x585], 1
call fcn.004ce5f0
mov edx, dword [ebp - 0x580]
push edi
push esi
push edx
lea eax, [ebp - 0x570]
push eax
mov ecx, ebx
call fcn.004ceaa0
lea ecx, [ebp - 0x570]
mov byte [ebp - 4], 6
call fcn.004da100
jmp 0x4d5c36
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 + 0x6b0]
call fcn.0057b870
lea ecx, [ebp - 0x5d0]
mov byte [ebp - 4], 5
call fcn.00411620
lea ecx, [ebp - 0x5b0]
mov byte [ebp - 4], 4
call fcn.0044ecf0
cmp dword [ebx + 0x5b4], 0x99b4002d
je 0x4d5c76
push esi
push 0x6b
jmp 0x4d5898
cmp byte [ebp - 0x585], 0
jne 0x4d6152
cmp byte [ebp - 0x586], 0
je 0x4d5c95
push edi
call fcn.004d3100
add esp, 4
lea ecx, [ebx + 0x848]
call fcn.00410b40
cmp byte [ebp - 0x575], 0
jne 0x4d5f71
cmp byte [ebp - 0x587], 0
jne 0x4d5f71
push esi
push 0
lea ecx, [ebx + 0x6b0]
call fcn.0057b870
mov ecx, dword [ebp - 0x584]
mov edx, dword [ebp - 0x5b4]
push esi
push edx
mov edx, dword [ebp - 0x5a0]
push ecx
lea eax, [ebx + 0x5b0]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x580]
mov ecx, dword [eax + 0x11d0]
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
mov ecx, ebx
call fcn.004d3900
test al, al
jne 0x4d5f64
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.sendRequestBody_failed.
mov ecx, esi
call eax
lea ecx, [ebx + 0x848]
call fcn.00410b60
push eax
push str.numBytesReceivedWhileSending
mov ecx, esi
call fcn.0044e8c0
lea ecx, [ebx + 0x848]
call fcn.00410b60
test eax, eax
je 0x4d5d83
lea ecx, [ebp - 0x88]
call fcn.00444390
lea eax, [ebx + 0x848]
push eax
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 9
call fcn.004475e0
lea ecx, [ebp - 0x88]
push ecx
push str.responseReceivedWhileSending
mov ecx, esi
call fcn.0044e520
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 4
call fcn.00444450
mov edx, dword [ebp - 0x584]
push edi
push 0
mov dword [edx + 0x10], 0
call fcn.004d3120
add esp, 8
lea ecx, [ebx + 0x848]
call fcn.00410b60
test eax, eax
je 0x4d59d2
mov ecx, dword [ebp - 0x574]
push esi
lea eax, [ebx + 0x848]
add ecx, 0x190
push eax
call fcn.004ce5f0
push 4
push str._r_n_r_n
lea ecx, [ebx + 0x848]
call fcn.004122c0
mov dword [ebp - 0x57c], eax
test eax, eax
je 0x4d5e27
add dword [ebp - 0x57c], 4
lea ecx, [ebx + 0x848]
call fcn.00410b80
mov ecx, dword [ebp - 0x57c]
sub ecx, eax
mov dword [ebp - 0x5a8], ecx
lea ecx, [ebx + 0x848]
call fcn.00410b60
sub eax, dword [ebp - 0x5a8]
mov ecx, dword [ebp - 0x5a4]
push eax
mov eax, dword [ebp - 0x57c]
push eax
call fcn.00411e60
mov ecx, dword [ebp - 0x580]
mov edx, dword [ebp - 0x574]
push edi
push esi
push ecx
push edx
mov ecx, ebx
call fcn.004ceaa0
mov eax, dword [ebp - 0x574]
mov ecx, dword [eax + 0x2d4]
mov dword [ebp - 0x57c], ecx
test edi, edi
je 0x4d5e63
mov edx, ecx
push edx
push str.HttpStatusCode
mov ecx, edi
call fcn.00463830
mov eax, dword [ebp - 0x57c]
push eax
push str.statusCode
mov ecx, esi
call fcn.0044e8c0
lea ecx, [ebp - 0x88]
call fcn.00444390
lea ecx, [ebp - 0x88]
push ecx
mov ecx, dword [ebp - 0x574]
add ecx, 0x190
mov byte [ebp - 4], 0xa
call fcn.004cda10
lea edx, [ebp - 0x88]
push edx
push str.statusText
mov ecx, esi
call fcn.0044e520
cmp dword [ebp - 0x57c], 0x12c
jge 0x4d5ed7
mov eax, dword [ebp - 0x574]
mov ecx, dword [ebp - 0x580]
push esi
push edi
push eax
push ecx
mov ecx, ebx
call fcn.004d4320
test al, al
je 0x4d5ef1
cmp dword [ebp - 0x57c], 0x197
jne 0x4d5f05
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 - 0x88]
mov byte [ebp - 4], 4
call fcn.00444450
jmp 0x4d59d2
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 4
call fcn.00444450
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 1
call fcn.00444450
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 0
call fcn.00444450
lea ecx, [ebp - 0x598]
mov dword [ebp - 4], 0xffffffff
call fcn.0044ecf0
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 - 0x14]
xor ecx, ebp
call fcn.0059af98
mov esp, ebp
pop ebp
ret 0x40
mov ecx, dword [ebp - 0x584]
mov dword [ecx + 0x10], 0
test edi, edi
je 0x4d5f80
push edi
push 1
call fcn.004d3120
add esp, 8
cmp dword [ebx + 0x5b4], 0x99b4002d
je 0x4d5f94
push esi
push 0x6c
jmp 0x4d5898
test edi, edi
je 0x4d5fb9
push str.Begin_reading_response
push str.HttpInfo
mov ecx, edi
call fcn.00463730
push esi
mov ecx, edi
call fcn.00463a30
test al, al
jne 0x4d59d2
push edi
call fcn.004d3150
add esp, 4
call sub.KERNEL32.dll_GetTickCount
push esi
push 1
lea ecx, [ebx + 0x6b0]
call fcn.0057b870
lea ecx, [ebp - 0x5d0]
call fcn.00410e50
lea eax, [ebx + 0x848]
push eax
lea ecx, [ebp - 0x5d0]
mov byte [ebp - 4], 0xb
call fcn.00413bd0
cmp dword [ebx + 0x5b4], 0x99b4002d
push esi
je 0x4d6023
push 0x6d
call fcn.004bf510
add esp, 8
lea ecx, [ebp - 0x5d0]
mov bl, al
mov byte [ebp - 4], 4
call fcn.00411620
jmp 0x4d58a2
mov edx, dword [ebp - 0x584]
mov ecx, dword [ebp - 0x580]
push edx
lea eax, [ebp - 0x5d0]
push eax
lea eax, [ebx + 0x848]
push eax
push ecx
mov ecx, ebx
call fcn.004d3d10
push esi
push edi
push 0
lea ecx, [ebx + 0x6b0]
mov byte [ebp - 0x575], al
call fcn.0057b890
cmp byte [ebp - 0x575], 0
jne 0x4d6083
push edi
push 0
call fcn.004d3170
add esp, 8
lea ecx, [ebp - 0x5d0]
mov byte [ebp - 4], 4
call fcn.00411620
jmp 0x4d59d2
push esi
push edi
push 1
lea ecx, [ebx + 0x6b0]
call fcn.0057b890
mov ecx, dword [ebp - 0x574]
push esi
lea edx, [ebp - 0x5d0]
add ecx, 0x190
push edx
call fcn.004ce5f0
mov eax, dword [ebp - 0x580]
mov ecx, dword [ebp - 0x574]
push edi
push esi
push eax
push ecx
mov ecx, ebx
call fcn.004ceaa0
mov edx, dword [ebp - 0x574]
mov eax, dword [edx + 0x2d4]
mov dword [ebp - 0x5a0], eax
test edi, edi
je 0x4d60e7
mov ecx, eax
push ecx
push str.HttpStatusCode
mov ecx, edi
call fcn.00463830
mov edx, dword [ebp - 0x5a0]
push edx
push str.statusCode
mov ecx, esi
call fcn.0044e8c0
lea ecx, [ebp - 0x88]
call fcn.00444390
mov ecx, dword [ebp - 0x574]
lea eax, [ebp - 0x88]
push eax
add ecx, 0x190
mov byte [ebp - 4], 0xc
call fcn.004cda10
lea ecx, [ebp - 0x88]
push ecx
push str.statusText
mov ecx, esi
call fcn.0044e520
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xb
call fcn.00444450
lea ecx, [ebp - 0x5d0]
mov byte [ebp - 4], 4
call fcn.00411620
mov edx, dword [ebp - 0x574]
mov eax, dword [edx + 0x2d4]
mov dword [ebp - 0x57c], eax
cmp eax, 0x64
jne 0x4d6308
push str.unexpected100Continue
push esi
lea ecx, [ebp - 0x5b0]
call fcn.0044ec60
mov byte [ebp - 4], 0xd
test edi, edi
je 0x4d61a3
push str.Begin_reading_response_again
push str.HttpInfo
mov ecx, edi
call fcn.00463730
push esi
mov ecx, edi
call fcn.00463a30
test al, al
jne 0x4d6210
push edi
call fcn.004d3150
add esp, 4
call sub.KERNEL32.dll_GetTickCount
push esi
push 1
lea ecx, [ebx + 0x6b0]
call fcn.0057b870
lea ecx, [ebp - 0x5d0]
call fcn.00410e50
mov eax, dword [ebp - 0x584]
push esi
push eax
mov eax, dword [ebp - 0x580]
lea ecx, [ebp - 0x5d0]
push ecx
lea edx, [ebx + 0x848]
push edx
push eax
mov ecx, ebx
mov byte [ebp - 4], 0xe
call fcn.004d3d10
test al, al
jne 0x4d6224
push edi
push 0
call fcn.004d3170
add esp, 8
lea ecx, [ebp - 0x5d0]
mov byte [ebp - 4], 0xd
call fcn.00411620
lea ecx, [ebp - 0x5b0]
mov byte [ebp - 4], 4
call fcn.0044ecf0
jmp 0x4d59d2
push esi
push edi
push 1
lea ecx, [ebx + 0x6b0]
call fcn.0057b890
mov ecx, dword [ebp - 0x574]
push esi
lea edx, [ebp - 0x5d0]
add ecx, 0x190
push edx
call fcn.004ce5f0
mov eax, dword [ebp - 0x580]
mov ecx, dword [ebp - 0x574]
push edi
push esi
push eax
push ecx
mov ecx, ebx
call fcn.004ceaa0
mov edx, dword [ebp - 0x574]
mov eax, dword [edx + 0x2d4]
mov dword [ebp - 0x57c], eax
test edi, edi
je 0x4d6288
mov ecx, eax
push ecx
push str.HttpStatusCode
mov ecx, edi
call fcn.00463830
mov edx, dword [ebp - 0x57c]
push edx
push str.statusCode
mov ecx, esi
call fcn.0044e8c0
lea ecx, [ebp - 0x88]
call fcn.00444390
mov ecx, dword [ebp - 0x574]
lea eax, [ebp - 0x88]
push eax
add ecx, 0x190
mov byte [ebp - 4], 0xf
call fcn.004cda10
lea ecx, [ebp - 0x88]
push ecx
push str.statusText
mov ecx, esi
call fcn.0044e520
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xe
call fcn.00444450
lea ecx, [ebp - 0x5d0]
mov byte [ebp - 4], 0xd
call fcn.00411620
lea ecx, [ebp - 0x5b0]
mov byte [ebp - 4], 4
call fcn.0044ecf0
mov eax, dword [ebp - 0x57c]
cmp eax, 0x12c
jge 0x4d632e
mov edx, dword [ebp - 0x574]
mov eax, dword [ebp - 0x580]
push esi
push edi
push edx
push eax
mov ecx, ebx
call fcn.004d4320
test al, al
je 0x4d59d2
cmp byte [ebp - 0x587], 0
jne 0x4d653c
mov ecx, dword [ebp - 0x580]
add ecx, 0x160
call fcn.00442580
test eax, eax
je 0x4d64d9
mov eax, dword [ebp - 0x580]
add eax, 0x160
push eax
push str.streamResponseBodyPath
mov ecx, esi
call fcn.0044e520
mov ecx, dword [ebp - 0x580]
push esi
add ecx, 0x160
call fcn.00410b70
push eax
call fcn.00466db0
add esp, 8
test eax, eax
je 0x4d59d2
push esi
push 1
lea ecx, [ebx + 0x6b0]
mov dword [ebp - 0x59c], eax
call fcn.0057b870
mov eax, dword [ebp - 0x584]
mov ecx, dword [ebp - 0x59c]
push esi
push eax
mov eax, dword [ebp - 0x574]
push 0
push ecx
mov ecx, dword [ebp - 0x580]
lea edx, [ebx + 0x848]
push edx
push eax
push ecx
mov ecx, ebx
call fcn.004d4520
cmp dword [ebp - 0x59c], 0
mov byte [ebp - 0x575], al
je 0x4d63ee
mov ecx, dword [ebp - 0x59c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
push 1
call eax
mov ecx, dword [ebp - 0x5a4]
call fcn.00410b60
cmp byte [esi + 0x125], 0
mov dword [ebp - 0x5a0], eax
je 0x4d6417
mov ecx, eax
push ecx
push str.responseBodySize
mov ecx, esi
call fcn.0044e8c0
mov edx, dword [ebp - 0x574]
cmp dword [edx + 0x2d4], 0x190
jl 0x4d64c3
mov eax, dword [ebp - 0x5a0]
test eax, eax
je 0x4d64c3
cmp byte [esi + 0x125], 0
jne 0x4d644b
cmp eax, 0x2000
ja 0x4d64c3
lea ecx, [ebp - 0x288]
call fcn.0040c500
lea ecx, [ebp - 0x5f4]
mov byte [ebp - 4], 0x13
call fcn.00410e50
mov eax, dword [ebp - 0x5a4]
push eax
lea ecx, [ebp - 0x5f4]
mov byte [ebp - 4], 0x14
call fcn.00413bd0
push str.utf_8
lea ecx, [ebp - 0x5f4]
push ecx
lea ecx, [ebp - 0x288]
call fcn.0040d4f0
lea edx, [ebp - 0x288]
push edx
push str.errResponseBody3
mov ecx, esi
call fcn.0044e4d0
lea ecx, [ebp - 0x5f4]
mov byte [ebp - 4], 0x13
call fcn.00411620
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 4
call fcn.0040c590
cmp byte [ebp - 0x575], 0
jne 0x4d652d
push edi
push 0
call fcn.004d3170
jmp 0x4d59cf
push 0x188
mov byte [ebp - 4], 0x10
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, eax
add esp, 4
mov dword [ebp - 0x5a8], ecx
mov byte [ebp - 4], 0x11
test ecx, ecx
je 0x4d6512
mov edx, dword [ebp - 0x5a4]
push edx
call fcn.004b31b0
mov dword [ebp - 4], 4
jmp 0x4d6387
xor eax, eax
mov dword [ebp - 4], 4
jmp 0x4d6387
push esi
push edi
push 1
lea ecx, [ebx + 0x6b0]
call fcn.0057b890
push edi
push 1
call fcn.004d3170
mov eax, dword [ebp - 0x574]
mov ecx, dword [ebp - 0x580]
add esp, 8
push esi
push edi
push eax
push ecx
push 0
mov ecx, ebx
call fcn.004d4c40
mov edx, dword [ebp - 0x574]
mov eax, dword [ebp - 0x5a4]
mov ecx, dword [ebp - 0x580]
push esi
push edi
push edx
push eax
push ecx
call fcn.004d31d0
add esp, 0x14
test al, al
jne 0x4d6596
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.Failed_to_ungzip_response_body.
mov ecx, esi
call eax
jmp 0x4d59d2
cmp dword [ebp - 0x57c], 0x197
jne 0x4d5f14
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.Proxy_authentication_failed_or_not_satisfied.
mov ecx, esi
call eax
jmp 0x4d59d2