Function at 0x424596
Capabilities:
Check if file exists
Get common file path

Disassembly:
push 0x280
mov eax, 0x57e3e4
call fcn.0042c498
lea ecx, [ebp - 0x279]
call fcn.0042ed40
xor ebx, ebx
lea ecx, [ebp - 0x279]
mov dword [ebp - 4], ebx
call fcn.00421573
push 0x582524
push str.87b63
lea eax, [ebp - 0x278]
push str.QJSetting
push eax
call fcn.0042278d
mov ecx, eax
call fcn.004331ba
mov dword [ebp - 0x288], ebx
mov dword [ebp - 0x284], ebx
mov dword [ebp - 0x280], ebx
xor eax, eax
mov byte [ebp - 4], 2
mov esi, 0x582a74
mov dword [ebp - 0x21c], 7
push esi
mov dword [ebp - 0x220], ebx
mov word [ebp - 0x230], ax
call fcn.004525b1
pop ecx
push eax
push esi
lea ecx, [ebp - 0x230]
call fcn.004202e4
lea eax, [ebp - 0x288]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.00437a78
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x230]
push ebx
push 1
call fcn.0042019a
mov esi, dword [ebp - 0x288]
mov edi, dword [ebp - 0x284]
cmp esi, edi
je 0x42495f
mov ebx, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push esi
lea ecx, [ebp - 0x260]
call fcn.0041fc67
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 4
push 0
push eax
call fcn.0044ea80
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x10
push eax
push 0
call ebx
test eax, eax
je 0x4247f0
and dword [ebp - 0x220], 0
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
je 0x4246e4
lea eax, [ebp - 0x218]
push eax
call fcn.004525b1
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.004202e4
push 0x58268c
mov byte [ebp - 4], 5
call fcn.004525b1
pop ecx
push eax
push 0x58268c
lea ecx, [ebp - 0x230]
call fcn.00420e5e
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x230]
call fcn.00420dbf
push 0x582690
call fcn.004525b1
pop ecx
push eax
push 0x582690
lea ecx, [ebp - 0x230]
call fcn.00420e5e
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4247dd
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.0043c248
push 0x582714
mov byte [ebp - 4], 6
call fcn.004525b1
add esp, 0xc
lea ecx, [ebp - 0x248]
push eax
push 0
push 0x582714
call fcn.0042569d
cmp eax, 0xffffffff
je 0x4247ce
sub esp, 0x18
lea eax, [ebp - 0x230]
mov ecx, esp
push eax
call fcn.0041fc67
lea ecx, [ebp - 0x279]
call fcn.00421c0a
push 0
push 1
lea ecx, [ebp - 0x248]
call fcn.0042019a
push 0
push 1
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 4
call fcn.0042019a
push 0
push 0x19
lea eax, [ebp - 0x218]
push eax
push 0
call ebx
test eax, eax
je 0x42493f
and dword [ebp - 0x220], 0
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
je 0x424837
lea eax, [ebp - 0x218]
push eax
call fcn.004525b1
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.004202e4
push 0x58268c
mov byte [ebp - 4], 7
call fcn.004525b1
pop ecx
push eax
push 0x58268c
lea ecx, [ebp - 0x230]
call fcn.00420e5e
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x230]
call fcn.00420dbf
push 0x582690
call fcn.004525b1
pop ecx
push eax
push 0x582690
lea ecx, [ebp - 0x230]
call fcn.00420e5e
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x424930
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.0043c248
push 0x582714
mov byte [ebp - 4], 8
call fcn.004525b1
add esp, 0xc
lea ecx, [ebp - 0x248]
push eax
push 0
push 0x582714
call fcn.0042569d
cmp eax, 0xffffffff
je 0x424921
sub esp, 0x18
lea eax, [ebp - 0x230]
mov ecx, esp
push eax
call fcn.0041fc67
lea ecx, [ebp - 0x279]
call fcn.00421c0a
push 0
push 1
lea ecx, [ebp - 0x248]
call fcn.0042019a
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.0042019a
push 0
push 1
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 2
call fcn.0042019a
add esi, 0x18
cmp esi, edi
jne 0x424677
xor ebx, ebx
lea ecx, [ebp - 0x288]
call fcn.0042565d
push ebx
push 1
lea ecx, [ebp - 0x278]
call fcn.0042019a
lea ecx, [ebp - 0x279]
call fcn.00424990
call fcn.0042c453
ret