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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100581f7
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x100754f8]
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 esi, ecx
mov ecx, dword [ebp + 0xc]
xorps xmm0, xmm0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1fc], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x1f0], ecx
lea ecx, [ebp - 0x240]
push ecx
push 0
push 0
push eax
mov dword [ebp - 0x23c], 0
movlpd qword [ebp - 0x234], xmm0
movlpd qword [ebp - 0x228], xmm0
movlpd qword [ebp - 0x220], xmm0
movlpd qword [ebp - 0x218], xmm0
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x240], 0x3c
mov dword [ebp - 0x238], 0xffffffff
mov dword [ebp - 0x22c], 0xffffffff
mov dword [ebp - 0x210], 0xffffffff
mov dword [ebp - 0x208], 0xffffffff
call dword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
je 0x1000d6c9
xor edi, edi
mov dword [ebp - method.WinHTTPWrappers::CHandle.virtual_0], 0x1005bb34
mov dword [ebp - 0x200], edi
xor ebx, ebx
mov dword [ebp - 4], edi
mov dword [ebp - 0x1f4], ebx
mov dword [ebp - method.WinHTTPWrappers::CHandle.virtual_0], 0x1005bb44
lea ecx, [ebp - 0x1e8]
call fcn.1000b260
push ebx
push ebx
push ebx
push ebx
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 0x1000d3ce
call fcn.1000b900
mov dword [ebp - 0x1ec], eax
jmp 0x1000d3e0
mov edi, eax
mov dword [ebp - 0x1ec], 0
mov dword [ebp - 0x200], edi
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 4]
push dword [esi]
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x1000d3fb
call fcn.1000b900
cmp dword [ebp - 0x1ec], 0
jl 0x1000d6aa
mov ecx, dword [ebp - 0x230]
xor esi, esi
mov eax, dword [ebp - 0x22c]
mov edx, 7
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], edx
mov word [ebp - 0x28], si
lea eax, [ecx + eax*2]
cmp ecx, eax
je 0x1000d441
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.10006ee0
mov edx, dword [ebp - 0x14]
push 0
push dword [ebp - 0x228]
cmp edx, 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
test eax, eax
jne 0x1000d468
call fcn.1000b900
mov esi, eax
jmp 0x1000d472
mov ebx, eax
xor esi, esi
mov dword [ebp - 0x1f4], ebx
lea ecx, [ebp - 0x28]
call fcn.10003fa0
test esi, esi
js 0x1000d6aa
xorps xmm0, xmm0
mov dword [ebp - 0x168], 0
movlpd qword [ebp - 0x170], xmm0
push 8
mov byte [ebp - 4], 3
call fcn.1003d123
mov esi, eax
mov dword [ebp - 0x60], 0
xor edx, edx
mov dword [ebp - 0x1ec], esi
add esp, 4
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], dx
mov dword [esi], 0x1005bd74
mov dword [esi + 4], 0
mov ecx, dword [ebp - 0x20c]
mov eax, dword [ebp - 0x208]
lea eax, [ecx + eax*2]
cmp ecx, eax
je 0x1000d4ef
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x70]
call fcn.10006ee0
mov ecx, dword [ebp - 0x214]
xor edx, edx
mov eax, dword [ebp - 0x210]
mov byte [ebp - 4], 4
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
lea eax, [ecx + eax*2]
mov word [ebp - 0x58], dx
cmp ecx, eax
je 0x1000d528
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x58]
call fcn.10006ee0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.1000b030
add esp, 0xc
lea ecx, [ebp - 0x58]
call fcn.10003fa0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 8
call fcn.10003fa0
cmp dword [ebp - 0x74], 8
lea ecx, [ebp - 0x88]
push 0
cmovae ecx, dword [ebp - 0x88]
mov edx, 0x800000
push 0x1fa0
xor eax, eax
cmp dword [ebp - 0x234], 2
cmove eax, edx
push eax
push esi
push 0
push 0
push str.POST
push ecx
lea eax, [ebp - 0x1f8]
push eax
lea ecx, [ebp - 0x1e8]
call fcn.1000c070
test eax, eax
js 0x1000d696
push dword [ebp - 0x1fc]
lea ecx, [ebp - 0x28]
call fcn.10003680
push dword [ebp - 0x18]
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 9
push str.Content_Type:_text_plain_r_nContent_Length:__d_r_nProxy_Connection:_Keep_Alive_r_nPragma:_no_cache_r_n
push eax
call fcn.10014420
add esp, 0xc
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 0x1000000
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
push eax
push dword [ebp - 0x1e4]
mov byte [ebp - 4], 0xa
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x1000d5f9
call fcn.1000b900
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x1e8]
push eax
call fcn.1000d770
test eax, eax
js 0x1000d686
push dword [ebp - 0x1f0]
mov ecx, dword [ebp - 0x1f0]
push dword [ebp - 0x130]
push dword [ebp - 0x134]
mov eax, dword [ecx]
push eax
mov dword [ecx + 4], eax
call fcn.1000b0c0
lea ecx, [ebp - 0x40]
call fcn.10003fa0
lea ecx, [ebp - 0x28]
call fcn.10003f50
lea ecx, [ebp - 0x88]
call fcn.10003fa0
push esi
call fcn.1003c31c
add esp, 4
lea ecx, [ebp - 0x1e8]
call fcn.1000b450
lea ecx, [ebp - 0x1f8]
call fcn.1000b750
lea ecx, [ebp - 0x204]
call fcn.1000b750
mov eax, 1
jmp 0x1000d6cb
lea ecx, [ebp - 0x40]
call fcn.10003fa0
lea ecx, [ebp - 0x28]
call fcn.10003f50
lea ecx, [ebp - 0x88]
call fcn.10003fa0
push esi
call fcn.1003c31c
add esp, 4
lea ecx, [ebp - 0x1e8]
call fcn.1000b450
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test ebx, ebx
je 0x1000d6c2
push ebx
call esi
test edi, edi
je 0x1000d6c9
push edi
call esi
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.10033ba6
mov esp, ebp
pop ebp
ret 0xc