Function at 0x10030db0
Capabilities:
Connect to http server
Create http request
Parse url
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003de40
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x1004e2d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
sub esp, 0x18
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
mov byte [ebp - 0x44], 0
mov ecx, esp
push eax
call fcn.100394ef
call fcn.10027c90
add esp, 0x18
test al, al
jne 0x10030e0a
mov byte [ebp - 0x44], al
jmp 0x100310b6
cmp byte [ebp + 0x20], 0
lea eax, [ebp + 8]
je 0x100310a5
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 0x90]
push ecx
cmovae eax, dword [ebp + 8]
push 0
push dword [ebp + 0x18]
mov dword [ebp - 0x4c], 4
push eax
mov dword [ebp - 0x90], 0x3c
mov dword [ebp - 0x88], 1
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x70], 1
mov dword [ebp - 0x68], 1
mov dword [ebp - 0x60], 1
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x5c], 0
call dword [sym.imp.wininet.dll_InternetCrackUrlA]
mov edx, dword [ebp - 0x80]
test edx, edx
jne 0x10030eac
mov byte [ebp - 0x44], dl
jmp 0x100310b6
mov ecx, edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10030ec3
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.100394ef
push dword [ebp - 0x7c]
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push 0
push eax
lea ecx, [ebp - 0x28]
call fcn.100394ef
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x10030f1d
mov ecx, eax
call fcn.1000ae50
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea ecx, [ebp - 0x40]
call fcn.1000ae50
push 0
push 0
push 0
push 0
push 0x10043738
call dword [sym.imp.wininet.dll_InternetOpenA]
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
push 0
cmovae ecx, dword [ebp - 0x28]
push 0x84000300
push 3
push 0x1003f53d
push 0x1003f53d
push dword [ebp - 0x78]
mov dword [ebp - 0x50], eax
push ecx
push eax
call dword [sym.imp.wininet.dll_InternetConnectA]
push 0
push 0x84000b00
push 0
push 0
push 0
push dword [ebp - 0x64]
mov dword [ebp - 0x54], eax
push str.HEAD
push eax
call dword [sym.imp.wininet.dll_HttpOpenRequestA]
push 0
push 0
push 0
mov edi, eax
push 0
push edi
call dword [sym.imp.wininet.dll_HttpSendRequestA]
push 0
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x48]
push eax
push 0x20000013
push edi
call dword [sym.imp.wininet.dll_HttpQueryInfoA]
mov eax, dword [ebp - 0x48]
add eax, 0xffffff38
cmp eax, 0xcf
ja case.0x10030fd7.201
mov esi, dword [sym.imp.wininet.dll_InternetSetOptionA]
mov cl, byte [0x1004fab0]
nop dword [eax]
movzx eax, byte [eax + 0x10031118]
jmp dword [eax*4 + 0x1003110c]
test cl, cl
jne case.0x10030fd7.201
cmp dword [0x1004e248], 0x10
mov eax, 0x1004e234
push dword [0x1004e244]
cmovae eax, dword [0x1004e234]
push eax
push 0x2b
push edi
call esi
cmp dword [0x1004e260], 0x10
mov eax, 0x1004e24c
push dword [0x1004e25c]
cmovae eax, dword [0x1004e24c]
push eax
push 0x2c
push edi
call esi
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.wininet.dll_HttpSendRequestW]
push 0
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x48]
push eax
push 0x20000013
push edi
call dword [sym.imp.wininet.dll_HttpQueryInfoA]
mov eax, dword [ebp - 0x48]
mov cl, 1
add eax, 0xffffff38
mov byte [0x1004fab0], cl
cmp eax, 0xcf
jbe 0x10030fd0
jmp case.0x10030fd7.201
mov byte [ebp - 0x44], 1
push dword [ebp - 0x54]
mov esi, dword [sym.imp.wininet.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x50]
call esi
push edi
call esi
cmp byte [ebp + 0x24], 0
je 0x1003109b
mov eax, dword [ebp - 0x44]
mov ecx, 1
cmp byte [0x1004fab0], 0
movzx eax, al
cmovne eax, ecx
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x28]
call fcn.1000ae50
jmp 0x100310b6
push eax
call fcn.100394ef
add esp, 4
test al, al
setne al
mov byte [ebp - 0x44], al
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x100310ec
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100310e2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100310e2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100394ef
add esp, 8
mov al, byte [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10038030
mov esp, ebp
pop ebp
ret