Function at 0x10008ad0
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
push 0xffffffffffffffff
push 0x1002bf28
mov eax, dword fs:[0]
push eax
sub esp, 0x4f0
mov eax, dword [0x1003d0a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4fc], eax
mov dword [ebp - 0x4d4], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x4cc], eax
mov dword [ebp - 0x4d8], 0
lea eax, [ebp + 0xc]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x4c8]
call fcn.100026d0
mov edi, dword [ebp - 0x460]
mov byte [ebp - 4], 3
cmp dword [edi + 0x14], 0x10
jb 0x10008b47
mov edi, dword [edi]
mov esi, dword [ebp - 0x458]
cmp dword [esi + 0x14], 0x10
jb 0x10008b55
mov esi, dword [esi]
movups xmm0, xmmword [str.Content_Type:_application_x_www_form_urlencoded]
cmp dword [ebp + 0x38], 0x10
lea eax, [ebp + 0x24]
push 0
cmovae eax, dword [ebp + 0x24]
movups xmmword [ebp - 0x40], xmm0
push 0
movups xmm0, xmmword [0x1002d49c]
push 0
push 0
movups xmmword [ebp - 0x30], xmm0
push str.MyAgent
movups xmm0, xmmword [0x1002d4ac]
mov dword [ebp - 0x4d0], eax
mov dword [ebp - 0x44c], str.text_plain
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x448], 0
call dword [sym.imp.WININET.dll_InternetOpenA]
push 1
push 0
push 3
push 0
push 0
push 0x50
push edi
push eax
mov dword [ebp - 0x4dc], eax
call dword [sym.imp.WININET.dll_InternetConnectA]
push 1
push 0x84000900
lea ecx, [ebp - 0x44c]
mov dword [ebp - 0x4e0], eax
push ecx
push 0
push 0
push esi
push dword [ebp - 0x4cc]
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
cmp dword [ebp + 0x38], 0x10
lea edx, [ebp + 0x24]
mov esi, eax
cmovae edx, dword [ebp + 0x24]
mov dword [ebp - 0x4cc], esi
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x10008c04
sub edx, ecx
lea ecx, [ebp - 0x40]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10008c13
push edx
push dword [ebp - 0x4d0]
sub ecx, edi
lea eax, [ebp - 0x40]
push ecx
push eax
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x10008c39
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [ebp - 0x4d4]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
lea eax, [ebp - 0x450]
mov dword [ebp - 0x4d8], 1
push eax
push 0x400
lea eax, [ebp - 0x444]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x10008d67
nop dword [eax]
mov eax, dword [ebp - 0x450]
test eax, eax
je 0x10008d67
cmp eax, 0x401
jae 0x10008e24
mov byte [ebp + eax - 0x444], 0
lea eax, [ebp - 0x444]
mov dword [ebp - 0x4e8], 0
lea edx, [eax + 1]
mov dword [ebp - 0x4e4], 0xf
mov byte [ebp - 0x4f8], 0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10008cc5
sub eax, edx
lea ecx, [ebp - 0x4f8]
push eax
lea eax, [ebp - 0x444]
push eax
call fcn.10006f20
cmp dword [ebp - 0x4e4], 0x10
lea eax, [ebp - 0x4f8]
push dword [ebp - 0x4e8]
cmovae eax, dword [ebp - 0x4f8]
mov ecx, edi
push eax
mov byte [ebp - 4], 4
call fcn.10006da0
mov edx, dword [ebp - 0x4e4]
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x10008d45
mov ecx, dword [ebp - 0x4f8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10008d3b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10008e1f
push edx
push ecx
call fcn.1000d05f
add esp, 8
lea eax, [ebp - 0x450]
push eax
push 0x400
lea eax, [ebp - 0x444]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x10008c80
push dword [ebp - 0x4dc]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x4e0]
call esi
push dword [ebp - 0x4cc]
call esi
lea ecx, [ebp - 0x4c8]
call fcn.10003be0
mov edx, dword [ebp + 0x20]
cmp edx, 0x10
jb 0x10008dc0
mov ecx, dword [ebp + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10008db6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10008e1f
push edx
push ecx
call fcn.1000d05f
add esp, 8
mov edx, dword [ebp + 0x38]
mov dword [ebp + 0x1c], 0
mov dword [ebp + 0x20], 0xf
mov byte [ebp + 0xc], 0
cmp edx, 0x10
jb 0x10008e02
mov ecx, dword [ebp + 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10008df8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10008e1f
push edx
push ecx
call fcn.1000d05f
add esp, 8
mov eax, edi
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.1000d587
mov esp, ebp
pop ebp
ret
call fcn.10011b4a
call fcn.1000d4ad
int3