Function at 0x10006c90
Capabilities:
Connect to http server
Create http request
Query or enumerate registry value
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10028840
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x13bc
call fcn.1000df80
mov eax, dword [0x10036040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x13c4], edx
mov edi, ecx
push 0x104
push 0
lea eax, [ebp - 0x17c]
push eax
call fcn.1000ea10
add esp, 0xc
lea eax, [ebp - 0x1398]
push eax
push 0x20019
push 0
push 0x10031dc4
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10006d54
mov dword [ebp - 0x1390], 0x104
mov dword [ebp - 0x138c], 1
lea eax, [ebp - 0x1390]
push eax
lea eax, [ebp - 0x17c]
push eax
lea eax, [ebp - 0x138c]
push eax
push 0
push 0x10031e00
push dword [ebp - 0x1398]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
push dword [ebp - 0x1398]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x10006d94
mov edx, 0x104
lea ecx, [ebp - 0x17c]
mov esi, 0x10031e0c
mov eax, ecx
sub esi, eax
nop dword [eax + eax]
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x10006d89
mov al, byte [esi + ecx]
test al, al
je 0x10006d89
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x10006d70
lea eax, [ecx - 1]
test edx, edx
cmovne eax, ecx
mov byte [eax], 0
mov dword [ebp - 0x1188], 0x10031e38
mov dword [ebp - 0x1184], 0x10031e44
mov dword [ebp - 0x1180], 0
push 0x1000
push 0
lea eax, [ebp - 0x117c]
push eax
call fcn.1000ea10
add esp, 0xc
mov dword [ebp - 0x1394], 1
mov dword [ebp - 4], 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x17c]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x13a0], eax
test eax, eax
je 0x10007032
push 0
push 0
push 3
push 0
push 0
push 0x50
push edi
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp - 0x139c], eax
test eax, eax
je 0x1000704d
push 0
push 0x4000000
lea ecx, [ebp - 0x1188]
push ecx
push 0
push 0x10031e48
push 0x10030e53
push 0x10031e54
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov ebx, eax
mov dword [ebp - 0x13c8], ebx
test ebx, ebx
je 0x10007068
push 0
push 0
push 0
push 0
push ebx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x10007083
mov esi, dword [sym.imp.WININET.dll_InternetReadFile]
cmp dword [ebp - 0x1394], 0
je 0x10006eb6
lea eax, [ebp - 0x1394]
push eax
push 0x63
lea eax, [ebp - 0x78]
push eax
push ebx
call esi
mov eax, dword [ebp - 0x1394]
cmp eax, 0x64
jae 0x100070b9
mov byte [ebp + eax - 0x78], 0
lea eax, [ebp - 0x78]
push eax
mov edx, 0x1000
lea ecx, [ebp - 0x117c]
call fcn.100011a0
test eax, eax
je 0x10006e71
push str._title_
lea eax, [ebp - 0x117c]
push eax
call fcn.1000e3e0
add esp, 8
mov edi, eax
test edi, edi
je 0x1000709e
push 0x200
push 0
lea eax, [ebp - 0x1388]
push eax
call fcn.1000ea10
mov dword [ebp - 0x138c], 0
mov dword [ebp - 0x1390], 0x2f3e3c
xor esi, esi
mov dword [ebp - 0x13b8], esi
lea eax, [ebp - 0x138c]
push eax
lea eax, [ebp - 0x1390]
push eax
push edi
call fcn.10010743
add esp, 0x18
nop word [eax + eax]
lea ecx, [ebp - 0x1388]
lea ecx, [ecx + esi*4]
test eax, eax
je 0x10006f50
mov dword [ecx], eax
lea eax, [ebp - 0x138c]
push eax
lea eax, [ebp - 0x1390]
push eax
push 0
call fcn.10010743
add esp, 0xc
inc esi
mov dword [ebp - 0x13b8], esi
jmp 0x10006f20
mov dword [ecx], 0
cmp esi, 3
jl 0x100070be
mov ecx, str.title
mov eax, dword [ebp - 0x1380]
nop word [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10006f90
test dl, dl
je 0x10006f8c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10006f90
add eax, 2
add ecx, 2
test dl, dl
jne 0x10006f70
xor eax, eax
jmp 0x10006f95
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100070d9
push dword [ebp - 0x1384]
mov edx, 0x104
mov ecx, dword [ebp - 0x13c4]
call fcn.10001130
mov dword [ebp - 4], 0xffffffff
push ebx
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x139c]
call esi
push dword [ebp - 0x13a0]
call esi
mov eax, 1
jmp 0x10007016
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1000d0c5
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x13a4], 0
push 0x100341a4
lea eax, [ebp - 0x13a4]
push eax
call fcn.1000e7ee
mov dword [ebp - 0x13a8], 1
push 0x100341a4
lea eax, [ebp - 0x13a8]
push eax
call fcn.1000e7ee
mov dword [ebp - 0x13ac], 2
push 0x100341a4
lea eax, [ebp - 0x13ac]
push eax
call fcn.1000e7ee
mov dword [ebp - 0x13b0], 3
push 0x100341a4
lea eax, [ebp - 0x13b0]
push eax
call fcn.1000e7ee
mov dword [ebp - 0x13b4], 4
push 0x100341a4
lea eax, [ebp - 0x13b4]
push eax
call fcn.1000e7ee
call fcn.1000d1fa
mov dword [ebp - 0x13bc], 5
push 0x100341a4
lea eax, [ebp - 0x13bc]
push eax
call fcn.1000e7ee
mov dword [ebp - 0x13c0], 6
push 0x100341a4
lea eax, [ebp - 0x13c0]
push eax
call fcn.1000e7ee
int3