Function at 0x1000e9b0
Capabilities:
Check internet connectivity via wininet
Connect to http server
Create http request

Disassembly:
push 0xffffffffffffffff
push 0x1002a758
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10035204]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x14], edi
mov esi, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
mov ebx, dword [esp + 0x68]
mov dword [esi], 0
mov dword [eax], 0
lea ecx, [esp + 0x2c]
mov dword [ebx], 0
call fcn.1000da20
mov edx, dword [esp + 0x70]
lea ecx, [esp + 0x2c]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x68], esp
push edx
mov dword [esp + 0x64], 0
call fcn.10006400
call fcn.1000dbc0
xor eax, eax
add esp, 8
cmp dword [edi + 8], eax
jne 0x1000ea39
cmp dword [0x100364d4], eax
je 0x1000ea3e
mov eax, 1
push 0x10000000
push 0
push 0
push eax
push 0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi], eax
test eax, eax
je 0x1000ed8b
push 0x1000d1e0
push eax
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackA]
cmp eax, 0xffffffff
je 0x1000ed8b
mov eax, dword [edi + 0x540]
mov ebp, dword [sym.imp.WININET.dll_InternetSetOptionW]
imul eax, eax, 0x3e8
mov dword [esp + 0x68], eax
test eax, eax
je 0x1000eab3
mov ecx, dword [esi]
push 4
lea eax, [esp + 0x6c]
push eax
push 2
push ecx
call ebp
mov eax, dword [esi]
push 4
lea edx, [esp + 0x6c]
push edx
push 6
push eax
call ebp
mov edx, dword [esi]
push 4
lea ecx, [esp + 0x6c]
push ecx
push 5
push edx
call ebp
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, dword [esi]
push 0
push 0
push 3
push 0
push 0
push eax
push ecx
push edx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ecx, dword [esp + 0x64]
mov dword [ecx], eax
test eax, eax
je 0x1000ed8b
cmp dword [esp + 0x30], 0
mov dword [esp + 0x60], 0x8448c100
je 0x1000eaf5
mov dword [esp + 0x60], 0x84c8f100
cmp dword [edi + 0x550], 0
jne 0x1000eb07
cmp dword [edi + 0x554], 1
jne 0x1000eb0f
or dword [esp + 0x60], 0x200000
push 4
lea edx, [esp + 0x1c]
push edx
push 0x4d
push eax
mov dword [esp + 0x28], 1
call ebp
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1000ebc3
call edi
mov esi, eax
push 0
lea eax, [esp + 0x74]
push eax
mov dword [esp + 0x78], 0
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
mov ecx, dword [esp + 0x70]
push ecx
push esi
mov esi, dword [esp + 0x1c]
push esi
push str.__u__IGNORE_OFFLINE_failed:__d__ConnectedState:_0x_x
push 0x100364d8
call fcn.10007c70
add esp, 0x14
test byte [esp + 0x70], 0x20
je 0x1000ebc3
push 8
lea edx, [esp + 0x20]
push edx
xor eax, eax
push 0x32
mov dword [esp + 0x28], eax
push eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], 1
call ebp
test eax, eax
je 0x1000eba5
push esi
push str.__u__global_connected_state.
push 0x100364d8
call fcn.10007c70
add esp, 0xc
jmp 0x1000ebbb
call edi
push eax
push esi
push str.__u__global_connected_state__error__d
push 0x100364d8
call fcn.10007c70
add esp, 0x10
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x74]
lea edx, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x70]
push 0
push str.HTTP_1.1
push eax
mov eax, dword [edx]
push ecx
push eax
mov dword [esp + 0x44], 0x1002c14c
mov dword [esp + 0x48], 0
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [ebx], eax
test eax, eax
je 0x1000ed8b
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [esp + 0x30], 0
mov esi, dword [sym.imp.WININET.dll_InternetQueryOptionW]
je 0x1000ec56
mov eax, dword [ebx]
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x68]
push edx
push 0x1f
push eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 4
call esi
mov edx, dword [ebx]
or dword [esp + 0x64], 0x3180
push 4
lea ecx, [esp + 0x68]
push ecx
push 0x1f
push edx
call ebp
mov edx, dword [ebx]
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x68]
push ecx
push 0x41
push edx
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 4
call esi
mov esi, eax
call edi
test esi, esi
je 0x1000ecb9
cmp dword [esp + 0x64], 0
je 0x1000ecb9
mov ecx, dword [ebx]
push 4
lea eax, [esp + 0x68]
push eax
push 0x41
push ecx
mov dword [esp + 0x74], 0
call ebp
mov esi, eax
call edi
mov edx, dword [esp + 0x14]
push eax
push esi
push edx
push str.__u__found_AutoDecoding_enable._try_to_disable__success_d__err_d
push 0x100364d8
call fcn.10007c70
add esp, 0x14
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [esp + 0x74]
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0xc]
xor esi, esi
sar eax, 2
test eax, eax
jle 0x1000ed0e
mov ebp, dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
cmp esi, eax
jb 0x1000ece3
call fcn.10013e0d
mov eax, dword [edi + 0xc]
mov edx, dword [ebx]
lea eax, [eax + esi*4]
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push 0xa0000000
push ecx
push eax
push edx
call ebp
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0xc]
inc esi
sar eax, 2
cmp esi, eax
jl 0x1000ecdc
mov ebp, dword [sym.imp.WININET.dll_InternetSetOptionW]
mov eax, dword [0x100350d0]
mov ecx, dword [0x100350ec]
test eax, eax
jne 0x1000ed21
test ecx, ecx
je 0x1000ed3f
push ecx
push eax
mov eax, dword [esp + 0x1c]
push eax
push str.__u___ProxyAuth__using_saved_info._user_len:_d__pwd_len:_d
push 0x100364d8
call fcn.10007c70
mov eax, dword [0x100350d0]
add esp, 0x14
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 8], 0
jne 0x1000ed8b
mov ecx, dword [0x100350c0]
mov esi, 8
cmp dword [0x100350d4], esi
jae 0x1000ed61
mov ecx, 0x100350c0
mov edx, dword [ebx]
push eax
push ecx
push 0x2b
push edx
call ebp
mov eax, dword [0x100350dc]
cmp dword [0x100350f0], esi
jae 0x1000ed7c
mov eax, 0x100350dc
mov ecx, dword [0x100350ec]
mov edx, dword [ebx]
push ecx
push eax
push 0x2c
push edx
call ebp
lea ecx, [esp + 0x2c]
call fcn.1000d920
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 0x1c