Function at 0x1000dab0
Capabilities:
Initialize winhttp library
Reference http user-agent string
Set http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10058c91
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x100764f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push 0x3c
mov dword [ebp - 0x1d8], eax
lea eax, [ebp - 0x224]
push 0
push eax
call fcn.10037070
add esp, 0xc
mov dword [ebp - 0x224], 0x3c
lea eax, [ebp - 0x224]
mov dword [ebp - 0x21c], 0xffffffff
mov dword [ebp - 0x210], 0xffffffff
mov dword [ebp - 0x1f4], 0xffffffff
push eax
push 0
push 0
push esi
mov dword [ebp - 0x1ec], 0xffffffff
call dword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
je 0x1000de25
xor esi, esi
mov dword [ebp - method.WinHTTPWrappers::CHandle.virtual_0], 0x1005cc7c
mov dword [ebp - 0x1e4], esi
xor edi, edi
mov dword [ebp - 4], esi
mov dword [ebp - 0x1dc], edi
mov dword [ebp - method.WinHTTPWrappers::CHandle.virtual_0], 0x1005cc8c
lea ecx, [ebp - 0x1d0]
call fcn.1000be00
push edi
push edi
push edi
push edi
push str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_67.0.3396.99_Safari_537.36
mov byte [ebp - 4], 2
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
test eax, eax
jne 0x1000dba1
call fcn.1000c4a0
mov dword [ebp - 0x1d4], eax
jmp 0x1000dbb3
mov esi, eax
mov dword [ebp - 0x1d4], 0
mov dword [ebp - 0x1e4], esi
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [ebx + 4]
push dword [ebx]
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x1000dbce
call fcn.1000c4a0
cmp dword [ebp - 0x1d4], 0
jl 0x1000de06
mov ecx, dword [ebp - 0x214]
xor ebx, ebx
mov eax, dword [ebp - 0x210]
mov edx, 7
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], edx
mov word [ebp - 0x28], bx
lea eax, [ecx + eax*2]
cmp ecx, eax
je 0x1000dc14
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.10006f50
mov edx, dword [ebp - 0x14]
push 0
push dword [ebp - 0x20c]
cmp edx, 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
test eax, eax
jne 0x1000dc3b
call fcn.1000c4a0
mov ebx, eax
jmp 0x1000dc45
mov edi, eax
xor ebx, ebx
mov dword [ebp - 0x1dc], edi
lea ecx, [ebp - 0x28]
call fcn.10003fd0
test ebx, ebx
js 0x1000de06
mov ecx, dword [ebp - 0x1f0]
xor edx, edx
mov eax, dword [ebp - 0x1ec]
xorps xmm0, xmm0
movlpd qword [ebp - 0x158], xmm0
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x48], 0
lea eax, [ecx + eax*2]
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], dx
cmp ecx, eax
je 0x1000dc9f
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x58]
call fcn.10006f50
mov ecx, dword [ebp - 0x1f8]
xor edx, edx
mov eax, dword [ebp - 0x1f4]
mov byte [ebp - 4], 3
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
lea eax, [ecx + eax*2]
mov word [ebp - 0x40], dx
cmp ecx, eax
je 0x1000dcd8
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x40]
call fcn.10006f50
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.1000bbd0
add esp, 0xc
lea ecx, [ebp - 0x40]
call fcn.10003fd0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 7
call fcn.10003fd0
cmp dword [ebp - 0x5c], 8
lea ecx, [ebp - 0x70]
push 0
cmovae ecx, dword [ebp - 0x70]
mov edx, 0x800000
push 0x1fa0
xor eax, eax
cmp dword [ebp - 0x218], 2
cmove eax, edx
push eax
push 0
push 0
push 0
push 0x1005ce68
push ecx
lea eax, [ebp - 0x1e0]
push eax
lea ecx, [ebp - 0x1d0]
call fcn.1000cc10
test eax, eax
js 0x1000ddfe
push str.Expires:_0_r_nCache_Control:_no_store_r_n
lea ecx, [ebp - 0x28]
call fcn.100036f0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0x1000000
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
push dword [ebp - 0x1cc]
mov byte [ebp - 4], 8
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x1000dd88
call fcn.1000c4a0
push 0
push 0
lea ecx, [ebp - 0x1d0]
call fcn.1000e310
test eax, eax
js 0x1000ddf6
push dword [ebp - 0x1d8]
mov ecx, dword [ebp - 0x1d8]
push dword [ebp - 0x118]
push dword [ebp - 0x11c]
mov eax, dword [ecx]
push eax
mov dword [ecx + 4], eax
call fcn.1000bc60
lea ecx, [ebp - 0x28]
call fcn.10003fd0
lea ecx, [ebp - 0x70]
call fcn.10003fd0
lea ecx, [ebp - 0x1d0]
call fcn.1000bff0
lea ecx, [ebp - 0x1e0]
call fcn.1000c2f0
lea ecx, [ebp - 0x1e8]
call fcn.1000c2f0
mov eax, 1
jmp 0x1000de27
lea ecx, [ebp - 0x28]
call fcn.10003fd0
lea ecx, [ebp - 0x70]
call fcn.10003fd0
lea ecx, [ebp - 0x1d0]
call fcn.1000bff0
mov ebx, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test edi, edi
je 0x1000de1e
push edi
call ebx
test esi, esi
je 0x1000de25
push esi
call ebx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10034676
mov esp, ebp
pop ebp
ret 8