Function at 0x117abad
Capabilities:
Get common file path
Identify system language via api

Disassembly:
mov eax, 0x1286ced
call fcn.01160458
sub esp, 0x454
mov eax, dword [0x12cf8c8]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
lea ecx, [ebp - 0x424]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x438], edi
mov dword [ebp - 0x42c], esi
call fcn.01045169
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
cmp byte [ebp + 0x10], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x430], eax
je 0x117ac02
add eax, 0xb
mov dword [ebp - 0x430], eax
lea eax, [ebp - 0x430]
push eax
mov ecx, 0x12d33c4
call fcn.011dcd99
cmp eax, 0xffffffff
je 0x117ac2e
push dword [ebp - 0x430]
mov ecx, 0x12d33c4
push edi
call fcn.0117aa4a
jmp 0x117b121
mov eax, dword [ebp + 0xc]
cmp eax, 0xa
ja case.default.0x117ac3a
jmp dword [eax*4 + 0x117b151]
xor eax, eax
cmp byte [ebp + 0x10], al
sete al
cmp eax, esi
je 0x117af95
push ebx
push 0x1c
push 0x104
lea ecx, [ebp - 0x424]
call fcn.0103297b
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp eax, esi
je 0x117af95
push 0xffffffffffffffff
lea ecx, [ebp - 0x424]
call fcn.010329e8
lea ecx, [ebp - 0x424]
call fcn.01045236
cmp eax, esi
jl 0x117af95
push 0x1012f78
lea ecx, [ebp - 0x424]
call fcn.01052ada
lea ecx, [ebp - 0x424]
call fcn.010833d1
cmp eax, esi
jge case.default.0x117ac3a
jmp 0x117af95
push ecx
mov eax, esp
mov dword [ebp - 0x428], esp
push dword [ebp + 0x10]
push 4
push eax
call fcn.0117abad
mov byte [ebp - 4], 2
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x424]
call fcn.01046095
jmp case.default.0x117ac3a
mov eax, dword [0x12d28f8]
mov eax, dword [eax + 0xc4]
mov esi, 0x104
push esi
lea ecx, [ebp - 0x218]
push ecx
push eax
call fcn.0117a47b
push dword [ebp + 0x10]
lea eax, [ebp - 0x448]
push 4
push eax
call fcn.0117abad
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x218]
push ecx
push eax
lea eax, [ebp - 0x458]
push eax
call fcn.01045e48
mov byte [ebp - 4], 4
push dword [eax]
lea ecx, [ebp - 0x424]
call fcn.01045196
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x458]
call fcn.010328fe
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x448]
call fcn.01045295
lea ecx, [ebp - 0x424]
call fcn.0104525f
test eax, eax
jge case.default.0x117ac3a
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx edi, ax
push esi
lea eax, [ebp - 0x218]
push eax
push edi
call fcn.0117a47b
push dword [ebp + 0x10]
lea eax, [ebp - 0x43c]
push 4
push eax
call fcn.0117abad
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x218]
push ecx
push eax
lea eax, [ebp - 0x45c]
push eax
call fcn.01045e48
mov byte [ebp - 4], 6
push dword [eax]
lea ecx, [ebp - 0x424]
call fcn.01045196
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x45c]
call fcn.010328fe
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x43c]
call fcn.01045295
lea ecx, [ebp - 0x424]
call fcn.0104525f
test eax, eax
jl 0x117adf9
mov eax, dword [0x12d28f8]
mov dword [eax + 0xc4], edi
jmp 0x117ae62
push esi
lea eax, [ebp - 0x218]
push eax
push 0x409
call fcn.0117a47b
push dword [ebp + 0x10]
lea eax, [ebp - 0x454]
push 4
push eax
call fcn.0117abad
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x218]
push ecx
push eax
lea eax, [ebp - 0x444]
push eax
call fcn.01045e48
mov byte [ebp - 4], 8
push dword [eax]
lea ecx, [ebp - 0x424]
call fcn.01045196
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x444]
call fcn.010328fe
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x454]
call fcn.01045295
mov edi, dword [ebp - 0x438]
jmp case.default.0x117ac3a
push dword [ebp + 0x10]
lea eax, [ebp - 0x450]
push 4
push eax
call fcn.0117abad
mov byte [ebp - 4], 9
push 0x1012f68
push eax
lea eax, [ebp - 0x44c]
push eax
call fcn.01045e48
mov byte [ebp - 4], 0xa
push dword [eax]
lea ecx, [ebp - 0x424]
call fcn.01045196
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x44c]
call fcn.010328fe
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x450]
jmp 0x117b0e2
push ecx
mov eax, esp
mov dword [ebp - 0x428], esp
push dword [ebp + 0x10]
push 0xa
push eax
call fcn.0117abad
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x424]
call fcn.01046095
lea ecx, [ebp - 0x424]
call fcn.01045236
push 0x1001ef8
jmp 0x117afa7
push ecx
mov eax, esp
mov dword [ebp - 0x428], esp
push dword [ebp + 0x10]
push 0xa
push eax
call fcn.0117abad
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x424]
call fcn.01046095
lea ecx, [ebp - 0x424]
call fcn.01045236
push 0x1012f54
jmp 0x117afa7
push ecx
mov eax, esp
mov dword [ebp - 0x428], esp
push dword [ebp + 0x10]
push ebx
push eax
call fcn.0117abad
mov byte [ebp - 4], 0xd
jmp 0x117af15
xor eax, eax
cmp byte [ebp + 0x10], al
sete al
cmp eax, esi
je 0x117af95
push ebx
push 0x1a
push 0x104
lea ecx, [ebp - 0x424]
call fcn.0103297b
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp eax, esi
je 0x117af95
push 0xffffffffffffffff
lea ecx, [ebp - 0x424]
call fcn.010329e8
lea ecx, [ebp - 0x424]
call fcn.01045236
cmp eax, esi
jge 0x117afa2
push esi
mov ecx, edi
call fcn.01046065
jmp 0x117b121
push 0x1012f14
lea ecx, [ebp - 0x424]
call fcn.01052ada
jmp case.default.0x117ac3a
push dword [ebp + 0x10]
lea eax, [ebp - 0x434]
push 4
push eax
call fcn.0117abad
mov byte [ebp - 4], 0xe
push 0x1012ef4
push eax
lea eax, [ebp - 0x440]
push eax
call fcn.01045e48
mov byte [ebp - 4], 0xf
push dword [eax]
lea ecx, [ebp - 0x424]
call fcn.01045196
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x440]
call fcn.010328fe
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x434]
jmp 0x117b0e2
cmp byte [ebp + 0x10], 0
je 0x117b022
lea ecx, [ebp - 0x424]
call fcn.01047cc7
jmp case.default.0x117ac3a
push 0x104
lea eax, [ebp - 0x420]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x428]
call fcn.01046065
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x428]
call fcn.01052dc4
jmp 0x117b0d9
lea ecx, [ebp - 0x428]
call fcn.01045169
mov byte [ebp - 4], 0x11
mov ecx, dword [0x12d28f8]
mov eax, dword [ecx]
lea edx, [ebp - 0x428]
push edx
call dword [eax + 0x3c]
test eax, eax
jl 0x117b0b5
push ecx
lea eax, [ebp - 0x428]
mov ecx, esp
mov dword [ebp - 0x460], esp
push eax
call fcn.01052b7d
mov byte [ebp - 4], 0x12
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x424]
call fcn.01046095
jmp 0x117b0d9
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x424]
call fcn.01045196
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x428]
call fcn.01045295
push ecx
lea eax, [ebp - 0x424]
mov ecx, esp
mov dword [ebp - 0x434], esp
push eax
call fcn.01052b7d
mov byte [ebp - 4], 0x13
push dword [ebp - 0x430]
mov byte [ebp - 4], bl
mov ecx, 0x12d33c4
call fcn.0117ab24
lea eax, [ebp - 0x424]
push eax
mov ecx, edi
call fcn.01052b7d
mov dword [ebp - 0x42c], ebx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x424]
call fcn.01045295
mov ecx, dword [ebp - 0xc]
mov eax, edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.0116015a
pop edi
pop esi
pop ebx
leave
ret 0xc