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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc197
mov eax, dword fs:[0]
push eax
sub esp, 0x384
mov eax, dword [0x4ec1e4]
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 - 0x344], eax
mov esi, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x354], ecx
mov dword [ebp - 0x33c], ecx
mov ecx, eax
mov dword [ebp - 0x338], esi
mov dword [ebp - 0x358], esi
call fcn.00485f80
mov edi, eax
test edi, edi
je 0x487627
push 0xb
xor eax, eax
mov dword [ebp - 0x2c], 0
push 0x4c53d0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.004040a0
mov ecx, dword [esi]
lea eax, [ebp - 0x2c]
push eax
push edi
mov dword [ebp - 4], 0
call fcn.00455360
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x488835
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x487618
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48887c
push edx
push ecx
call fcn.0048c9bc
add esp, 8
jmp 0x488835
mov eax, dword [esi]
mov edi, dword [esi + 4]
mov dword [ebp - 0x36c], eax
mov dword [ebp - 0x368], edi
mov ecx, dword [eax + 0x10]
add ecx, 0x2c
mov dword [ebp - 0x364], ecx
test edi, edi
je 0x487655
lock inc dword [edi + 4]
mov edi, dword [esi + 4]
mov dword [ebp - 0x368], edi
mov dword [ebp - 0x384], eax
mov dword [ebp - 0x380], edi
xor esi, esi
mov dword [ebp - 4], 1
mov dword [ebp - 0x360], 0
mov dword [ebp - 0x35c], esi
test edi, edi
je 0x487690
mov esi, edi
mov dword [ebp - 0x360], eax
mov dword [ebp - 0x35c], esi
lock inc dword [edi + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x370], 0
movq qword [ebp - 0x378], xmm0
mov eax, dword [eax + 0x10]
add eax, 0x48
mov byte [ebp - 4], 3
push eax
mov byte [ebp - 0x348], 0
call fcn.00489ad0
add esp, 4
test al, al
jne 0x4877aa
push 0x20
lea ecx, [ebp - 0x2c]
call fcn.0041f0d0
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 [0x4c53f8]
movq qword [edx + 0x10], xmm0
xorps xmm0, xmm0
mov ecx, dword [0x4c5400]
mov dword [edx + 0x18], ecx
mov al, byte [0x4c5404]
mov byte [edx + 0x1c], al
mov byte [edx + 0x1d], 0
movq qword [ebp - 0x68], xmm0
movups xmm0, xmmword [ebp - 0x2c]
mov dword [ebp - 0x6c], vtable.web::http::http_exception.0
mov dword [ebp - 0x60], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x5c], 0x4eb090
movq xmm0, qword [ebp - 0x1c]
movq qword [ebp - 0x48], xmm0
mov ecx, dword [ebp - 0x338]
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 4
mov ecx, dword [ecx]
call fcn.00451190
lea ecx, [ebp - 0x6c]
call fcn.004526c0
mov eax, dword [ebp - 0x374]
test eax, eax
je 0x48776d
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x370]
test eax, eax
je 0x48777e
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
test esi, esi
je 0x4877a2
mov ecx, dword [ebp - 0x35c]
or esi, 0xffffffff
mov eax, esi
lock xadd dword [ecx + 8], eax
jne 0x488813
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x488813
or esi, 0xffffffff
jmp 0x488813
mov esi, dword [ebp - 0x344]
cmp byte [esi + 0x29d], 0
je 0x487868
cmp dword [esi + 0x2b0], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
jne 0x4877e3
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x28], 3
jmp 0x4877fe
cmp dword [esi + 0x2b4], 8
lea eax, [esi + 0x2a0]
mov dword [ebp - 0x2c], 2
jb 0x4877fb
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
lea eax, [esi + 0x14]
mov dword [ebp - 0x18], 1
push eax
lea ecx, [ebp - 0x58]
call fcn.00404420
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x378]
push ecx
mov eax, 2
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x354], eax
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push ecx
push eax
push dword [esi + 0x294]
call dword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
lea ecx, [ebp - 0x58]
mov esi, eax
call fcn.00404250
mov eax, dword [ebp - 0x348]
test esi, esi
mov esi, dword [ebp - 0x344]
mov ecx, 1
movzx eax, al
cmovne eax, ecx
mov dword [ebp - 0x348], eax
mov ecx, dword [ebp - 0x36c]
lea eax, [ebp - 0x1dc]
push eax
mov ecx, dword [ecx + 0x10]
call fcn.00475f40
or dword [ebp - 0x354], 4
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 5
add esi, 0x2c
mov dword [ebp - 0x34c], eax
push esi
mov ecx, eax
call fcn.00404420
lea eax, [esi + 0x18]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x118]
call fcn.00404420
lea eax, [esi + 0x30]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x100]
call fcn.00404420
lea eax, [esi + 0x48]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0xe8]
call fcn.00404420
lea eax, [esi + 0x60]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0xd0]
call fcn.00404420
lea eax, [esi + 0x78]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0xb8]
call fcn.00404420
mov eax, dword [esi + 0x90]
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0x334]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x1dc]
push eax
lea ecx, [ebp - 0x130]
call fcn.00476ed0
mov ecx, eax
call fcn.00477460
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 0xc
push ecx
mov ecx, eax
call fcn.0045f610
push eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xd
call fcn.00404420
or dword [ebp - 0x354], 8
lea ecx, [ebp - 0x288]
call fcn.00403a80
lea ecx, [ebp - 0x334]
call fcn.00403a80
lea ecx, [ebp - 0x130]
call fcn.004038b0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x1dc]
call fcn.00403a80
push 8
call fcn.0048c9ca
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4879b9
mov dword [ecx], 0
mov dword [ecx + 4], 0
test edi, edi
je 0x4879bb
mov eax, dword [ebp - 0x36c]
mov dword [ecx], eax
mov dword [ecx + 4], edi
lock inc dword [edi + 8]
jmp 0x4879bb
xor ecx, ecx
mov esi, dword [ebp - 0x36c]
lea eax, [esi + 0x44]
mov dword [eax], ecx
cmp dword [ebp - 0x70], 8
mov edx, dword [esi + 0x10]
mov dword [ebp - 0x340], eax
lea eax, [ebp - 0x84]
cmovae eax, dword [ebp - 0x84]
add edx, 0x48
mov dword [ebp - 0x33c], eax
cmp dword [edx + 0x14], 8
jb 0x4879f1
mov edx, dword [edx]
mov ecx, dword [ebp - 0x344]
mov eax, 0x40
mov dword [ebp - 0x34c], 0x800040
cmp byte [ecx + 0x29c], 0
cmovne eax, dword [ebp - 0x34c]
push eax
push 0
push 0
push 0
push dword [ebp - 0x33c]
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 0x487b81
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x368], eax
or esi, 0xffffffff
mov eax, dword [ebp - 0x340]
mov ecx, dword [eax]
mov dword [ebp - 0x358], ecx
test ecx, ecx
je 0x487a87
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x487a71
mov eax, esi
lock xadd dword [ecx + 8], eax
jne 0x487a71
mov eax, dword [ecx]
call dword [eax + 4]
push 8
push dword [ebp - 0x358]
call fcn.0048c9bc
mov eax, dword [ebp - 0x340]
add esp, 8
push 0x20
lea ecx, [ebp - 0x2c]
mov dword [eax], 0
call fcn.0041f0d0
movups xmm0, xmmword [0x4c5408]
mov dword [ebp - 0x1c], 0x12
mov dword [ebp - 0x18], 0x1f
movups xmmword [eax], xmm0
mov cx, word [0x4c5418]
mov word [eax + 0x10], cx
mov byte [eax + 0x12], 0
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x13
push eax
push dword [ebp - 0x368]
lea eax, [ebp - 0x58]
push eax
call fcn.00483050
add esp, 0xc
mov ecx, dword [ebp - 0x338]
push eax
push dword [ebp - 0x368]
mov byte [ebp - 4], 0x14
mov ecx, dword [ecx]
call fcn.004552a0
lea ecx, [ebp - 0x58]
call fcn.004178c0
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x487b2f
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x487b25
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x488881
push edx
push ecx
call fcn.0048c9bc
add esp, 8
lea ecx, [ebp - 0x84]
call fcn.00404250
mov eax, dword [ebp - 0x374]
test eax, eax
je 0x487b4b
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x370]
test eax, eax
je 0x487b5c
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [ebp - 0x35c]
test ecx, ecx
je 0x488813
mov eax, esi
lock xadd dword [ecx + 8], eax
jne 0x488813
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x488813
push 4
lea eax, [esi + 0x44]
push eax
push 0x2d
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x487cde
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x368], eax
or esi, 0xffffffff
mov eax, dword [ebp - 0x340]
mov ecx, dword [eax]
mov dword [ebp - 0x358], ecx
test ecx, ecx
je 0x487be4
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x487bce
mov eax, esi
lock xadd dword [ecx + 8], eax
jne 0x487bce
mov eax, dword [ecx]
call dword [eax + 4]
push 8
push dword [ebp - 0x358]
call fcn.0048c9bc
mov eax, dword [ebp - 0x340]
add esp, 8
push 0x30
lea ecx, [ebp - 0x2c]
mov dword [eax], 0
call fcn.0041f0d0
movups xmm0, xmmword [str.WinHttpSetOption_request_context]
mov dword [ebp - 0x1c], 0x20
mov dword [ebp - 0x18], 0x2f
movups xmmword [eax], xmm0
mov dword [ebp - 0x2c], eax
movups xmm0, xmmword [0x4c542c]
movups xmmword [eax + 0x10], xmm0
mov byte [eax + 0x20], 0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x15
push eax
push dword [ebp - 0x368]
lea eax, [ebp - 0x58]
push eax
call fcn.00483050
add esp, 0xc
mov ecx, dword [ebp - 0x338]
push eax
push dword [ebp - 0x368]
mov byte [ebp - 4], 0x16
mov ecx, dword [ecx]
call fcn.004552a0
lea ecx, [ebp - 0x58]
call fcn.004178c0
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x487c8c
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x487c82
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x488886
push edx
push ecx
call fcn.0048c9bc
add esp, 8
lea ecx, [ebp - 0x84]
call fcn.00404250
mov eax, dword [ebp - 0x374]
test eax, eax
je 0x487ca8
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x370]
test eax, eax
je 0x487cb9
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [ebp - 0x35c]
test ecx, ecx
je 0x488813
mov eax, esi
lock xadd dword [ecx + 8], eax
jne 0x488813
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x488813
cmp byte [ebp - 0x348], 0
je 0x487dcc
push 0xc
lea eax, [ebp - 0x378]
push eax
push 0x26
push dword [esi + 0x40]
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x487dcc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x20
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.0041f0d0
movups xmm0, xmmword [str.Setting_proxy_options]
mov dword [ebp - 0x1c], 0x15
mov dword [ebp - 0x18], 0x1f
movups xmmword [eax], xmm0
mov ecx, dword [0x4c5450]
mov dword [eax + 0x10], ecx
mov cl, byte [0x4c5454]
mov byte [eax + 0x14], cl
mov byte [eax + 0x15], 0
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x17
push eax
lea eax, [ebp - 0x58]
push esi
push eax
call fcn.00483050
add esp, 0xc
mov ecx, dword [ebp - 0x338]
push eax
push esi
mov byte [ebp - 4], 0x18
mov ecx, dword [ecx]
call fcn.004552a0
lea ecx, [ebp - 0x58]
call fcn.004178c0
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x487dae
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x487da4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48888b
push edx
push ecx
call fcn.0048c9bc
add esp, 8
lea ecx, [ebp - 0x84]
call fcn.00404250
lea ecx, [ebp - 0x378]
call fcn.0047eef0
or esi, 0xffffffff
jmp 0x487b5c
mov ecx, dword [ebp - 0x344]
call fcn.004545c0
cmp dword [eax + 0xf8], 0
je 0x487ecd
push 4
lea eax, [ebp - 0x34c]
mov dword [ebp - 0x34c], 2
push eax
push 0x4d
push dword [esi + 0x40]
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x487ecd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x50
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.0041f0d0
movups xmm0, xmmword [str.Setting_autologon_policy_to_WINHTTP_AUTOLOGON_SECURITY_LEVEL_HIGH]
mov ecx, eax
mov dword [ebp - 0x1c], 0x41
mov dword [ebp - 0x18], 0x4f
mov dword [ebp - 0x2c], ecx
movups xmmword [ecx], xmm0
movups xmm0, xmmword [0x4c5468]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [0x4c5478]
movups xmmword [ecx + 0x20], xmm0
movups xmm0, xmmword [0x4c5488]
movups xmmword [ecx + 0x30], xmm0
mov al, byte [0x4c5498]
mov byte [ecx + 0x40], al
mov byte [ecx + 0x41], 0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x19
push eax
lea eax, [ebp - 0x58]
push esi
push eax
call fcn.00483050
add esp, 0xc
mov ecx, dword [ebp - 0x338]
push eax
push esi
mov byte [ebp - 4], 0x1a
mov ecx, dword [ecx]
call fcn.004552a0
lea ecx, [ebp - 0x58]
call fcn.004178c0
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x487dae
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x487da4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x488890
jmp 0x487da4
mov ecx, dword [ebp - 0x344]
mov dword [ebp - 0x37c], 0
call fcn.004545c0
cmp byte [eax + 0x125], 0
je 0x488166
push 4
lea eax, [ebp - 0x34c]
mov dword [ebp - 0x34c], 1
push eax
push 0x4f
push dword [esi + 0x40]
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x487fcd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x30
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.0041f0d0
movups xmm0, xmmword [str.Error_enabling_SSL_revocation_check]
mov edx, eax
mov dword [ebp - 0x1c], 0x23
mov dword [ebp - 0x18], 0x2f
mov dword [ebp - 0x2c], edx
movups xmmword [edx], xmm0
movups xmm0, xmmword [0x4c54ac]
movups xmmword [edx + 0x10], xmm0
mov cx, word [0x4c54bc]
mov word [edx + 0x20], cx
mov al, byte [0x4c54be]
mov byte [edx + 0x22], al
mov byte [edx + 0x23], 0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x1b
push eax
lea eax, [ebp - 0x58]
push esi
push eax
call fcn.00483050
add esp, 0xc
mov ecx, dword [ebp - 0x338]
push eax
push esi
mov byte [ebp - 4], 0x1c
mov ecx, dword [ecx]
call fcn.004552a0
lea ecx, [ebp - 0x58]
call fcn.004178c0
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x487dae
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x487da4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x488895
jmp 0x487da4
push str.Host
lea ecx, [ebp - 0x58]
call fcn.004041b0
mov eax, dword [ebp - 0x364]
mov ecx, dword [eax]
mov dword [ebp - 0x340], ecx
mov eax, dword [ecx + 4]
cmp byte [eax + 0xd], 0
jne 0x488028
mov esi, eax
lea eax, [ebp - 0x58]
push eax
lea eax, [esi + 0x10]
push eax
call fcn.004669b0
add esp, 8
test al, al
je 0x488012
mov esi, dword [esi + 8]
mov ecx, dword [ebp - 0x340]
jmp 0x48801c
mov ecx, esi
mov esi, dword [esi]
mov dword [ebp - 0x340], ecx
cmp byte [esi + 0xd], 0
je 0x487ff3
mov esi, dword [ebp - 0x36c]
cmp byte [ecx + 0xd], 0
jne 0x488042
lea eax, [ecx + 0x10]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004669b0
add esp, 8
test al, al
je 0x488050
mov eax, dword [ebp - 0x364]
mov eax, dword [eax]
mov dword [ebp - 0x340], eax
lea ecx, [ebp - 0x58]
call fcn.00404250
mov ecx, dword [ebp - 0x364]
mov eax, dword [ebp - 0x340]
cmp eax, dword [ecx]
je 0x4880c9
lea ecx, [eax + 0x28]
mov eax, dword [ebp - 0x344]
add eax, 0x44
mov dword [ebp - 0x33c], ecx
push eax
push ecx
call fcn.00466910
add esp, 8
test al, al
jne 0x4880c9
mov eax, dword [ebp - 0x33c]
lea ecx, [esi + 0xc4]
cmp ecx, eax
je 0x4880b1
cmp dword [eax + 0x14], 8
mov edx, eax
jb 0x4880a2
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.004040a0
lea ecx, [esi + 0xc4]
push ecx
call fcn.00466510
add esp, 4
mov dword [ebp - 0x37c], 0x1000
jmp 0x488170
cmp dword [ebp - 0x37c], 0
jne 0x488170
mov ecx, dword [ebp - 0x344]
call fcn.004545c0
cmp dword [eax + 0x17c], 0
jne 0x4881de
push 4
lea eax, [ebp - 0x34c]
mov dword [ebp - 0x34c], 0
push eax
push 0x58
push dword [esi + 0x40]
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x488308
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.Setting_redirect_policy
lea ecx, [ebp - 0x58]
mov esi, eax
call fcn.0041f260
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x1f
push eax
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.00483050
add esp, 0xc
mov ecx, dword [ebp - 0x338]
push eax
push esi
mov byte [ebp - 4], 0x20
mov ecx, dword [ecx]
call fcn.004552a0
lea ecx, [ebp - 0x2c]
call fcn.004178c0
lea ecx, [ebp - 0x58]
call fcn.004178c0
jmp 0x487dae
mov dword [ebp - 0x37c], 0x3300
push 4
lea eax, [ebp - 0x37c]
push eax
push 0x1f
push dword [esi + 0x40]
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x4880d6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.Setting_ignore_server_certificate_verification
lea ecx, [ebp - 0x58]
mov esi, eax
call fcn.0041f260
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x1d
push eax
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.00483050
add esp, 0xc
mov ecx, dword [ebp - 0x338]
push eax
push esi
mov byte [ebp - 4], 0x1e
mov ecx, dword [ecx]
call fcn.004552a0
lea ecx, [ebp - 0x2c]
call fcn.004178c0
lea ecx, [ebp - 0x58]
call fcn.004178c0
jmp 0x487dae
mov ecx, dword [ebp - 0x344]
call fcn.004545c0
cmp dword [eax + 0x17c], 0xfffffffd
jae 0x488208
mov ecx, dword [ebp - 0x344]
call fcn.004545c0
mov eax, dword [eax + 0x17c]
add eax, 2
jmp 0x48820b
or eax, 0xffffffff
mov dword [ebp - 0x34c], eax
add eax, 0xfffffffe
mov dword [esi + 0x4c], eax
lea eax, [ebp - 0x34c]
push 4
push eax
push 0x59
push dword [esi + 0x40]
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x488281
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.Setting_max_automatic_redirects
lea ecx, [ebp - 0x58]
mov esi, eax
call fcn.0041f260
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x21
push eax
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.00483050
add esp, 0xc
mov ecx, dword [ebp - 0x338]
push eax
push esi
mov byte [ebp - 4], 0x22
mov ecx, dword [ecx]
call fcn.004552a0
lea ecx, [ebp - 0x2c]
call fcn.004178c0
lea ecx, [ebp - 0x58]
call fcn.004178c0
jmp 0x487dae
mov ecx, dword [ebp - 0x344]
call fcn.004545c0
xor ecx, ecx
push 4
cmp byte [eax + 0x180], cl
lea eax, [ebp - 0x33c]
push eax
setne cl
inc ecx
push 0x58
mov dword [ebp - 0x33c], ecx
push dword [esi + 0x40]
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x488308
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.Setting_redirect_policy
lea ecx, [ebp - 0x58]
mov esi, eax
call fcn.0041f260
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x23
push eax
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.00483050
add esp, 0xc
mov ecx, dword [ebp - 0x338]
push eax
push esi
mov byte [ebp - 4], 0x24
mov ecx, dword [ecx]
call fcn.004552a0
lea ecx, [ebp - 0x2c]
call fcn.004178c0
lea ecx, [ebp - 0x58]
call fcn.004178c0
jmp 0x487dae
mov ecx, dword [esi + 0x10]
mov byte [ebp - 4], 0x25
call fcn.0046f0f0
mov dword [ebp - 0x34c], eax
mov dword [ebp - 4], 0x12
test eax, eax
je 0x488385
mov eax, dword [esi + 0x10]
add eax, 0x48
push 0x4eb0bc
push eax
call fcn.004062f0
add esp, 8
test al, al
jne 0x48848a
mov eax, dword [esi + 0x10]
add eax, 0x48
push 0x4eb11c
push eax
call fcn.004062f0
add esp, 8
test al, al
jne 0x48848a
mov eax, dword [ebp - 0x34c]
cmp eax, 0xffffffff
jne 0x48847e
mov dword [esi + 0x50], 2
mov ecx, dword [esi + 0x10]
call fcn.0046f100
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], 0
push dword [ebp - 0x364]
lea eax, [ebp - 0x9c]
push eax
call fcn.00472180
mov eax, dword [esi + 0x10]
add eax, 0x48
mov byte [ebp - 4], 0x29
push 0x4eb0bc
push eax
call fcn.004062f0
add esp, 0x10
test al, al
je 0x4883e7
lea eax, [ebp - 0x58]
mov ecx, esi
push eax
call fcn.004549b0
cmp dword [eax + 0x14], 8
mov ecx, eax
mov byte [ebp - 4], 0x2a
jb 0x4883cc
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x9c]
call fcn.00405380
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x29
call fcn.00404250
mov ecx, dword [ebp - 0x8c]
test ecx, ecx
je 0x4884cf
cmp dword [ebp - 0x88], 8
lea eax, [ebp - 0x9c]
push 0x20000000
cmovae eax, dword [ebp - 0x9c]
push ecx
push eax
push dword [esi + 0x40]
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x4884cf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x4c5528
lea ecx, [ebp - 0x58]
mov esi, eax
call fcn.0041f260
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x2b
push eax
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.00483050
add esp, 0xc
mov ecx, dword [ebp - 0x338]
push eax
push esi
mov byte [ebp - 4], 0x2c
mov ecx, dword [ecx]
call fcn.004552a0
lea ecx, [ebp - 0x2c]
call fcn.004178c0
lea ecx, [ebp - 0x58]
call fcn.004178c0
lea ecx, [ebp - 0x9c]
call fcn.00404250
jmp 0x487dae
mov dword [esi + 0x50], 1
jmp 0x48837b
push dword [0x4eb008]
lea ecx, [ebp - 0x58]
call fcn.004041b0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x27
push eax
lea ecx, [ebp - 0x40]
call fcn.0046a7b0
mov ecx, dword [ebp - 0x338]
push eax
mov byte [ebp - 4], 0x28
mov ecx, dword [ecx]
call fcn.00451190
lea ecx, [ebp - 0x40]
call fcn.004526c0
lea ecx, [ebp - 0x58]
call fcn.00404250
jmp 0x487dae
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x338], ecx
cmp dword [ecx + 0x68], 0
mov edi, dword [ebp - 0x35c]
je 0x48862e
xor eax, eax
xor edx, edx
mov dword [ebp - 0x340], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x33c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x348], eax
test edi, edi
je 0x488535
mov ecx, dword [ebp - 0x360]
mov eax, edi
mov dword [ebp - 0x340], ecx
mov dword [ebp - 0x33c], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], eax
lock inc dword [edi + 8]
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x348], edi
mov dword [ebp - 0x338], ecx
cmp dword [ecx + 0x68], 0
mov byte [ebp - 4], 0x2e
je 0x48889a
push 0x74
call fcn.0048c9ca
add esp, 4
mov dword [ebp - 0x364], eax
test eax, eax
je 0x488596
push 1
mov ecx, eax
call 0x42d340
mov eax, dword [ebp - 0x364]
mov ecx, dword [ebp - 0x348]
mov dword [eax], vtable.Concurrency::details::_CancellationTokenCallback_class__lambda_19820f80eb4a61f9a1629054c76574cd__.0
mov dword [eax + 0x6c], 0
mov dword [eax + 0x70], 0
test ecx, ecx
je 0x48859e
mov edx, dword [ebp - 0x340]
mov dword [eax + 0x6c], edx
mov dword [eax + 0x70], ecx
lock inc dword [ecx + 8]
jmp 0x48859e
xor eax, eax
mov dword [ebp - 0x364], eax
mov ecx, dword [ebp - 0x338]
push eax
mov ecx, dword [ecx + 0x68]
call fcn.0042d480
mov ecx, dword [ebp - 0x364]
or dword [ebp - 0x354], 0x10
mov dword [ebp - 0x348], ecx
lea edx, [esi + 0x38]
mov byte [ebp - 4], 0x2f
lea eax, [ebp - 0x348]
mov dword [ebp - 0x340], edx
or esi, 0xffffffff
cmp edx, eax
je 0x488609
mov edx, dword [edx]
test edx, edx
je 0x4885f7
mov eax, esi
lock xadd dword [edx + 4], eax
dec eax
jne 0x4885f7
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 4]
mov ecx, dword [ebp - 0x364]
mov eax, dword [ebp - 0x340]
mov dword [ebp - 0x348], 0
mov dword [eax], ecx
lea ecx, [ebp - 0x348]
call fcn.0042d7c0
mov ecx, dword [ebp - 0x33c]
test ecx, ecx
je 0x488631
mov eax, esi
lock xadd dword [ecx + 8], eax
jne 0x488631
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x488631
or esi, 0xffffffff
mov eax, dword [ebp - 0x36c]
mov ecx, dword [ebp - 0x344]
mov byte [ebp - 4], 0x30
mov eax, dword [eax + 0x40]
mov dword [ebp - 0x33c], eax
call fcn.004545c0
mov ecx, dword [eax + 0x14c]
test ecx, ecx
je 0x488671
mov eax, dword [ebp - 0x33c]
lea edx, [ebp - 0x33c]
mov dword [ebp - 0x33c], eax
mov eax, dword [ecx]
push edx
call dword [eax + 8]
mov eax, dword [ebp - 0x36c]
mov dword [ebp - 4], 0x29
cmp dword [eax + 0x50], 0
je 0x4886d4
mov ecx, dword [ebp - 0x344]
call fcn.004545c0
cmp byte [eax + 0x178], 0
je 0x4886d4
mov ecx, dword [ebp - 0x36c]
lea eax, [ebp - 0x20]
push eax
call fcn.00481eb0
mov ecx, eax
mov eax, dword [ebp - 0x354]
or eax, 1
mov byte [ebp - 4], 0x32
mov dword [ebp - 0x354], eax
mov dword [ebp - 0x33c], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov byte [ebp - 0x34d], 1
test al, al
je 0x4886db
mov byte [ebp - 0x34d], 0
mov eax, dword [ebp - 0x354]
mov dword [ebp - 4], 0x29
test al, 1
je 0x4886f4
lea ecx, [ebp - 0x20]
call fcn.00437920
cmp byte [ebp - 0x34d], 0
je 0x488753
push 0xc
call fcn.0048c9ca
add esp, 4
mov dword [ebp - 0x358], eax
mov byte [ebp - 4], 0x33
test eax, eax
je 0x488722
push 2
mov ecx, eax
call fcn.0047e650
mov ecx, eax
jmp 0x488724
xor ecx, ecx
mov eax, dword [ebp - 0x36c]
lea edx, [ebp - 0x358]
sub eax, 0xffffff80
mov byte [ebp - 4], 0x29
cmp eax, edx
je 0x488749
mov edx, dword [eax]
mov dword [eax], ecx
test edx, edx
je 0x488753
mov eax, dword [edx]
mov ecx, edx
jmp 0x48874f
test ecx, ecx
je 0x488753
mov eax, dword [ecx]
push 1
call dword [eax]
push dword [ebp - 0x34c]
mov ecx, dword [ebp - 0x344]
lea eax, [ebp - 0x384]
push eax
call fcn.004827c0
lea ecx, [ebp - 0x9c]
call fcn.00404250
lea ecx, [ebp - 0x84]
call fcn.00404250
lea ecx, [ebp - 0x378]
call fcn.0047eef0
test edi, edi
je 0x4887a0
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x4887a0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edi, dword [ebp - 0x380]
jmp 0x488813
test edi, edi
je 0x488835
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x488835
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x488835
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
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.0048c98b
mov esp, ebp
pop ebp
ret 4
call fcn.0049166f
call fcn.0049166f
call fcn.0049166f
call fcn.0049166f
call fcn.0049166f
call fcn.0049166f
lea ecx, [ebp - 0x390]
call fcn.0042d120
push 0x4e8eb0
lea eax, [ebp - 0x390]
push eax
call fcn.0048e6f7
int3