Function at 0x1000fcab
Capabilities:
Check os version
Initialize winhttp library
Prepare http request
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3cc
push ebx
xor ebx, ebx
push esi
push 0x98
lea eax, [ebp - 0xbc]
push ebx
push eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
xor esi, esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc0], ebx
call sub.ntdll.dll_memset
add esp, 0xc
cmp dword [ebp + 8], ebx
je 0x1000ff21
cmp dword [ebp + 0xc], ebx
je 0x1000ff21
push edi
lea eax, [ebp - 0xc0]
push eax
mov dword [ebp - 0xc0], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x1000fed9
xor eax, eax
inc eax
cmp byte [ebp - 0x26], al
jne 0x1000fd3b
cmp dword [ebp - 0xbc], 5
jne 0x1000fd3b
cmp dword [ebp - 0xb8], 2
jae 0x1000fd3b
mov dword [ebp - 0x18], eax
jmp 0x1000fed9
push dword [ebp + 8]
call fcn.10011d23
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x1000fed9
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x3cc]
push eax
push ebx
mov dword [ebp - 0x1c], 0x104
call dword [sym.imp.urlmon.dll_ObtainUserAgentString]
test eax, eax
js 0x1000fed9
lea eax, [ebp - 0x3cc]
push eax
call fcn.10011d23
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x1000fed9
push ebx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [ebp - 8], eax
cmp eax, ebx
je 0x1000fed9
push ebx
push 0x1bb
push dword [ebp - 0x14]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [ebp - 0xc], eax
cmp eax, ebx
je 0x1000fed9
push 0x800000
push ebx
push ebx
push ebx
push ebx
push 0x100207a4
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov esi, eax
cmp esi, ebx
je 0x1000fed9
push 4
lea eax, [ebp - 0x20]
push eax
push 0x1f
push esi
mov dword [ebp - 0x20], 0x3100
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
je 0x1000fed9
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x1000fed9
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 4]
push eax
push 0x4e
push esi
mov dword [ebp - 0x24], 0x14
call dword [sym.imp.WINHTTP.dll_WinHttpQueryOption]
test eax, eax
je 0x1000fed9
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x1000fee7
cmp dword [eax + 0xc], ebx
je 0x1000fed9
mov edi, 0x103
push edi
lea eax, [ebp - 0x2c7]
push ebx
push eax
mov byte [ebp - 0x2c8], bl
call sub.ntdll.dll_memset
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
add esp, 0xc
push 0x8003
lea ecx, [ebp - 0x2c8]
push ecx
push dword [eax + 0x44]
push dword [eax + 0x48]
call fcn.10012786
push edi
lea eax, [ebp - 0x1c3]
push ebx
push eax
mov byte [ebp - 0x1c4], bl
call sub.ntdll.dll_memset
add esp, 0xc
lea eax, [ebp - 0x1c4]
push eax
push 0x10
lea edi, [ebp - 0x2c8]
call fcn.1001285b
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x1c4]
mov cl, byte [eax]
cmp cl, byte [edi]
jne 0x1000feca
cmp cl, bl
je 0x1000fec6
mov cl, byte [eax + 1]
cmp cl, byte [edi + 1]
jne 0x1000feca
add eax, 2
add edi, 2
cmp cl, bl
jne 0x1000feaa
xor eax, eax
jmp 0x1000fecf
sbb eax, eax
sbb eax, 0xffffffff
xor ecx, ecx
cmp eax, ebx
sete cl
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 4], ebx
je 0x1000fee7
push dword [ebp - 4]
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp esi, ebx
je 0x1000fef4
push esi
call edi
cmp dword [ebp - 0xc], ebx
je 0x1000fefe
push dword [ebp - 0xc]
call edi
cmp dword [ebp - 8], ebx
je 0x1000ff08
push dword [ebp - 8]
call edi
mov esi, dword [ebp - 0x10]
pop edi
cmp esi, ebx
je 0x1000ff15
call fcn.1001272d
mov esi, dword [ebp - 0x14]
cmp esi, ebx
je 0x1000ff21
call fcn.1001272d
mov eax, dword [ebp - 0x18]
pop esi
pop ebx
leave
ret 8