Function at 0x10001bc0
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push 0xffffffffffffffff
push 0x10029113
mov eax, dword fs:[0]
push eax
mov eax, 0x1028
call fcn.100256f0
mov eax, dword [0x1003b030]
xor eax, esp
mov dword [esp + 0x1024], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1003b030]
xor eax, esp
push eax
lea eax, [esp + 0x103c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x104c]
xor ebp, ebp
mov dword [esp + 0x1044], ebp
mov dword [esp + 0x24], ebp
mov eax, dword [0x1004130c]
mov ebx, ecx
mov edi, edx
mov edx, dword [eax + 0xc]
mov ecx, 0x1004130c
mov dword [esp + 0x20], ebx
call edx
add eax, 0x10
mov dword [ebx], eax
push ebp
push ebp
push ebp
mov ebx, 1
push ebx
mov dword [esp + 0x1054], ebp
push ebp
mov dword [esp + 0x38], ebx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esp + 0x1c], eax
cmp eax, ebp
je 0x10001e0f
push 4
lea ecx, [esp + 0x34]
push ecx
push 0x41
push eax
mov dword [esp + 0x40], ebx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov edx, dword [0x1004130c]
mov eax, dword [edx + 0xc]
mov ecx, 0x1004130c
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x1044], ebx
push str.Accept_Encoding:_gzip__deflate_r_nConnection:_Close_r_n
lea ebx, [ebp + 0x33]
lea eax, [esp + 0x1c]
call fcn.10001450
test esi, esi
jne 0x10001ca1
xor eax, eax
jmp 0x10001cb5
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10001ca6
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x20]
push ecx
call fcn.10003da0
lea edx, [esp + 0x2c]
push edx
mov ecx, edi
xor esi, esi
call fcn.10002f50
mov ecx, eax
lea eax, [esp + 0x28]
mov byte [esp + 0x1044], 2
call fcn.10003320
mov eax, dword [eax]
push str.https:__
push eax
call fcn.100191a9
add esp, 8
test eax, eax
mov byte [esp + 0x1044], 2
mov eax, dword [esp + 0x28]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10001d1f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1044], 1
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10001d47
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x10001d50
mov esi, 0x803000
mov ebp, dword [esp + 0x18]
mov eax, dword [ebp - 0xc]
mov ecx, dword [esp + 0x1c]
push 0
or esi, 0x4000000
push esi
push eax
push ebp
push edi
push ecx
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov edi, eax
test edi, edi
jne 0x10001d94
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [ebp - 0x10]
mov byte [esp + 0x1044], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x10001e03
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
mov dword [esp + 0x14], 0
lea ecx, [esp + 0x14]
push ecx
push 0x1000
lea edx, [esp + 0x3c]
push edx
push edi
call ebx
mov esi, eax
mov eax, dword [esp + 0x14]
mov byte [esp + eax + 0x34], 0
lea eax, [esp + 0x34]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10001dc6
sub eax, edx
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x34]
push ecx
push edx
mov edx, eax
call fcn.10003c10
test esi, esi
je 0x10001deb
cmp dword [esp + 0x14], 0
jne 0x10001da2
lea eax, [ebp - 0x10]
mov byte [esp + 0x1044], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10001e0f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push 0
call esi
mov ecx, dword [esp + 0x1c]
push ecx
call esi
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x103c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1024]
xor ecx, esp
call fcn.100186a4
add esp, 0x1034
ret