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

Disassembly:
mov eax, 0x1286ba1
call fcn.01160168
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.01044ec9
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 0x117a89b
add eax, 0xb
mov dword [ebp - 0x430], eax
lea eax, [ebp - 0x430]
push eax
mov ecx, 0x12d33c4
call fcn.0119039e
cmp eax, 0xffffffff
je 0x117a8c7
push dword [ebp - 0x430]
mov ecx, 0x12d33c4
push edi
call fcn.0117a6e3
jmp 0x117adba
mov eax, dword [ebp + 0xc]
cmp eax, 0xa
ja case.default.0x117a8d3
jmp dword [eax*4 + 0x117adea]
xor eax, eax
cmp byte [ebp + 0x10], al
sete al
cmp eax, esi
je 0x117ac2e
push ebx
push 0x1c
push 0x104
lea ecx, [ebp - 0x424]
call fcn.0103299e
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp eax, esi
je 0x117ac2e
push 0xffffffffffffffff
lea ecx, [ebp - 0x424]
call fcn.01032a0b
lea ecx, [ebp - 0x424]
call fcn.01044f6f
cmp eax, esi
jl 0x117ac2e
push 0x1012f78
lea ecx, [ebp - 0x424]
call fcn.010524f5
lea ecx, [ebp - 0x424]
call fcn.01082c14
cmp eax, esi
jge case.default.0x117a8d3
jmp 0x117ac2e
push ecx
mov eax, esp
mov dword [ebp - 0x428], esp
push dword [ebp + 0x10]
push 4
push eax
call fcn.0117a846
mov byte [ebp - 4], 2
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x424]
call fcn.01045d6e
jmp case.default.0x117a8d3
mov eax, dword [0x12d28f8]
mov eax, dword [eax + 0xc4]
mov esi, 0x104
push esi
lea ecx, [ebp - 0x218]
push ecx
push eax
call fcn.0117a114
push dword [ebp + 0x10]
lea eax, [ebp - 0x448]
push 4
push eax
call fcn.0117a846
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x218]
push ecx
push eax
lea eax, [ebp - 0x458]
push eax
call fcn.01045b22
mov byte [ebp - 4], 4
push dword [eax]
lea ecx, [ebp - 0x424]
call fcn.01032977
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x458]
call fcn.010328fa
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x448]
call fcn.010454b8
lea ecx, [ebp - 0x424]
call fcn.01044f98
test eax, eax
jge case.default.0x117a8d3
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx edi, ax
push esi
lea eax, [ebp - 0x218]
push eax
push edi
call fcn.0117a114
push dword [ebp + 0x10]
lea eax, [ebp - 0x43c]
push 4
push eax
call fcn.0117a846
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x218]
push ecx
push eax
lea eax, [ebp - 0x45c]
push eax
call fcn.01045b22
mov byte [ebp - 4], 6
push dword [eax]
lea ecx, [ebp - 0x424]
call fcn.01032977
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x45c]
call fcn.010328fa
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x43c]
call fcn.010454b8
lea ecx, [ebp - 0x424]
call fcn.01044f98
test eax, eax
jl 0x117aa92
mov eax, dword [0x12d28f8]
mov dword [eax + 0xc4], edi
jmp 0x117aafb
push esi
lea eax, [ebp - 0x218]
push eax
push 0x409
call fcn.0117a114
push dword [ebp + 0x10]
lea eax, [ebp - 0x454]
push 4
push eax
call fcn.0117a846
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x218]
push ecx
push eax
lea eax, [ebp - 0x444]
push eax
call fcn.01045b22
mov byte [ebp - 4], 8
push dword [eax]
lea ecx, [ebp - 0x424]
call fcn.01032977
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x444]
call fcn.010328fa
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x454]
call fcn.010454b8
mov edi, dword [ebp - 0x438]
jmp case.default.0x117a8d3
push dword [ebp + 0x10]
lea eax, [ebp - 0x450]
push 4
push eax
call fcn.0117a846
mov byte [ebp - 4], 9
push 0x1012f68
push eax
lea eax, [ebp - 0x44c]
push eax
call fcn.01045b22
mov byte [ebp - 4], 0xa
push dword [eax]
lea ecx, [ebp - 0x424]
call fcn.01032977
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x44c]
call fcn.010328fa
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x450]
jmp 0x117ad7b
push ecx
mov eax, esp
mov dword [ebp - 0x428], esp
push dword [ebp + 0x10]
push 0xa
push eax
call fcn.0117a846
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x424]
call fcn.01045d6e
lea ecx, [ebp - 0x424]
call fcn.01044f6f
push 0x1001ef8
jmp 0x117ac40
push ecx
mov eax, esp
mov dword [ebp - 0x428], esp
push dword [ebp + 0x10]
push 0xa
push eax
call fcn.0117a846
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x424]
call fcn.01045d6e
lea ecx, [ebp - 0x424]
call fcn.01044f6f
push 0x1012f54
jmp 0x117ac40
push ecx
mov eax, esp
mov dword [ebp - 0x428], esp
push dword [ebp + 0x10]
push ebx
push eax
call fcn.0117a846
mov byte [ebp - 4], 0xd
jmp 0x117abae
xor eax, eax
cmp byte [ebp + 0x10], al
sete al
cmp eax, esi
je 0x117ac2e
push ebx
push 0x1a
push 0x104
lea ecx, [ebp - 0x424]
call fcn.0103299e
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp eax, esi
je 0x117ac2e
push 0xffffffffffffffff
lea ecx, [ebp - 0x424]
call fcn.01032a0b
lea ecx, [ebp - 0x424]
call fcn.01044f6f
cmp eax, esi
jge 0x117ac3b
push esi
mov ecx, edi
call fcn.01045d3e
jmp 0x117adba
push 0x1012f14
lea ecx, [ebp - 0x424]
call fcn.010524f5
jmp case.default.0x117a8d3
push dword [ebp + 0x10]
lea eax, [ebp - 0x434]
push 4
push eax
call fcn.0117a846
mov byte [ebp - 4], 0xe
push 0x1012ef4
push eax
lea eax, [ebp - 0x440]
push eax
call fcn.01045b22
mov byte [ebp - 4], 0xf
push dword [eax]
lea ecx, [ebp - 0x424]
call fcn.01032977
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x440]
call fcn.010328fa
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x434]
jmp 0x117ad7b
cmp byte [ebp + 0x10], 0
je 0x117acbb
lea ecx, [ebp - 0x424]
call fcn.010477a3
jmp case.default.0x117a8d3
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.01045d3e
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x428]
call fcn.010527df
jmp 0x117ad72
lea ecx, [ebp - 0x428]
call fcn.01044ec9
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 0x117ad4e
push ecx
lea eax, [ebp - 0x428]
mov ecx, esp
mov dword [ebp - 0x460], esp
push eax
call fcn.01052598
mov byte [ebp - 4], 0x12
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x424]
call fcn.01045d6e
jmp 0x117ad72
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.01032977
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x428]
call fcn.010454b8
push ecx
lea eax, [ebp - 0x424]
mov ecx, esp
mov dword [ebp - 0x434], esp
push eax
call fcn.01052598
mov byte [ebp - 4], 0x13
push dword [ebp - 0x430]
mov byte [ebp - 4], bl
mov ecx, 0x12d33c4
call fcn.0117a7bd
lea eax, [ebp - 0x424]
push eax
mov ecx, edi
call fcn.01052598
mov dword [ebp - 0x42c], ebx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x424]
call fcn.010454b8
mov ecx, dword [ebp - 0xc]
mov eax, edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.0115fe73
pop edi
pop esi
pop ebx
leave
ret 0xc