Function at 0x1000a38e
Capabilities:
Query remote server for available data
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and byte [ebp - 2], 0
and byte [ebp - 3], 0
push ebx
mov ebx, ecx
push esi
push edi
cmp byte [ebx + 0x58], 0
mov byte [ebp - 1], 1
jne 0x1000a3b7
mov eax, dword [ebx + 0x54]
cmp eax, dword [ebx + 0x5c]
jl 0x1000a4cf
xor esi, esi
lea eax, [ebp - 8]
push esi
push esi
push eax
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x1000a52e
mov eax, dword [ebx + 0x4c]
call dword [eax + 0x24c]
cmp dword [ebp - 8], esi
mov dword [ebx + 0x78], eax
mov dword [ebx + 0x7c], edx
jbe 0x1000a4bd
mov eax, 0x800
cmp dword [ebp - 8], eax
jbe 0x1000a3f5
mov dword [ebp - 8], eax
lea eax, [ebp + 8]
mov dword [ebx + 0x54], esi
push eax
push dword [ebp - 8]
push dword [ebx + 0x50]
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x1000a41a
and byte [ebp - 1], al
mov byte [ebx + 0x60], 1
mov byte [ebp - 2], 1
mov eax, dword [ebp + 8]
cmp eax, esi
mov dword [ebx + 0x5c], eax
jne 0x1000a474
cmp byte [ebx + 0x70], 0
jne 0x1000a447
mov eax, dword [ebx + 0x4c]
mov byte [ebx + 0x70], 1
call dword [eax + 0x24c]
mov dword [ebx + 0x68], eax
mov dword [ebx + 0x6c], edx
and byte [ebp - 1], 0
mov byte [ebp - 2], 1
jmp 0x1000a47c
mov eax, dword [ebx + 0x4c]
mov esi, dword [ebx + 0x80]
call dword [eax + 0x24c]
sub eax, dword [ebx + 0x68]
sbb edx, dword [ebx + 0x6c]
cmp edx, dword [esi + 0x34]
jl 0x1000a43d
jg 0x1000a468
cmp eax, dword [esi + 0x30]
jbe 0x1000a43d
mov dword [esi + 0xc], 1
jmp 0x1000a60f
and byte [ebx + 0x70], 0
and byte [ebx + 0x58], 0
cmp byte [ebp + 0xc], 0
je 0x1000a4c5
cmp dword [ebx + 0x5c], 5
jle 0x1000a4c5
mov eax, dword [ebx + 0x50]
cmp byte [eax], 0x3c
jne 0x1000a4c5
cmp byte [eax + 5], 0x3e
jne 0x1000a4c5
mov cl, byte [eax + 1]
cmp cl, 0x68
je 0x1000a4a3
cmp cl, 0x48
jne 0x1000a4c5
mov al, byte [eax + 4]
cmp al, 0x6c
je 0x1000a4ae
cmp al, 0x4c
jne 0x1000a4c5
and byte [ebx + 0x58], 0
mov eax, dword [ebx + 0x80]
jmp 0x1000a608
and byte [ebp - 1], 0
mov byte [ebp - 2], 1
cmp byte [ebp - 1], 0
je 0x1000a5e1
lea eax, [ebp - 8]
and byte [ebx + 0x70], 0
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0xf]
push eax
push dword [ebx + 0x5c]
push dword [ebx + 0x54]
push dword [ebx + 0x50]
call fcn.1000a02f
test al, al
je 0x1000a5ae
cmp byte [ebp + 0xf], 0
je 0x1000a55b
mov eax, dword [ebp - 8]
mov esi, dword [ebx + 0x50]
add esi, dword [ebp + 8]
mov edi, dword [ebp + 0x14]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [ebp + 0x18]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x14]
add ecx, eax
mov dword [edx], ecx
mov ecx, dword [ebp + 8]
add ecx, eax
mov dword [ebx + 0x54], ecx
jmp 0x1000a5e1
inc dword [ebx + 0x74]
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebx + 0x74], 0xfa
jne 0x1000a61f
mov eax, dword [ebx + 0x80]
mov dword [ebx + 0x74], esi
mov dword [eax + 0xc], 4
jmp 0x1000a60f
mov eax, dword [ebp + 0x18]
mov edi, dword [eax]
test edi, edi
je 0x1000a5d9
mov edx, dword [ebx + 0x54]
mov eax, dword [ebp + 8]
mov esi, dword [ebx + 0x50]
sub eax, edx
inc eax
add esi, edx
inc eax
mov ecx, eax
mov dword [ebp - 0xc], eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
sub edx, dword [ebp + 0x14]
add edx, eax
mov eax, dword [ebp + 0x1c]
mov dword [eax], edx
and dword [ecx], 0
push dword [eax]
push dword [ebp + 0x14]
call fcn.1000a098
mov byte [ebp - 3], al
mov eax, dword [ebp - 0xc]
inc eax
add dword [ebx + 0x54], eax
jmp 0x1000a5e1
mov eax, dword [ebp + 0x18]
mov edi, dword [eax]
test edi, edi
je 0x1000a5d9
mov edx, dword [ebx + 0x54]
mov eax, dword [ebx + 0x5c]
mov esi, dword [ebx + 0x50]
sub eax, edx
mov ecx, eax
add esi, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x18]
add dword [ecx], eax
and dword [ebx + 0x54], 0
mov byte [ebx + 0x58], 1
cmp byte [ebp - 2], 0
je 0x1000a61f
mov ecx, dword [ebx + 0x80]
xor eax, eax
lea esi, [ebx + 0x80]
push eax
push eax
push eax
call fcn.1000a90b
test al, al
jne 0x1000a619
cmp byte [ebx + 0x60], al
je 0x1000a61f
mov eax, dword [esi]
mov dword [eax + 0xc], 3
mov eax, dword [ebp + 0x10]
mov byte [eax], 1
xor al, al
jmp 0x1000a622
mov eax, dword [ebp + 0x20]
mov byte [eax], 1
mov al, byte [ebp - 3]
pop edi
pop esi
pop ebx
leave
ret 0x20