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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc5c
mov eax, dword [0x5b2ee4]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0xc5c], ecx
mov dword [ebp - 0x424], 0
mov dword [ebp - 0xc4c], 0
mov dword [ebp - 0xc54], 0
mov dword [ebp - 0xc50], 0
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.0047e0e0
add esp, 0xc
xor edx, edx
mov word [ebp - 0x838], dx
push 0x206
push 0
lea eax, [ebp - 0x836]
push eax
call fcn.0047e0e0
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0xc48], cx
push 0x206
push 0
lea edx, [ebp - 0xc46]
push edx
call fcn.0047e0e0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x630], ax
push 0x206
push 0
lea ecx, [ebp - 0x62e]
push ecx
call fcn.0047e0e0
add esp, 0xc
xor edx, edx
mov word [ebp - 0x420], dx
push 0x206
push 0
lea eax, [ebp - 0x41e]
push eax
call fcn.0047e0e0
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0xa40], cx
push 0x206
push 0
lea edx, [ebp - 0xa3e]
push edx
call fcn.0047e0e0
add esp, 0xc
mov dword [ebp - 0x214], 0
mov dword [ebp - 4], 0
push 0
push 0x1a
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x420]
push edx
call fcn.0047e84c
add esp, 8
lea eax, [ebp - 0x420]
push eax
call fcn.0047e669
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0xc58], 0
push 0x5c
lea ecx, [ebp - 0x420]
push ecx
call fcn.0040efb0
add esp, 8
mov dword [ebp - 0xc58], eax
cmp dword [ebp - 0xc58], 0
jne 0x436461
mov ecx, dword [ebp - 0xc5c]
call fcn.00438370
jmp 0x4365da
xor edx, edx
mov eax, dword [ebp - 0xc58]
mov word [eax], dx
lea ecx, [ebp - 0x420]
push ecx
lea edx, [ebp - 0x838]
push edx
call fcn.0047e84c
add esp, 8
push 0x56f4dc
lea eax, [ebp - 0x838]
push eax
call fcn.0047e81e
add esp, 8
lea ecx, [ebp - 0x838]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4364b1
mov dword [ebp - 0xc4c], 1
lea edx, [ebp - 0x420]
push edx
lea eax, [ebp - 0xc48]
push eax
call fcn.0047e84c
add esp, 8
push 0x56f4ec
lea ecx, [ebp - 0xc48]
push ecx
call fcn.0047e81e
add esp, 8
lea edx, [ebp - 0xc48]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4364f6
mov dword [ebp - 0xc54], 1
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x630]
push ecx
call fcn.0047e84c
add esp, 8
push 0x56f500
lea edx, [ebp - 0x630]
push edx
call fcn.0047e81e
add esp, 8
lea eax, [ebp - 0x630]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43653b
mov dword [ebp - 0xc50], 1
cmp dword [ebp - 0xc4c], 0
je 0x43656f
cmp dword [ebp - 0xc54], 0
je 0x43656f
cmp dword [ebp - 0xc50], 0
je 0x43656f
mov ecx, dword [ebp - 0xc5c]
call fcn.00438190
test eax, eax
je 0x43656f
mov dword [ebp - 0x424], 1
cmp dword [ebp - 0x424], 0
je 0x4365cf
push 0x56f514
lea ecx, [ebp - 0xc48]
push ecx
push 0x56f534
lea edx, [ebp - 0xa40]
push edx
call fcn.004018f0
add esp, 0x10
lea eax, [ebp - 0xa40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4365b8
lea ecx, [ebp - 0xa40]
push ecx
call fcn.0043b020
add esp, 4
lea edx, [ebp - 0xa40]
push edx
mov ecx, dword [ebp - 0xc5c]
add ecx, 0x3c
call fcn.00401980
jmp 0x4365da
mov ecx, dword [ebp - 0xc5c]
call fcn.00438370
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0047e001
mov esp, ebp
pop ebp
ret