Function at 0x10001300
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x484
cmp dword [ebp + 0x18], 0
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x20], ebx
je 0x100016f6
cmp dword [ebp + 0x30], 0
je 0x100016f6
cmp dword [ebp + 0x48], 0
je 0x100016f6
push 0x2f
push str.Content_Type:_application_x_www_form_urlencoded
lea ecx, [ebp - 0x38]
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xf
mov byte [ebp - 0x1c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
call fcn.100058f0
push 0
push 0
push 0
push 0
push 0x10016e10
call dword [sym.imp.WININET.dll_InternetOpenW]
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
push 1
cmovae ecx, dword [ebp + 8]
push 0
push 3
push 0
push 0
push 0x50
push ecx
push eax
mov dword [ebp - 0x4c], eax
call dword [sym.imp.WININET.dll_InternetConnectA]
cmp dword [ebp + 0x34], 0x10
lea ecx, [ebp + 0x20]
push 1
cmovae ecx, dword [ebp + 0x20]
push 0
push 0
push 0
push 0
push ecx
push str.POST
push eax
mov dword [ebp - 0x48], eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
cmp dword [ebp + 0x4c], 0x10
lea edx, [ebp + 0x38]
push dword [ebp + 0x48]
cmovae edx, dword [ebp + 0x38]
lea ecx, [ebp - 0x38]
cmp dword [ebp - 0x24], 0x10
mov esi, eax
push edx
push dword [ebp - 0x28]
cmovae ecx, dword [ebp - 0x38]
push ecx
push esi
mov dword [ebp - 0x40], esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
lea eax, [ebp - 4]
push eax
push 0x3ff
lea eax, [ebp - 0x480]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1000156e
cmp dword [ebp - 4], 0
je 0x1000156b
lea eax, [ebp - 0x480]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
lea edx, [eax + 1]
mov byte [ebp - 0x7c], 0
nop word [eax + eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10001430
sub eax, edx
lea ecx, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x480]
push eax
call fcn.100058f0
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x7c]
cmp dword [ebp - 0x6c], ecx
mov dword [ebp - 0x54], 0
cmovb ecx, dword [ebp - 0x6c]
cmp dword [ebp - 0x68], 0x10
push ecx
cmovae eax, dword [ebp - 0x7c]
lea ecx, [ebp - 0x64]
push eax
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
call fcn.100058f0
cmp dword [ebp - 0x50], 0x10
lea edx, [ebp - 0x64]
mov edi, dword [ebp - 0x64]
mov ecx, dword [ebp - 0xc]
cmovae edx, edi
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 0x54]
sub eax, ecx
mov dword [ebp - 0x3c], ecx
push ebx
push edx
cmp ebx, eax
ja 0x100014c7
cmp dword [ebp - 8], 0x10
lea esi, [ebp - 0x1c]
lea eax, [ebx + ecx]
cmovae esi, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
lea eax, [esi + ecx]
push eax
call fcn.10007f60
mov ecx, dword [ebp - 0x3c]
lea eax, [ebx + esi]
mov esi, dword [ebp - 0x40]
add esp, 0xc
mov byte [eax + ecx], 0
jmp 0x100014da
mov byte [ebp - 0x44], 0
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x44]
push ebx
call fcn.10005c70
mov edi, dword [ebp - 0x64]
mov eax, dword [ebp - 0x50]
cmp eax, 0x10
jb 0x1000150d
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x10001503
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000179b
push ecx
push edi
call fcn.10006062
add esp, 8
mov edx, dword [ebp - 0x68]
cmp edx, 0x10
jb 0x10001541
mov ecx, dword [ebp - 0x7c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10001537
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000179b
push edx
push ecx
call fcn.10006062
add esp, 8
mov eax, dword [ebp - 4]
mov byte [ebp + eax - 0x480], 0
lea eax, [ebp - 4]
push eax
push 0x3ff
lea eax, [ebp - 0x480]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x10001405
mov ebx, dword [ebp - 0x20]
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x48]
call esi
push dword [ebp - 0x4c]
call esi
movups xmm0, xmmword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
mov eax, 0xf
mov byte [ebp - 0x1c], 0
movups xmmword [ebx], xmm0
movq xmm0, qword [ebp - 0xc]
movq qword [ebx + 0x10], xmm0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], eax
cmp edx, 0x10
jb 0x100015dc
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100015cf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000179b
push edx
push ecx
call fcn.10006062
mov eax, dword [ebp - 8]
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
cmp eax, 0x10
jb 0x10001621
mov ecx, dword [ebp - 0x1c]
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x10001617
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000179b
push edx
push ecx
call fcn.10006062
add esp, 8
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xf
mov byte [ebp - 0x1c], 0
cmp edx, 0x10
jb 0x10001667
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000165d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000179b
push edx
push ecx
call fcn.10006062
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x100016ad
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100016a3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000179b
push edx
push ecx
call fcn.10006062
add esp, 8
mov edx, dword [ebp + 0x4c]
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0xf
mov byte [ebp + 0x20], 0
cmp edx, 0x10
jb 0x10001792
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10001788
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000179b
jmp 0x10001788
push 0
push 0x10016e19
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
call fcn.100058f0
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x10001743
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10001739
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000179b
push edx
push ecx
call fcn.10006062
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x100016ad
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100016a3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000179b
jmp 0x100016a3
push edx
push ecx
call fcn.10006062
add esp, 8
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.10008690
int3