Function at 0x40c2a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47da9c
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x49c4b0]
xor eax, esp
mov dword [esp + 0x260], eax
push ebx
push esi
push edi
mov eax, dword [0x49c4b0]
xor eax, esp
push eax
lea eax, [esp + 0x278]
mov dword fs:[0], eax
mov edi, ecx
push 4
lea ecx, [edi + 0x370]
push 0x48d83c
call fcn.00406930
push 0xa
lea ebx, [edi + 0x388]
push 0x48d844
mov ecx, ebx
call fcn.00406930
push 0xc
push str.FeiRar__Inc.
lea ecx, [edi + 0x3a0]
call fcn.00406930
push 0x12
push str.https:__FeiRar.com
lea ecx, [edi + 0x3b8]
call fcn.00406930
push 0xa
lea ecx, [edi + 0x400]
push str.FeiRar.exe
call fcn.00406930
push 0xa
push str.uninst.exe
lea ecx, [edi + 0x418]
call fcn.00406930
push 6
lea ecx, [edi + 0x430]
push str.FeiRar
call fcn.00406930
lea ecx, [esp + 0x1c]
call fcn.00419fb0
lea esi, [edi + 0x288]
mov dword [esp + 0x14], eax
cmp esi, eax
je 0x40c3a6
cmp dword [esi + 0x14], 0x10
jb 0x40c38d
push dword [esi]
call fcn.0045eb11
mov eax, dword [esp + 0x18]
add esp, 4
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], 0
push eax
mov byte [esi], 0
call fcn.00406ae0
cmp dword [esp + 0x30], 0x10
jb 0x40c3b9
push dword [esp + 0x1c]
call fcn.0045eb11
add esp, 4
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
lea eax, [esp + 0x1c]
mov dword [esp + 0x280], 0
push eax
push 0x487bb4
mov edx, str.SOFTWAREFeiRar
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.004129b0
add esp, 8
mov dword [esp + 0x280], 0xffffffff
test al, al
sete al
cmp dword [esp + 0x30], 0x10
mov byte [esp + 0x1b], al
jb 0x40c420
push dword [esp + 0x1c]
call fcn.0045eb11
mov al, byte [esp + 0x1f]
add esp, 4
lea ecx, [edi + 0x2ac]
mov byte [edi + 0x2a8], al
cmp ecx, ebx
je 0x40c43a
push 0xffffffffffffffff
push 0
push ebx
call fcn.004065c0
push 0
call fcn.0045eb16
add esp, 4
mov dword [edi + 0x2a0], eax
lea ecx, [edi + 0x2c4]
mov dword [edi + 0x2a4], edx
push 6
push str.feirar
call fcn.00406930
lea ecx, [esp + 0x1c]
call fcn.00401620
mov ebx, eax
lea esi, [edi + 0x2dc]
cmp esi, ebx
je 0x40c4a0
cmp dword [esi + 0x14], 0x10
jb 0x40c487
push dword [esi]
call fcn.0045eb11
add esp, 4
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], 0
push ebx
mov byte [esi], 0
call fcn.00406ae0
cmp dword [esp + 0x30], 0x10
jb 0x40c4b3
push dword [esp + 0x1c]
call fcn.0045eb11
add esp, 4
push 8
push str.standard
lea ecx, [edi + 0x324]
call fcn.00406930
push 0xd
push str.192.168.1.102
lea ecx, [edi + 0x33c]
call fcn.00406930
push 6
push str.feirar
lea ecx, [edi + 0x354]
call fcn.00406930
lea eax, [edi + 0x400]
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths_
push eax
lea ecx, [esp + 0x20]
call fcn.00404040
mov ebx, eax
lea esi, [edi + 0x3e8]
add esp, 4
cmp esi, ebx
je 0x40c536
cmp dword [esi + 0x14], 0x10
jb 0x40c51d
push dword [esi]
call fcn.0045eb11
add esp, 4
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], 0
push ebx
mov byte [esi], 0
call fcn.00406ae0
cmp dword [esp + 0x30], 0x10
jb 0x40c549
push dword [esp + 0x1c]
call fcn.0045eb11
add esp, 4
lea eax, [edi + 0x370]
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push eax
lea ecx, [esp + 0x20]
call fcn.00404040
mov ebx, eax
lea esi, [edi + 0x3d0]
add esp, 4
cmp esi, ebx
je 0x40c596
cmp dword [esi + 0x14], 0x10
jb 0x40c57d
push dword [esi]
call fcn.0045eb11
add esp, 4
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], 0
push ebx
mov byte [esi], 0
call fcn.00406ae0
cmp dword [esp + 0x30], 0x10
jb 0x40c5a9
push dword [esp + 0x1c]
call fcn.0045eb11
add esp, 4
mov ecx, dword [0x49fed4]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
call fcn.00414630
push dword [edi + 4]
lea esi, [edi + 0x520]
mov ecx, esi
call fcn.004146f0
test byte [esi + 0xc], 2
mov ebx, dword [sym.imp.USER32.dll_GetParent]
mov byte [esi + 0xf], 6
je 0x40c5f6
push dword [esi + 4]
call ebx
push eax
mov ecx, esi
call fcn.00414970
test byte [esi + 0xc], 2
mov word [esi + 0x10], 0
je 0x40c60f
push dword [esi + 4]
call ebx
push eax
mov ecx, esi
call fcn.00414970
test byte [esi + 0xc], 2
mov byte [esi + 0xd], 0x32
je 0x40c626
push dword [esi + 4]
call ebx
push eax
mov ecx, esi
call fcn.00414970
push 0
push 0x1c
lea eax, [esp + 0x6c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp word [esp + 0x64], 0
jne 0x40c643
xor ecx, ecx
jmp 0x40c65f
lea ecx, [esp + 0x64]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40c650
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x68]
push eax
lea ecx, [edi + 0x540]
call fcn.00406350
push 6
push str.TEMP_
lea ecx, [edi + 0x540]
call fcn.00403ad0
lea ecx, [edi + 0x540]
call fcn.00401880
push ecx
lea edx, [edi + 0x540]
lea ecx, [esp + 0x20]
call fcn.004041d0
mov ebx, eax
lea esi, [edi + 0x558]
add esp, 4
cmp esi, ebx
je 0x40c6d7
cmp dword [esi + 0x14], 8
jb 0x40c6bc
push dword [esi]
call fcn.0045eb11
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
push ebx
mov word [esi], ax
call fcn.00405e60
cmp dword [esp + 0x30], 8
jb 0x40c6ea
push dword [esp + 0x1c]
call fcn.0045eb11
add esp, 4
lea ebx, [edi + 0x570]
mov ecx, ebx
call fcn.00402070
push 0x487534
sub esp, 0x18
lea esi, [edi + 0x430]
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push esi
mov byte [ecx], 0
call fcn.004065c0
xor edx, edx
lea ecx, [esp + 0x68]
call fcn.00401a90
add esp, 0x18
mov edx, eax
mov dword [esp + 0x284], 1
lea ecx, [esp + 0x20]
call fcn.00404290
add esp, 4
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
mov byte [esp + 0x28c], 2
call fcn.00403bb0
cmp dword [esp + 0x30], 8
jb 0x40c770
push dword [esp + 0x1c]
call fcn.0045eb11
add esp, 4
xor eax, eax
mov dword [esp + 0x280], 0xffffffff
cmp dword [esp + 0x60], 8
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
jb 0x40c7a5
push dword [esp + 0x4c]
call fcn.0045eb11
add esp, 4
push esi
mov edx, str.SOFTWARE_
lea ecx, [esp + 0x50]
call fcn.00404040
lea esi, [edi + 0x508]
mov dword [esp + 0x18], eax
add esp, 4
cmp esi, eax
je 0x40c7f2
cmp dword [esi + 0x14], 0x10
jb 0x40c7d9
push dword [esi]
call fcn.0045eb11
mov eax, dword [esp + 0x18]
add esp, 4
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], 0
push eax
mov byte [esi], 0
call fcn.00406ae0
cmp dword [esp + 0x60], 0x10
jb 0x40c805
push dword [esp + 0x4c]
call fcn.0045eb11
add esp, 4
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], 0
mov byte [esp + 0x34], 0
mov dword [esp + 0x280], 3
cmp dword [esi + 0x14], 0x10
jb 0x40c82f
mov edx, dword [esi]
jmp 0x40c831
mov edx, esi
lea eax, [esp + 0x34]
mov ecx, SysReAllocString
push eax
push str.InstallPath
call fcn.004129b0
add esp, 8
test al, al
je 0x40c8b6
cmp dword [esp + 0x44], 0
je 0x40c8b6
lea ecx, [esp + 0x34]
call fcn.00401e60
test al, al
je 0x40c8b6
sub esp, 0x18
lea eax, [esp + 0x4c]
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004065c0
xor edx, edx
lea ecx, [esp + 0x64]
call fcn.00401a90
add esp, 0x18
mov ecx, ebx
push eax
call fcn.00403020
cmp dword [esp + 0x60], 8
jb 0x40c97a
push dword [esp + 0x4c]
call fcn.0045eb11
add esp, 4
jmp 0x40c97a
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push ebx
mov word [ecx], ax
call fcn.00405fe0
xor edx, edx
lea ecx, [esp + 0x64]
call fcn.00401c00
lea ecx, [esp + 0x4c]
mov dword [esp + 0x2c], eax
add esp, 0x18
cmp ecx, eax
je 0x40c927
cmp dword [esp + 0x48], 0x10
jb 0x40c908
push dword [esp + 0x34]
call fcn.0045eb11
mov eax, dword [esp + 0x18]
add esp, 4
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], 0
mov byte [esp + 0x38], 0
call fcn.00406ae0
cmp dword [esp + 0x60], 0x10
jb 0x40c93a
push dword [esp + 0x4c]
call fcn.0045eb11
add esp, 4
sub esp, 0x18
lea eax, [esp + 0x4c]
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004065c0
cmp dword [esi + 0x14], 0x10
jb 0x40c966
mov esi, dword [esi]
push str.InstallPath
mov edx, esi
mov ecx, SysReAllocString
call fcn.00412ab0
add esp, 0x1c
push 1
lea esi, [edi + 0x158]
push str.stepTabLayout
mov ecx, esi
call fcn.0041d110
mov dword [edi + 0x588], eax
test eax, eax
je 0x40c9a9
lea ecx, [eax + 0x4a0]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [edi + 0x5d8], eax
push 1
push str.btn_install_start
mov ecx, esi
call fcn.0041d110
push 1
push str.btn_usercustom
mov ecx, esi
mov dword [edi + 0x594], eax
call fcn.0041d110
push 1
push str.opt_usercustom
mov ecx, esi
mov dword [edi + 0x598], eax
call fcn.0041d110
push 1
push str.hor_userdefine
mov ecx, esi
mov dword [edi + 0x59c], eax
call fcn.0041d110
push 1
push str.btn_browsepath
mov ecx, esi
mov dword [edi + 0x5a0], eax
call fcn.0041d110
push 1
push str.btn_userprot
mov ecx, esi
mov dword [edi + 0x5a4], eax
call fcn.0041d110
push 1
push str.edit_installpath
mov ecx, esi
mov dword [edi + 0x590], eax
call fcn.0041d110
mov ecx, eax
mov dword [edi + 0x5a8], ecx
test ecx, ecx
je 0x40ca49
cmp dword [ebx + 0x14], 8
jb 0x40ca43
mov ebx, dword [ebx]
mov eax, dword [ecx]
push ebx
call dword [eax + 0x2c]
push 1
push str.tab_install_view
mov ecx, esi
call fcn.0041d110
push 1
push str.lab_install_tip
mov ecx, esi
mov dword [edi + 0x58c], eax
call fcn.0041d110
push 1
push str.pro_install
mov ecx, esi
mov dword [edi + 0x5c0], eax
call fcn.0041d110
mov dword [edi + 0x5c4], eax
test eax, eax
je 0x40cab5
cmp dword [eax + 0x594], 0
je 0x40cab5
cmp dword [eax + 0x590], 0
jg 0x40cab5
cmp dword [eax + 0x58c], 0
jl 0x40cab5
mov ecx, eax
mov dword [eax + 0x594], 0
call fcn.0042d090
push 1
push str.btn_open
mov ecx, esi
call fcn.0041d110
push 1
push str.check_userprot
mov ecx, esi
mov dword [edi + 0x5c8], eax
call fcn.0041d110
push 1
push str.check_desktop
mov ecx, esi
mov dword [edi + 0x5b8], eax
call fcn.0041d110
push 1
push str.check_task
mov ecx, esi
mov dword [edi + 0x5ac], eax
call fcn.0041d110
push 1
push str.check_program
mov ecx, esi
mov dword [edi + 0x5b0], eax
call fcn.0041d110
push 1
push str.check_autoupdate
mov ecx, esi
mov dword [edi + 0x5b4], eax
call fcn.0041d110
push 1
push str.check_qq
mov ecx, esi
mov dword [edi + 0x5bc], eax
call fcn.0041d110
push 1
push str.check_cqss
mov ecx, esi
mov dword [edi + 0x5cc], eax
call fcn.0041d110
push 0
push 0xbb8
push 0x3e8
push dword [edi + 4]
mov dword [edi + 0x5d0], eax
call dword [sym.imp.USER32.dll_SetTimer]
cmp dword [esp + 0x48], 0x10
jb 0x40cb7d
push dword [esp + 0x34]
call fcn.0045eb11
add esp, 4
mov ecx, dword [esp + 0x278]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.0045eb02
mov esp, ebp
pop ebp
ret