Function at 0x1002a100
Capabilities:
Print debug messages
Query remote server for available data
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10090880
push 0x1005aa50
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x1009cbc0]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x2c], edx
mov eax, ecx
mov dword [ebp - 0x28], eax
xor edi, edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], edi
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], esi
mov dword [ebp - 4], 1
push 0
push 0
lea ecx, [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x1002a324
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1002a324
test esi, esi
jne 0x1002a25c
lea eax, [ebx + 0xb]
push eax
call fcn.1005218a
add esp, 4
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
jne 0x1002a249
push 0x1000a
call fcn.1005218a
add esp, 4
mov esi, eax
test esi, esi
jne 0x1002a1c2
push str.Memory_allocation_error_in_log_file_n
call fcn.10052604
add esp, 4
push str.Memory_allocation_error_in_log_file_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x1002a21f
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push 5
test eax, eax
jle 0x1002a1fe
mov byte [esi + 0xffff], 0
push esi
push str.GetResponseMessage
push 1
mov edx, 0x8af
mov ecx, str...StandAloneSvcExploitFiles.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x1002a216
push str.Error__d_in_swprintf_s_n
call fcn.10052604
add esp, 8
push str.Error_in_swprintf_s_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call fcn.10052152
add esp, 4
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1009cbc0
call fcn.10062b20
add esp, 0xc
mov eax, 5
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebx + 1]
push eax
push 0
push esi
call fcn.10055aa0
add esp, 0xc
mov eax, esi
jmp 0x1002a2d1
lea eax, [ebx + 1]
add eax, edi
push eax
push esi
call fcn.100543bc
add esp, 8
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
jne 0x1002a2ce
push 0x1000a
call fcn.1005218a
add esp, 4
mov esi, eax
test esi, esi
je 0x1002a1a8
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push 5
test eax, eax
jle 0x1002a1fe
mov byte [esi + 0xffff], 0
push esi
push str.GetResponseMessage
push 1
mov edx, 0x8b7
mov ecx, str...StandAloneSvcExploitFiles.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x1002a216
lea eax, [esi + edi]
lea ecx, [ebp - 0x24]
push ecx
push dword [ebp - 0x20]
push eax
push dword [ebp - 0x28]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x1002a316
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1009cbc0
call fcn.10062b20
add esp, 0xc
lea eax, [esi + 0x1e]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
add edi, dword [ebp - 0x24]
mov dword [ebp - 0x30], edi
mov eax, dword [ebp - 0x28]
jmp 0x1002a152
test esi, esi
je 0x1002a336
mov byte [esi + edi], 0
mov eax, dword [ebp - 0x2c]
mov dword [eax], esi
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0
call fcn.1002a360
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret