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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100290bb
mov eax, dword fs:[0]
push eax
mov eax, 0x226c
call fcn.10012a30
mov eax, dword [0x1003b068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x2214], edi
mov dword [ebp - 0x2214], edi
mov dword [ebp - 0x2220], 0
mov dword [ebp - 0x221c], 0xf
mov byte [ebp - 0x2230], 0
push 0
push 0
push 0
push 1
push str.HTTPGET
mov dword [ebp - 4], 0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebx, eax
mov dword [ebp - 0x2270], ebx
test ebx, ebx
jne 0x10002f3f
mov dword [edi + 0x10], 0
mov ecx, edi
push 4
mov dword [edi + 0x14], 0xf
push str.NULL
mov byte [edi], 0
call fcn.100070d0
mov edx, dword [ebp - 0x221c]
cmp edx, 0x10
jb 0x1000318d
mov ecx, dword [ebp - 0x2230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10003183
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100031ab
jmp 0x10003183
cmp dword [esi + 0x14], 0x10
lea eax, [ebp - 0x110]
xorps xmm0, xmm0
mov dword [ebp - 0x225c], eax
lea eax, [ebp - 0x210]
movlpd qword [ebp - 0x2268], xmm0
mov dword [ebp - 0x2260], 0
movlpd qword [ebp - 0x2254], xmm0
movlpd qword [ebp - 0x224c], xmm0
mov dword [ebp - 0x2244], 0
movlpd qword [ebp - 0x2238], xmm0
mov dword [ebp - 0x226c], 0x3c
mov dword [ebp - 0x2258], pe_nt_image_headers32
mov dword [ebp - 0x2240], eax
mov dword [ebp - 0x223c], pe_nt_image_headers32
jb 0x10002fb4
mov esi, dword [esi]
lea eax, [ebp - 0x226c]
push eax
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x10002fd6
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x10002ee3
cmp dword [ebp - 0x2260], 4
mov dword [ebp - 0x2278], 0x80003000
jne 0x10002ffa
mov dword [ebp - 0x2278], 0x80803000
mov eax, 0x1bb
jmp 0x10002fff
mov eax, 0x50
push 0
push 0
push 3
push 0
push 0
mov word [ebp - 0x2254], ax
lea eax, [ebp - 0x110]
push dword [ebp - 0x2254]
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov esi, eax
mov dword [ebp - 0x2274], esi
test esi, esi
jne 0x1000303c
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x10002ee3
push 0
push dword [ebp - 0x2278]
lea eax, [ebp - 0x210]
push 0
push 0
push 0
push eax
push 0x10037698
push esi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov ebx, eax
test ebx, ebx
jne 0x10003079
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x2270]
call esi
jmp 0x10002ee3
push 0xa0000000
push 0xffffffffffffffff
push str.Accept:_application_dns_json_r_n
push ebx
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
test eax, eax
jne 0x100030ae
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call esi
push dword [ebp - 0x2274]
call esi
push dword [ebp - 0x2270]
call esi
jmp 0x10002ee3
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionW]
lea eax, [ebp - 0x2218]
push 4
push eax
push 2
push ebx
mov dword [ebp - 0x2218], 0xea60
call esi
push 4
lea eax, [ebp - 0x2218]
push eax
push 5
push ebx
call esi
push 4
lea eax, [ebp - 0x2218]
push eax
push 6
push ebx
call esi
push 0
push 0
push 0
push 0
push ebx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x10003119
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call esi
push dword [ebp - 0x2274]
call esi
push dword [ebp - 0x2270]
call esi
jmp 0x10002ee3
mov esi, dword [sym.imp.WININET.dll_InternetReadFile]
nop
lea eax, [ebp - 0x2214]
push eax
push 0x2000
lea eax, [ebp - 0x2210]
push eax
push ebx
call esi
push dword [ebp - 0x2214]
lea eax, [ebp - 0x2210]
push eax
lea ecx, [ebp - 0x2230]
call fcn.10005c40
cmp dword [ebp - 0x2214], 0
ja 0x10003120
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call esi
push dword [ebp - 0x2274]
call esi
push dword [ebp - 0x2270]
call esi
lea eax, [ebp - 0x2230]
mov ecx, edi
push eax
call fcn.10005d70
jmp 0x10002f02
push edx
push ecx
call fcn.10011db8
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10011911
mov esp, ebp
pop ebp
ret
call fcn.10017f1b
int3