Function at 0x10006750
Capabilities:
Check http status code
Read data from internet
Receive data
Send data
Send http request

Disassembly:
mov eax, 0x1824
call fcn.10018cb0
mov eax, dword [0x10027074]
xor eax, esp
mov dword [esp + 0x181c], eax
mov eax, dword [esp + 0x1828]
push ebx
push ebp
mov ebp, dword [esp + 0x1834]
push esi
mov ebx, ecx
push edi
lea esi, [ebx + 0x48]
mov edi, edx
mov dword [esp + 0x1c], eax
call fcn.10003780
mov eax, edi
call fcn.10006a00
test eax, eax
jne 0x1000679f
mov eax, SysReAllocStringLen
jmp 0x100069df
mov ecx, ebx
call fcn.10006230
test eax, eax
je 0x100069dc
cmp dword [ebx + 0x40], 0
je 0x100067c5
mov esi, ebx
call fcn.10006ae0
mov eax, 2
jmp 0x100069df
mov eax, dword [ebx + 0x24]
mov ecx, dword [ebx + 8]
push 0
push 0x4400010
push 0x10028718
push 0
push str.HTTP_1.0
push eax
push 0x10024054
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebx + 0xc], eax
test eax, eax
je 0x100069cc
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x10006846
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, ebx
mov dword [ebx + 0x50], eax
call fcn.10006ae0
mov ebx, dword [ebx + 0x50]
sub ebx, 0x2ee2
je 0x1000683c
sub ebx, 5
je 0x10006832
sub ebx, 0x16
jne 0x100069dc
mov eax, reloc.OLEAUT32.dll_VariantClear
jmp 0x100069df
mov eax, VariantCopy
jmp 0x100069df
mov ecx, dword [ebx + 0xc]
mov edi, dword [sym.imp.WININET.dll_HttpQueryInfoW]
push 0
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x20]
push eax
push 0x20000013
push ecx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 4
call edi
test eax, eax
je 0x100069cc
mov eax, dword [esp + 0x18]
cmp eax, 0xc8
je 0x10006900
cmp eax, 0x12c
jbe 0x100069d5
cmp eax, 0x12e
ja 0x100069d5
xor edx, edx
push 0x800
push edx
lea eax, [esp + 0x2a]
push eax
mov word [esp + 0x2c], dx
call fcn.10012ec0
mov eax, dword [ebx + 0xc]
add esp, 0xc
push 0
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x28]
push edx
push 0x21
push eax
mov dword [esp + 0x28], 0x400
call edi
test eax, eax
je 0x100069cc
lea edx, [esp + 0x20]
mov edi, esi
call fcn.10003740
mov ecx, dword [ebx + 0xc]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebx + 0xc], 0
mov eax, 1
jmp 0x100069df
cmp dword [ebx + 0x40], 0
jne 0x100067b4
push 0x1000
lea edx, [esp + 0x82c]
push 0
push edx
call fcn.10012ec0
mov esi, dword [ebp]
mov edi, dword [esp + 0x28]
add esp, 0xc
mov dword [ebp], 0
nop
cmp dword [ebx + 0x40], 0
mov dword [esp + 0x10], 0
jne 0x100067b4
mov edx, dword [ebx + 0xc]
lea eax, [esp + 0x10]
push eax
push 0xfff
lea ecx, [esp + 0x830]
push ecx
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x100069cc
mov eax, dword [esp + 0x10]
test eax, eax
jbe 0x100069ac
mov ecx, dword [ebp]
add ecx, eax
cmp ecx, esi
ja 0x10006994
push eax
lea edx, [esp + 0x82c]
push edx
push edi
call fcn.10013df0
mov eax, dword [esp + 0x1c]
add dword [ebp], eax
add esp, 0xc
add edi, eax
test eax, eax
ja 0x10006930
jmp 0x100069ac
sub esi, dword [ebp]
lea eax, [esp + 0x828]
push esi
push eax
push edi
call fcn.10013df0
add esp, 0xc
add dword [ebp], esi
mov ecx, dword [ebx + 0xc]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor edx, edx
cmp edx, dword [esp + 0x10]
mov dword [ebx + 0xc], 0
sbb eax, eax
and eax, reloc.OLEAUT32.dll_SysStringLen
jmp 0x100069df
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x50], eax
mov esi, ebx
call fcn.10006ae0
or eax, 0xffffffff
mov ecx, dword [esp + 0x182c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1000a328
add esp, 0x1824
ret 8