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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003e6c5
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x1004f37c]
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.100052c0
call fcn.1001adf0
add esp, 0x18
test al, al
jne 0x10030dfa
mov byte [ebp - 0x44], al
jmp 0x10031160
cmp byte [ebp + 0x20], 0
lea eax, [ebp + 8]
je 0x1003114f
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 - 0x50], 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 0x10030e9c
mov byte [ebp - 0x44], dl
jmp 0x10031160
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 0x10030eb3
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.100052c0
mov edi, dword [ebp - 0x7c]
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x18], edi
mov byte [ebp - 4], 1
cmovb edi, dword [ebp - 0x18]
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x2c], 0xf
cmovae eax, dword [ebp - 0x28]
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x4c], eax
cmp edi, 0xf
ja 0x10030f07
push edi
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x30], edi
push eax
call sub.VCRUNTIME140.dll_memmove
mov byte [ebp + edi - 0x40], 0
jmp 0x10030f59
cmp edi, 0x7fffffff
ja 0x100311b4
mov eax, edi
or eax, 0xf
cmp eax, 0x7fffffff
jbe 0x10030f26
mov eax, SysReAllocString
jmp 0x10030f30
mov ecx, 0x16
cmp eax, ecx
cmovb eax, ecx
mov dword [ebp - 0x54], eax
lea ecx, [ebp - 0x40]
inc eax
push eax
call fcn.100052c0
push edi
push dword [ebp - 0x4c]
mov esi, eax
mov dword [ebp - 0x30], edi
mov eax, dword [ebp - 0x54]
push esi
mov dword [ebp - 0x2c], eax
call sub.VCRUNTIME140.dll_memcpy
mov byte [esi + edi], 0
mov dword [ebp - 0x40], esi
mov edx, dword [ebp - 0x14]
add esp, 0xc
cmp edx, 0x10
jb 0x10030f90
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10030f86
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003113d
push edx
push ecx
call fcn.100052c0
add esp, 8
movups xmm0, xmmword [ebp - 0x40]
push 0
push 0
push 0
movups xmmword [ebp - 0x28], xmm0
push 0
movq xmm0, qword [ebp - 0x30]
push 0x100441f8
movq qword [ebp - 0x18], xmm0
call dword [sym.imp.wininet.dll_InternetOpenA]
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
push 0
cmovae ecx, dword [ebp - 0x28]
mov edi, eax
push 0x84000300
push 3
push 0x10040faf
push 0x10040faf
push dword [ebp - 0x78]
push ecx
push edi
call dword [sym.imp.wininet.dll_InternetConnectA]
push 0
push 0x84000b00
push 0
push 0
push 0
push dword [ebp - 0x64]
mov dword [ebp - 0x4c], eax
push str.HEAD
push eax
call dword [sym.imp.wininet.dll_HttpOpenRequestA]
push 0
push 0
push 0
mov esi, eax
push 0
push esi
call dword [sym.imp.wininet.dll_HttpSendRequestA]
push 0
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x48]
push eax
push 0x20000013
push esi
call dword [sym.imp.wininet.dll_HttpQueryInfoA]
mov eax, dword [ebp - 0x48]
add eax, 0xffffff38
cmp eax, 0xcf
ja case.0x10031047.201
mov cl, byte [0x10050e30]
nop
movzx eax, byte [eax + 0x100311c8]
jmp dword [eax*4 + 0x100311bc]
test cl, cl
jne case.0x10031047.201
cmp dword [0x1004f2f4], 0x10
mov eax, 0x1004f2e0
push dword [0x1004f2f0]
cmovae eax, dword [0x1004f2e0]
push eax
push 0x2b
push esi
call dword [sym.imp.wininet.dll_InternetSetOptionA]
cmp dword [0x1004f30c], 0x10
mov eax, 0x1004f2f8
push dword [0x1004f308]
cmovae eax, dword [0x1004f2f8]
push eax
push 0x2c
push esi
call dword [sym.imp.wininet.dll_InternetSetOptionA]
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.wininet.dll_HttpSendRequestW]
push 0
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x48]
push eax
push 0x20000013
push esi
call dword [sym.imp.wininet.dll_HttpQueryInfoA]
mov eax, dword [ebp - 0x48]
mov cl, 1
add eax, 0xffffff38
mov byte [0x10050e30], cl
cmp eax, 0xcf
jbe 0x10031040
jmp case.0x10031047.201
mov byte [ebp - 0x44], 1
push dword [ebp - 0x4c]
call dword [sym.imp.wininet.dll_InternetCloseHandle]
push edi
call dword [sym.imp.wininet.dll_InternetCloseHandle]
push esi
call dword [sym.imp.wininet.dll_InternetCloseHandle]
cmp byte [ebp + 0x24], 0
je 0x10031117
mov eax, dword [ebp - 0x44]
mov ecx, 1
cmp byte [0x10050e30], 0
movzx eax, al
cmovne eax, ecx
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x10031160
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10031143
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10031143
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100052c0
add esp, 8
jmp 0x10031160
push eax
call fcn.100052c0
add esp, 4
test al, al
setne al
mov byte [ebp - 0x44], al
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x10031196
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003118c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003118c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100052c0
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.10038620
mov esp, ebp
pop ebp
ret
call fcn.100092a0
nop dword [eax]
ficom word [eax]
add edx, dword [eax]
dec esi
adc byte [ebx], al
adc dl, ah
adc byte [ebx], al
adc byte [eax], al
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add byte [edx], al
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add dword [edx], eax
add al, byte [edx]
add al, byte [edx]
add esp, ecx
int3