Function at 0x4160f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54e2ef
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x5a68a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x40], ebx
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x4c], 8
mov dword [ebp - 0x48], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, ebx
call fcn.00430b0b
xor edi, edi
push edi
call fcn.00431df2
push 0xc
call fcn.0041eb8c
add esp, 8
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], edi
cmp eax, edi
je 0x416167
mov ecx, eax
call fcn.00432317
mov dword [ebp - 0x20], eax
jmp 0x41616a
mov dword [ebp - 0x20], edi
push 0x557468
mov dword [ebp - 4], 0xffffffff
call fcn.00435e4f
push 0x57f3f8
mov ecx, ebx
call fcn.0043b48d
lea ecx, [ebp - 0x1c]
push ecx
mov dword [ebp - 4], 1
call fcn.00401490
add esp, 4
lea esi, [ebx + 0x1ac]
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.0040a4c0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4161cf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi]
cmp dword [eax - 0xc], edi
je 0x4161ed
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4161ed
test al, 0x10
jne 0x4161ed
mov byte [ebx + 0x1a8], 1
push str.______Start_Manual_Launcher_____________________r_n
mov eax, ebx
call fcn.00416a20
add esp, 4
call fcn.00416a80
test eax, eax
jne 0x416234
push str._The_application_is_already_running__so_exit._r_n
mov eax, ebx
call fcn.00416a20
push str.______End_Manual_Launcher_______________________r_n_r_n
mov eax, ebx
call fcn.00416a20
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x44], vtable.CRegistryManager.0
mov byte [ebp - 4], 3
call fcn.0041c9f0
mov byte [ebx + 0x1a4], al
call fcn.0041c930
push 0x38
mov byte [ebx + 0x1a5], al
call fcn.0041eb8c
add esp, 4
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 4
cmp eax, edi
je 0x416272
push eax
call fcn.00416af0
jmp 0x416274
xor eax, eax
mov byte [ebp - 4], 3
mov dword [ebx + 0x18c], eax
cmp eax, edi
je 0x416857
push eax
mov ecx, ebx
call fcn.004306be
mov eax, dword [ebx + 0x18c]
mov ecx, dword [eax + 0x28]
cmp dword [ecx - 0xc], edi
je 0x4162d7
lea esi, [ebp - 0x1c]
call fcn.00416d00
lea ecx, [ebx + 0x19c]
push eax
mov byte [ebp - 4], 5
call fcn.0040a4c0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4162d7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str._Command_line_option_parameter_r_n
mov eax, ebx
call fcn.00416a20
add esp, 4
test al, al
je 0x4163ca
mov eax, dword [ebx + 0x18c]
lea esi, [ebp - 0x1c]
call fcn.00416d00
mov byte [ebp - 4], 6
mov eax, dword [ebx + 0x18c]
lea esi, [ebp - 0x14]
call fcn.00416d30
mov byte [ebp - 4], 7
mov eax, dword [ebx + 0x18c]
lea esi, [ebp - 0x24]
call fcn.00416d60
mov eax, dword [ebp - 0x1c]
cmp dword [eax - 0xc], edi
je 0x416338
push eax
push str.____Language_:___S_._r_n
mov eax, ebx
call fcn.00416a20
add esp, 8
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], edi
je 0x416350
push eax
push str.____From___S_._r_n
mov eax, ebx
call fcn.00416a20
add esp, 8
mov esi, dword [ebp - 0x24]
cmp dword [esi - 0xc], edi
je 0x416368
push esi
push str.____DriverName___S_._r_n
mov eax, ebx
call fcn.00416a20
add esp, 8
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416384
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4163a7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4163ca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx + 0xa4]
call fcn.0040bdb0
mov eax, dword [ebx + 0x18c]
lea esi, [ebp - 0x18]
call fcn.00416d30
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x18]
push str.DESKTOP
push ecx
call fcn.0051d669
add esp, 8
cmp eax, edi
jne 0x416400
xor esi, esi
jmp 0x41643b
mov edx, dword [ebp - 0x18]
push str.STARTMENU
push edx
call fcn.0051d669
add esp, 8
cmp eax, edi
jne 0x41641c
mov esi, 1
jmp 0x41643b
mov eax, dword [ebp - 0x18]
push 0x57f580
push eax
call fcn.0051d669
add esp, 8
mov esi, 2
cmp eax, edi
je 0x41643b
mov esi, 3
lea ecx, [ebx + 0xc0]
call fcn.0040b910
push 0xc
call fcn.0041eb8c
add esp, 4
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 9
cmp eax, edi
je 0x416463
push eax
call fcn.0041e6e0
jmp 0x416465
xor eax, eax
mov byte [ebp - 4], 8
mov dword [ebx + 0x190], eax
cmp eax, edi
je 0x416837
mov eax, dword [ebx + 0x19c]
push ecx
lea edi, [ebx + 0x19c]
sub eax, 0x10
mov dword [ebp - 0x24], esp
mov esi, esp
push eax
call fcn.0040a450
add eax, 0x10
mov dword [esi], eax
mov ecx, dword [ebx + 0x190]
add esp, 4
call fcn.0041e820
mov eax, dword [ebx + 0x190]
lea esi, [ebp - 0x24]
call fcn.00418b30
push eax
mov ecx, edi
mov byte [ebp - 4], 0xa
call fcn.0040a4c0
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4164e2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebx + 0x190]
mov al, byte [ecx + 4]
mov edx, dword [edi]
push edx
mov byte [ebx + 0x1a6], al
push str._Language___S__r_n
mov eax, ebx
call fcn.00416a20
push 0x2c
call fcn.0041eb8c
add esp, 0xc
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 0xb
test eax, eax
je 0x41651d
push eax
call fcn.0041d8f0
jmp 0x41651f
xor eax, eax
mov byte [ebp - 4], 8
mov dword [ebx + 0x194], eax
test eax, eax
je 0x416813
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push edi
call fcn.0040a2c0
mov esi, dword [ebx + 0x194]
call fcn.0041dd20
mov esi, ebx
call fcn.00416920
call fcn.0040fc70
mov byte [ebx + 0x1a7], al
movzx eax, al
push eax
push str._Internet_Access___d__r_n
mov eax, ebx
call fcn.00416a20
push 0x20
call fcn.0041eb8c
mov esi, eax
add esp, 0xc
mov dword [ebp - 0x24], esi
mov byte [ebp - 4], 0xc
test esi, esi
je 0x4165a0
lea edi, [esi + 4]
push edi
call fcn.00415d50
mov eax, edi
mov dword [esi], 0
call fcn.0041a610
mov dword [esi + 0x1c], 0
jmp 0x4165a2
xor esi, esi
mov byte [ebp - 4], 8
mov dword [ebx + 0x198], esi
test esi, esi
je 0x4167ef
movzx ecx, byte [ebx + 0x1a7]
push ecx
push ecx
lea eax, [ebx + 0x19c]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call fcn.0040a2c0
mov edx, dword [ebx + 0x198]
push edx
call fcn.004154a0
test al, al
je 0x4167ef
mov eax, dword [ebx + 0x18c]
lea esi, [ebp - 0x14]
call fcn.00416d60
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
je 0x41663e
push ecx
mov edx, esi
mov ecx, esp
mov dword [ebp - 0x24], esp
push edx
call fcn.0040a2c0
mov edi, dword [ebx + 0x198]
call fcn.00415af0
test al, al
jne 0x41666c
push str._Error_:_The_specified_product_does_not_exis._r_n
mov eax, ebx
call fcn.00416a20
add esp, 4
push 0x599f60
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], 0
call fcn.0051f2e6
lea eax, [ebp - 0x24]
push eax
call fcn.004178f0
add esp, 4
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xe
call fcn.0040a530
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xd
call fcn.0040f4d0
mov ecx, dword [ebp - 0x14]
cmp dword [ecx - 0xc], 0
je 0x416686
push ecx
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x24], esp
push edx
call fcn.0040a2c0
mov edi, dword [ebx + 0x198]
call fcn.00415940
mov edi, dword [ebx + 0x198]
call fcn.00415860
cmp dword [eax + 8], 0
jg 0x4166bb
push str._Error_:_No_Product._r_n
mov eax, ebx
call fcn.00416a20
add esp, 4
push 0x599f60
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x2c], 0
call fcn.0051f2e6
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 8
call fcn.0040f4d0
mov edx, dword [ebx + 0x198]
lea ecx, [ebp - 0x24]
push ecx
push edx
call fcn.004157a0
mov eax, dword [eax]
push eax
push str._Default_Product___S_._r_n
mov eax, ebx
call fcn.00416a20
add esp, 8
lea ecx, [ebp - 0x24]
call fcn.0040f4d0
lea ecx, [ebp - 0x18]
call fcn.0040f4d0
or edi, 0xffffffff
mov dword [ebp - 4], edi
cmp byte [ebx + 0x1a6], 0
lea esi, [edi + 0x67]
je 0x416710
mov esi, 0x87
push 0xfc
call fcn.0041eb8c
add esp, 4
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 0x12
test eax, eax
je 0x416734
push esi
push eax
call fcn.00416ec0
jmp 0x416736
xor eax, eax
mov dword [ebp - 4], edi
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x14c]
call eax
mov eax, dword [ebx + 0x198]
test eax, eax
je 0x4167ad
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.004157a0
mov dword [ebp - 4], 0x13
mov edx, dword [ebp - 0x14]
cmp dword [edx - 0xc], 0
je 0x4167a2
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x44], esp
push eax
call fcn.0040a2c0
call fcn.004179d0
add esp, 4
test al, al
mov eax, ebx
je 0x416791
mov ecx, dword [ebp - 0x14]
push ecx
push str._Success_:_write_Default_Product___S__r_n
jmp 0x41679a
mov edx, dword [ebp - 0x14]
push edx
push str._Failed_:_write_Default_Product___S__r_n
call fcn.00416a20
add esp, 8
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], edi
call fcn.0040f4d0
lea edi, [ebx + 0xa4]
call fcn.0040be30
push str.______End_Manual_Launcher_______________________r_n_r_n
mov eax, ebx
call fcn.00416a20
mov ecx, dword [ebp - 0x20]
add esp, 4
test ecx, ecx
je 0x416220
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str._Error_:_ManualManager._r_n
mov eax, ebx
call fcn.00416a20
add esp, 4
push 0x599f60
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x30], 0
call fcn.0051f2e6
push str._Error_:_StringManager._r_n
mov eax, ebx
call fcn.00416a20
add esp, 4
push 0x599f60
lea ecx, [ebp - 0x34]
push ecx
mov dword [ebp - 0x34], 0
call fcn.0051f2e6
push str._Error_:_SupportLanguage._r_n
mov eax, ebx
call fcn.00416a20
add esp, 4
push 0x599f60
lea edx, [ebp - 0x38]
push edx
mov dword [ebp - 0x38], edi
call fcn.0051f2e6
push str._Error_:_Command_line_option._r_n
mov eax, ebx
call fcn.00416a20
add esp, 4
push 0x599f60
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], edi
call fcn.0051f2e6
mov edi, dword [ebp - 0x40]
mov ecx, dword [edi + 0x190]
mov al, byte [ecx + 4]
mov ecx, dword [edi + 0x194]
test al, al
lea esi, [ebp - 0x24]
mov eax, 2
je 0x4168ba
call fcn.0041de00
mov ebx, eax
mov byte [ebp - 4], 0x10
mov ecx, dword [edi + 0x194]
mov eax, 0xe
lea esi, [ebp - 0x40]
call fcn.0041de00
push 0x100030
jmp 0x4168da
call fcn.0041de00
mov ebx, eax
mov byte [ebp - 4], 0x11
mov ecx, dword [edi + 0x194]
mov eax, 0xe
lea esi, [ebp - 0x40]
call fcn.0041de00
push 0x30
mov ebx, dword [ebx]
mov eax, dword [eax]
push ebx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x40]
call fcn.0040f4d0
lea ecx, [ebp - 0x24]
call fcn.0040f4d0
push str._Error_:_CManualsLauncherApp::InitInstance___r_n
mov eax, edi
call fcn.00416a20
push str.______End_Manual_Launcher_______________________r_n_r_n
mov eax, edi
call fcn.00416a20
add esp, 8
mov eax, 0x416220
ret