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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1420
call fcn.1006e430
mov eax, dword [0x100c3360]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push 0x7ff
lea eax, [ebp - 0x1413]
push ebx
push eax
mov byte [ebp - 0x1414], bl
call fcn.1006de50
add esp, 0xc
call fcn.10003f5d
test al, al
jne 0x1000b1dd
mov eax, dword [0x100c47a0]
mov ecx, eax
sub ecx, ebx
je 0x1000b1d3
dec ecx
je 0x1000b1cb
inc eax
mov dword [0x100c47a0], eax
jmp 0x1000b1dd
mov dword [0x100c47a0], ebx
jmp 0x1000b1dd
mov dword [0x100c47a0], 2
push 0x7ff
lea eax, [ebp - 0xc13]
push ebx
push eax
mov byte [ebp - 0xc14], bl
call fcn.1006de50
lea eax, [ebp - 0x1418]
push eax
lea eax, [ebp - 0xc14]
push eax
lea eax, [ebp - 0x1414]
push eax
push esi
mov dword [ebp - 0x1418], 0x50
call fcn.1000b070
add esp, 0x1c
movzx esi, al
call fcn.1000b635
test al, al
jne 0x1000b22f
dec dword [0x100c47a0]
test esi, esi
jne 0x1000b23a
xor al, al
jmp 0x1000b46e
push ebx
push ebx
push 3
push ebx
push ebx
push dword [ebp - 0x1418]
lea eax, [ebp - 0x1414]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
test eax, eax
je 0x1000b233
push 1
push 0x80400200
push ebx
push ebx
push ebx
lea ecx, [ebp - 0xc14]
push ecx
push 0x1008b12c
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edi, eax
test edi, edi
jne 0x1000b2bb
call fcn.1000b5e9
test al, al
jne 0x1000b233
mov esi, str.8wo5piOeK
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x10]
push eax
movsw word es:[edi], word [esi]
call fcn.1006d400
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1006c443
push eax
call fcn.1006dc4d
add esp, 0xc
jmp 0x1000b233
mov dword [ebp - 0x141c], 0x1388
call fcn.1000b573
test al, al
jne 0x1000b2d4
dec dword [0x100c47a0]
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionA]
push 4
lea eax, [ebp - 0x141c]
push eax
push 6
push edi
call esi
push 4
lea eax, [ebp - 0x141c]
push eax
push 5
push edi
call esi
push ebx
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x1000b311
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x1000b233
cmp byte [ebp + 0x10], bl
jne 0x1000b414
push ebx
mov ecx, 0x100c4ee4
call fcn.100174f6
mov esi, 0x8000
mov dword [ebp - 0x1418], ebx
mov ebx, dword [0x100c4ee8]
sub ebx, dword [0x100c4ee4]
mov ecx, 0x100c4ee4
lea eax, [ebx + esi]
push eax
call fcn.100174f6
mov eax, dword [0x100c4ee4]
lea ecx, [ebp - 0x1418]
push ecx
push esi
add eax, ebx
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x1000b3f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1000b412
cmp esi, 0x400000
jg 0x1000b412
or dword [ebp - 0x1418], 0xffffffff
call fcn.1000b611
test al, al
jne 0x1000b3e3
movd xmm4, dword [0x100c47a0]
movsd xmm3, qword [0x1008ac28]
xorps xmm2, xmm2
cvtdq2pd xmm4, xmm4
addsd xmm2, xmm3
movapd xmm0, xmm2
mulsd xmm0, xmm2
comisd xmm0, xmm4
jbe 0x1000b3c9
subsd xmm2, xmm3
divsd xmm3, qword [0x1008ac40]
movapd xmm1, xmm2
mulsd xmm1, xmm2
movapd xmm0, xmm4
subsd xmm0, xmm1
comisd xmm0, xmmword [0x1008ac20]
ja 0x1000b3ab
push ebx
mov ecx, 0x100c4ee4
call fcn.100174f6
add esi, esi
jmp 0x1000b405
mov eax, dword [ebp - 0x1418]
add eax, ebx
push eax
mov ecx, 0x100c4ee4
call fcn.100174f6
cmp dword [ebp - 0x1418], 0
jne 0x1000b330
xor ebx, ebx
mov esi, 0x400
push esi
lea eax, [ebp - 0x413]
push ebx
push eax
mov byte [ebp - 0x414], bl
call fcn.1006de50
add esp, 0xc
lea eax, [ebp - 0x1420]
push ebx
push eax
lea eax, [ebp - 0x414]
push eax
push 0x13
push edi
mov dword [ebp - 0x1420], esi
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x1000b305
lea eax, [ebp - 0x414]
push 0x1008b13c
push eax
call fcn.1006e4b0
neg eax
pop ecx
sbb eax, eax
pop ecx
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006d48b
leave
ret