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

Disassembly:
push 0xffffffffffffffff
push 0x100ef7bb
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1012007c]
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.10008ed0
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.100c3390
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 0x100c2c9e
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 0x100c3037
lea ecx, [esp + 0x1c]
call dword [0x100f4984]
lea ecx, [esp + 0x18]
call dword [0x100f4984]
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 0x100f5f74
push 0x1010b1dc
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 0x100c2d6d
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 0x100c304d
test edi, edi
je 0x100c2d78
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.10008ed0
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 0x100c2e35
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 0x100c304d
lea ecx, [esp + 0x2c]
call dword [0x100f4984]
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 0x100f5f74
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.100ae610
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.100c4e80
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.100ae750
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 0x100c2f09
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 0x100c2f7d
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 0x100c304d
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 0x100c3008
lea esi, [esp + 0x24]
mov eax, ebp
call fcn.100c24c0
mov byte [esp + 0xc0], 0xd
mov edi, dword [eax]
mov esi, ebp
call fcn.100c2470
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 0x100c300f
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