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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x531d5e
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x597790]
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 + 0x1c4]
push ebx
push str.__Installing_desktop_icon:
push eax
call fcn.00404236
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 + 0x20c]
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, dword [ebx]
push str._:_____
push eax
call fcn.004f9e0a
pop ecx
pop ecx
cmp eax, edi
je 0x46af08
sub eax, dword [ebx]
cmp eax, edi
jle 0x46af08
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.0040417b
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 + 0x1b0]
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.0046aa35
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.004126ee
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
pop ecx
cmp eax, edi
jne 0x46b015
push edi
push dword [esp + 0x14]
mov dword [esp + 0x30], edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x46af62
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.004126ee
pop ecx
cmp eax, edi
jne 0x46b015
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.0040417b
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 + 0x1b0]
mov byte [esp + 0x48], 6
lea ecx, [esp + 0x2c]
call fcn.00401898
or dword [esp + 0x48], 0xffffffff
lea ecx, [esp + 0x10]
jmp 0x46aeee
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.0046a90a
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.00412646
pop ecx
cmp eax, edi
je 0x46b16f
mov dword [esi + 0x1c8], 1
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.0046a973
mov byte [esp + 0x48], 0x17
push dword [esp + 0x18]
mov eax, dword [esi + 0x1c0]
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push eax
push 0x5466f8
push str.InternetShortcut
call ebx
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.0046a8ab
mov byte [esp + 0x48], 0x18
push dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
push dword [esp + 0x20]
call fcn.00413d6d
mov edi, eax
pop ecx
pop ecx
test edi, edi
jge 0x46b23d
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.0040417b
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 + 0x1b0]
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 0x46aef5
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 + 0x254]
mov byte [esp + 0x58], 0x11
mov byte [esp + 0x58], 0xe
call fcn.0041329e
add esp, 0x10
cmp eax, edi
jne 0x46b059
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.0040417b
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 + 0x1b0]
mov byte [esp + 0x48], 0xe
lea ecx, [esp + 0x2c]
call fcn.00401898
mov byte [esp + 0x48], 6
lea ecx, [esp + 0x14]
jmp 0x46b002
lea eax, [esp + 0x24]
push eax
call fcn.0046a9e0
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.004138c3
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 0x100
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 0x46b130