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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x632020
mov eax, dword fs:[0]
push eax
sub esp, 0x490
mov eax, dword [0x6b278c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x494], ecx
mov dword [ebp - 0x490], 0
xor eax, eax
mov word [ebp - 0x344], ax
push 0x206
push 0
lea ecx, [ebp - 0x342]
push ecx
call fcn.005b4de0
add esp, 0xc
lea edx, [ebp - 0x344]
push edx
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jge 0x52a976
push 0
push 0x1c
lea eax, [ebp - 0x344]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x11c]
call fcn.0044afa0
mov dword [ebp - 4], 1
push str.48208865466158230725662307275811525061111436501703362340463666154436152346511616
lea ecx, [ebp - 0x3b8]
call fcn.0040e3a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3b8]
push ecx
lea edx, [ebp - 0x138]
push edx
lea ecx, [ebp - 0x11c]
call fcn.0044bd10
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3b8]
call fcn.0040e3e0
lea eax, [ebp - 0x138]
push eax
lea ecx, [ebp - 0x3d4]
push ecx
call fcn.00439f10
add esp, 8
mov dword [ebp - 0x498], eax
mov edx, dword [ebp - 0x498]
mov dword [ebp - 0x49c], edx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x49c]
call fcn.0040e5d0
push eax
lea eax, [ebp - 0x344]
push eax
call fcn.005b4d90
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3d4]
call fcn.0040e530
lea ecx, [ebp - 0x344]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x52acaa
lea ecx, [ebp - 0x378]
call fcn.0040e480
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x35c]
call fcn.00414100
mov byte [ebp - 4], 7
push 0x65397c
lea ecx, [ebp - 0x3f0]
call fcn.0040e4b0
mov byte [ebp - 4], 8
lea edx, [ebp - 0x344]
push edx
lea ecx, [ebp - 0x40c]
call fcn.0040e4b0
mov byte [ebp - 4], 9
push 0
push 1
lea eax, [ebp - 0x35c]
push eax
lea ecx, [ebp - 0x3f0]
push ecx
lea edx, [ebp - 0x40c]
push edx
call fcn.0042f430
add esp, 0x14
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x40c]
call fcn.0040e530
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3f0]
call fcn.0040e530
lea eax, [ebp - 0x380]
push eax
lea ecx, [ebp - 0x35c]
call fcn.00414550
jmp 0x52aade
push 0
lea ecx, [ebp - 0x414]
push ecx
lea ecx, [ebp - 0x380]
call fcn.004163a0
lea edx, [ebp - 0x41c]
push edx
lea ecx, [ebp - 0x35c]
call fcn.0040e8c0
push eax
lea ecx, [ebp - 0x380]
call fcn.00449590
movzx eax, al
test eax, eax
je 0x52ac4b
lea ecx, [ebp - 0x380]
call fcn.00533840
push eax
lea ecx, [ebp - 0x39c]
call fcn.0040e4f0
mov byte [ebp - 4], 0xa
push 0x653980
lea ecx, [ebp - 0x438]
call fcn.0040e4b0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x344]
push ecx
lea ecx, [ebp - 0x454]
call fcn.0040e4b0
mov byte [ebp - 4], 0xc
push 1
lea edx, [ebp - 0x438]
push edx
lea eax, [ebp - 0x454]
push eax
lea ecx, [ebp - 0x39c]
push ecx
call fcn.0043b560
add esp, 0x10
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x454]
call fcn.0040e530
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x438]
call fcn.0040e530
push 0x653984
lea ecx, [ebp - 0x470]
call fcn.0040e4b0
mov byte [ebp - 4], 0xd
push 0x653988
lea ecx, [ebp - 0x48c]
call fcn.0040e4b0
mov byte [ebp - 4], 0xe
push 1
lea edx, [ebp - 0x470]
push edx
lea eax, [ebp - 0x48c]
push eax
lea ecx, [ebp - 0x39c]
push ecx
call fcn.0043b560
add esp, 0x10
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x48c]
call fcn.0040e530
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x470]
call fcn.0040e530
lea ecx, [ebp - 0x39c]
call fcn.0040e5d0
push eax
call fcn.0043b9f0
add esp, 4
test eax, eax
je 0x52ac37
lea ecx, [ebp - 0x378]
call fcn.0040ee50
test eax, eax
jbe 0x52ac25
push 0x65398c
lea ecx, [ebp - 0x378]
call fcn.0040e5b0
lea edx, [ebp - 0x39c]
push edx
lea ecx, [ebp - 0x378]
call fcn.0040e590
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x39c]
call fcn.0040e530
jmp 0x52aaca
lea eax, [ebp - 0x378]
push eax
mov ecx, dword [ebp + 8]
call fcn.0040e4f0
mov ecx, dword [ebp - 0x490]
or ecx, 1
mov dword [ebp - 0x490], ecx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x35c]
call fcn.00416190
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x378]
call fcn.0040e530
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x138]
call fcn.0040e3e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x11c]
call fcn.0044afe0
mov eax, dword [ebp + 8]
jmp 0x52ace7
push 0x653990
mov ecx, dword [ebp + 8]
call fcn.0040e4b0
mov edx, dword [ebp - 0x490]
or edx, 1
mov dword [ebp - 0x490], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x138]
call fcn.0040e3e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x11c]
call fcn.0044afe0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b4b30
mov esp, ebp
pop ebp
ret 4