Function at 0x10085420
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, 0x454
mov eax, dword [0x10100008]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x18], 0
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x444], edi
je 0x10085768
cmp dword [ebp + 0x30], 0
je 0x10085768
cmp dword [ebp + 0x48], 0
je 0x10085768
xor esi, esi
mov dword [ebp - 0x43c], 0
push 0x2f
mov ebx, 0xf
mov dword [ebp - 0x42c], esi
push str.Content_Type:_application_x_www_form_urlencoded
lea ecx, [ebp - 0x424]
mov dword [ebp - 0x428], ebx
mov dword [ebp - 0x424], esi
mov dword [ebp - 0x414], esi
mov dword [ebp - 0x410], ebx
call fcn.100b2ac0
push esi
push esi
push esi
push esi
push 0x100fa590
call dword [sym.imp.WININET.dll_InternetOpenW]
cmp dword [ebp + 0x1c], 0x10
mov ecx, eax
push 1
push esi
push 3
push esi
push esi
lea eax, [ebp + 8]
mov dword [ebp - 0x450], ecx
cmovae eax, dword [ebp + 8]
push 0x50
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetConnectA]
cmp dword [ebp + 0x34], 0x10
mov ecx, eax
push 1
push esi
push esi
push esi
push esi
lea eax, [ebp + 0x20]
mov dword [ebp - 0x44c], ecx
cmovae eax, dword [ebp + 0x20]
push eax
push str.POST
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
cmp dword [ebp + 0x4c], 0x10
lea ecx, [ebp + 0x38]
push dword [ebp + 0x48]
cmovae ecx, dword [ebp + 0x38]
mov edx, eax
cmp dword [ebp - 0x410], 0x10
lea eax, [ebp - 0x424]
push ecx
push dword [ebp - 0x414]
cmovae eax, dword [ebp - 0x424]
push eax
push edx
mov dword [ebp - 0x440], edx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
lea eax, [ebp - 0x40c]
push eax
push 0x3ff
lea eax, [ebp - 0x408]
push eax
push dword [ebp - 0x440]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1008561b
nop word [eax + eax]
mov edi, dword [ebp - 0x40c]
test edi, edi
je 0x10085615
mov eax, ebx
sub eax, esi
push edi
cmp edi, eax
ja 0x100855a8
lea eax, [esi + edi]
cmp ebx, 0x10
mov dword [ebp - 0x42c], eax
lea eax, [ebp - 0x43c]
cmovae eax, dword [ebp - 0x43c]
add esi, eax
lea eax, [ebp - 0x408]
push eax
push esi
call fcn.100c0d20
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x100855c8
lea eax, [ebp - 0x408]
mov byte [ebp - 0x448], 0
push eax
push dword [ebp - 0x448]
lea ecx, [ebp - 0x43c]
push edi
call fcn.100b3b50
mov eax, dword [ebp - 0x40c]
cmp eax, 0x400
jae 0x1008581a
mov byte [ebp + eax - 0x408], 0
lea eax, [ebp - 0x40c]
push eax
push 0x3ff
lea eax, [ebp - 0x408]
push eax
push dword [ebp - 0x440]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x10085615
mov ebx, dword [ebp - 0x428]
mov esi, dword [ebp - 0x42c]
jmp 0x10085560
mov edi, dword [ebp - 0x444]
push dword [ebp - 0x440]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x44c]
call esi
push dword [ebp - 0x450]
call esi
movups xmm0, xmmword [ebp - 0x43c]
mov edx, dword [ebp - 0x410]
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x42c]
movq qword [edi + 0x10], xmm0
cmp edx, 0x10
jb 0x1008568a
mov ecx, dword [ebp - 0x424]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10085680
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008581f
push edx
push ecx
call fcn.100be753
add esp, 8
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x414], 0
mov dword [ebp - 0x410], 0xf
mov byte [ebp - 0x424], 0
cmp edx, 0x10
jb 0x100856d9
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100856cf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008581f
push edx
push ecx
call fcn.100be753
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 0x1008571f
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10085715
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008581f
push edx
push ecx
call fcn.100be753
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 0x10085807
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100857fd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008581f
jmp 0x100857fd
push 0
push 0x100f1188
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
call fcn.100b2ac0
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x100857b8
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100857ae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008581f
push edx
push ecx
call fcn.100be753
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 0x1008571f
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10085715
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008581f
jmp 0x10085715
push edx
push ecx
call fcn.100be753
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100be1f9
mov esp, ebp
pop ebp
ret
call fcn.100be329
call fcn.100ca55d
int3