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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc54
mov eax, dword [0x4f4320]
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.00479a10
add esp, 0xc
mov word [ebp - 0x830], 0
push 0x206
push 0
lea ecx, [ebp - 0x82e]
push ecx
call fcn.00479a10
add esp, 0xc
mov word [ebp - 0xc40], 0
push 0x206
push 0
lea edx, [ebp - 0xc3e]
push edx
call fcn.00479a10
add esp, 0xc
mov word [ebp - 0x628], 0
push 0x206
push 0
lea eax, [ebp - 0x626]
push eax
call fcn.00479a10
add esp, 0xc
mov word [ebp - 0x418], 0
push 0x206
push 0
lea ecx, [ebp - 0x416]
push ecx
call fcn.00479a10
add esp, 0xc
mov word [ebp - 0xa38], 0
push 0x206
push 0
lea edx, [ebp - 0xa36]
push edx
call fcn.00479a10
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.0047a3c0
add esp, 8
lea eax, [ebp - 0x418]
push eax
call fcn.0047a212
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 0x410927
mov ecx, dword [ebp - 0xc54]
call fcn.00412e20
jmp 0x410aa0
mov edx, dword [ebp - 0xc50]
mov word [edx], 0
lea eax, [ebp - 0x418]
push eax
lea ecx, [ebp - 0x830]
push ecx
call fcn.0047a3c0
add esp, 8
push 0x4d03bc
lea edx, [ebp - 0x830]
push edx
call fcn.0047a396
add esp, 8
lea eax, [ebp - 0x830]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x410977
mov dword [ebp - 0xc44], 1
lea ecx, [ebp - 0x418]
push ecx
lea edx, [ebp - 0xc40]
push edx
call fcn.0047a3c0
add esp, 8
push 0x4d03cc
lea eax, [ebp - 0xc40]
push eax
call fcn.0047a396
add esp, 8
lea ecx, [ebp - 0xc40]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4109bc
mov dword [ebp - 0xc4c], 1
lea edx, [ebp - 0x418]
push edx
lea eax, [ebp - 0x628]
push eax
call fcn.0047a3c0
add esp, 8
push 0x4d03e0
lea ecx, [ebp - 0x628]
push ecx
call fcn.0047a396
add esp, 8
lea edx, [ebp - 0x628]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x410a01
mov dword [ebp - 0xc48], 1
cmp dword [ebp - 0xc44], 0
je 0x410a35
cmp dword [ebp - 0xc4c], 0
je 0x410a35
cmp dword [ebp - 0xc48], 0
je 0x410a35
mov ecx, dword [ebp - 0xc54]
call fcn.00412c40
test eax, eax
je 0x410a35
mov dword [ebp - 0x41c], 1
cmp dword [ebp - 0x41c], 0
je 0x410a95
push str.WanNengWBIME
lea eax, [ebp - 0xc40]
push eax
push 0x4d0410
lea ecx, [ebp - 0xa38]
push ecx
call fcn.00479b88
add esp, 0x10
lea edx, [ebp - 0xa38]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x410a7e
lea eax, [ebp - 0xa38]
push eax
call fcn.00414570
add esp, 4
lea ecx, [ebp - 0xa38]
push ecx
mov ecx, dword [ebp - 0xc54]
add ecx, 0x40
call fcn.00403660
jmp 0x410aa0
mov ecx, dword [ebp - 0xc54]
call fcn.00412e20
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0047a020
mov esp, ebp
pop ebp
ret