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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54df1b
mov eax, dword fs:[0]
push eax
sub esp, 0x554
mov eax, dword [0x13413f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x555], 0
mov byte [ebp - 0x114], 0
push 0x103
push 0
lea eax, [ebp - 0x113]
push eax
call fcn.004f3280
add esp, 0xc
mov byte [ebp - 0x218], 0
push 0x103
push 0
lea ecx, [ebp - 0x217]
push ecx
call fcn.004f3280
add esp, 0xc
mov byte [ebp - 0x31c], 0
push 0x103
push 0
lea edx, [ebp - 0x31b]
push edx
call fcn.004f3280
add esp, 0xc
mov byte [ebp - 0x420], 0
push 0x103
push 0
lea eax, [ebp - 0x41f]
push eax
call fcn.004f3280
add esp, 0xc
mov byte [ebp - 0x524], 0
push 0x103
push 0
lea ecx, [ebp - 0x523]
push ecx
call fcn.004f3280
add esp, 0xc
call fcn.0041b3d0
test eax, eax
je 0x41be41
jmp 0x41c41d
call fcn.0041b3f0
test eax, eax
je 0x41be4f
jmp 0x41c41d
call fcn.0041b430
test eax, eax
je 0x41be5d
jmp 0x41c41d
call fcn.0041b450
test eax, eax
je 0x41be6b
jmp 0x41c41d
call fcn.0041b570
test eax, eax
je 0x41be88
push 0x5a34dc
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x41be88
jmp 0x41c41d
push 0x59c4a7
lea ecx, [ebp - 0x53c]
call fcn.004021b0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x554]
push edx
call fcn.0041bb90
add esp, 4
mov dword [ebp - 0x560], eax
mov eax, dword [ebp - 0x560]
push eax
lea ecx, [ebp - 0x53c]
call fcn.00402040
lea ecx, [ebp - 0x554]
call fcn.00401ff0
lea ecx, [ebp - 0x53c]
call fcn.00404890
test eax, eax
jne 0x41bef7
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x53c]
call fcn.00401ff0
jmp 0x41c41d
lea ecx, [ebp - 0x53c]
call fcn.00401d70
push eax
call fcn.0041ba90
add esp, 4
test eax, eax
jne 0x41bf26
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x53c]
call fcn.00401ff0
jmp 0x41c41d
push 0x104
push 0
lea ecx, [ebp - 0x114]
push ecx
call fcn.004f3280
add esp, 0xc
push 0x104
push 0
lea edx, [ebp - 0x218]
push edx
call fcn.004f3280
add esp, 0xc
push 0x104
push 0
lea eax, [ebp - 0x31c]
push eax
call fcn.004f3280
add esp, 0xc
push 0
push 0x1a
lea ecx, [ebp - 0x114]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push 0x5a34e8
push 0x104
lea edx, [ebp - 0x114]
push edx
call fcn.00500eb0
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
call fcn.0041b860
add esp, 4
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x41c0b2
lea edx, [ebp - 0x114]
push edx
push 0x104
lea eax, [ebp - 0x218]
push eax
call fcn.004f63fd
add esp, 0xc
push 0x5a34fc
push 0x104
lea ecx, [ebp - 0x218]
push ecx
call fcn.00500eb0
add esp, 0xc
lea edx, [ebp - 0x114]
push edx
push 0x104
lea eax, [ebp - 0x31c]
push eax
call fcn.004f63fd
add esp, 0xc
push 0x5a3510
push 0x104
lea ecx, [ebp - 0x31c]
push ecx
call fcn.00500eb0
add esp, 0xc
lea edx, [ebp - 0x114]
push edx
call fcn.0041b6c0
add esp, 4
mov dword [ebp - 0x55c], eax
push 0x5a351c
call fcn.0041a4f0
add esp, 4
mov byte [ebp - 0x555], al
push 0x5a3538
push 0x5a3534
mov eax, dword [ebp - 0x55c]
push eax
push 0x5a35d4
push 0x5a35f0
call fcn.0041a120
add esp, 0x14
mov byte [ebp - 0x555], al
mov ecx, dword [ebp - 0x55c]
push ecx
call fcn.004fa6b9
add esp, 4
push 0x279d8
push 0x65c748
lea edx, [ebp - 0x218]
push edx
call fcn.0041b760
add esp, 0xc
push 0x41ee00
push 0x684120
lea eax, [ebp - 0x31c]
push eax
call fcn.0041b760
add esp, 0xc
push 0x104
push 0
lea ecx, [ebp - 0x114]
push ecx
call fcn.004f3280
add esp, 0xc
push 0x104
push 0
lea edx, [ebp - 0x218]
push edx
call fcn.004f3280
add esp, 0xc
push 0x104
push 0
lea eax, [ebp - 0x31c]
push eax
call fcn.004f3280
add esp, 0xc
push 0x104
push 0
lea ecx, [ebp - 0x420]
push ecx
call fcn.004f3280
add esp, 0xc
push 0x104
push 0
lea edx, [ebp - 0x524]
push edx
call fcn.004f3280
add esp, 0xc
push 0
push 0x1a
lea eax, [ebp - 0x114]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push 0x5a3608
push 0x104
lea ecx, [ebp - 0x114]
push ecx
call fcn.00500eb0
add esp, 0xc
lea edx, [ebp - 0x114]
push edx
call fcn.0041b860
add esp, 4
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x41c2b8
lea ecx, [ebp - 0x114]
push ecx
push 0x104
lea edx, [ebp - 0x218]
push edx
call fcn.004f63fd
add esp, 0xc
push 0x5a361c
push 0x104
lea eax, [ebp - 0x218]
push eax
call fcn.00500eb0
add esp, 0xc
lea ecx, [ebp - 0x114]
push ecx
push 0x104
lea edx, [ebp - 0x31c]
push edx
call fcn.004f63fd
add esp, 0xc
push 0x5a3630
push 0x104
lea eax, [ebp - 0x31c]
push eax
call fcn.00500eb0
add esp, 0xc
lea ecx, [ebp - 0x114]
push ecx
push 0x104
lea edx, [ebp - 0x420]
push edx
call fcn.004f63fd
add esp, 0xc
push 0x5a3648
push 0x104
lea eax, [ebp - 0x420]
push eax
call fcn.00500eb0
add esp, 0xc
lea ecx, [ebp - 0x114]
push ecx
push 0x104
lea edx, [ebp - 0x524]
push edx
call fcn.004f63fd
add esp, 0xc
push 0x5a3658
push 0x104
lea eax, [ebp - 0x524]
push eax
call fcn.00500eb0
add esp, 0xc
push 0x5a3668
lea ecx, [ebp - 0x218]
push ecx
call fcn.0041b900
add esp, 8
push 0x1a980
push 0x5a36b8
lea edx, [ebp - 0x218]
push edx
call fcn.0041b760
add esp, 0xc
push 0x41ee00
push 0xf18fa8
lea eax, [ebp - 0x31c]
push eax
call fcn.0041b760
add esp, 0xc
push 0x7b000
push 0x5e1748
lea ecx, [ebp - 0x420]
push ecx
call fcn.0041b760
add esp, 0xc
push 0x56e88
push 0xaa2f20
lea edx, [ebp - 0x524]
push edx
call fcn.0041b760
add esp, 0xc
push 0x104
push 0
lea eax, [ebp - 0x114]
push eax
call fcn.004f3280
add esp, 0xc
push 0x104
push 0
lea ecx, [ebp - 0x218]
push ecx
call fcn.004f3280
add esp, 0xc
push 0x104
push 0
lea edx, [ebp - 0x31c]
push edx
call fcn.004f3280
add esp, 0xc
push 0
push 0x1a
lea eax, [ebp - 0x114]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push 0x5a3674
push 0x104
lea ecx, [ebp - 0x114]
push ecx
call fcn.00500eb0
add esp, 0xc
lea edx, [ebp - 0x114]
push edx
call fcn.0041b860
add esp, 4
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x41c40b
lea ecx, [ebp - 0x114]
push ecx
push 0x104
lea edx, [ebp - 0x218]
push edx
call fcn.004f63fd
add esp, 0xc
push 0x5a3694
push 0x104
lea eax, [ebp - 0x218]
push eax
call fcn.00500eb0
add esp, 0xc
lea ecx, [ebp - 0x114]
push ecx
push 0x104
lea edx, [ebp - 0x31c]
push edx
call fcn.004f63fd
add esp, 0xc
push 0x5a36a0
push 0x104
lea eax, [ebp - 0x31c]
push eax
call fcn.00500eb0
add esp, 0xc
push 0x5a36ac
lea ecx, [ebp - 0x218]
push ecx
call fcn.0041b900
add esp, 8
push 0x23710
push 0x5be038
lea edx, [ebp - 0x218]
push edx
call fcn.0041b760
add esp, 0xc
push 0x41f200
push 0xaf9da8
lea eax, [ebp - 0x31c]
push eax
call fcn.0041b760
add esp, 0xc
push 0
push 0
lea ecx, [ebp - 0x218]
push ecx
call fcn.0041b7c0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x53c]
call fcn.00401ff0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00472272
mov esp, ebp
pop ebp
ret