Function at 0x100a69c0
Capabilities:
Delete file
Download url
Get number of processors
Read .ini file
Receive data

Disassembly:
push 0xffffffffffffffff
push 0x100c671b
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100ef07c]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xc8]
mov eax, dword [ebp]
mov edx, dword [eax + 0x3c]
lea ecx, [esp + 0x30]
push ecx
mov ecx, ebp
call edx
push eax
lea eax, [esp + 0x18]
push eax
mov edi, str.main.ini
mov dword [esp + 0xc8], 0
call fcn.10008380
add esp, 8
lea ecx, [esp + 0x30]
mov byte [esp + 0xc0], 2
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ecx, dword [esp + 0x14]
push ecx
call fcn.100a7160
mov edx, dword [ebp]
mov edx, dword [edx + 0x34]
lea eax, [esp + 0x20]
push eax
mov ecx, ebp
call edx
xor eax, eax
mov byte [esp + 0xc0], 3
cmp dword [ebp + 0x38], 5
sete al
mov edi, eax
test edi, edi
je 0x100a6a6e
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
lea esi, [ebp + 0x6c]
push esi
push 0
push edx
push eax
push 0
mov dword [ebp + 0x38], 1
call sub.urlmon.dll_URLDownloadToFileW
mov ebx, eax
test ebx, ebx
jne 0x100a6e07
lea ecx, [esp + 0x1c]
call dword [0x100ca800]
lea ecx, [esp + 0x18]
call dword [0x100ca800]
mov byte [esp + 0xc0], 5
mov ecx, dword [esp + 0x14]
push ecx
push 0x800
push 0x800
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push eax
push 0x100cb2fc
push 0x100dd944
push str.Download
call ebx
push 0xffffffffffffffff
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
mov eax, dword [esp + 0x1c]
cmp dword [eax - 0xc], 0
jne 0x100a6b3d
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x18]
mov dword [ebp + 0x38], 5
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, 0xfffffff9
jmp 0x100a6e1d
test edi, edi
je 0x100a6b48
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
mov eax, dword [ebp]
mov edx, dword [eax + 0x3c]
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebp
call edx
push eax
lea eax, [esp + 0x34]
push eax
mov edi, str.Install.guz
mov byte [esp + 0xc8], 6
call fcn.10008380
add esp, 8
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc4], 7
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
lea ecx, [esp + 0x30]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x24]
mov byte [esp + 0xc0], 5
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push esi
push 0
push ecx
push edx
push 0
call sub.urlmon.dll_URLDownloadToFileW
mov esi, eax
test esi, esi
je 0x100a6c05
mov eax, dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call edi
mov ecx, dword [esp + 0x18]
push ecx
call edi
lea ecx, [esp + 0x18]
mov dword [ebp + 0x38], 5
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, esi
jmp 0x100a6e1d
lea ecx, [esp + 0x2c]
call dword [0x100ca800]
mov byte [esp + 0xc0], 8
mov edx, dword [esp + 0x14]
push edx
push 0x64
push 0x64
lea ecx, [esp + 0x38]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
push eax
push 0x100cb2fc
push str.Hash
push str.Download
call ebx
push 0xffffffffffffffff
lea ecx, [esp + 0x30]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
mov eax, dword [esp + 0x18]
push 0
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.10097810
add esp, 0xc
mov byte [esp + 0xc0], 9
mov eax, dword [esp + 0x28]
push 3
lea edx, [esp + 0x3c]
push eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x3c], edx
call fcn.100a8e10
mov byte [esp + 0xc0], 0xa
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx - 0xc]
mov edx, dword [esp + 0x34]
push eax
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.10097950
add esp, 0xc
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0xc4], 0xb
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov byte [esp + 0xc0], 9
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x38]
cmp eax, ecx
je 0x100a6cd9
push eax
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
mov edx, dword [esp + 0x2c]
push edx
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CompareNoCase]
test eax, eax
je 0x100a6d4d
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call esi
mov ecx, dword [esp + 0x18]
push ecx
call esi
lea ecx, [esp + 0x28]
mov dword [ebp + 0x38], 5
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, 0xfffffffe
jmp 0x100a6e1d
mov edx, dword [ebp]
mov edx, dword [edx + 0x40]
lea eax, [esp + 0x24]
push eax
mov ecx, ebp
mov dword [ebp + 0x38], 2
call edx
mov byte [esp + 0xc0], 0xc
mov eax, dword [eax]
mov edx, dword [ebp]
mov edx, dword [edx + 0x44]
push eax
mov eax, dword [esp + 0x1c]
push eax
mov ecx, ebp
call edx
lea ecx, [esp + 0x24]
mov ebx, eax
mov byte [esp + 0xc0], 9
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call esi
mov ecx, dword [esp + 0x18]
push ecx
call esi
test ebx, ebx
jne 0x100a6dd8
lea esi, [esp + 0x24]
mov eax, ebp
call fcn.100a64c0
mov byte [esp + 0xc0], 0xd
mov edi, dword [eax]
mov esi, ebp
call fcn.100a64a0
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov dword [ebp + 0x38], 4
jmp 0x100a6ddf
mov dword [ebp + 0x38], 5
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, ebx
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb0
ret 4