Function at 0x4f41d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5faae0
mov eax, dword fs:[0]
push eax
sub esp, 0x5d8
mov eax, dword [0x6baac0]
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 edi, ecx
mov dword [ebp - 0x5ac], edi
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x20]
mov esi, dword [ebp + 0x44]
xorps xmm0, xmm0
mov dword [ebp - 0x5d0], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x5b8], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x5e0], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x5cc], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x5c0], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x5bc], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x5d8], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x5b4], eax
mov eax, dword [ebp + 0x3c]
push str.fullHttpRequest
mov dword [ebp - 0x5d4], eax
mov eax, dword [ebp + 0x40]
push esi
mov dword [ebp - 0x5c4], eax
mov dword [ebp - 0x5b0], esi
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
call fcn.00430cc0
cmp dword [edi + 0x590], 0x99b4002d
mov dword [ebp - 4], 0
je 0x4f42c0
push esi
push 0x66
call fcn.004eef60
add esp, 8
mov byte [ebp - 0x5a5], al
lea ecx, [ebp - 0x20]
call fcn.00430db0
mov al, byte [ebp - 0x5a5]
jmp 0x4f5203
mov ecx, dword [ebp - 0x5c4]
mov eax, dword [ecx + 4]
mov ecx, dword [ebp - 0x5b4]
mov dword [ebp - 0x5dc], eax
call fcn.004be2e0
mov ecx, dword [ebp - 0x5d4]
call fcn.004132b0
mov ecx, dword [ebp - 0x5d0]
call fcn.004239b0
mov ecx, esi
test eax, eax
jne 0x4f430f
mov eax, dword [esi]
push str.No_domain
call dword [eax + 0x14]
lea ecx, [ebp - 0x20]
call fcn.00430db0
xor al, al
jmp 0x4f5203
mov eax, dword [ebp + 0x14]
mov edi, 0x50
push dword [ebp - 0x5d0]
test eax, eax
push str.domain
cmovne edi, eax
call fcn.004317e0
push edi
push str.port
mov ecx, esi
call fcn.00431470
mov esi, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x5b0]
push esi
push 0x64b2e8
call fcn.004312c0
call sub.KERNEL32.dll_GetTickCount
mov dword [ebp - 0x5e4], eax
mov eax, dword [ebp - 0x5c4]
add eax, 0x2c
mov ecx, eax
call fcn.00422240
push dword [ebp - 0x5b0]
mov ecx, dword [ebp - 0x5ac]
push dword [ebp - 0x5c4]
push dword [ebp + 0x1c]
push esi
push edi
push dword [ebp - 0x5d0]
push dword [ebp - 0x5e0]
push dword [ebp - 0x5b8]
call fcn.004f5690
test al, al
jne 0x4f43e2
mov eax, dword [ebp - 0x5c4]
cmp dword [eax + 0x24], 0x32
jne 0x4f43d3
lea esi, [eax + 0x2c]
mov ecx, esi
call fcn.004239b0
test eax, eax
je 0x4f43d3
push dword [ebp - 0x5b0]
mov ecx, esi
call fcn.00414900
push eax
mov eax, dword [ebp - 0x5b4]
lea ecx, [eax + 0x190]
call fcn.004e8fc0
lea ecx, [ebp - 0x20]
call fcn.00430db0
xor al, al
jmp 0x4f5203
push dword [ebp - 0x5e4]
mov esi, dword [ebp - 0x5b0]
mov ecx, esi
push str.connectTime
call fcn.00431a50
mov edi, dword [ebp - 0x5dc]
test edi, edi
je 0x4f4414
push esi
mov ecx, edi
call fcn.00480960
test al, al
jne 0x4f4300
mov eax, dword [ebp - 0x5ac]
push 0x74
push 0
mov word [eax + 0x840], 0
lea eax, [ebp - 0x1a4]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x1a4]
call fcn.00420e20
push dword [ebp - 0x5cc]
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 1
call fcn.00420f90
push 0x20
lea ecx, [ebp - 0x1a4]
call fcn.00422120
push str.HEAD
lea ecx, [ebp - 0x1a4]
call fcn.004235d0
push 0x64b0c0
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 0x5a5], al
call fcn.004235d0
mov byte [ebp - 0x5a6], al
test edi, edi
je 0x4f450c
push 0x74
lea eax, [ebp - 0xbc]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xbc]
call fcn.00420e20
lea eax, [ebp - 0x1a4]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0xbc]
call fcn.00420f90
push 0x2c
lea ecx, [ebp - 0xbc]
call fcn.00421320
push dword [ebp - 0x5c0]
lea ecx, [ebp - 0xbc]
call fcn.00420f90
lea ecx, [ebp - 0xbc]
call fcn.00414900
push eax
push str.HttpRequestBegin
mov ecx, edi
call fcn.004810e0
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 1
call fcn.00420e70
cmp byte [esi + 0xad], 0
je 0x4f45c8
push 0x74
lea eax, [ebp - 0xbc]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xbc]
call fcn.00420e20
push dword [ebp - 0x5cc]
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 3
call fcn.00420f90
lea ecx, [ebp - 0xbc]
call fcn.00426220
lea eax, [ebp - 0xbc]
mov ecx, esi
push eax
push str.startLine
call fcn.004317e0
lea ecx, [ebp - 0xbc]
call fcn.00422240
push dword [ebp - 0x5bc]
lea ecx, [ebp - 0xbc]
call fcn.00420f90
lea ecx, [ebp - 0xbc]
call fcn.00426220
mov eax, dword [esi]
mov ecx, esi
push 1
push str.fullRequestHeader
call dword [eax + 0x24]
lea eax, [ebp - 0xbc]
mov ecx, esi
push eax
push str.requestHeader
call fcn.004317e0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x28]
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 1
call fcn.00420e70
test edi, edi
je 0x4f45e4
mov ecx, dword [ebp - 0x5bc]
call fcn.00414900
push eax
push str.RequestHeader
mov ecx, edi
call fcn.004810e0
push 0x74
lea eax, [ebp - 0x130]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x130]
call fcn.00420e20
push dword [ebp - 0x5cc]
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 4
call fcn.00420f90
push dword [ebp - 0x5bc]
lea ecx, [ebp - 0x130]
call fcn.00420f90
mov ecx, dword [ebp - 0x5ac]
cmp dword [ecx + 0x590], 0x99b4002d
je 0x4f4674
push esi
push 0x67
call fcn.004eef60
add esp, 8
mov byte [ebp - 0x5a5], al
lea ecx, [ebp - 0x130]
call fcn.00420e70
lea ecx, [ebp - 0x1a4]
call fcn.00420e70
lea ecx, [ebp - 0x20]
call fcn.00430db0
mov al, byte [ebp - 0x5a5]
jmp 0x4f5203
test edi, edi
je 0x4f46f0
lea ecx, [ebp - 0x130]
call fcn.004239b0
push esi
push dword [ebp + 0xc]
xor ecx, ecx
mov dword [ebp - 0x5bc], eax
mov ecx, dword [ebp - 0x5d8]
call fcn.004f7760
mov ecx, dword [ebp - 0x5bc]
add ecx, eax
mov eax, 0
mov dword [ebp - 0x5bc], ecx
adc eax, edx
push eax
push ecx
push str.StartSendingRequest
mov ecx, edi
mov dword [ebp - 0x5c0], eax
call fcn.00481160
mov eax, dword [ebp - 0x5b8]
cmp byte [eax + 0x154], 0
jne 0x4f46f0
mov eax, dword [ebp - 0x5bc]
mov ecx, dword [ebp - 0x5c0]
add eax, 0x200
push esi
adc ecx, 0
push ecx
push eax
mov ecx, edi
call fcn.004812e0
mov ecx, dword [ebp - 0x5b4]
lea eax, [ebp - 0x130]
push eax
call fcn.004bea20
mov eax, dword [ebp - 0x5ac]
push esi
cmp dword [eax + 0x590], 0x99b4002d
je 0x4f471c
push 0x68
jmp 0x4f463d
add eax, 0x688
push 0
mov ecx, eax
mov dword [ebp - 0x5b0], eax
call fcn.00505750
push edi
call fcn.004f40f0
mov eax, dword [ebp - 0x5b8]
add esp, 4
mov ecx, dword [ebp - 0x5ac]
push esi
push dword [ebp - 0x5e0]
push dword [ebp - 0x5c4]
push dword [eax + 0xf60]
lea eax, [ebp - 0x130]
push eax
call fcn.004f6e30
test al, al
jne 0x4f47ac
push edi
push 0
call fcn.004f4130
mov eax, dword [ebp - 0x5ac]
mov byte [eax + 0x842], 1
mov byte [eax + 0x840], 1
add esp, 8
lea ecx, [ebp - 0x130]
call fcn.00420e70
lea ecx, [ebp - 0x1a4]
call fcn.00420e70
lea ecx, [ebp - 0x20]
call fcn.00430db0
xor al, al
jmp 0x4f5203
mov eax, dword [ebp - 0x5ac]
cmp dword [eax + 0x590], 0x99b4002d
je 0x4f47c6
push esi
push 0x69
jmp 0x4f463d
push str._nExpect:
lea ecx, [ebp - 0x130]
mov byte [ebp - 0x5c5], 0
mov byte [ebp - 0x5c6], 0
call fcn.00422390
test al, al
je 0x4f4a56
push str.100_continue
lea ecx, [ebp - 0x130]
call fcn.00422390
test al, al
je 0x4f4a56
push str.expect100Continue
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
push esi
lea ecx, [ebp - 0x48]
movq qword [ebp - 0x48], xmm0
call fcn.00430cc0
mov byte [ebp - 4], 5
mov byte [ebp - 0x5c6], 1
test edi, edi
je 0x4f4851
push str.Begin_reading_100_continue_response.
push str.HttpInfo
mov ecx, edi
call fcn.004810e0
push esi
mov ecx, edi
call fcn.00480960
test al, al
jne 0x4f4e22
push edi
push 1
call fcn.004f4130
push edi
call fcn.004f40d0
mov eax, dword [ebp - 0x5ac]
add esp, 0xc
cmp dword [eax + 0x590], 0x99b4002d
push esi
je 0x4f4892
push 0x6a
call fcn.004eef60
add esp, 8
mov byte [ebp - 0x5a5], al
lea ecx, [ebp - 0x48]
call fcn.00430db0
jmp 0x4f464b
mov ecx, dword [ebp - 0x5b0]
push 1
call fcn.00505750
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x3c]
movq qword [ebp - 0x2c], xmm0
movups xmmword [ebp - 0x3c], xmm0
call fcn.004118f0
mov ecx, dword [ebp - 0x5ac]
lea eax, [ebp - 0x3c]
push esi
push dword [ebp - 0x5c4]
mov byte [ebp - 4], 6
push eax
push 0
push dword [ebp - 0x5b8]
call fcn.004f6740
mov ecx, dword [ebp - 0x5b0]
push esi
push edi
push 0
mov byte [ebp - 0x5bc], al
call fcn.00505770
push edi
push dword [ebp - 0x5bc]
call fcn.004f4110
add esp, 8
cmp byte [ebp - 0x5bc], 0
je 0x4f4a28
mov ecx, dword [ebp - 0x5b0]
push esi
push edi
push 1
call fcn.00505770
push 0x2e8
lea eax, [ebp - 0x5a4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x5a4]
call fcn.004be160
push esi
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x414]
call fcn.004e8ee0
mov eax, dword [ebp - 0x2d0]
mov dword [ebp - 0x5bc], eax
test edi, edi
je 0x4f4974
push eax
push str.HttpStatusCode
mov ecx, edi
call fcn.00481240
mov eax, dword [ebp - 0x5bc]
push eax
push str.statusCode
mov ecx, esi
call fcn.00431470
push 0x74
lea eax, [ebp - 0xbc]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xbc]
call fcn.00420e20
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x414]
call fcn.004e8c40
lea eax, [ebp - 0xbc]
mov ecx, esi
push eax
push str.statusText
call fcn.004317e0
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 7
call fcn.00420e70
cmp dword [ebp - 0x5bc], 0x64
je 0x4f49fd
mov ecx, dword [ebp - 0x5b4]
lea eax, [ebp - 0x3c]
push esi
push eax
mov byte [ebp - 0x5c5], 1
lea ecx, [ecx + 0x190]
call fcn.004e8ee0
mov ecx, dword [ebp - 0x5ac]
lea eax, [ebp - 0x5a4]
push edi
push esi
push dword [ebp - 0x5b8]
push eax
call fcn.004f2fc0
lea ecx, [ebp - 0x5a4]
mov byte [ebp - 4], 6
call fcn.004be210
jmp 0x4f4a34
mov eax, dword [esi]
mov ecx, esi
push str.Failed_to_receive_the_100_continue_response__continuing_anyway...
call dword [eax + 0x14]
mov ecx, dword [ebp - 0x5b0]
push esi
push 0
call fcn.00505750
lea ecx, [ebp - 0x3c]
call fcn.00411b10
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 4
call fcn.00430db0
mov eax, dword [ebp - 0x5ac]
cmp dword [eax + 0x590], 0x99b4002d
je 0x4f4a70
push esi
push 0x6b
jmp 0x4f463d
cmp byte [ebp - 0x5c5], 0
jne 0x4f4d50
cmp byte [ebp - 0x5c6], 0
je 0x4f4a95
push edi
call fcn.004f40f0
mov eax, dword [ebp - 0x5ac]
add esp, 4
add eax, 0x820
mov ecx, eax
mov dword [ebp - 0x5c0], eax
call fcn.004132b0
cmp byte [ebp - 0x5a6], 0
jne 0x4f4b29
cmp byte [ebp - 0x5a5], 0
jne 0x4f4b29
mov ecx, dword [ebp - 0x5b0]
push esi
push 0
call fcn.00505750
mov edx, dword [ebp - 0x5ac]
mov ecx, edx
neg ecx
push esi
push dword [ebp - 0x5e0]
lea eax, [edx + 0x58c]
sbb ecx, ecx
and ecx, eax
mov eax, dword [ebp - 0x5c4]
push eax
mov dword [eax + 0xc], ecx
mov ecx, edx
mov eax, dword [ebp - 0x5b8]
push dword [eax + 0xf60]
push dword [ebp - 0x5d8]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004f6ba0
test al, al
mov eax, dword [ebp - 0x5c4]
mov dword [eax + 0xc], 0
jne 0x4f4b29
push edi
push 0
call fcn.004f4130
jmp 0x4f4784
test edi, edi
je 0x4f4b38
push edi
push 1
call fcn.004f4130
add esp, 8
mov eax, dword [ebp - 0x5ac]
cmp dword [eax + 0x590], 0x99b4002d
je 0x4f4b84
push esi
push 0x6c
call fcn.004eef60
add esp, 8
mov byte [ebp - 0x5a6], al
lea ecx, [ebp - 0x130]
call fcn.00420e70
lea ecx, [ebp - 0x1a4]
call fcn.00420e70
lea ecx, [ebp - 0x20]
call fcn.00430db0
mov al, byte [ebp - 0x5a6]
jmp 0x4f5203
test edi, edi
je 0x4f4ba9
push str.Begin_reading_response
push str.HttpInfo
mov ecx, edi
call fcn.004810e0
push esi
mov ecx, edi
call fcn.00480960
test al, al
jne 0x4f4787
push edi
call fcn.004f40d0
add esp, 4
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [ebp - 0x5b0]
push esi
push 1
call fcn.00505750
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x3c]
movq qword [ebp - 0x2c], xmm0
movups xmmword [ebp - 0x3c], xmm0
call fcn.004118f0
push dword [ebp - 0x5c0]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 9
call fcn.00411fb0
mov eax, dword [ebp - 0x5ac]
push esi
cmp dword [eax + 0x590], 0x99b4002d
je 0x4f4c22
push 0x6d
call fcn.004eef60
add esp, 8
mov byte [ebp - 0x5a6], al
lea ecx, [ebp - 0x3c]
call fcn.00411b10
jmp 0x4f4b5b
mov ecx, dword [ebp - 0x5c4]
push ecx
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [eax + 0x820]
push ecx
push dword [ebp - 0x5b8]
mov ecx, eax
call fcn.004f6740
mov ecx, dword [ebp - 0x5b0]
push esi
push edi
push 0
mov byte [ebp - 0x5a6], al
call fcn.00505770
cmp byte [ebp - 0x5a6], 0
jne 0x4f4c77
push edi
push 0
call fcn.004f4110
add esp, 8
lea ecx, [ebp - 0x3c]
call fcn.00411b10
jmp 0x4f4787
mov ecx, dword [ebp - 0x5b0]
push esi
push edi
push 1
call fcn.00505770
mov eax, dword [ebp - 0x5b4]
lea ecx, [ebp - 0x3c]
add eax, 0x190
push esi
push ecx
mov ecx, eax
mov dword [ebp - 0x5dc], eax
call fcn.004e8ee0
mov ecx, dword [ebp - 0x5ac]
push edi
push esi
push dword [ebp - 0x5b8]
push dword [ebp - 0x5b4]
call fcn.004f2fc0
mov eax, dword [ebp - 0x5b4]
mov eax, dword [eax + 0x2d4]
mov dword [ebp - 0x5c0], eax
test edi, edi
je 0x4f4ce5
push eax
push str.HttpStatusCode
mov ecx, edi
call fcn.00481240
mov eax, dword [ebp - 0x5c0]
push eax
push str.statusCode
mov ecx, esi
call fcn.00431470
push 0x74
lea eax, [ebp - 0xbc]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xbc]
call fcn.00420e20
mov ecx, dword [ebp - 0x5dc]
lea eax, [ebp - 0xbc]
push eax
mov byte [ebp - 4], 0xa
call fcn.004e8c40
lea eax, [ebp - 0xbc]
mov ecx, esi
push eax
push str.statusText
call fcn.004317e0
lea ecx, [ebp - 0xbc]
call fcn.00420e70
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 4
call fcn.00411b10
mov eax, dword [ebp - 0x5b4]
mov ecx, dword [eax + 0x2d4]
mov dword [ebp - 0x5d0], ecx
cmp ecx, 0x64
jne 0x4f4f1c
push str.unexpected100Continue
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
push esi
lea ecx, [ebp - 0x48]
movq qword [ebp - 0x48], xmm0
call fcn.00430cc0
mov byte [ebp - 4], 0xb
test edi, edi
je 0x4f4dad
push str.Begin_reading_response_again
push str.HttpInfo
mov ecx, edi
call fcn.004810e0
push esi
mov ecx, edi
call fcn.00480960
test al, al
jne 0x4f4e22
push edi
call fcn.004f40d0
add esp, 4
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [ebp - 0x5b0]
push esi
push 1
call fcn.00505750
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x3c]
movq qword [ebp - 0x2c], xmm0
movups xmmword [ebp - 0x3c], xmm0
call fcn.004118f0
mov ecx, dword [ebp - 0x5ac]
lea eax, [ebp - 0x3c]
push esi
push dword [ebp - 0x5c4]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ecx + 0x820]
push eax
push dword [ebp - 0x5b8]
call fcn.004f6740
test al, al
jne 0x4f4e2f
push edi
push 0
call fcn.004f4110
add esp, 8
lea ecx, [ebp - 0x3c]
call fcn.00411b10
lea ecx, [ebp - 0x48]
call fcn.00430db0
jmp 0x4f4787
mov ecx, dword [ebp - 0x5b0]
push esi
push edi
push 1
call fcn.00505770
mov eax, dword [ebp - 0x5b4]
lea ecx, [ebp - 0x3c]
add eax, 0x190
push esi
push ecx
mov ecx, eax
mov dword [ebp - 0x5c0], eax
call fcn.004e8ee0
mov ecx, dword [ebp - 0x5ac]
push edi
push esi
push dword [ebp - 0x5b8]
push dword [ebp - 0x5b4]
call fcn.004f2fc0
mov eax, dword [ebp - 0x5b4]
mov eax, dword [eax + 0x2d4]
mov dword [ebp - 0x5d0], eax
test edi, edi
je 0x4f4e9d
push eax
push str.HttpStatusCode
mov ecx, edi
call fcn.00481240
mov eax, dword [ebp - 0x5d0]
push eax
push str.statusCode
mov ecx, esi
call fcn.00431470
push 0x74
lea eax, [ebp - 0xbc]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xbc]
call fcn.00420e20
mov ecx, dword [ebp - 0x5c0]
lea eax, [ebp - 0xbc]
push eax
mov byte [ebp - 4], 0xd
call fcn.004e8c40
lea eax, [ebp - 0xbc]
mov ecx, esi
push eax
push str.statusText
call fcn.004317e0
lea ecx, [ebp - 0xbc]
call fcn.00420e70
lea ecx, [ebp - 0x3c]
call fcn.00411b10
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 4
call fcn.00430db0
mov eax, dword [ebp - 0x5b4]
mov ecx, dword [ebp - 0x5d0]
cmp ecx, 0x12c
jge 0x4f4f40
mov ecx, dword [ebp - 0x5ac]
push esi
push edi
push eax
push dword [ebp - 0x5b8]
call fcn.004f2e00
test al, al
je 0x4f4787
cmp byte [ebp - 0x5a5], 0
jne 0x4f5169
mov eax, dword [ebp - 0x5b8]
add eax, 0x158
mov ecx, eax
mov dword [ebp - 0x5d8], eax
call fcn.004239b0
test eax, eax
je 0x4f4f9f
push dword [ebp - 0x5d8]
mov ecx, esi
push str.streamResponseBodyPath
call fcn.004317e0
mov ecx, dword [ebp - 0x5d8]
push esi
call fcn.00414900
push eax
call fcn.00482b50
add esp, 8
mov dword [ebp - 0x5cc], eax
test eax, eax
jne 0x4f4ffe
jmp 0x4f4787
push 0x188
mov byte [ebp - 4], 0xe
call sub.mfc140.dll_Ordinal_1507
add esp, 4
mov dword [ebp - 0x5c0], eax
mov dword [ebp - 0x5dc], eax
mov byte [ebp - 4], 0xf
test eax, eax
je 0x4f4fe7
push 0x188
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [ebp - 0x5c0]
add esp, 0xc
push dword [ebp - 0x5d4]
call fcn.004c1df0
jmp 0x4f4fe9
xor eax, eax
mov dword [ebp - 0x5cc], eax
mov dword [ebp - 4], 4
test eax, eax
je 0x4f4787
mov ecx, dword [ebp - 0x5b0]
push esi
push 1
call fcn.00505750
mov ecx, dword [ebp - 0x5ac]
push esi
push dword [ebp - 0x5c4]
push 0
push dword [ebp - 0x5cc]
lea eax, [ecx + 0x820]
push eax
push dword [ebp - 0x5b4]
push dword [ebp - 0x5b8]
call fcn.004f6130
mov byte [ebp - 0x5a6], al
mov eax, dword [ebp - 0x5cc]
test eax, eax
je 0x4f5052
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx + 0x14]
mov ecx, dword [ebp - 0x5d4]
call fcn.00401c90
cmp byte [esi + 0xad], 0
mov ecx, eax
mov dword [ebp - 0x5c0], ecx
je 0x4f5081
push ecx
push str.responseBodySize
mov ecx, esi
call fcn.00431470
mov ecx, dword [ebp - 0x5c0]
mov eax, dword [ebp - 0x5b4]
cmp dword [eax + 0x2d4], 0x190
jl 0x4f5144
test ecx, ecx
je 0x4f5144
cmp byte [esi + 0xad], 0
jne 0x4f50b4
cmp ecx, 0x2000
ja 0x4f5144
push 0x118
lea eax, [ebp - 0x2bc]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x2bc]
call fcn.00407810
xorps xmm0, xmm0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x3c]
movq qword [ebp - 0x2c], xmm0
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x24], 0
call fcn.004118f0
push dword [ebp - 0x5d4]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x12
call fcn.00411fb0
push str.utf_8
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x2bc]
call fcn.0040ae20
lea eax, [ebp - 0x2bc]
mov ecx, esi
push eax
push str.errResponseBody
call fcn.00431a00
lea ecx, [ebp - 0x3c]
call fcn.00411b10
lea ecx, [ebp - 0x2bc]
mov byte [ebp - 4], 4
call fcn.004078a0
cmp byte [ebp - 0x5a6], 0
jne 0x4f515a
push edi
push 0
call fcn.004f4110
jmp 0x4f4784
mov ecx, dword [ebp - 0x5b0]
push esi
push edi
push 1
call fcn.00505770
push edi
push 1
call fcn.004f4110
mov ecx, dword [ebp - 0x5ac]
add esp, 8
push esi
push edi
push dword [ebp - 0x5b4]
push dword [ebp - 0x5b8]
push 0
call fcn.004f2c40
push esi
push edi
push dword [ebp - 0x5b4]
push dword [ebp - 0x5d4]
push dword [ebp - 0x5b8]
call fcn.004f3210
add esp, 0x14
test al, al
jne 0x4f51c6
mov eax, dword [esi]
mov ecx, esi
push str.Failed_to_ungzip_response_body.
call dword [eax + 0x14]
jmp 0x4f4787
cmp dword [ebp - 0x5d0], 0x197
jne 0x4f51e3
mov eax, dword [esi]
mov ecx, esi
push str.Proxy_authentication_failed_or_not_satisfied.
call dword [eax + 0x14]
jmp 0x4f4787
lea ecx, [ebp - 0x130]
call fcn.00420e70
lea ecx, [ebp - 0x1a4]
call fcn.00420e70
lea ecx, [ebp - 0x20]
call fcn.00430db0
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.005ebe04
mov esp, ebp
pop ebp
ret 0x40