Function at 0x100103f0
Capabilities:
Check http status code
Check os version
Connect to http server
Create http request
Get http content length
Parse url
Send data
Send http request

Disassembly:
mov eax, 0x2f14
call fcn.10023930
mov eax, dword [0x10035400]
xor eax, esp
mov dword [esp + 0x2f0c], eax
push ebx
push ebp
push esi
push edi
xor ebp, ebp
push 0x103
lea eax, [esp + 0xfd]
push ebp
push eax
mov esi, ecx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov byte [esp + 0x104], 0
call fcn.1001f410
add esp, 0xc
push 0x513
lea ecx, [esp + 0x205]
push ebp
push ecx
mov byte [esp + 0x20c], 0
call fcn.1001f410
add esp, 0xc
push 0x27ff
lea edx, [esp + 0x71d]
push ebp
push edx
mov byte [esp + 0x724], 0
call fcn.1001f410
add esp, 0xc
cmp esi, ebp
jne 0x10010481
xor eax, eax
jmp 0x1001083f
push esi
lea eax, [esp + 0x71c]
push 0x1000
push eax
call fcn.1001ac74
lea eax, [esp + 0x724]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100104a1
sub eax, edx
xor ecx, ecx
cmp eax, ebp
jle 0x100104cb
cmp byte [esp + ecx + 0x718], 0x5c
jne 0x100104c4
mov byte [esp + ecx + 0x718], 0x2f
add ecx, 1
cmp ecx, eax
jl 0x100104b2
push 0x90
lea ecx, [esp + 0x68]
push ebp
push ecx
call fcn.1001f410
add esp, 0xc
lea edx, [esp + 0x60]
push edx
mov dword [esp + 0x64], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x100105fe
cmp dword [esp + 0x64], 6
jae 0x100105fe
push 8
lea eax, [esp + 0x71c]
push str.https:__
push eax
call fcn.10025beb
add esp, 0xc
test eax, eax
jne 0x1001055e
push str.http:__
lea ecx, [esp + 0x71c]
push str.https:__
push ecx
call fcn.1000f770
mov esi, eax
add esp, 0xc
cmp esi, ebp
je 0x1001055e
push esi
lea edx, [esp + 0x71c]
push 0x2800
push edx
call fcn.10018328
add esp, 0xc
push esi
call fcn.100186a9
add esp, 4
push 8
lea eax, [esp + 0x71c]
push str.HTTPS:__
push eax
call fcn.10025beb
add esp, 0xc
test eax, eax
jne 0x100105b8
push str.http:__
lea ecx, [esp + 0x71c]
push str.HTTPS:__
push ecx
call fcn.1000f770
mov esi, eax
add esp, 0xc
cmp esi, ebp
je 0x100105b8
push esi
lea edx, [esp + 0x71c]
push 0x2800
push edx
call fcn.10018328
add esp, 0xc
push esi
call fcn.100186a9
add esp, 4
push 0x1002ea4c
lea eax, [esp + 0x71c]
push str.:443_
push eax
call fcn.1000f770
mov esi, eax
add esp, 0xc
cmp esi, ebp
je 0x100105f7
push esi
lea ecx, [esp + 0x71c]
push 0x2800
push ecx
call fcn.10018328
add esp, 0xc
push esi
call fcn.100186a9
add esp, 4
lea esi, [esp + 0x718]
lea edx, [esp + 0x718]
push 0x2f
push edx
call fcn.10019420
mov edi, eax
add esp, 8
cmp edi, ebp
je 0x1001047a
push 0x3f
push edi
call fcn.10018930
add esp, 8
add edi, 1
test eax, eax
jne 0x10010666
lea eax, [esp + 0x718]
sub esi, eax
lea ecx, [esi + edi]
mov eax, ecx
lea esi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x10010640
sub eax, esi
cmp ecx, ebp
je 0x1001065f
push ecx
push edi
push eax
mov eax, 0x1000
call fcn.1000f110
add esp, 0xc
lea esi, [esp + 0x718]
push 0x3c
lea ecx, [esp + 0x28]
push ebp
push ecx
call fcn.1001f410
lea eax, [esp + 0x20c]
lea edx, [esp + 0x104]
mov dword [esp + 0x5c], eax
mov eax, esi
mov dword [esp + 0x40], edx
add esp, 0xc
mov dword [esp + 0x24], 0x3c
mov dword [esp + 0x38], 0x104
mov dword [esp + 0x54], 0x514
mov dword [esp + 0x2c], 1
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100106b1
lea ecx, [esp + 0x24]
push ecx
push ebp
sub eax, edx
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x1001047a
push ebp
push 0x1002bf9a
push 0x1002bf9a
push 1
push str.WININET
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
cmp edi, ebp
mov dword [esp + 0x18], edi
je 0x1001083b
mov edx, dword [esp + 0x3c]
push ebp
push ebp
push 3
push ebp
push ebp
push edx
lea eax, [esp + 0x110]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ebx, eax
cmp ebx, ebp
je 0x10010834
mov ecx, dword [esp + 0x30]
push ebp
mov ebp, 4
sub ecx, ebp
neg ecx
sbb ecx, ecx
and ecx, 0xff7fc000
add ecx, 0x808000
or ecx, 0x44c0200
push ecx
push 0
push str.fafc768124b1326a0f7a6dbc9e84b435
push str.HTTP_1.0
lea edx, [esp + 0x214]
push edx
push 0x1002f61c
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
test esi, esi
je 0x1001082d
cmp dword [esp + 0x30], ebp
jne 0x10010786
push ebp
lea eax, [esp + 0x24]
push eax
push 0x1f
push esi
mov dword [esp + 0x30], 0x3180
call dword [sym.imp.WININET.dll_InternetSetOptionA]
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x10010826
mov edi, dword [sym.imp.WININET.dll_HttpQueryInfoA]
push 0
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0x20000013
push esi
mov dword [esp + 0x24], ebp
call edi
mov eax, dword [esp + 0x14]
cmp eax, 0xc8
je 0x1001080a
push eax
push str.HTTP
push 0x19f
push str..Cutil_FileDownload.c
push 1
mov ecx, str.HttpQueryFileSize
call fcn.1000be40
mov eax, dword [esp + 0x28]
add esp, 0x14
push eax
push str.HTTP
push 0x19f
push str..Cutil_FileDownload.c
push 1
mov ecx, str.HttpQueryFileSize
call fcn.1000bb50
add esp, 0x14
jmp 0x10010822
push 0
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x24]
push edx
push 0x20000005
push esi
mov dword [esp + 0x24], ebp
call edi
mov edi, dword [esp + 0x18]
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2f1c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1001829e
add esp, 0x2f14
ret