Function at 0x4101f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe8c
mov eax, 0x4abccc
push ebx
push esi
lea esi, [ebp - 0x6c]
mov dword [ebp - 0x48], ecx
mov ebx, edx
call fcn.0045a304
mov word [esi + 0x10], 8
xor edx, edx
mov dword [ebp - 4], edx
inc dword [esi + 0x1c]
mov word [esi + 0x10], 0x14
push 0x104
lea ecx, [ebp - 0x174]
push ecx
call sub.KERNEL32.DLL_GetSystemDirectoryA
movzx eax, bx
and eax, 0x3ff
cmp eax, 0x1e
ja case.0x410249.0
mov al, byte [eax + 0x410250]
jmp dword [eax*4 + 0x41026f]
movzx edx, bx
sar edx, 0xa
cmp edx, 2
jne 0x4102ec
mov word [esi + 0x10], 0x20
mov edx, str.SIMCHIN
lea eax, [ebp - 8]
call fcn.00477a1c
inc dword [esi + 0x1c]
lea edx, [ebp - 8]
lea eax, [ebp - 4]
call fcn.00477b04
dec dword [esi + 0x1c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.00477ad4
jmp 0x41060b
mov word [esi + 0x10], 0x2c
mov edx, str.TradChin
lea eax, [ebp - 0xc]
call fcn.00477a1c
inc dword [esi + 0x1c]
lea edx, [ebp - 0xc]
lea eax, [ebp - 4]
call fcn.00477b04
dec dword [esi + 0x1c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00477ad4
jmp 0x41060b
mov word [esi + 0x10], 0x38
mov edx, str.Danish
lea eax, [ebp - 0x10]
call fcn.00477a1c
inc dword [esi + 0x1c]
lea edx, [ebp - 0x10]
lea eax, [ebp - 4]
call fcn.00477b04
dec dword [esi + 0x1c]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00477ad4
jmp 0x41060b
mov word [esi + 0x10], 0x44
mov edx, str.Dutch
lea eax, [ebp - 0x14]
call fcn.00477a1c
inc dword [esi + 0x1c]
lea edx, [ebp - 0x14]
lea eax, [ebp - 4]
call fcn.00477b04
dec dword [esi + 0x1c]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00477ad4
jmp 0x41060b
mov word [esi + 0x10], 0x50
mov edx, str.FRENCH
lea eax, [ebp - 0x18]
call fcn.00477a1c
inc dword [esi + 0x1c]
lea edx, [ebp - 0x18]
lea eax, [ebp - 4]
call fcn.00477b04
dec dword [esi + 0x1c]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00477ad4
jmp 0x41060b
mov word [esi + 0x10], 0x5c
mov edx, str.German
lea eax, [ebp - 0x1c]
call fcn.00477a1c
inc dword [esi + 0x1c]
lea edx, [ebp - 0x1c]
lea eax, [ebp - 4]
call fcn.00477b04
dec dword [esi + 0x1c]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00477ad4
jmp 0x41060b
mov word [esi + 0x10], 0x68
mov edx, str.Italian
lea eax, [ebp - 0x20]
call fcn.00477a1c
inc dword [esi + 0x1c]
lea edx, [ebp - 0x20]
lea eax, [ebp - 4]
call fcn.00477b04
dec dword [esi + 0x1c]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00477ad4
jmp 0x41060b
mov word [esi + 0x10], 0x74
mov edx, str.Japanese
lea eax, [ebp - 0x24]
call fcn.00477a1c
inc dword [esi + 0x1c]
lea edx, [ebp - 0x24]
lea eax, [ebp - 4]
call fcn.00477b04
dec dword [esi + 0x1c]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00477ad4
jmp 0x41060b
mov word [esi + 0x10], 0x80
mov edx, str.Korean
lea eax, [ebp - 0x28]
call fcn.00477a1c
inc dword [esi + 0x1c]
lea edx, [ebp - 0x28]
lea eax, [ebp - 4]
call fcn.00477b04
dec dword [esi + 0x1c]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00477ad4
jmp 0x41060b
mov word [esi + 0x10], 0x8c
mov edx, str.Portuguese
lea eax, [ebp - 0x2c]
call fcn.00477a1c
inc dword [esi + 0x1c]
lea edx, [ebp - 0x2c]
lea eax, [ebp - 4]
call fcn.00477b04
dec dword [esi + 0x1c]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.00477ad4
jmp 0x41060b
mov word [esi + 0x10], 0x98
mov edx, str.Russian
lea eax, [ebp - 0x30]
call fcn.00477a1c
inc dword [esi + 0x1c]
lea edx, [ebp - 0x30]
lea eax, [ebp - 4]
call fcn.00477b04
dec dword [esi + 0x1c]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.00477ad4
jmp 0x41060b
mov word [esi + 0x10], 0xa4
mov edx, str.Spanish
lea eax, [ebp - 0x34]
call fcn.00477a1c
inc dword [esi + 0x1c]
lea edx, [ebp - 0x34]
lea eax, [ebp - 4]
call fcn.00477b04
dec dword [esi + 0x1c]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.00477ad4
jmp 0x41060b
mov word [esi + 0x10], 0xb0
mov edx, str.SWEDISH
lea eax, [ebp - 0x38]
call fcn.00477a1c
inc dword [esi + 0x1c]
lea edx, [ebp - 0x38]
lea eax, [ebp - 4]
call fcn.00477b04
dec dword [esi + 0x1c]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.00477ad4
jmp 0x41060b
mov word [esi + 0x10], 0xbc
mov edx, str.THAI
lea eax, [ebp - 0x3c]
call fcn.00477a1c
inc dword [esi + 0x1c]
lea edx, [ebp - 0x3c]
lea eax, [ebp - 4]
call fcn.00477b04
dec dword [esi + 0x1c]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.00477ad4
jmp 0x41060b
mov word [esi + 0x10], 0xc8
mov edx, str.ARABIC
lea eax, [ebp - 0x40]
call fcn.00477a1c
inc dword [esi + 0x1c]
lea edx, [ebp - 0x40]
lea eax, [ebp - 4]
call fcn.00477b04
dec dword [esi + 0x1c]
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.00477ad4
jmp 0x41060b
mov word [esi + 0x10], 0xd4
mov edx, str.English
lea eax, [ebp - 0x44]
call fcn.00477a1c
inc dword [esi + 0x1c]
lea edx, [ebp - 0x44]
lea eax, [ebp - 4]
call fcn.00477b04
dec dword [esi + 0x1c]
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00477ad4
mov word [esi + 0x10], 0xe0
lea edx, [ebp - 4]
mov eax, dword [ebp - 0x48]
call fcn.00477b04
mov eax, dword [ebp - 0x48]
mov edx, 2
mov word [esi + 0x10], 0xec
push eax
lea eax, [ebp - 4]
dec dword [esi + 0x1c]
call fcn.00477ad4
pop eax
mov word [esi + 0x10], 0xe0
inc dword [esi + 0x1c]
mov edx, dword [esi]
mov dword fs:[0], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret