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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
movzx eax, byte [ebp + 0x50]
test eax, eax
je 0x431387
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x134], eax
push 0x6912
push dword [ebp - 0x134]
push 1
call fcn.0043186d
add esp, 0xc
jmp 0x431869
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x54], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp + 0x48]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0xf8], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp + 0x4c]
mov dword [ebp - 0x90], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x110]
movzx eax, byte [eax]
test eax, eax
je 0x4314ba
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x124]
movzx eax, byte [eax]
test eax, eax
je 0x4314a3
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x431487
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 2
jge 0x4314a1
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x80]
call fcn.0042713b
or dword [eax], 0xffffffff
jmp 0x43147c
jmp 0x4314b5
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x4314b5
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
jmp 0x431869
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0xb8]
movzx eax, byte [eax]
test eax, eax
je 0x431585
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x108]
movzx eax, byte [eax]
test eax, eax
je 0x431580
push 0x1869
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
jmp 0x431869
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, dword [ebp - 0xec]
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jl 0x4316b2
mov dword [ebp - 0x28], 1
jmp 0x4316b6
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp dword [ebp - 0x28], eax
jg 0x4316c9
mov dword [ebp - 0x4c], 1
jmp 0x4316cd
and dword [ebp - 0x4c], 0
cmp dword [ebp - 0x4c], 0xfff9
jb 0x4316e2
mov dword [ebp - 0xf4], 1
jmp 0x4316e9
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jle 0x431714
mov dword [ebp - 0x34], 1
jmp 0x431718
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp dword [ebp - 0x34], eax
jl 0x43172b
mov dword [ebp - 0x20], 1
jmp 0x43172f
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
imul eax, dword [ebp - 0x20], 0xfffffff9
cmp eax, 0xffffffff
ja 0x431749
mov dword [ebp - 0x44], 1
jmp 0x43174d
and dword [ebp - 0x44], 0
cmp dword [ebp - 0x44], 0xe311
jge 0x43176a
mov eax, dword [ebp - 0xfc]
cmp dword [eax], 0
je 0x43176a
mov dword [ebp - 0x3c], 1
jmp 0x43176e
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp dword [ebp - 0x3c], eax
je 0x431781
mov dword [ebp - 0x2c], 1
jmp 0x431785
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
imul eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x104]
cmp eax, dword [ecx]
jge 0x4317a4
mov dword [ebp - 0x10c], 1
jmp 0x4317ab
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x30]
mov dword [ecx], eax
mov eax, dword [ebp - 0x30]
cmp dword [eax], 0
je 0x4317e9
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x4317e9
mov dword [ebp - 0x38], 1
jmp 0x4317ed
and dword [ebp - 0x38], 0
cmp dword [ebp - 0x38], 0x2aa7
je 0x4317ff
mov dword [ebp - 0x40], 1
jmp 0x431803
and dword [ebp - 0x40], 0
cmp dword [ebp - 0x40], 0xfa2e
jl 0x431815
mov dword [ebp - 0x48], 1
jmp 0x431819
and dword [ebp - 0x48], 0
imul eax, dword [ebp - 0x48], 0xc68a
mov ecx, dword [ebp - 8]
cmp eax, dword [ecx]
jge 0x431830
mov dword [ebp - 0x50], 1
jmp 0x431834
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x50]
jne 0x43184a
mov dword [ebp - 0x114], 1
jmp 0x431851
and dword [ebp - 0x114], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret