Function at 0x424910
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53f337
mov eax, dword fs:[0]
push eax
sub esp, 0xe88
mov eax, dword [0x580280]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xe94], ecx
mov dword [ebp - 0xe90], 0
xor eax, eax
mov word [ebp - 0x21c], ax
push 0x206
push 0
lea ecx, [ebp - 0x21a]
push ecx
call fcn.00486c20
add esp, 0xc
push 0
push 0x19
lea edx, [ebp - 0x21c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x424abe
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x648]
call fcn.00401280
mov dword [ebp - 4], 0
push 0x54d1bc
lea ecx, [ebp - 0x648]
call fcn.004078c0
xor ecx, ecx
mov word [ebp - 0x854], cx
push 0x206
push 0
lea edx, [ebp - 0x852]
push edx
call fcn.00486c20
add esp, 0xc
xor eax, eax
mov word [ebp - 0x62c], ax
push 0x206
push 0
lea ecx, [ebp - 0x62a]
push ecx
call fcn.00486c20
add esp, 0xc
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x648]
call fcn.004012c0
push eax
push 0x54d1c0
lea eax, [ebp - 0x854]
push eax
call fcn.00487ebf
add esp, 0x10
lea ecx, [ebp - 0x62c]
push ecx
lea edx, [ebp - 0x854]
push edx
mov ecx, dword [ebp - 0xe94]
call fcn.00424c50
xor eax, eax
mov word [ebp - 0x424], ax
push 0x206
push 0
lea ecx, [ebp - 0x422]
push ecx
call fcn.00486c20
add esp, 0xc
push 0x104
lea edx, [ebp - 0x424]
push edx
lea eax, [ebp - 0x62c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea ecx, [ebp - 0x62c]
push ecx
call fcn.00486c9a
add esp, 4
test eax, eax
je 0x424aac
lea edx, [ebp - 0x424]
push edx
mov ecx, dword [ebp + 8]
call fcn.00401280
mov eax, dword [ebp - 0xe90]
or eax, 1
mov dword [ebp - 0xe90], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x648]
call fcn.00406040
mov eax, dword [ebp + 8]
jmp 0x424c2e
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x648]
call fcn.00406040
push 0
push 0x10
lea ecx, [ebp - 0x21c]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x424c0f
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0xc80]
call fcn.00401280
mov dword [ebp - 4], 1
push 0x54d1d4
lea ecx, [ebp - 0xc80]
call fcn.004078c0
xor eax, eax
mov word [ebp - 0xe8c], ax
push 0x206
push 0
lea ecx, [ebp - 0xe8a]
push ecx
call fcn.00486c20
add esp, 0xc
xor edx, edx
mov word [ebp - 0xc64], dx
push 0x206
push 0
lea eax, [ebp - 0xc62]
push eax
call fcn.00486c20
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0xc80]
call fcn.004012c0
push eax
push 0x54d1d8
lea edx, [ebp - 0xe8c]
push edx
call fcn.00487ebf
add esp, 0x10
lea eax, [ebp - 0xc64]
push eax
lea ecx, [ebp - 0xe8c]
push ecx
mov ecx, dword [ebp - 0xe94]
call fcn.00424c50
xor edx, edx
mov word [ebp - 0xa5c], dx
push 0x206
push 0
lea eax, [ebp - 0xa5a]
push eax
call fcn.00486c20
add esp, 0xc
push 0x104
lea ecx, [ebp - 0xa5c]
push ecx
lea edx, [ebp - 0xc64]
push edx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea eax, [ebp - 0xc64]
push eax
call fcn.00486c9a
add esp, 4
test eax, eax
je 0x424bfd
lea ecx, [ebp - 0xa5c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00401280
mov edx, dword [ebp - 0xe90]
or edx, 1
mov dword [ebp - 0xe90], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc80]
call fcn.00406040
mov eax, dword [ebp + 8]
jmp 0x424c2e
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc80]
call fcn.00406040
push 0x54d1ec
mov ecx, dword [ebp + 8]
call fcn.00401280
mov eax, dword [ebp - 0xe90]
or eax, 1
mov dword [ebp - 0xe90], eax
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.00486c08
mov esp, ebp
pop ebp
ret 8