Function at 0x1000a0b0
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007c217
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x16a8
call fcn.1007b840
mov eax, dword [0x1009400c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x120]
push eax
push 0
push 0
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jne 0x1000a3c9
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x128], eax
lea edx, [ecx + 1]
mov dword [ebp - 0x124], 0xf
mov byte [ebp - 0x138], al
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000a137
sub ecx, edx
lea eax, [ebp - 0x120]
push ecx
push eax
lea ecx, [ebp - 0x138]
call fcn.10004a90
push str.My_GamesFreelancer_fwtow_keys.ini
lea ecx, [ebp - 0x138]
mov dword [ebp - 4], 0
call fcn.10007a20
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x150], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x140], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x124]
cmp edx, 0x10
jb 0x1000a1f0
mov ecx, dword [ebp - 0x138]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000a1e6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000a1e6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1004d7a1
add esp, 8
lea ecx, [ebp - 0x16b8]
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0xf
mov byte [ebp - 0x138], 0
call dword [sym.imp.Common.dll_public:_void___thiscall_INI_Reader::constructor_void_]
mov byte [ebp - 4], 3
lea eax, [ebp - 0x150]
cmp dword [ebp - 0x13c], 0x10
lea ecx, [ebp - 0x16b8]
push 0
cmovae eax, dword [ebp - 0x150]
push eax
call dword [sym.imp.Common.dll_public:_bool___thiscall_INI_Reader::open_char_const___bool_]
test al, al
je 0x1000a381
lea ecx, [ebp - 0x16b8]
call dword [sym.imp.Common.dll_public:_bool___thiscall_INI_Reader::read_header_void_]
test al, al
je 0x1000a381
mov esi, dword [sym.imp.Common.dll_public:_bool___thiscall_INI_Reader::is_value_char_const__]
mov edi, dword [sym.imp.Common.dll_public:_int___thiscall_INI_Reader::get_value_int_unsigned_int_]
nop word [eax + eax]
push str.Tracking
lea ecx, [ebp - 0x16b8]
call dword [sym.imp.Common.dll_public:_bool___thiscall_INI_Reader::is_header_char_const__]
test al, al
je 0x1000a36d
lea ecx, [ebp - 0x16b8]
call dword [sym.imp.Common.dll_public:_bool___thiscall_INI_Reader::read_value_void_]
test al, al
je 0x1000a36d
nop dword [eax]
push str.menu_down
lea ecx, [ebp - 0x16b8]
call esi
lea ecx, [ebp - 0x16b8]
test al, al
je 0x1000a2c5
push 0
call edi
mov dword [0x10094124], eax
jmp 0x1000a359
push str.menu_up
call esi
lea ecx, [ebp - 0x16b8]
test al, al
je 0x1000a2e1
push 0
call edi
mov dword [str.WS__b_t], eax
jmp 0x1000a359
push str.menu_select
call esi
lea ecx, [ebp - 0x16b8]
test al, al
je 0x1000a2fd
push 0
call edi
mov dword [0x10094128], eax
jmp 0x1000a359
push str.menu_delete
call esi
lea ecx, [ebp - 0x16b8]
test al, al
je 0x1000a319
push 0
call edi
mov dword [0x1009412c], eax
jmp 0x1000a359
push str.menu_move_modifier
call esi
lea ecx, [ebp - 0x16b8]
test al, al
je 0x1000a33f
push 0
call edi
cmp eax, 0x11
je 0x1000a338
cmp eax, 0x10
jne 0x1000a359
mov dword [0x10094134], eax
jmp 0x1000a359
push str.menu_target
call esi
test al, al
je 0x1000a359
push 0
lea ecx, [ebp - 0x16b8]
call edi
mov dword [0x10094130], eax
lea ecx, [ebp - 0x16b8]
call dword [sym.imp.Common.dll_public:_bool___thiscall_INI_Reader::read_value_void_]
test al, al
jne 0x1000a2a0
lea ecx, [ebp - 0x16b8]
call dword [sym.imp.Common.dll_public:_bool___thiscall_INI_Reader::read_header_void_]
test al, al
jne 0x1000a270
lea ecx, [ebp - 0x16b8]
call dword [sym.imp.Common.dll_public:_void___thiscall_INI_Reader::destructor_void_]
mov edx, dword [ebp - 0x13c]
cmp edx, 0x10
jb 0x1000a3c9
mov ecx, dword [ebp - 0x150]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000a3bf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000a3bf
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1004d7a1
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1004d763
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret