Function at 0x1001647c
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006479a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x114
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x100169b3
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x84]
movzx eax, byte [eax]
test eax, eax
je 0x1001673c
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0x48], 0xb85
mov dword [ebp - 0x70], 0x10008704
cmp dword [ebp - 0x48], 0xef1
jle 0x100165a8
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
and dword [ebp - 0x38], 0
jmp 0x1001653c
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x5b2f
jge 0x100165a8
and dword [ebp - 0x30], 0
jmp 0x10016552
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x7840
jge 0x100165a6
mov eax, dword [ebp - 0x38]
or eax, dword [ebp - 0x30]
cdq
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], edx
push dword [ebp - 0xe0]
push dword [ebp - 0xe4]
lea ecx, [ebp - 0x10c]
call fcn.1000db90
pop ecx
pop ecx
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
call fcn.1002fe47
push eax
call fcn.1004eea6
pop ecx
lea ecx, [ebp - 0x10c]
call fcn.1002fe3d
jmp 0x1001654b
jmp 0x10016535
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x8c], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x48], 0xaf1
jge 0x100165ca
push dword [ebp - 0x70]
call fcn.1004eea6
pop ecx
jmp 0x100165e6
or dword [ebp - 4], 0xffffffff
jmp 0x100165f0
mov dword [ebp - 0x68], 0x5dfc
mov dword [ebp - 0x94], 0x10008758
cmp dword [ebp - 0x68], 0x5f8b
jle 0x100166a9
and dword [ebp - 0x20], 0
jmp 0x1001661b
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x6610
jge 0x100166a9
and dword [ebp - 0x28], 0
jmp 0x10016635
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x290
jge 0x100166a4
and dword [ebp - 0x1c], 0
jmp 0x1001664b
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x31f5
jge 0x100166a2
and dword [ebp - 0x24], 0
jmp 0x10016661
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x34c9
jge 0x100166a0
mov eax, dword [ebp - 0x28]
cdq
idiv dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov ecx, edx
sar eax, cl
and eax, dword [ebp - 0x24]
cdq
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xec], edx
push dword [ebp - 0xec]
push dword [ebp - 0xf0]
mov ecx, 0x1060e278
call fcn.1002fe67
jmp 0x1001665a
jmp 0x10016644
jmp 0x1001662e
jmp 0x10016614
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x100166d4
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 2
jge 0x100166f1
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0xc8]
call fcn.1003001a
and dword [eax], 0
jmp 0x100166c9
mov dword [ebp - 4], 2
cmp dword [ebp - 0x68], 0x5dee
jge 0x10016711
mov edx, dword [ebp - 0x94]
mov ecx, 0x1060e278
call fcn.10031911
jmp 0x1001672d
or dword [ebp - 4], 0xffffffff
jmp 0x10016737
jmp 0x100169b1
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x50], 0x675d
mov dword [ebp - 0x74], 0x10008790
cmp dword [ebp - 0x50], 0x6aa7
jle 0x10016832
and dword [ebp - 0x2c], 0
jmp 0x1001679a
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x7e5e
jge 0x10016832
and dword [ebp - 0x34], 0
jmp 0x100167b4
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x2aec
jge 0x1001682d
and dword [ebp - 0x3c], 0
jmp 0x100167ca
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x9f6
jge 0x1001682b
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x34]
sar eax, cl
mov ecx, dword [ebp - 0x3c]
sar eax, cl
cdq
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], edx
push dword [ebp - 0xd8]
push dword [ebp - 0xdc]
lea ecx, [ebp - 0x124]
call fcn.1000db90
pop ecx
pop ecx
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xac]
call fcn.1002fe47
push eax
call fcn.1004eea6
pop ecx
lea ecx, [ebp - 0x124]
call fcn.1002fe3d
jmp 0x100167c3
jmp 0x100167ad
jmp 0x10016793
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 4], 4
cmp dword [ebp - 0x50], 0x65ea
jge 0x10016857
push dword [ebp - 0x74]
call fcn.1004eea6
pop ecx
jmp 0x10016873
or dword [ebp - 4], 0xffffffff
jmp 0x1001687d
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0x6801
jg 0x100168bd
mov dword [ebp - 0x64], 1
jmp 0x100168c1
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0x41145714
jl 0x100168df
push 2
pop eax
test eax, eax
je 0x100168df
mov dword [ebp - 0x98], 1
jmp 0x100168e6
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
imul ecx, dword [ecx], 0xffff
cmp ecx, dword [eax]
jg 0x100168ff
mov dword [ebp - 0x60], 1
jmp 0x10016903
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
add ecx, dword [ebp - 0x60]
cmp ecx, dword [eax]
jl 0x10016918
mov eax, dword [ebp - 0x58]
cmp dword [eax], 0
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0x7bdd
jne 0x10016931
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
jne 0x10016931
and dword [ebp - 0x44], 0
jmp 0x10016938
mov dword [ebp - 0x44], 1
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
cmp dword [ebp - 0x44], eax
jle 0x1001694b
mov dword [ebp - 0x4c], 1
jmp 0x1001694f
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x4c]
jg 0x10016962
mov dword [ebp - 0x54], 1
jmp 0x10016966
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax]
cmp dword [ebp - 0x54], eax
jle 0x10016979
mov dword [ebp - 0x40], 1
jmp 0x1001697d
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0x40]
mov dword [eax], ecx
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax]
imul eax, dword [ebp - 0x40]
cmp dword [ebp - 0x64], eax
jl 0x1001699f
mov dword [ebp - 0x6c], 1
jmp 0x100169a3
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x6c]
add eax, 6
mov ecx, dword [ebp - 0xa8]
mov dword [ecx], eax
jmp 0x100169f4
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0xb0], eax
push 1
push dword [ebp - 0xb0]
push dword [ebp - 0xb8]
push 0x3716
push 0x4795
push dword [ebp - 0xc0]
call fcn.10011287
add esp, 0x18
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret