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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc54
mov eax, dword [0x5ca3a0]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0xc54], ecx
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0xc44], 0
mov dword [ebp - 0xc4c], 0
mov dword [ebp - 0xc48], 0
mov word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.0047d440
add esp, 0xc
mov word [ebp - 0x830], 0
push 0x206
push 0
lea ecx, [ebp - 0x82e]
push ecx
call fcn.0047d440
add esp, 0xc
mov word [ebp - 0xc40], 0
push 0x206
push 0
lea edx, [ebp - 0xc3e]
push edx
call fcn.0047d440
add esp, 0xc
mov word [ebp - 0x628], 0
push 0x206
push 0
lea eax, [ebp - 0x626]
push eax
call fcn.0047d440
add esp, 0xc
mov word [ebp - 0x418], 0
push 0x206
push 0
lea ecx, [ebp - 0x416]
push ecx
call fcn.0047d440
add esp, 0xc
mov word [ebp - 0xa38], 0
push 0x206
push 0
lea edx, [ebp - 0xa36]
push edx
call fcn.0047d440
add esp, 0xc
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 - 0x418]
push edx
call fcn.0047ddf0
add esp, 8
lea eax, [ebp - 0x418]
push eax
call fcn.0047dc42
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0xc50], 0
push 0x5c
lea ecx, [ebp - 0x418]
push ecx
call fcn.00405ae0
add esp, 8
mov dword [ebp - 0xc50], eax
cmp dword [ebp - 0xc50], 0
jne 0x410e67
mov ecx, dword [ebp - 0xc54]
call fcn.00413360
jmp 0x410fe0
mov edx, dword [ebp - 0xc50]
mov word [edx], 0
lea eax, [ebp - 0x418]
push eax
lea ecx, [ebp - 0x830]
push ecx
call fcn.0047ddf0
add esp, 8
push 0x56f50c
lea edx, [ebp - 0x830]
push edx
call fcn.0047ddc6
add esp, 8
lea eax, [ebp - 0x830]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x410eb7
mov dword [ebp - 0xc44], 1
lea ecx, [ebp - 0x418]
push ecx
lea edx, [ebp - 0xc40]
push edx
call fcn.0047ddf0
add esp, 8
push 0x56f51c
lea eax, [ebp - 0xc40]
push eax
call fcn.0047ddc6
add esp, 8
lea ecx, [ebp - 0xc40]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x410efc
mov dword [ebp - 0xc4c], 1
lea edx, [ebp - 0x418]
push edx
lea eax, [ebp - 0x628]
push eax
call fcn.0047ddf0
add esp, 8
push 0x56f530
lea ecx, [ebp - 0x628]
push ecx
call fcn.0047ddc6
add esp, 8
lea edx, [ebp - 0x628]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x410f41
mov dword [ebp - 0xc48], 1
cmp dword [ebp - 0xc44], 0
je 0x410f75
cmp dword [ebp - 0xc4c], 0
je 0x410f75
cmp dword [ebp - 0xc48], 0
je 0x410f75
mov ecx, dword [ebp - 0xc54]
call fcn.00413180
test eax, eax
je 0x410f75
mov dword [ebp - 0x41c], 1
cmp dword [ebp - 0x41c], 0
je 0x410fd5
push str.WanNengWBIME
lea eax, [ebp - 0xc40]
push eax
push 0x56f560
lea ecx, [ebp - 0xa38]
push ecx
call fcn.0047d5b8
add esp, 0x10
lea edx, [ebp - 0xa38]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x410fbe
lea eax, [ebp - 0xa38]
push eax
call fcn.00414ab0
add esp, 4
lea ecx, [ebp - 0xa38]
push ecx
mov ecx, dword [ebp - 0xc54]
add ecx, 0x40
call fcn.00403660
jmp 0x410fe0
mov ecx, dword [ebp - 0xc54]
call fcn.00413360
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0047da50
mov esp, ebp
pop ebp
ret