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

Disassembly:
mov eax, 0x1286d8f
call fcn.01160118
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.01044f5e
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 0x117a988
add eax, 0xb
mov dword [ebp - 0x430], eax
lea eax, [ebp - 0x430]
push eax
mov ecx, 0x12d33c4
call fcn.0117a4ba
cmp eax, 0xffffffff
je 0x117a9b4
push dword [ebp - 0x430]
mov ecx, 0x12d33c4
push edi
call fcn.0117a7d0
jmp 0x117aea7
mov eax, dword [ebp + 0xc]
cmp eax, 0xa
ja case.default.0x117a9c0
jmp dword [eax*4 + 0x117aed7]
xor eax, eax
cmp byte [ebp + 0x10], al
sete al
cmp eax, esi
je 0x117ad1b
push ebx
push 0x1c
push 0x104
lea ecx, [ebp - 0x424]
call fcn.01032987
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp eax, esi
je 0x117ad1b
push 0xffffffffffffffff
lea ecx, [ebp - 0x424]
call fcn.010329f4
lea ecx, [ebp - 0x424]
call fcn.0104502b
cmp eax, esi
jl 0x117ad1b
push 0x1012f78
lea ecx, [ebp - 0x424]
call fcn.010524eb
lea ecx, [ebp - 0x424]
call fcn.01082b0a
cmp eax, esi
jge case.default.0x117a9c0
jmp 0x117ad1b
push ecx
mov eax, esp
mov dword [ebp - 0x428], esp
push dword [ebp + 0x10]
push 4
push eax
call fcn.0117a933
mov byte [ebp - 4], 2
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x424]
call fcn.01045ebe
jmp case.default.0x117a9c0
mov eax, dword [0x12d28f8]
mov eax, dword [eax + 0xc4]
mov esi, 0x104
push esi
lea ecx, [ebp - 0x218]
push ecx
push eax
call fcn.0117a1d2
push dword [ebp + 0x10]
lea eax, [ebp - 0x448]
push 4
push eax
call fcn.0117a933
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x218]
push ecx
push eax
lea eax, [ebp - 0x458]
push eax
call fcn.01045c7c
mov byte [ebp - 4], 4
push dword [eax]
lea ecx, [ebp - 0x424]
call fcn.01044f8b
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x458]
call fcn.0103290a
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x448]
call fcn.0104508a
lea ecx, [ebp - 0x424]
call fcn.01045054
test eax, eax
jge case.default.0x117a9c0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx edi, ax
push esi
lea eax, [ebp - 0x218]
push eax
push edi
call fcn.0117a1d2
push dword [ebp + 0x10]
lea eax, [ebp - 0x43c]
push 4
push eax
call fcn.0117a933
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x218]
push ecx
push eax
lea eax, [ebp - 0x45c]
push eax
call fcn.01045c7c
mov byte [ebp - 4], 6
push dword [eax]
lea ecx, [ebp - 0x424]
call fcn.01044f8b
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x45c]
call fcn.0103290a
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x43c]
call fcn.0104508a
lea ecx, [ebp - 0x424]
call fcn.01045054
test eax, eax
jl 0x117ab7f
mov eax, dword [0x12d28f8]
mov dword [eax + 0xc4], edi
jmp 0x117abe8
push esi
lea eax, [ebp - 0x218]
push eax
push 0x409
call fcn.0117a1d2
push dword [ebp + 0x10]
lea eax, [ebp - 0x454]
push 4
push eax
call fcn.0117a933
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x218]
push ecx
push eax
lea eax, [ebp - 0x444]
push eax
call fcn.01045c7c
mov byte [ebp - 4], 8
push dword [eax]
lea ecx, [ebp - 0x424]
call fcn.01044f8b
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x444]
call fcn.0103290a
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x454]
call fcn.0104508a
mov edi, dword [ebp - 0x438]
jmp case.default.0x117a9c0
push dword [ebp + 0x10]
lea eax, [ebp - 0x450]
push 4
push eax
call fcn.0117a933
mov byte [ebp - 4], 9
push 0x1012f68
push eax
lea eax, [ebp - 0x44c]
push eax
call fcn.01045c7c
mov byte [ebp - 4], 0xa
push dword [eax]
lea ecx, [ebp - 0x424]
call fcn.01044f8b
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x44c]
call fcn.0103290a
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x450]
jmp 0x117ae68
push ecx
mov eax, esp
mov dword [ebp - 0x428], esp
push dword [ebp + 0x10]
push 0xa
push eax
call fcn.0117a933
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x424]
call fcn.01045ebe
lea ecx, [ebp - 0x424]
call fcn.0104502b
push 0x1001ef8
jmp 0x117ad2d
push ecx
mov eax, esp
mov dword [ebp - 0x428], esp
push dword [ebp + 0x10]
push 0xa
push eax
call fcn.0117a933
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x424]
call fcn.01045ebe
lea ecx, [ebp - 0x424]
call fcn.0104502b
push 0x1012f54
jmp 0x117ad2d
push ecx
mov eax, esp
mov dword [ebp - 0x428], esp
push dword [ebp + 0x10]
push ebx
push eax
call fcn.0117a933
mov byte [ebp - 4], 0xd
jmp 0x117ac9b
xor eax, eax
cmp byte [ebp + 0x10], al
sete al
cmp eax, esi
je 0x117ad1b
push ebx
push 0x1a
push 0x104
lea ecx, [ebp - 0x424]
call fcn.01032987
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp eax, esi
je 0x117ad1b
push 0xffffffffffffffff
lea ecx, [ebp - 0x424]
call fcn.010329f4
lea ecx, [ebp - 0x424]
call fcn.0104502b
cmp eax, esi
jge 0x117ad28
push esi
mov ecx, edi
call fcn.01045e8e
jmp 0x117aea7
push 0x1012f14
lea ecx, [ebp - 0x424]
call fcn.010524eb
jmp case.default.0x117a9c0
push dword [ebp + 0x10]
lea eax, [ebp - 0x434]
push 4
push eax
call fcn.0117a933
mov byte [ebp - 4], 0xe
push 0x1012ef4
push eax
lea eax, [ebp - 0x440]
push eax
call fcn.01045c7c
mov byte [ebp - 4], 0xf
push dword [eax]
lea ecx, [ebp - 0x424]
call fcn.01044f8b
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x440]
call fcn.0103290a
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x434]
jmp 0x117ae68
cmp byte [ebp + 0x10], 0
je 0x117ada8
lea ecx, [ebp - 0x424]
call fcn.010478ab
jmp case.default.0x117a9c0
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.01045e8e
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x428]
call fcn.010527d5
jmp 0x117ae5f
lea ecx, [ebp - 0x428]
call fcn.01044f5e
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 0x117ae3b
push ecx
lea eax, [ebp - 0x428]
mov ecx, esp
mov dword [ebp - 0x460], esp
push eax
call fcn.0105258e
mov byte [ebp - 4], 0x12
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x424]
call fcn.01045ebe
jmp 0x117ae5f
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.01044f8b
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x428]
call fcn.0104508a
push ecx
lea eax, [ebp - 0x424]
mov ecx, esp
mov dword [ebp - 0x434], esp
push eax
call fcn.0105258e
mov byte [ebp - 4], 0x13
push dword [ebp - 0x430]
mov byte [ebp - 4], bl
mov ecx, 0x12d33c4
call fcn.0117a8aa
lea eax, [ebp - 0x424]
push eax
mov ecx, edi
call fcn.0105258e
mov dword [ebp - 0x42c], ebx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x424]
call fcn.0104508a
mov ecx, dword [ebp - 0xc]
mov eax, edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.0115fe1a
pop edi
pop esi
pop ebx
leave
ret 0xc