Function at 0x495417
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4db4ff
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x57b750]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
call fcn.004a13b7
call fcn.0049a417
fld qword [0x5595a0]
mov eax, dword [eax + 0xc]
push ecx
push ecx
fstp qword [esp]
push 0x19d
push dword [esi + 0x20]
lea ecx, [esi + 0xd4]
mov edx, eax
call fcn.0040b29e
call fcn.00499991
push eax
lea ecx, [esp + 0x1c]
call fcn.004727f7
xor ebx, ebx
mov dword [esp + 0x30], ebx
call fcn.0049a417
mov eax, dword [eax + 8]
push 0x64
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 1
push 0x80
push dword [esi + 0x20]
mov dword [esp + 0x24], eax
call edi
push dword [esp + 0x14]
push ebx
push 0x80
push dword [esi + 0x20]
call edi
push ebx
mov ecx, esi
call fcn.0049d171
call fcn.00407202
push 0x3c
push 0xe1
push 5
push 5
mov edi, 0x185
push edi
mov ecx, esi
call fcn.00457a9e
push ebx
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call fcn.004a8b2a
mov dword [esp + 0x14], eax
cmp eax, ebx
je 0x49551c
push ebx
push 8
push eax
call fcn.004a8948
test eax, eax
je 0x49551c
mov eax, dword [esp + 0x14]
push 1
push 0xf060
push dword [eax + 4]
call dword [sym.imp.USER32.dll_EnableMenuItem]
push 0x523938
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.RESOURCESTRING
call fcn.004024df
push ecx
mov byte [esp + 0x3c], 1
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.AFX_IDS_APP_TITLE
call fcn.004024df
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x40], bl
call fcn.004068e2
mov byte [esp + 0x30], 2
push dword [eax]
mov ecx, esi
call fcn.0049a629
mov byte [esp + 0x30], bl
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.004027b0
push 0x523938
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.RESOURCESTRING
cmp byte [esi + 0x78], bl
je 0x4955e9
call fcn.004024df
push ecx
mov byte [esp + 0x3c], 3
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x558d50
call fcn.004024df
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x40], bl
call fcn.004068e2
mov byte [esp + 0x30], 4
push dword [eax]
mov ecx, esi
push edi
call fcn.0049a513
mov ecx, eax
call fcn.0049a629
mov byte [esp + 0x30], bl
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.004027b0
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push esi
push 0x495bf2
jmp 0x4956f1
cmp byte [0x5858b8], bl
je 0x495697
cmp byte [0x5858d8], bl
je 0x495667
mov byte [0x5858d8], bl
call fcn.004024df
push ecx
mov byte [esp + 0x3c], 5
mov ecx, esp
mov dword [esp + 0x28], esp
push str.IDS_STR_FIRST_RUN_BKUP
call fcn.004024df
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x40], bl
call fcn.004068e2
mov byte [esp + 0x30], 6
push dword [eax]
mov ecx, esi
push edi
call fcn.0049a513
mov ecx, eax
call fcn.0049a629
mov byte [esp + 0x30], bl
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.004027b0
push edi
mov ecx, esi
call fcn.0049a513
push eax
mov eax, 0x585950
call fcn.00457862
jmp 0x4956e6
call fcn.004024df
push ecx
mov byte [esp + 0x3c], 7
mov ecx, esp
mov dword [esp + 0x28], esp
push str.IDC_BACKUP_INFO
call fcn.004024df
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x40], bl
call fcn.004068e2
mov byte [esp + 0x30], 8
jmp 0x4956c5
call fcn.004024df
push ecx
mov byte [esp + 0x3c], 9
mov ecx, esp
mov dword [esp + 0x28], esp
push str.IDC_BACKUP_INFO
call fcn.004024df
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x40], bl
call fcn.004068e2
mov byte [esp + 0x30], 0xa
push dword [eax]
mov ecx, esi
push edi
call fcn.0049a513
mov ecx, eax
call fcn.0049a629
mov byte [esp + 0x30], bl
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.004027b0
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push esi
push 0x49571b
call fcn.004a61f6
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
mov dword [esi + 0x74], eax
call fcn.004027b0
xor eax, eax
inc eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret