Function at 0x464bb5
Capabilities:
Create directory
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x512791
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x56d790]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
push ecx
mov eax, esp
mov dword [esp + 0x30], esp
lea ebx, [esi + 0x1bc]
push ebx
push str.__Installing_desktop_icon:
push eax
call fcn.004040f8
add esp, 0xc
xor edi, edi
mov dword [esp + 0x4c], edi
mov eax, dword [esi]
or dword [esp + 0x4c], 0xffffffff
mov ecx, esi
call dword [eax + 0x204]
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, dword [ebx]
push str._:____
push eax
call fcn.004e1f3a
pop ecx
pop ecx
cmp eax, edi
je 0x464cc6
sub eax, dword [ebx]
cmp eax, edi
jle 0x464cc6
push 0x51
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push str.CIQOfferDesktopIcon::InstallIcon
call fcn.00401769
inc edi
mov dword [esp + 0x50], edi
push str.Icon_caption_is_invalid:
lea ecx, [esp + 0x34]
call fcn.00401769
mov byte [esp + 0x50], 2
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push ebx
push eax
push ecx
call fcn.0040403d
mov byte [esp + 0x60], 3
add esp, 8
mov ecx, esp
mov dword [esp + 0x44], esp
push str.badiconcaption
call fcn.00401769
mov byte [esp + 0x58], 4
mov eax, dword [esi]
push edi
mov byte [esp + 0x5c], 5
mov ecx, esi
call dword [eax + 0x1b4]
or dword [esp + 0x48], 0xffffffff
lea ecx, [esp + 0x28]
call fcn.00401898
xor eax, eax
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x10]
push eax
call fcn.004647f3
mov dword [esp + 0x48], 6
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.0040184e
mov byte [esp + 0x4c], 7
mov byte [esp + 0x4c], 6
call fcn.004139c3
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
pop ecx
cmp eax, edi
jne 0x464dd3
push edi
push dword [esp + 0x14]
mov dword [esp + 0x30], edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x464d20
call ebx
mov dword [esp + 0x28], eax
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.0040184e
mov byte [esp + 0x4c], 8
mov byte [esp + 0x4c], 6
call fcn.004139c3
pop ecx
cmp eax, edi
jne 0x464dd3
push 0x64
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push str.CIQOfferDesktopIcon::InstallIcon
call fcn.00401769
mov byte [esp + 0x50], 9
push str.Create_icon_folder_failed:
lea ecx, [esp + 0x38]
call fcn.00401769
mov byte [esp + 0x50], 0xa
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
lea edx, [esp + 0x1c]
push edx
push eax
push ecx
call fcn.0040403d
mov byte [esp + 0x60], 0xb
add esp, 8
mov ecx, esp
mov dword [esp + 0x48], esp
push str.createicondirfailed
call fcn.00401769
mov byte [esp + 0x58], 0xc
mov eax, dword [esi]
push dword [esp + 0x38]
mov byte [esp + 0x5c], 0xd
mov ecx, esi
call dword [eax + 0x1b4]
mov byte [esp + 0x48], 6
lea ecx, [esp + 0x2c]
call fcn.00401898
or dword [esp + 0x48], 0xffffffff
lea ecx, [esp + 0x10]
jmp 0x464cac
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.004646c8
mov byte [esp + 0x48], 0xe
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.0040184e
mov byte [esp + 0x4c], 0xf
mov byte [esp + 0x4c], 0xe
call fcn.0041391b
pop ecx
cmp eax, edi
je 0x464f2d
mov dword [esi + 0x1c0], 1
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.00464731
mov byte [esp + 0x48], 0x17
push dword [esp + 0x18]
mov eax, dword [esi + 0x1b8]
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push eax
push 0x5247a4
push str.InternetShortcut
call ebx
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.00464669
mov byte [esp + 0x48], 0x18
push dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
push dword [esp + 0x20]
call fcn.00414df4
mov edi, eax
pop ecx
pop ecx
test edi, edi
jge 0x464ffb
push 0x7f
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push str.CIQOfferDesktopIcon::InstallIcon
call fcn.00401769
mov byte [esp + 0x50], 0x19
push str.Create_icon_shortcut_failed:
lea ecx, [esp + 0x38]
call fcn.00401769
mov byte [esp + 0x50], 0x1a
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
lea edx, [esp + 0x28]
push edx
push eax
push ecx
call fcn.0040403d
mov byte [esp + 0x60], 0x1b
add esp, 8
mov ecx, esp
mov dword [esp + 0x40], esp
push str.createiconshortcutfailed
call fcn.00401769
mov byte [esp + 0x58], 0x1c
mov eax, dword [esi]
push edi
mov byte [esp + 0x5c], 0x1d
mov ecx, esi
call dword [eax + 0x1b4]
mov byte [esp + 0x48], 0x18
lea ecx, [esp + 0x2c]
call fcn.00401898
xor esi, esi
mov byte [esp + 0x48], 0x17
lea ecx, [esp + 0x1c]
call fcn.00401898
mov byte [esp + 0x48], 0xe
lea ecx, [esp + 0x18]
call fcn.00401898
mov byte [esp + 0x48], 6
lea ecx, [esp + 0x14]
call fcn.00401898
or dword [esp + 0x48], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00401898
mov eax, esi
jmp 0x464cb3
push 1
push edi
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call fcn.0040184e
mov byte [esp + 0x54], 0x10
mov eax, dword [esi]
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push ecx
mov ecx, esi
call dword [eax + 0x24c]
mov byte [esp + 0x58], 0x11
mov byte [esp + 0x58], 0xe
call fcn.00414420
add esp, 0x10
cmp eax, edi
jne 0x464e17
push 0x72
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push str.CIQOfferDesktopIcon::InstallIcon
call fcn.00401769
mov byte [esp + 0x50], 0x12
push str.Copy_icon_file_failed:
lea ecx, [esp + 0x38]
call fcn.00401769
mov byte [esp + 0x50], 0x13
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
lea edx, [esp + 0x20]
push edx
push eax
push ecx
call fcn.0040403d
mov byte [esp + 0x60], 0x14
add esp, 8
mov ecx, esp
mov dword [esp + 0x40], esp
push str.copyiconfailed
call fcn.00401769
mov byte [esp + 0x58], 0x15
mov edi, dword [esi]
call ebx
push eax
mov byte [esp + 0x5c], 0x16
mov ecx, esi
call dword [edi + 0x1b4]
mov byte [esp + 0x48], 0xe
lea ecx, [esp + 0x2c]
call fcn.00401898
mov byte [esp + 0x48], 6
lea ecx, [esp + 0x14]
jmp 0x464dc0
lea eax, [esp + 0x24]
push eax
call fcn.0046479e
mov byte [esp + 0x48], 0x1e
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.0040184e
mov byte [esp + 0x4c], 0x1f
mov byte [esp + 0x4c], 0x1e
lea edi, [esp + 0x24]
call fcn.004149a0
pop ecx
mov byte [esp + 0x48], 0x20
mov eax, dword [esi]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call dword [eax + 0x60]
mov byte [esp + 0x48], 0x21
push dword [esp + 0x24]
mov eax, dword [eax]
push eax
push str.OfferId
push dword [esp + 0x2c]
call ebx
mov byte [esp + 0x48], 0x20
lea ecx, [esp + 0x2c]
call fcn.00401898
push dword [esp + 0x24]
push dword [esp + 0x20]
push str.Shortcut
push dword [esp + 0x2c]
call ebx
mov eax, dword [esi]
push pe_nt_image_headers32
mov ecx, esi
call dword [eax + 0x50]
mov byte [esp + 0x48], 0x1e
mov ecx, edi
call fcn.00401898
mov byte [esp + 0x48], 0x18
lea ecx, [esp + 0x24]
call fcn.00401898
xor esi, esi
inc esi
jmp 0x464eee