Function at 0x464f10
Capabilities:
Prepare http request
Set http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x494a93
mov eax, dword fs:[0]
push eax
sub esp, 0x3b8
mov eax, dword [0x4bc8c0]
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, ecx
mov dword [ebp - 0x360], eax
mov esi, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x370], ecx
mov dword [ebp - 0x3a0], ecx
mov ecx, eax
mov dword [ebp - 0x358], esi
mov dword [ebp - 0x3a4], esi
call fcn.00463860
mov edi, eax
test edi, edi
je 0x464fa0
push 0x49c14c
lea ecx, [ebp - 0x44]
call fcn.00416a40
mov ecx, dword [esi]
lea eax, [ebp - 0x44]
push eax
push edi
mov dword [ebp - 4], 0
call fcn.00448550
lea ecx, [ebp - 0x44]
call fcn.00404db0
jmp 0x466358
mov eax, dword [esi]
mov dword [ebp - 0x374], eax
mov ecx, dword [eax + 0x10]
add ecx, 0x2c
mov dword [ebp - 0x378], ecx
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x464fbf
lock inc dword [ecx + 4]
mov edi, dword [esi + 4]
mov dword [ebp - 0x3ac], eax
mov dword [ebp - 0x3a8], edi
xor esi, esi
mov dword [ebp - 4], 1
mov dword [ebp - 0x39c], 0
mov dword [ebp - 0x35c], esi
mov dword [ebp - 0x398], esi
test edi, edi
je 0x465009
mov esi, edi
mov dword [ebp - 0x39c], eax
mov dword [ebp - 0x35c], esi
mov dword [ebp - 0x398], esi
lock inc dword [edi + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x380], 0
movq qword [ebp - 0x388], xmm0
mov eax, dword [eax + 0x10]
add eax, 0x48
mov byte [ebp - 4], 3
push eax
mov byte [ebp - 0x354], 0
call fcn.0044fa90
add esp, 4
test al, al
jne 0x46516d
xorps xmm0, xmm0
lea ecx, [ebp - 0x2c]
push 0x20
movups xmmword [ebp - 0x2c], xmm0
call fcn.0040cf80
movups xmm0, xmmword [str.The_method_string_is_invalid.]
mov edx, eax
mov dword [ebp - 0x1c], 0x1d
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x18], 0x1f
movups xmmword [edx], xmm0
movq xmm0, qword [0x49c174]
movq qword [edx + 0x10], xmm0
xorps xmm0, xmm0
mov ecx, dword [0x49c17c]
mov dword [edx + 0x18], ecx
mov al, byte [0x49c180]
mov byte [edx + 0x1c], al
mov byte [edx + 0x1d], 0
movups xmmword [ebp - 0x8c], xmm0
mov dword [ebp - 0xa0], vtable.web::http::http_exception.0
movq qword [ebp - 0x9c], xmm0
movups xmm0, xmmword [ebp - 0x2c]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0x4bd388
movups xmmword [ebp - 0x8c], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [ebp - 0x7c], xmm0
mov ecx, dword [ebp - 0x358]
lea eax, [ebp - 0xa0]
push eax
mov byte [ebp - 4], 4
mov ecx, dword [ecx]
call fcn.00444cb0
lea ecx, [ebp - 0xa0]
call fcn.0042c700
mov eax, dword [ebp - 0x384]
test eax, eax
je 0x465109
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x380]
test eax, eax
je 0x46511a
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
test esi, esi
je 0x465137
mov ecx, dword [ebp - 0x35c]
or esi, 0xffffffff
mov eax, esi
lock xadd dword [ecx + 8], eax
jne 0x46513a
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x46513a
or esi, 0xffffffff
test edi, edi
je 0x466358
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x466358
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x466358
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
jmp 0x466358
mov esi, dword [ebp - 0x360]
cmp byte [esi + 0x29d], 0
je 0x46523a
cmp dword [esi + 0x2b0], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
jne 0x4651a6
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x28], 3
jmp 0x4651c1
cmp dword [esi + 0x2b4], 8
lea eax, [esi + 0x2a0]
mov dword [ebp - 0x2c], 2
jb 0x4651be
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
lea eax, [esi + 0x14]
mov dword [ebp - 0x18], 1
push eax
lea ecx, [ebp - 0xb8]
call fcn.004073f0
cmp dword [ebp - 0xa4], 8
lea ecx, [ebp - 0x388]
push ecx
mov eax, 8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x370], eax
lea eax, [ebp - 0xb8]
cmovae eax, dword [ebp - 0xb8]
push ecx
push eax
push dword [esi + 0x294]
call dword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
lea ecx, [ebp - 0xb8]
mov esi, eax
call fcn.00404db0
mov eax, dword [ebp - 0x354]
test esi, esi
mov esi, dword [ebp - 0x360]
mov ecx, 1
movzx eax, al
cmovne eax, ecx
mov dword [ebp - 0x354], eax
mov ecx, dword [ebp - 0x374]
lea eax, [ebp - 0x1f8]
push eax
mov ecx, dword [ecx + 0x10]
call fcn.00443790
or dword [ebp - 0x370], 2
lea eax, [ebp - 0x14c]
mov byte [ebp - 4], 5
add esi, 0x2c
mov dword [ebp - 0x368], eax
push esi
mov ecx, eax
call fcn.004073f0
lea eax, [esi + 0x18]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x134]
call fcn.004073f0
lea eax, [esi + 0x30]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x11c]
call fcn.004073f0
lea eax, [esi + 0x48]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x104]
call fcn.004073f0
lea eax, [esi + 0x60]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0xec]
call fcn.004073f0
lea eax, [esi + 0x78]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0xd4]
call fcn.004073f0
mov eax, dword [esi + 0x90]
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x350]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x1f8]
push eax
lea ecx, [ebp - 0x14c]
call fcn.0044ea60
mov ecx, eax
call fcn.0044f030
lea ecx, [ebp - 0x2a4]
mov byte [ebp - 4], 0xc
push ecx
mov ecx, eax
call fcn.0044d710
push eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xd
call fcn.004073f0
mov eax, dword [ebp - 0x370]
or eax, 4
mov dword [ebp - 0x370], eax
mov dword [ebp - 0x3a0], eax
lea ecx, [ebp - 0x2a4]
call fcn.00412bb0
lea ecx, [ebp - 0x350]
call fcn.00412bb0
lea ecx, [ebp - 0x14c]
call fcn.004129d0
lea ecx, [ebp - 0x1f8]
mov byte [ebp - 4], 0x12
call fcn.00412bb0
push 8
call fcn.004697b9
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x465396
mov dword [ecx], 0
mov dword [ecx + 4], 0
test edi, edi
je 0x465398
mov eax, dword [ebp - 0x374]
mov dword [ecx], eax
mov dword [ecx + 4], edi
lock inc dword [edi + 8]
jmp 0x465398
xor ecx, ecx
mov esi, dword [ebp - 0x374]
lea eax, [esi + 0x44]
mov dword [eax], ecx
cmp dword [ebp - 0x48], 8
mov edx, dword [esi + 0x10]
mov dword [ebp - 0x364], eax
lea eax, [ebp - 0x5c]
cmovae eax, dword [ebp - 0x5c]
add edx, 0x48
mov dword [ebp - 0x37c], eax
cmp dword [edx + 0x14], 8
jb 0x4653c8
mov edx, dword [edx]
mov ecx, dword [ebp - 0x360]
mov eax, 0x40
mov dword [ebp - 0x394], 0x800040
cmp byte [ecx + 0x29c], 0
cmovne eax, dword [ebp - 0x394]
push eax
push 0
push 0
push 0
push dword [ebp - 0x37c]
push edx
push dword [ecx + 0x298]
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov ecx, eax
mov dword [esi + 0x40], ecx
test ecx, ecx
jne 0x465582
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x354], eax
or esi, 0xffffffff
mov eax, dword [ebp - 0x364]
mov ecx, dword [eax]
mov dword [ebp - 0x37c], ecx
test ecx, ecx
je 0x46545e
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x465448
mov eax, esi
lock xadd dword [ecx + 8], eax
jne 0x465448
mov eax, dword [ecx]
call dword [eax + 4]
push 8
push dword [ebp - 0x37c]
call fcn.004697ab
mov eax, dword [ebp - 0x364]
add esp, 8
xorps xmm0, xmm0
mov dword [eax], 0
push 0x20
lea ecx, [ebp - 0x2c]
movups xmmword [ebp - 0x2c], xmm0
call fcn.0040cf80
movups xmm0, xmmword [0x49c184]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], 0x12
movups xmmword [eax], xmm0
mov cx, word [0x49c194]
mov word [eax + 0x10], cx
mov dword [ebp - 0x18], 0x1f
mov byte [eax + 0x12], 0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x13
push eax
push dword [ebp - 0x354]
lea eax, [ebp - 0x44]
push eax
call fcn.00460860
add esp, 0xc
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x358]
push eax
push dword [ebp - 0x354]
mov ecx, dword [ecx]
call fcn.00448490
lea ecx, [ebp - 0x44]
call fcn.0040d0c0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x46550d
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x465503
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46639f
push ecx
push edx
call fcn.004697ab
add esp, 8
lea ecx, [ebp - 0x5c]
call fcn.00404db0
mov eax, dword [ebp - 0x384]
test eax, eax
je 0x465526
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x380]
test eax, eax
je 0x465537
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [ebp - 0x35c]
test ecx, ecx
je 0x46554f
mov eax, esi
lock xadd dword [ecx + 8], eax
jne 0x46554f
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x466358
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x466358
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x466358
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
jmp 0x466358
push 4
lea eax, [esi + 0x44]
push eax
push 0x2d
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x465649
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x354], eax
or esi, 0xffffffff
mov eax, dword [ebp - 0x364]
mov ecx, dword [eax]
mov dword [ebp - 0x37c], ecx
test ecx, ecx
je 0x4655e5
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x4655cf
mov eax, esi
lock xadd dword [ecx + 8], eax
jne 0x4655cf
mov eax, dword [ecx]
call dword [eax + 4]
push 8
push dword [ebp - 0x37c]
call fcn.004697ab
mov eax, dword [ebp - 0x364]
add esp, 8
xorps xmm0, xmm0
mov dword [eax], 0
push 0x30
lea ecx, [ebp - 0x2c]
movups xmmword [ebp - 0x2c], xmm0
call fcn.0040cf80
movups xmm0, xmmword [str.WinHttpSetOption_request_context]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], 0x20
movups xmmword [eax], xmm0
mov dword [ebp - 0x18], 0x2f
movups xmm0, xmmword [0x49c1a8]
movups xmmword [eax + 0x10], xmm0
mov byte [eax + 0x20], 0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x15
push eax
push dword [ebp - 0x354]
lea eax, [ebp - 0x44]
push eax
call fcn.00460860
add esp, 0xc
mov byte [ebp - 4], 0x16
jmp 0x4654bd
cmp byte [ebp - 0x354], 0
je 0x46573b
push 0xc
lea eax, [ebp - 0x388]
push eax
push 0x26
push dword [esi + 0x40]
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x46573b
call dword [sym.imp.KERNEL32.dll_GetLastError]
xorps xmm0, xmm0
lea ecx, [ebp - 0x2c]
push 0x20
mov esi, eax
movups xmmword [ebp - 0x2c], xmm0
call fcn.0040cf80
movups xmm0, xmmword [str.Setting_proxy_options]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], 0x15
movups xmmword [eax], xmm0
mov ecx, dword [0x49c1cc]
mov dword [eax + 0x10], ecx
mov cl, byte [0x49c1d0]
mov byte [eax + 0x14], cl
mov dword [ebp - 0x18], 0x1f
mov byte [eax + 0x15], 0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x17
push eax
lea eax, [ebp - 0x44]
push esi
push eax
call fcn.00460860
add esp, 0xc
mov ecx, dword [ebp - 0x358]
push eax
push esi
mov byte [ebp - 4], 0x18
mov ecx, dword [ecx]
call fcn.00448490
lea ecx, [ebp - 0x44]
call fcn.0040d0c0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x465720
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x465716
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46639f
push ecx
push edx
call fcn.004697ab
add esp, 8
lea ecx, [ebp - 0x5c]
call fcn.00404db0
lea ecx, [ebp - 0x388]
call fcn.0045c370
or esi, 0xffffffff
jmp 0x465537
mov ecx, dword [ebp - 0x360]
call fcn.00447670
cmp dword [eax + 0xf8], 0
je 0x465843
push 4
lea eax, [ebp - 0x37c]
mov dword [ebp - 0x37c], 2
push eax
push 0x4d
push dword [esi + 0x40]
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x465843
call dword [sym.imp.KERNEL32.dll_GetLastError]
xorps xmm0, xmm0
lea ecx, [ebp - 0x2c]
push 0x50
mov esi, eax
movups xmmword [ebp - 0x2c], xmm0
call fcn.0040cf80
movups xmm0, xmmword [str.Setting_autologon_policy_to_WINHTTP_AUTOLOGON_SECURITY_LEVEL_HIGH]
mov ecx, eax
mov dword [ebp - 0x1c], 0x41
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x18], 0x4f
movups xmmword [ecx], xmm0
movups xmm0, xmmword [0x49c1e8]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [0x49c1f8]
movups xmmword [ecx + 0x20], xmm0
movups xmm0, xmmword [0x49c208]
movups xmmword [ecx + 0x30], xmm0
mov al, byte [0x49c218]
mov byte [ecx + 0x40], al
mov byte [ecx + 0x41], 0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x19
push eax
lea eax, [ebp - 0x44]
push esi
push eax
call fcn.00460860
add esp, 0xc
mov ecx, dword [ebp - 0x358]
push eax
push esi
mov byte [ebp - 4], 0x1a
mov ecx, dword [ecx]
call fcn.00448490
lea ecx, [ebp - 0x44]
call fcn.0040d0c0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x465720
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x465716
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x465716
jmp 0x46639f
mov ecx, dword [ebp - 0x360]
mov dword [ebp - 0x38c], 0
call fcn.00447670
cmp byte [eax + 0x125], 0
je 0x465b24
push 4
lea eax, [ebp - 0x394]
mov dword [ebp - 0x394], 1
push eax
push 0x4f
push dword [esi + 0x40]
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x46594a
call dword [sym.imp.KERNEL32.dll_GetLastError]
xorps xmm0, xmm0
lea ecx, [ebp - 0x2c]
push 0x30
mov esi, eax
movups xmmword [ebp - 0x2c], xmm0
call fcn.0040cf80
movups xmm0, xmmword [str.Error_enabling_SSL_revocation_check]
mov edx, eax
mov dword [ebp - 0x1c], 0x23
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x18], 0x2f
movups xmmword [edx], xmm0
movups xmm0, xmmword [0x49c22c]
movups xmmword [edx + 0x10], xmm0
mov cx, word [0x49c23c]
mov word [edx + 0x20], cx
mov al, byte [0x49c23e]
mov byte [edx + 0x22], al
mov byte [edx + 0x23], 0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x1b
push eax
lea eax, [ebp - 0x44]
push esi
push eax
call fcn.00460860
add esp, 0xc
mov ecx, dword [ebp - 0x358]
push eax
push esi
mov byte [ebp - 4], 0x1c
mov ecx, dword [ecx]
call fcn.00448490
lea ecx, [ebp - 0x44]
call fcn.0040d0c0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x465720
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x465716
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x465716
jmp 0x46639f
push str.Host
lea ecx, [ebp - 0x44]
call fcn.00416a40
mov eax, dword [ebp - 0x378]
mov ecx, dword [eax]
mov dword [ebp - 0x364], ecx
mov eax, dword [ecx + 4]
cmp byte [eax + 0xd], 0
jne 0x4659a5
mov esi, eax
lea eax, [ebp - 0x44]
push eax
lea eax, [esi + 0x10]
push eax
call fcn.00422870
add esp, 8
test al, al
je 0x46598f
mov esi, dword [esi + 8]
mov ecx, dword [ebp - 0x364]
jmp 0x465999
mov ecx, esi
mov esi, dword [esi]
mov dword [ebp - 0x364], ecx
cmp byte [esi + 0xd], 0
je 0x465970
mov esi, dword [ebp - 0x374]
cmp byte [ecx + 0xd], 0
jne 0x4659bf
lea eax, [ecx + 0x10]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00422870
add esp, 8
test al, al
je 0x4659cd
mov eax, dword [ebp - 0x378]
mov eax, dword [eax]
mov dword [ebp - 0x364], eax
lea ecx, [ebp - 0x44]
call fcn.00404db0
mov ecx, dword [ebp - 0x378]
mov eax, dword [ebp - 0x364]
cmp eax, dword [ecx]
je 0x465a46
lea ecx, [eax + 0x28]
mov eax, dword [ebp - 0x360]
add eax, 0x44
mov dword [ebp - 0x354], ecx
push eax
push ecx
call fcn.004227d0
add esp, 8
test al, al
jne 0x465a46
mov eax, dword [ebp - 0x354]
lea ecx, [esi + 0xc4]
cmp ecx, eax
je 0x465a2e
cmp dword [eax + 0x14], 8
mov edx, eax
jb 0x465a1f
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.00417480
lea ecx, [esi + 0xc4]
push ecx
call fcn.00422010
add esp, 4
mov dword [ebp - 0x38c], 0x1000
jmp 0x465b2e
cmp dword [ebp - 0x38c], 0
jne 0x465b2e
mov ecx, dword [ebp - 0x360]
call fcn.00447670
cmp dword [eax + 0x17c], 0
jne 0x465beb
push 4
lea eax, [ebp - 0x390]
mov dword [ebp - 0x390], 0
push eax
push 0x58
push dword [esi + 0x40]
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x465dff
call dword [sym.imp.KERNEL32.dll_GetLastError]
xorps xmm0, xmm0
lea ecx, [ebp - 0x2c]
push 0x20
mov esi, eax
movups xmmword [ebp - 0x2c], xmm0
call fcn.0040cf80
movups xmm0, xmmword [str.Setting_redirect_policy]
mov edx, eax
mov dword [ebp - 0x1c], 0x17
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x18], 0x1f
movups xmmword [edx], xmm0
mov ecx, dword [0x49c280]
mov dword [edx + 0x10], ecx
mov cx, word [0x49c284]
mov word [edx + 0x14], cx
mov al, byte [0x49c286]
mov byte [edx + 0x16], al
mov byte [edx + 0x17], 0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x1f
push eax
lea eax, [ebp - 0x44]
push esi
push eax
call fcn.00460860
add esp, 0xc
mov ecx, dword [ebp - 0x358]
push eax
push esi
mov byte [ebp - 4], 0x20
mov ecx, dword [ecx]
call fcn.00448490
lea ecx, [ebp - 0x44]
call fcn.0040d0c0
lea ecx, [ebp - 0x2c]
call fcn.0040d0c0
jmp 0x465720
mov dword [ebp - 0x38c], 0x3300
push 4
lea eax, [ebp - 0x38c]
push eax
push 0x1f
push dword [esi + 0x40]
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x465a53
call dword [sym.imp.KERNEL32.dll_GetLastError]
xorps xmm0, xmm0
lea ecx, [ebp - 0x2c]
push 0x30
mov esi, eax
movups xmmword [ebp - 0x2c], xmm0
call fcn.0040cf80
movups xmm0, xmmword [str.Setting_ignore_server_certificate_verification]
mov ecx, eax
mov dword [ebp - 0x1c], 0x2e
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x18], 0x2f
movups xmmword [ecx], xmm0
movups xmm0, xmmword [0x49c250]
movups xmmword [ecx + 0x10], xmm0
movq xmm0, qword [0x49c260]
movq qword [ecx + 0x20], xmm0
mov eax, dword [0x49c268]
mov dword [ecx + 0x28], eax
mov ax, word [0x49c26c]
mov word [ecx + 0x2c], ax
mov byte [ecx + 0x2e], 0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x1d
push eax
lea eax, [ebp - 0x44]
push esi
push eax
call fcn.00460860
add esp, 0xc
mov ecx, dword [ebp - 0x358]
push eax
push esi
mov byte [ebp - 4], 0x1e
mov ecx, dword [ecx]
call fcn.00448490
lea ecx, [ebp - 0x44]
call fcn.0040d0c0
lea ecx, [ebp - 0x2c]
call fcn.0040d0c0
jmp 0x465720
mov ecx, dword [ebp - 0x360]
call fcn.00447670
cmp dword [eax + 0x17c], 0xfffffffd
jae 0x465c15
mov ecx, dword [ebp - 0x360]
call fcn.00447670
mov eax, dword [eax + 0x17c]
add eax, 2
jmp 0x465c18
or eax, 0xffffffff
mov dword [ebp - 0x390], eax
add eax, 0xfffffffe
mov dword [esi + 0x4c], eax
lea eax, [ebp - 0x390]
push 4
push eax
push 0x59
push dword [esi + 0x40]
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x465d09
call dword [sym.imp.KERNEL32.dll_GetLastError]
xorps xmm0, xmm0
lea ecx, [ebp - 0x2c]
push 0x20
mov esi, eax
movups xmmword [ebp - 0x2c], xmm0
call fcn.0040cf80
movups xmm0, xmmword [str.Setting_max_automatic_redirects]
mov edx, eax
mov dword [ebp - 0x1c], 0x1f
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x18], 0x1f
movups xmmword [edx], xmm0
movq xmm0, qword [0x49c298]
movq qword [edx + 0x10], xmm0
mov ecx, dword [0x49c2a0]
mov dword [edx + 0x18], ecx
mov ax, word [0x49c2a4]
mov word [edx + 0x1c], ax
mov al, byte [0x49c2a6]
mov byte [edx + 0x1e], al
mov byte [edx + 0x1f], 0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x21
push eax
lea eax, [ebp - 0x44]
push esi
push eax
call fcn.00460860
add esp, 0xc
mov ecx, dword [ebp - 0x358]
push eax
push esi
mov byte [ebp - 4], 0x22
mov ecx, dword [ecx]
call fcn.00448490
lea ecx, [ebp - 0x44]
call fcn.0040d0c0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x465720
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x465716
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x465716
jmp 0x46639f
mov ecx, dword [ebp - 0x360]
call fcn.00447670
xor ecx, ecx
push 4
cmp byte [eax + 0x180], cl
lea eax, [ebp - 0x368]
push eax
setne cl
inc ecx
push 0x58
mov dword [ebp - 0x368], ecx
push dword [esi + 0x40]
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x465dff
call dword [sym.imp.KERNEL32.dll_GetLastError]
xorps xmm0, xmm0
lea ecx, [ebp - 0x2c]
push 0x20
mov esi, eax
movups xmmword [ebp - 0x2c], xmm0
call fcn.0040cf80
movups xmm0, xmmword [str.Setting_redirect_policy]
mov edx, eax
mov dword [ebp - 0x1c], 0x17
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x18], 0x1f
movups xmmword [edx], xmm0
mov ecx, dword [0x49c280]
mov dword [edx + 0x10], ecx
mov cx, word [0x49c284]
mov word [edx + 0x14], cx
mov al, byte [0x49c286]
mov byte [edx + 0x16], al
mov byte [edx + 0x17], 0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x23
push eax
lea eax, [ebp - 0x44]
push esi
push eax
call fcn.00460860
add esp, 0xc
mov ecx, dword [ebp - 0x358]
push eax
push esi
mov byte [ebp - 4], 0x24
mov ecx, dword [ecx]
call fcn.00448490
lea ecx, [ebp - 0x44]
call fcn.0040d0c0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x465720
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x465716
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x465716
jmp 0x46639f
mov ecx, dword [esi + 0x10]
mov byte [ebp - 4], 0x25
call fcn.00438740
mov dword [ebp - 0x364], eax
mov dword [ebp - 4], 0x12
test eax, eax
je 0x465e7c
mov eax, dword [esi + 0x10]
add eax, 0x48
push 0x4c9c80
push eax
call fcn.00448eb0
add esp, 8
test al, al
jne 0x465f78
mov eax, dword [esi + 0x10]
add eax, 0x48
push 0x4c9ce0
push eax
call fcn.00448eb0
add esp, 8
test al, al
jne 0x465f78
mov eax, dword [ebp - 0x364]
cmp eax, 0xffffffff
jne 0x465f6c
mov dword [esi + 0x50], 2
mov ecx, dword [esi + 0x10]
call fcn.00438750
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], 0
push dword [ebp - 0x378]
lea eax, [ebp - 0x74]
push eax
call fcn.0043dbe0
mov eax, dword [esi + 0x10]
add eax, 0x48
mov byte [ebp - 4], 0x29
push 0x4c9c80
push eax
call fcn.00448eb0
add esp, 0x10
test al, al
je 0x465ede
lea eax, [ebp - 0x8c]
mov ecx, esi
push eax
call fcn.00447a40
cmp dword [eax + 0x14], 8
mov ecx, eax
mov byte [ebp - 4], 0x2a
jb 0x465ec3
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x74]
call fcn.00417590
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0x29
call fcn.00404db0
mov ecx, dword [ebp - 0x64]
test ecx, ecx
je 0x465fc3
cmp dword [ebp - 0x60], 8
lea eax, [ebp - 0x74]
push 0x20000000
cmovae eax, dword [ebp - 0x74]
push ecx
push eax
push dword [esi + 0x40]
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x465fc3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x49c2a8
lea ecx, [ebp - 0x44]
mov esi, eax
call fcn.00407540
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0x2b
push eax
lea eax, [ebp - 0x8c]
push esi
push eax
call fcn.00460860
add esp, 0xc
mov ecx, dword [ebp - 0x358]
push eax
push esi
mov byte [ebp - 4], 0x2c
mov ecx, dword [ecx]
call fcn.00448490
lea ecx, [ebp - 0x8c]
call fcn.0040d0c0
lea ecx, [ebp - 0x44]
call fcn.0040d0c0
lea ecx, [ebp - 0x74]
call fcn.00404db0
jmp 0x465720
mov dword [esi + 0x50], 1
jmp 0x465e72
push dword [0x4bc024]
lea ecx, [ebp - 0x44]
call fcn.00416a40
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0x27
push eax
lea ecx, [ebp - 0xa0]
call fcn.0042b2e0
mov ecx, dword [ebp - 0x358]
push eax
mov byte [ebp - 4], 0x28
mov ecx, dword [ecx]
call fcn.00444cb0
lea ecx, [ebp - 0xa0]
call fcn.0042c700
lea ecx, [ebp - 0x44]
call fcn.00404db0
jmp 0x465720
mov eax, dword [esi + 0x10]
cmp dword [eax + 0x68], 0
mov edi, dword [ebp - 0x35c]
je 0x466156
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x354], ecx
mov dword [ebp - 0x3b4], ecx
mov dword [ebp - 0x378], eax
mov dword [ebp - 0x3b0], eax
test edi, edi
je 0x46601a
mov ecx, dword [ebp - 0x39c]
mov eax, edi
mov dword [ebp - 0x354], ecx
mov dword [ebp - 0x378], eax
mov dword [ebp - 0x3b4], ecx
mov dword [ebp - 0x3b0], eax
lock inc dword [edi + 8]
mov eax, dword [esi + 0x10]
add eax, 0x68
mov byte [ebp - 4], 0x2e
mov dword [ebp - 0x35c], eax
cmp dword [eax], 0
je 0x4663a4
push 0x74
call fcn.004697b9
add esp, 4
mov dword [ebp - 0x358], eax
test eax, eax
je 0x4660bf
mov dword [eax], vtable.Concurrency::details::_RefCounter.0
mov dword [eax + 4], 1
mov dword [eax], vtable.Concurrency::details::_CancellationTokenRegistration.0
mov dword [eax + 8], 3
add eax, 0xc
push eax
call fcn.00466d70
mov eax, dword [ebp - 0x358]
add eax, 0x34
push 2
push eax
call fcn.00466ba8
mov eax, dword [ebp - 0x358]
add esp, 0xc
mov ecx, dword [ebp - 0x378]
mov byte [eax + 0x64], 0
mov dword [eax + 0x68], 0
mov dword [eax], vtable.Concurrency::details::_CancellationTokenCallback_class__protected_virtual:_void___thiscall_web::http::client::details::winhttp_client::send_request_class_std::shared_ptr_class_web::http::client::details::request_context__const__::_95::_lambda_1__.0
mov dword [eax + 0x6c], 0
mov dword [eax + 0x70], 0
test ecx, ecx
je 0x4660c7
mov edx, dword [ebp - 0x354]
mov dword [eax + 0x6c], edx
mov dword [eax + 0x70], ecx
lock inc dword [ecx + 8]
jmp 0x4660c7
xor eax, eax
mov dword [ebp - 0x358], eax
mov ecx, dword [ebp - 0x35c]
push eax
mov ecx, dword [ecx]
call fcn.00402b30
mov ecx, dword [ebp - 0x358]
or dword [ebp - 0x370], 0x10
mov dword [ebp - 0x354], ecx
lea edx, [esi + 0x38]
mov byte [ebp - 4], 0x2f
lea eax, [ebp - 0x354]
mov dword [ebp - 0x368], edx
or esi, 0xffffffff
cmp edx, eax
je 0x466131
mov edx, dword [edx]
test edx, edx
je 0x46611f
mov eax, esi
lock xadd dword [edx + 4], eax
dec eax
jne 0x46611f
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 4]
mov ecx, dword [ebp - 0x358]
mov eax, dword [ebp - 0x368]
mov dword [ebp - 0x354], 0
mov dword [eax], ecx
lea ecx, [ebp - 0x354]
call fcn.00402e10
mov ecx, dword [ebp - 0x378]
test ecx, ecx
je 0x466159
mov eax, esi
lock xadd dword [ecx + 8], eax
jne 0x466159
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x466159
or esi, 0xffffffff
mov eax, dword [ebp - 0x374]
mov ecx, dword [ebp - 0x360]
mov byte [ebp - 4], 0x30
mov eax, dword [eax + 0x40]
mov dword [ebp - 0x368], eax
call fcn.00447670
mov ecx, dword [eax + 0x14c]
test ecx, ecx
je 0x466199
mov eax, dword [ebp - 0x368]
lea edx, [ebp - 0x368]
mov dword [ebp - 0x368], eax
mov eax, dword [ecx]
push edx
call dword [eax + 8]
mov eax, dword [ebp - 0x374]
mov dword [ebp - 4], 0x29
cmp dword [eax + 0x50], 0
je 0x4661ff
mov ecx, dword [ebp - 0x360]
call fcn.00447670
cmp byte [eax + 0x178], 0
je 0x4661ff
mov ecx, dword [ebp - 0x374]
lea eax, [ebp - 0x3b8]
push eax
call fcn.0045f670
mov ecx, eax
mov eax, dword [ebp - 0x370]
or eax, 1
mov byte [ebp - 4], 0x32
mov dword [ebp - 0x370], eax
mov dword [ebp - 0x3a0], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov byte [ebp - 0x369], 1
test al, al
je 0x466206
mov byte [ebp - 0x369], 0
mov eax, dword [ebp - 0x370]
mov dword [ebp - 4], 0x29
test al, 1
je 0x466222
lea ecx, [ebp - 0x3b8]
call fcn.0042c450
cmp byte [ebp - 0x369], 0
je 0x466281
push 0xc
call fcn.004697b9
add esp, 4
mov dword [ebp - 0x368], eax
mov byte [ebp - 4], 0x33
test eax, eax
je 0x466250
push 2
mov ecx, eax
call fcn.0045baf0
mov ecx, eax
jmp 0x466252
xor ecx, ecx
mov eax, dword [ebp - 0x374]
lea edx, [ebp - 0x368]
sub eax, 0xffffff80
mov byte [ebp - 4], 0x29
cmp eax, edx
je 0x466277
mov edx, dword [eax]
mov dword [eax], ecx
test edx, edx
je 0x466281
mov eax, dword [edx]
mov ecx, edx
jmp 0x46627d
test ecx, ecx
je 0x466281
mov eax, dword [ecx]
push 1
call dword [eax]
push dword [ebp - 0x364]
mov ecx, dword [ebp - 0x360]
lea eax, [ebp - 0x3ac]
push eax
call fcn.00460020
lea ecx, [ebp - 0x74]
call fcn.00404db0
lea ecx, [ebp - 0x5c]
call fcn.00404db0
lea ecx, [ebp - 0x388]
call fcn.0045c370
test edi, edi
je 0x4662c8
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x4662c8
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edi, dword [ebp - 0x3a8]
test edi, edi
je 0x466358
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x466358
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x466358
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
jmp 0x466358
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.0046977a
mov esp, ebp
pop ebp
ret 4
call fcn.0046e96f
lea ecx, [ebp - 0x3c4]
call fcn.0042b610
push 0x4ba044
lea eax, [ebp - 0x3c4]
push eax
call fcn.0046b275
int3