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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x667d0c
mov eax, dword fs:[0]
push eax
sub esp, 0x384
mov eax, dword [0x6d6ec0]
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 - 0x348], 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 - 0x340], esi
mov dword [ebp - 0x37c], esi
call fcn.004d21b0
mov edi, eax
test edi, edi
je 0x4d3990
push 0x672b50
lea ecx, [ebp - 0x58]
call fcn.00423c90
mov ecx, dword [esi]
lea eax, [ebp - 0x58]
push eax
push edi
mov dword [ebp - 4], 0
call fcn.004b3c50
lea ecx, [ebp - 0x58]
call fcn.00406410
jmp 0x4d4d8b
mov eax, dword [esi]
mov dword [ebp - 0x364], eax
mov ecx, dword [eax + 0x10]
add ecx, 0x2c
mov dword [ebp - 0x344], ecx
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4d39af
lock inc dword [ecx + 4]
mov edi, dword [esi + 4]
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 0x4d39ed
mov esi, edi
mov dword [ebp - 0x360], eax
mov dword [ebp - 0x35c], esi
lock inc dword [edi + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x368], 0
movq qword [ebp - 0x370], xmm0
mov eax, dword [eax + 0x10]
add eax, 0x48
mov byte [ebp - 4], 3
push eax
mov byte [ebp - 0x338], 0
call fcn.004be5d0
add esp, 4
test al, al
jne 0x4d3b4d
lea eax, [ebp - 0x338]
mov dword [ebp - 0x338], 0x1f
lea ecx, [ebp - 0x2c]
xorps xmm0, xmm0
push eax
push ecx
movups xmmword [ebp - 0x2c], xmm0
call fcn.004538c0
movups xmm0, xmmword [str.The_method_string_is_invalid.]
mov ecx, dword [ebp - 0x338]
mov edx, eax
mov dword [ebp - 0x2c], edx
add esp, 8
mov dword [ebp - 0x1c], 0x1d
mov dword [ebp - 0x18], ecx
movups xmmword [edx], xmm0
movq xmm0, qword [0x672b78]
movq qword [edx + 0x10], xmm0
xorps xmm0, xmm0
mov eax, dword [0x672b80]
mov dword [edx + 0x18], eax
mov al, byte [0x672b84]
mov byte [edx + 0x1c], al
mov byte [edx + 0x1d], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x6c], vtable.web::http::http_exception.0
movq qword [ebp - 0x68], xmm0
movups xmm0, xmmword [ebp - 0x2c]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0x6d401c
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [ebp - 0x48], xmm0
mov ecx, dword [ebp - 0x340]
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 4
mov ecx, dword [ecx]
call fcn.004b0550
lea ecx, [ebp - 0x6c]
call fcn.0049cf80
mov eax, dword [ebp - 0x36c]
test eax, eax
je 0x4d3ae9
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x368]
test eax, eax
je 0x4d3afa
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
test esi, esi
je 0x4d3b17
mov ecx, dword [ebp - 0x35c]
or esi, 0xffffffff
mov eax, esi
lock xadd dword [ecx + 8], eax
jne 0x4d3b1a
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4d3b1a
or esi, 0xffffffff
test edi, edi
je 0x4d4d8b
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x4d4d8b
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x4d4d8b
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
jmp 0x4d4d8b
mov esi, dword [ebp - 0x348]
cmp byte [esi + 0x29d], 0
je 0x4d3c0b
cmp dword [esi + 0x2b0], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
jne 0x4d3b86
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x28], 3
jmp 0x4d3ba1
cmp dword [esi + 0x2b4], 7
lea eax, [esi + 0x2a0]
mov dword [ebp - 0x2c], 2
jbe 0x4d3b9e
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.004358a0
cmp dword [ebp - 0x44], 7
lea ecx, [ebp - 0x370]
push ecx
mov eax, 8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x354], eax
lea eax, [ebp - 0x58]
cmova 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.00406410
mov eax, dword [ebp - 0x338]
test esi, esi
mov esi, dword [ebp - 0x348]
mov ecx, 1
movzx eax, al
cmovne eax, ecx
mov dword [ebp - 0x338], eax
mov ecx, dword [ebp - 0x364]
lea eax, [ebp - 0x1dc]
push eax
mov ecx, dword [ecx + 0x10]
call fcn.004af210
or dword [ebp - 0x354], 2
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 5
add esi, 0x2c
mov dword [ebp - 0x33c], eax
push esi
mov ecx, eax
call fcn.004358a0
lea eax, [esi + 0x18]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x118]
call fcn.004358a0
lea eax, [esi + 0x30]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x100]
call fcn.004358a0
lea eax, [esi + 0x48]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0xe8]
call fcn.004358a0
lea eax, [esi + 0x60]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0xd0]
call fcn.004358a0
lea eax, [esi + 0x78]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0xb8]
call fcn.004358a0
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.004ba920
mov ecx, eax
call fcn.004baeb0
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 0xc
push ecx
mov ecx, eax
call fcn.00491070
push eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xd
call fcn.004358a0
or dword [ebp - 0x354], 4
lea ecx, [ebp - 0x288]
call fcn.0040d790
lea ecx, [ebp - 0x334]
call fcn.0040d790
lea ecx, [ebp - 0x130]
call fcn.0040d5b0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x1dc]
call fcn.0040d790
push 8
call fcn.0061f577
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4d3d5c
mov dword [ecx], 0
mov dword [ecx + 4], 0
test edi, edi
je 0x4d3d5e
mov eax, dword [ebp - 0x364]
mov dword [ecx], eax
mov dword [ecx + 4], edi
lock inc dword [edi + 8]
jmp 0x4d3d5e
xor ecx, ecx
mov esi, dword [ebp - 0x364]
lea eax, [esi + 0x44]
mov dword [eax], ecx
cmp dword [ebp - 0x70], 7
mov edx, dword [esi + 0x10]
mov dword [ebp - 0x34c], eax
lea eax, [ebp - 0x84]
cmova eax, dword [ebp - 0x84]
add edx, 0x48
mov dword [ebp - 0x33c], eax
cmp dword [edx + 0x14], 7
jbe 0x4d3d94
mov edx, dword [edx]
mov ecx, dword [ebp - 0x348]
mov eax, 0x40
mov dword [ebp - 0x358], 0x800040
cmp byte [ecx + 0x29c], 0
cmovne eax, dword [ebp - 0x358]
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 0x4d3f63
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x344], eax
or esi, 0xffffffff
mov eax, dword [ebp - 0x34c]
mov ecx, dword [eax]
mov dword [ebp - 0x33c], ecx
test ecx, ecx
je 0x4d3e2a
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x4d3e14
mov eax, esi
lock xadd dword [ecx + 8], eax
jne 0x4d3e14
mov eax, dword [ecx]
call dword [eax + 4]
push 8
push dword [ebp - 0x33c]
call fcn.0061f90d
mov eax, dword [ebp - 0x34c]
add esp, 8
mov dword [eax], 0
xorps xmm0, xmm0
lea eax, [ebp - 0x338]
mov dword [ebp - 0x338], 0x1f
push eax
lea eax, [ebp - 0x2c]
push eax
movups xmmword [ebp - 0x2c], xmm0
call fcn.004538c0
movups xmm0, xmmword [0x672b88]
mov ecx, dword [ebp - 0x338]
mov dword [ebp - 0x18], ecx
movups xmmword [eax], xmm0
mov cx, word [0x672b98]
mov word [eax + 0x10], cx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], 0x12
mov byte [eax + 0x12], 0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x13
push eax
push dword [ebp - 0x344]
lea eax, [ebp - 0x58]
push eax
call fcn.004cf0c0
add esp, 0x14
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x340]
push eax
push dword [ebp - 0x344]
mov ecx, dword [ecx]
call fcn.004b3b90
lea ecx, [ebp - 0x58]
call fcn.004478d0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x4d3eeb
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4d3ee1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d4dca
push ecx
push edx
call fcn.0061f90d
add esp, 8
lea ecx, [ebp - 0x84]
call fcn.00406410
mov eax, dword [ebp - 0x36c]
test eax, eax
je 0x4d3f07
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x368]
test eax, eax
je 0x4d3f18
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [ebp - 0x35c]
test ecx, ecx
je 0x4d3f30
mov eax, esi
lock xadd dword [ecx + 8], eax
jne 0x4d3f30
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x4d4d8b
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x4d4d8b
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x4d4d8b
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
jmp 0x4d4d8b
push 4
lea eax, [esi + 0x44]
push eax
push 0x2d
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x4d403c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x344], eax
or esi, 0xffffffff
mov eax, dword [ebp - 0x34c]
mov ecx, dword [eax]
mov dword [ebp - 0x33c], ecx
test ecx, ecx
je 0x4d3fc6
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x4d3fb0
mov eax, esi
lock xadd dword [ecx + 8], eax
jne 0x4d3fb0
mov eax, dword [ecx]
call dword [eax + 4]
push 8
push dword [ebp - 0x33c]
call fcn.0061f90d
mov eax, dword [ebp - 0x34c]
add esp, 8
mov dword [eax], 0
xorps xmm0, xmm0
lea eax, [ebp - 0x338]
mov dword [ebp - 0x338], 0x2f
push eax
lea eax, [ebp - 0x2c]
push eax
movups xmmword [ebp - 0x2c], xmm0
call fcn.004538c0
movups xmm0, xmmword [str.WinHttpSetOption_request_context]
mov ecx, dword [ebp - 0x338]
mov dword [ebp - 0x2c], eax
movups xmmword [eax], xmm0
mov dword [ebp - 0x1c], 0x20
movups xmm0, xmmword [0x672bac]
mov dword [ebp - 0x18], ecx
movups xmmword [eax + 0x10], xmm0
mov byte [eax + 0x20], 0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x15
push eax
push dword [ebp - 0x344]
lea eax, [ebp - 0x58]
push eax
call fcn.004cf0c0
add esp, 0x14
mov byte [ebp - 4], 0x16
jmp 0x4d3e9b
cmp byte [ebp - 0x338], 0
je 0x4d4144
push 0xc
lea eax, [ebp - 0x370]
push eax
push 0x26
push dword [esi + 0x40]
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x4d4144
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x338], 0x1f
lea eax, [ebp - 0x338]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x2c]
push eax
movups xmmword [ebp - 0x2c], xmm0
call fcn.004538c0
movups xmm0, xmmword [str.Setting_proxy_options]
mov ecx, dword [ebp - 0x338]
mov edx, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x1c], 0x15
movups xmmword [edx], xmm0
mov ecx, dword [0x672bd0]
mov dword [edx + 0x10], ecx
mov al, byte [0x672bd4]
mov byte [edx + 0x14], al
mov byte [edx + 0x15], 0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x17
push eax
lea eax, [ebp - 0x58]
push esi
push eax
call fcn.004cf0c0
add esp, 0x14
mov ecx, dword [ebp - 0x340]
push eax
push esi
mov byte [ebp - 4], 0x18
mov ecx, dword [ecx]
call fcn.004b3b90
lea ecx, [ebp - 0x58]
call fcn.004478d0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x4d4126
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4d411c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d4dca
push ecx
push edx
call fcn.0061f90d
add esp, 8
lea ecx, [ebp - 0x84]
call fcn.00406410
lea ecx, [ebp - 0x370]
call fcn.004cac00
or esi, 0xffffffff
jmp 0x4d3f18
mov ecx, dword [ebp - 0x348]
call fcn.004b2d30
cmp dword [eax + 0xf8], 0
je 0x4d425e
push 4
lea eax, [ebp - 0x33c]
mov dword [ebp - 0x33c], 2
push eax
push 0x4d
push dword [esi + 0x40]
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x4d425e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x338], 0x4f
lea eax, [ebp - 0x338]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x2c]
push eax
movups xmmword [ebp - 0x2c], xmm0
call fcn.004538c0
movups xmm0, xmmword [str.Setting_autologon_policy_to_WINHTTP_AUTOLOGON_SECURITY_LEVEL_HIGH]
mov ecx, dword [ebp - 0x338]
mov edx, eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x1c], 0x41
mov dword [ebp - 0x18], ecx
movups xmmword [edx], xmm0
movups xmm0, xmmword [0x672be8]
movups xmmword [edx + 0x10], xmm0
movups xmm0, xmmword [0x672bf8]
movups xmmword [edx + 0x20], xmm0
movups xmm0, xmmword [0x672c08]
movups xmmword [edx + 0x30], xmm0
mov al, byte [0x672c18]
mov byte [edx + 0x40], al
mov byte [edx + 0x41], 0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x19
push eax
lea eax, [ebp - 0x58]
push esi
push eax
call fcn.004cf0c0
add esp, 0x14
mov ecx, dword [ebp - 0x340]
push eax
push esi
mov byte [ebp - 4], 0x1a
mov ecx, dword [ecx]
call fcn.004b3b90
lea ecx, [ebp - 0x58]
call fcn.004478d0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x4d4126
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4d411c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4d411c
jmp 0x4d4dca
mov ecx, dword [ebp - 0x348]
mov dword [ebp - 0x374], 0
call fcn.004b2d30
cmp byte [eax + 0x125], 0
je 0x4d4565
push 4
lea eax, [ebp - 0x33c]
mov dword [ebp - 0x33c], 1
push eax
push 0x4f
push dword [esi + 0x40]
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x4d4376
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x338], 0x2f
lea eax, [ebp - 0x338]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x2c]
push eax
movups xmmword [ebp - 0x2c], xmm0
call fcn.004538c0
movups xmm0, xmmword [str.Error_enabling_SSL_revocation_check]
mov ecx, dword [ebp - 0x338]
mov edx, eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x1c], 0x23
mov dword [ebp - 0x18], ecx
movups xmmword [edx], xmm0
movups xmm0, xmmword [0x672c2c]
movups xmmword [edx + 0x10], xmm0
mov ax, word [0x672c3c]
mov word [edx + 0x20], ax
mov al, byte [0x672c3e]
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.004cf0c0
add esp, 0x14
mov ecx, dword [ebp - 0x340]
push eax
push esi
mov byte [ebp - 4], 0x1c
mov ecx, dword [ecx]
call fcn.004b3b90
lea ecx, [ebp - 0x58]
call fcn.004478d0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x4d4126
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4d411c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4d411c
jmp 0x4d4dca
push 0x66efec
lea ecx, [ebp - 0x58]
call fcn.00423c90
mov eax, dword [ebp - 0x344]
mov ecx, dword [eax]
mov dword [ebp - 0x34c], ecx
mov eax, dword [ecx + 4]
cmp byte [eax + 0xd], 0
jne 0x4d43d5
mov esi, eax
nop dword [eax]
lea eax, [ebp - 0x58]
push eax
lea eax, [esi + 0x10]
push eax
call fcn.004b9f10
add esp, 8
test al, al
je 0x4d43bf
mov esi, dword [esi + 8]
mov ecx, dword [ebp - 0x34c]
jmp 0x4d43c9
mov ecx, esi
mov esi, dword [esi]
mov dword [ebp - 0x34c], ecx
cmp byte [esi + 0xd], 0
je 0x4d43a0
mov esi, dword [ebp - 0x364]
cmp byte [ecx + 0xd], 0
jne 0x4d43ef
lea eax, [ecx + 0x10]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004b9f10
add esp, 8
test al, al
je 0x4d43fd
mov eax, dword [ebp - 0x344]
mov eax, dword [eax]
mov dword [ebp - 0x34c], eax
lea ecx, [ebp - 0x58]
call fcn.00406410
mov ecx, dword [ebp - 0x344]
mov eax, dword [ebp - 0x34c]
cmp eax, dword [ecx]
je 0x4d4476
lea ecx, [eax + 0x28]
mov eax, dword [ebp - 0x348]
add eax, 0x44
mov dword [ebp - 0x358], ecx
push eax
push ecx
call fcn.004b9e80
add esp, 8
test al, al
jne 0x4d4476
mov eax, dword [ebp - 0x358]
lea ecx, [esi + 0xc4]
cmp ecx, eax
je 0x4d445e
cmp dword [eax + 0x14], 7
mov edx, eax
jbe 0x4d444f
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.00446de0
lea ecx, [esi + 0xc4]
push ecx
call fcn.004b9d10
add esp, 4
mov dword [ebp - 0x374], 0x1000
jmp 0x4d456f
cmp dword [ebp - 0x374], 0
jne 0x4d456f
mov ecx, dword [ebp - 0x348]
call fcn.004b2d30
cmp dword [eax + 0x17c], 0
jne 0x4d463e
push 4
lea eax, [ebp - 0x33c]
mov dword [ebp - 0x33c], 0
push eax
push 0x58
push dword [esi + 0x40]
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x4d4874
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x338], 0x1f
lea eax, [ebp - 0x338]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x2c]
push eax
movups xmmword [ebp - 0x2c], xmm0
call fcn.004538c0
movups xmm0, xmmword [str.Setting_redirect_policy]
mov ecx, dword [ebp - 0x338]
mov edx, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x1c], 0x17
movups xmmword [edx], xmm0
mov ecx, dword [0x672c80]
mov dword [edx + 0x10], ecx
mov ax, word [0x672c84]
mov word [edx + 0x14], ax
mov al, byte [0x672c86]
mov byte [edx + 0x16], al
mov byte [edx + 0x17], 0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x1f
push eax
lea eax, [ebp - 0x58]
push esi
push eax
call fcn.004cf0c0
add esp, 0x14
mov ecx, dword [ebp - 0x340]
push eax
push esi
mov byte [ebp - 4], 0x20
mov ecx, dword [ecx]
call fcn.004b3b90
lea ecx, [ebp - 0x58]
call fcn.004478d0
lea ecx, [ebp - 0x2c]
call fcn.004478d0
jmp 0x4d4126
mov dword [ebp - 0x374], 0x3300
push 4
lea eax, [ebp - 0x374]
push eax
push 0x1f
push dword [esi + 0x40]
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x4d4483
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x338], 0x2f
lea eax, [ebp - 0x338]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x2c]
push eax
movups xmmword [ebp - 0x2c], xmm0
call fcn.004538c0
movups xmm0, xmmword [str.Setting_ignore_server_certificate_verification]
mov ecx, dword [ebp - 0x338]
mov edx, eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x1c], 0x2e
mov dword [ebp - 0x18], ecx
movups xmmword [edx], xmm0
movups xmm0, xmmword [0x672c50]
movups xmmword [edx + 0x10], xmm0
movq xmm0, qword [0x672c60]
movq qword [edx + 0x20], xmm0
mov eax, dword [0x672c68]
mov dword [edx + 0x28], eax
mov ax, word [0x672c6c]
mov word [edx + 0x2c], ax
mov byte [edx + 0x2e], 0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x1d
push eax
lea eax, [ebp - 0x58]
push esi
push eax
call fcn.004cf0c0
add esp, 0x14
mov ecx, dword [ebp - 0x340]
push eax
push esi
mov byte [ebp - 4], 0x1e
mov ecx, dword [ecx]
call fcn.004b3b90
lea ecx, [ebp - 0x58]
call fcn.004478d0
lea ecx, [ebp - 0x2c]
call fcn.004478d0
jmp 0x4d4126
mov ecx, dword [ebp - 0x348]
call fcn.004b2d30
cmp dword [eax + 0x17c], 0xfffffffd
jae 0x4d4668
mov ecx, dword [ebp - 0x348]
call fcn.004b2d30
mov eax, dword [eax + 0x17c]
add eax, 2
jmp 0x4d466b
or eax, 0xffffffff
mov dword [ebp - 0x33c], eax
add eax, 0xfffffffe
mov dword [esi + 0x4c], eax
lea eax, [ebp - 0x33c]
push 4
push eax
push 0x59
push dword [esi + 0x40]
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x4d476d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x338], 0x1f
lea eax, [ebp - 0x338]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x2c]
push eax
movups xmmword [ebp - 0x2c], xmm0
call fcn.004538c0
movups xmm0, xmmword [str.Setting_max_automatic_redirects]
mov ecx, dword [ebp - 0x338]
mov edx, eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x1c], 0x1f
mov dword [ebp - 0x18], ecx
movups xmmword [edx], xmm0
movq xmm0, qword [0x672c98]
movq qword [edx + 0x10], xmm0
mov eax, dword [0x672ca0]
mov dword [edx + 0x18], eax
mov ax, word [0x672ca4]
mov word [edx + 0x1c], ax
mov al, byte [0x672ca6]
mov byte [edx + 0x1e], al
mov byte [edx + 0x1f], 0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x21
push eax
lea eax, [ebp - 0x58]
push esi
push eax
call fcn.004cf0c0
add esp, 0x14
mov ecx, dword [ebp - 0x340]
push eax
push esi
mov byte [ebp - 4], 0x22
mov ecx, dword [ecx]
call fcn.004b3b90
lea ecx, [ebp - 0x58]
call fcn.004478d0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x4d4126
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4d411c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4d411c
jmp 0x4d4dca
mov ecx, dword [ebp - 0x348]
call fcn.004b2d30
xor ecx, ecx
push 4
cmp byte [eax + 0x180], cl
lea eax, [ebp - 0x358]
push eax
setne cl
inc ecx
push 0x58
mov dword [ebp - 0x358], ecx
push dword [esi + 0x40]
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x4d4874
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x338], 0x1f
lea eax, [ebp - 0x338]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x2c]
push eax
movups xmmword [ebp - 0x2c], xmm0
call fcn.004538c0
movups xmm0, xmmword [str.Setting_redirect_policy]
mov ecx, dword [ebp - 0x338]
mov edx, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x1c], 0x17
movups xmmword [edx], xmm0
mov ecx, dword [0x672c80]
mov dword [edx + 0x10], ecx
mov ax, word [0x672c84]
mov word [edx + 0x14], ax
mov al, byte [0x672c86]
mov byte [edx + 0x16], al
mov byte [edx + 0x17], 0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x23
push eax
lea eax, [ebp - 0x58]
push esi
push eax
call fcn.004cf0c0
add esp, 0x14
mov ecx, dword [ebp - 0x340]
push eax
push esi
mov byte [ebp - 4], 0x24
mov ecx, dword [ecx]
call fcn.004b3b90
lea ecx, [ebp - 0x58]
call fcn.004478d0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x4d4126
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4d411c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4d411c
jmp 0x4d4dca
mov ecx, dword [esi + 0x10]
mov byte [ebp - 4], 0x25
call fcn.004a4e70
mov dword [ebp - 0x358], eax
mov dword [ebp - 4], 0x12
test eax, eax
je 0x4d48f1
mov eax, dword [esi + 0x10]
add eax, 0x48
push 0x6ead78
push eax
call fcn.00452790
add esp, 8
test al, al
jne 0x4d49f6
mov eax, dword [esi + 0x10]
add eax, 0x48
push 0x6eadd8
push eax
call fcn.00452790
add esp, 8
test al, al
jne 0x4d49f6
mov eax, dword [ebp - 0x358]
cmp eax, 0xffffffff
jne 0x4d49ea
mov dword [esi + 0x50], 2
mov ecx, dword [esi + 0x10]
call fcn.004a4e80
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], 0
push dword [ebp - 0x344]
lea eax, [ebp - 0x9c]
push eax
call fcn.004a9840
mov eax, dword [esi + 0x10]
add eax, 0x48
mov byte [ebp - 4], 0x29
push 0x6ead78
push eax
call fcn.00452790
add esp, 0x10
test al, al
je 0x4d4953
lea eax, [ebp - 0x58]
mov ecx, esi
push eax
call fcn.004b3130
cmp dword [eax + 0x14], 7
mov ecx, eax
mov byte [ebp - 4], 0x2a
jbe 0x4d4938
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x9c]
call fcn.00446f70
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x29
call fcn.00406410
mov ecx, dword [ebp - 0x8c]
test ecx, ecx
je 0x4d4a3b
cmp dword [ebp - 0x88], 7
lea eax, [ebp - 0x9c]
push 0x20000000
cmova eax, dword [ebp - 0x9c]
push ecx
push eax
push dword [esi + 0x40]
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x4d4a3b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x672ca8
lea ecx, [ebp - 0x58]
mov esi, eax
call fcn.00411360
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x2b
push eax
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.004cf0c0
add esp, 0xc
mov ecx, dword [ebp - 0x340]
push eax
push esi
mov byte [ebp - 4], 0x2c
mov ecx, dword [ecx]
call fcn.004b3b90
lea ecx, [ebp - 0x2c]
call fcn.004478d0
lea ecx, [ebp - 0x58]
call fcn.004478d0
lea ecx, [ebp - 0x9c]
call fcn.00406410
jmp 0x4d4126
mov dword [esi + 0x50], 1
jmp 0x4d48e7
push dword [0x6d4024]
lea ecx, [ebp - 0x58]
call fcn.00423c90
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x27
push eax
lea ecx, [ebp - 0x40]
call fcn.0049bcf0
mov ecx, dword [ebp - 0x340]
push eax
mov byte [ebp - 4], 0x28
mov ecx, dword [ecx]
call fcn.004b0550
lea ecx, [ebp - 0x40]
call fcn.0049cf80
lea ecx, [ebp - 0x58]
call fcn.00406410
jmp 0x4d4126
mov eax, dword [esi + 0x10]
cmp dword [eax + 0x68], 0
mov edi, dword [ebp - 0x35c]
je 0x4d4b9a
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x34c], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x340], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x338], eax
test edi, edi
je 0x4d4a92
mov ecx, dword [ebp - 0x360]
mov eax, edi
mov dword [ebp - 0x34c], ecx
mov dword [ebp - 0x340], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], eax
lock inc dword [edi + 8]
mov dword [ebp - 0x338], edi
mov eax, dword [esi + 0x10]
add eax, 0x68
mov byte [ebp - 4], 0x2e
mov dword [ebp - 0x33c], eax
cmp dword [eax], 0
je 0x4d4dcf
push 0x74
call fcn.0061f577
add esp, 4
mov dword [ebp - 0x344], eax
test eax, eax
je 0x4d4afe
push 1
mov ecx, eax
call fcn.0040b210
mov eax, dword [ebp - 0x344]
mov edx, dword [ebp - 0x338]
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 edx, edx
je 0x4d4b06
mov ecx, dword [ebp - 0x34c]
mov dword [eax + 0x6c], ecx
mov dword [eax + 0x70], edx
lock inc dword [edx + 8]
jmp 0x4d4b06
xor eax, eax
mov dword [ebp - 0x344], eax
mov ecx, dword [ebp - 0x33c]
push eax
mov ecx, dword [ecx]
call fcn.0040b370
or dword [ebp - 0x354], 0x10
lea edx, [esi + 0x38]
mov ecx, dword [ebp - 0x344]
lea eax, [ebp - 0x378]
mov dword [ebp - 0x378], ecx
mov dword [ebp - 0x33c], edx
cmp edx, eax
je 0x4d4b72
mov edx, dword [edx]
or esi, 0xffffffff
mov byte [ebp - 4], 0x2f
test edx, edx
je 0x4d4b5e
mov eax, esi
lock xadd dword [edx + 4], eax
dec eax
jne 0x4d4b5e
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 4]
mov ecx, dword [ebp - 0x344]
mov eax, dword [ebp - 0x33c]
mov dword [ebp - 0x378], 0
mov dword [eax], ecx
jmp 0x4d4b75
or esi, 0xffffffff
lea ecx, [ebp - 0x378]
call fcn.0049ced0
mov ecx, dword [ebp - 0x340]
test ecx, ecx
je 0x4d4b9d
mov eax, esi
lock xadd dword [ecx + 8], eax
jne 0x4d4b9d
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4d4b9d
or esi, 0xffffffff
mov eax, dword [ebp - 0x364]
mov ecx, dword [ebp - 0x348]
mov byte [ebp - 4], 0x30
mov eax, dword [eax + 0x40]
mov dword [ebp - 0x33c], eax
call fcn.004b2d30
mov ecx, dword [eax + 0x14c]
test ecx, ecx
je 0x4d4bdd
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 - 0x364]
mov dword [ebp - 4], 0x29
cmp dword [eax + 0x50], 0
je 0x4d4c40
mov ecx, dword [ebp - 0x348]
call fcn.004b2d30
cmp byte [eax + 0x178], 0
je 0x4d4c40
mov ecx, dword [ebp - 0x364]
lea eax, [ebp - 0x20]
push eax
call fcn.004cdf00
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 0x4d4c47
mov byte [ebp - 0x34d], 0
mov eax, dword [ebp - 0x354]
mov dword [ebp - 4], 0x29
test al, 1
je 0x4d4c60
lea ecx, [ebp - 0x20]
call fcn.0049ccc0
cmp byte [ebp - 0x34d], 0
je 0x4d4cb0
push 0xc
call fcn.0061f577
add esp, 4
mov dword [ebp - 0x33c], eax
mov byte [ebp - 4], 0x33
test eax, eax
je 0x4d4c8e
push 2
mov ecx, eax
call fcn.004ca380
mov edx, eax
jmp 0x4d4c90
xor edx, edx
mov eax, dword [ebp - 0x364]
mov byte [ebp - 4], 0x29
mov ecx, dword [eax + 0x80]
mov dword [eax + 0x80], edx
test ecx, ecx
je 0x4d4cb0
mov eax, dword [ecx]
push 1
call dword [eax]
push dword [ebp - 0x358]
mov ecx, dword [ebp - 0x348]
lea eax, [ebp - 0x384]
push eax
call fcn.004ce870
lea ecx, [ebp - 0x9c]
call fcn.00406410
lea ecx, [ebp - 0x84]
call fcn.00406410
lea ecx, [ebp - 0x370]
call fcn.004cac00
test edi, edi
je 0x4d4cfd
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x4d4cfd
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edi, dword [ebp - 0x380]
test edi, edi
je 0x4d4d8b
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x4d4d8b
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x4d4d8b
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
jmp 0x4d4d8b
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.0061f478
mov esp, ebp
pop ebp
ret 4
call fcn.00636c1b
lea ecx, [ebp - 0x390]
call fcn.0049c050
push 0x6d1edc
lea eax, [ebp - 0x390]
push eax
call fcn.0062173b
int3