Function at 0x4b5c80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x728858
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x314
push ebx
push esi
push edi
xor ebx, ebx
lea esi, [ecx + 0x8c]
mov ecx, dword [esi]
mov eax, dword [ecx]
cmp eax, ecx
mov dword [ebp - 0x14], eax
je 0x4b5d21
lea edi, [ebx + 1]
mov eax, dword [eax + 0x14]
lea ecx, [ebp - 0x14]
push eax
call fcn.004bbd50
mov ecx, dword [eax + 4]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004bbd50
mov ecx, eax
add ecx, 0x1c
call fcn.00498390
push eax
lea ecx, [ebp - 0x14]
call fcn.004bbd50
mov edx, dword [eax]
lea eax, [ebp - 0xd]
push edx
push edi
push str.ddsdd
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
push str.ChangeUserHotKey
call fcn.00444a10
mov ecx, dword [0x839fb4]
push ecx
call fcn.0057c9d0
add esp, 0x2c
lea ecx, [ebp - 0x14]
call fcn.004bdbf0
mov ecx, dword [esi]
mov eax, dword [ebp - 0x14]
cmp eax, ecx
jne 0x4b5cb7
inc ebx
add esi, 0x10
cmp ebx, 3
jl 0x4b5ca9
mov dl, byte [ebp - 0xd]
push 0
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x28], dl
call fcn.00420210
mov edi, 0x7bd64c
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [ebp - 0x28]
push ebx
call fcn.004219f0
test al, al
je 0x4b5d80
mov edi, dword [ebp - 0x24]
mov ecx, ebx
mov eax, ecx
mov esi, 0x7bd64c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x20], ebx
mov byte [ecx + ebx], 0
mov edi, str.dataUserKeys_s.lua
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [ebp - 4], 0
mov ebx, ecx
lea ecx, [ebp - 0x28]
push ebx
call fcn.004219f0
test al, al
je 0x4b5dc9
mov edi, dword [ebp - 0x24]
mov ecx, ebx
mov edx, ecx
mov esi, str.dataUserKeys_s.lua
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], ebx
mov byte [eax + ebx], 0
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4b5e69
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4b5de0
mov eax, 0x7367f4
push eax
push 0x769c04
sub esp, 0x10
lea edx, [ebp - 0x15]
mov ecx, esp
mov dword [ebp - 0x2c], esp
push edx
push str.SaveUserHotKeys
call fcn.00444a10
mov eax, dword [0x839fb4]
push eax
call fcn.0057c9d0
add esp, 0x1c
lea ecx, [ebp - 0x12c]
push ecx
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4b5e28
mov eax, 0x7367f4
lea edx, [ebp - 0x12c]
push eax
push edx
push 0x6ab
call fcn.0057ed70
add esp, 4
push eax
lea eax, [ebp - 0x320]
push eax
call fcn.0070dea8
add esp, 0x10
lea ecx, [ebp - 0x320]
push 0
push 1
push 0xffff
push ecx
push 1
mov ecx, 0x7d67b0
call fcn.00510520
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x4b5e9b
mov al, byte [ecx - 1]
test al, al
je 0x4b5e91
cmp al, 0xff
je 0x4b5e91
dec al
mov byte [ecx - 1], al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
dec ecx
push ecx
call fcn.006ffa16
add esp, 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret