Function at 0x100106e2
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10078983
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x124
push esi
and dword [ebp - 0x9c], 0
push 3
lea ecx, [ebp - 0xdc]
call fcn.100170ca
and dword [ebp - 4], 0
mov dword [ebp - 0xb4], 0xffbe5849
lea eax, [ebp - 0x100]
push eax
lea eax, [ebp - 0xdc]
push eax
push 0
call fcn.100114f9
add esp, 0xc
push 0x6b43
push 0
push 0x2075
push 0x7209
call fcn.10016ddd
add esp, 0x10
lea eax, [ebp - 0xb4]
push eax
push 0
lea eax, [ebp - 0xdc]
push eax
call fcn.1001542f
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xdc]
call fcn.1001714c
lea ecx, [ebp - 0x130]
call fcn.10016fc2
mov dword [ebp - 4], 1
push 2
lea ecx, [ebp - 0x60]
call fcn.100170ca
mov byte [ebp - 4], 2
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x54], 0x3e58bfc4
mov dword [ebp - 0x50], 0xfffffff7
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x2c], 0
jmp 0x100107ce
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 2
jge 0x100107e7
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x60]
call fcn.10017168
mov dword [eax], 0xac64a684
jmp 0x100107c7
push 0
lea ecx, [ebp - 0x60]
call fcn.10017168
mov dword [eax], 0xffffffe2
jmp 0x1001081a
push 0
lea ecx, [ebp - 0x60]
call fcn.10017168
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xa0]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x60]
call fcn.10017168
cmp dword [eax], 0xfffffff5
jle 0x100108a4
mov dword [ebp - 0x118], 0x9924
push 3
lea ecx, [ebp - 0xfc]
call fcn.100170ca
mov byte [ebp - 4], 3
mov dword [ebp - 0xb8], 0x2daab72b
mov dword [ebp - 0x34], 0
jmp 0x1001085e
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 3
jge 0x1001087a
push dword [ebp - 0x34]
lea ecx, [ebp - 0xfc]
call fcn.10017168
mov dword [eax], 7
jmp 0x10010857
push 0x68e4
push 0
lea eax, [ebp - 0xb8]
push eax
call fcn.1001128e
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xfc]
call fcn.1001714c
jmp 0x100107f9
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x104], eax
push 1
lea ecx, [ebp - 0x60]
call fcn.10017168
cmp dword [eax], 0
jne 0x1001090b
push 0
lea ecx, [ebp - 0x60]
call fcn.10017168
cmp dword [eax], 4
jne 0x100108d7
mov dword [ebp - 0xa8], 1
jmp 0x100108de
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0xa8], eax
jle 0x100108f5
mov dword [ebp - 0xa4], 1
jmp 0x100108fc
and dword [ebp - 0xa4], 0
cmp dword [ebp - 0xa4], 1
jne 0x1001090b
and dword [ebp - 0x70], 0
jmp 0x10010912
mov dword [ebp - 0x70], 1
mov esi, dword [ebp - 0x50]
imul esi, dword [ebp - 0x70]
push 0
lea ecx, [ebp - 0x60]
call fcn.10017168
cmp esi, dword [eax]
jge 0x10010933
mov dword [ebp - 0x90], 1
jmp 0x1001093a
and dword [ebp - 0x90], 0
push 1
lea ecx, [ebp - 0x60]
call fcn.10017168
mov ecx, dword [ebp - 0x90]
cmp ecx, dword [eax]
jle 0x1001095d
cmp dword [ebp - 0x1c], 0
je 0x1001095d
mov dword [ebp - 0x78], 1
jmp 0x10010961
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x78]
jl 0x10010972
mov dword [ebp - 0x64], 1
jmp 0x10010976
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x24]
imul eax, dword [ebp - 0x64]
mov dword [ebp - 0x54], eax
mov esi, dword [ebp - 0x54]
push 0
lea ecx, [ebp - 0x60]
call fcn.10017168
imul esi, dword [eax]
cmp esi, dword [ebp - 0x1c]
jge 0x1001099e
mov dword [ebp - 0x80], 1
jmp 0x100109a2
and dword [ebp - 0x80], 0
cmp dword [ebp - 0x80], 8
jle 0x100109b7
cmp dword [ebp - 0x1c], 0
je 0x100109b7
and dword [ebp - 0x98], 0
jmp 0x100109c1
mov dword [ebp - 0x98], 1
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x98], eax
jne 0x100109df
push 4
pop eax
test eax, eax
je 0x100109df
mov dword [ebp - 0x88], 1
jmp 0x100109e6
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x88], eax
jne 0x100109fa
mov dword [ebp - 0x68], 1
jmp 0x100109fe
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x6c], eax
push 0
lea ecx, [ebp - 0x60]
call fcn.10017168
mov ecx, dword [ebp - 0x6c]
mov dword [eax], ecx
cmp dword [ebp - 0x6c], 0
je 0x10010a2e
cmp dword [ebp - 0x54], 0
je 0x10010a2e
mov dword [ebp - 0x74], 1
jmp 0x10010a32
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x50], eax
jg 0x10010a49
mov dword [ebp - 0x7c], 1
jmp 0x10010a4d
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.1001714c
push dword [ebp + 0xc]
lea ecx, [ebp - 0x130]
call fcn.10017093
mov dword [ebp - 0x114], 0xd33a4a9b
mov dword [ebp - 0x110], 0xd33a4a9b
mov dword [ebp - 0x10c], 0xd33a4a9b
mov dword [ebp - 0x108], 0xd33a4a9b
mov dword [ebp - 0x40], 0
jmp 0x10010aab
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 4
jge 0x10010ac1
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0xec], 8
jmp 0x10010aa4
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0xec], 3
jmp 0x10010aef
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xec]
dec eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0xec], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0xec], 0
jl 0x10010b8c
mov dword [ebp - 0x3c], 0
jmp 0x10010b13
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 2
jge 0x10010b29
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0xb0], 0xd8987f2f
jmp 0x10010b0c
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0xb0], 0
jmp 0x10010b57
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xb0]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0xb0], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xb0], 3
jg 0x10010b87
mov byte [ebp - 0x1e], 0
movzx eax, byte [ebp - 0x1e]
test eax, eax
je 0x10010b85
push 0x1ae2
push 0x1a9c
push 0
call dword [sym.imp.USER32.dll_CheckMenuItem]
jmp 0x10010b3c
jmp 0x10010ad4
and dword [ebp - 0x28], 0
jmp 0x10010b99
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp + 0xc]
jae 0x10010d53
mov dword [ebp - 0x44], 0xfffffffe
push 4
lea ecx, [ebp - 0xd0]
call fcn.100170ca
mov byte [ebp - 4], 4
mov dword [ebp - 0x48], 0
jmp 0x10010bcd
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 4
jge 0x10010be9
push dword [ebp - 0x48]
lea ecx, [ebp - 0xd0]
call fcn.10017168
mov dword [eax], 2
jmp 0x10010bc6
mov dword [ebp - 0x44], 0
jmp 0x10010bf9
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 9
jl 0x10010d03
mov dword [ebp - 0x14], 9
mov dword [ebp - 0x14], 3
jmp 0x10010c1a
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x10010cb5
mov dword [ebp - 0x30], 0xf82ff40f
mov dword [ebp - 0x30], 0
jmp 0x10010c3b
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 3
jg 0x10010c9b
mov byte [ebp - 0x1d], 0
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x10010c70
push 0x62e2
push 0x1e5c
push 0x4797
push 0x610f
push 0
push 0x219c
call fcn.10010f65
add esp, 0x18
push 0xe7f
push 0x154a
push 0x72d8
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xd0]
push eax
push 0
push 0x33a3
call fcn.10013bb7
add esp, 0x1c
jmp 0x10010c34
push dword [ebp - 0x14]
lea ecx, [ebp - 0xd0]
call fcn.10017168
cmp dword [eax], 0
je 0x10010cb0
jmp 0x10010cb5
jmp 0x10010c13
mov dword [ebp - 0x14], 0xfffffffb
jmp 0x10010cc5
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xfffffff0
jle 0x10010cfe
mov dword [ebp - 0x38], 0x35e1f6f0
mov dword [ebp - 0x38], 0
jmp 0x10010ce2
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 3
jg 0x10010cfc
mov byte [ebp - 0x16], 0
movzx eax, byte [ebp - 0x16]
test eax, eax
je 0x10010cfa
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
jmp 0x10010cdb
jmp 0x10010cbe
jmp 0x10010bf2
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xd0]
call fcn.1001714c
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x28]
xor edx, edx
div dword [0x1007f830]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 4]
movzx eax, byte [eax + edx]
push eax
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x28]
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
movzx eax, byte [ecx + eax]
push eax
call fcn.10008d43
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x130]
call fcn.10017054
jmp 0x10010b92
mov dword [ebp - 0x10], 0xfffffffe
mov dword [ebp - 0xc4], 4
mov dword [ebp - 0xc0], 0x348f4a8f
cmp dword [ebp - 0x10], 0
je 0x10010d88
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x10], eax
jle 0x10010d88
mov dword [ebp - 0x84], 1
jmp 0x10010d8f
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x84]
jge 0x10010da6
mov dword [ebp - 0xbc], 1
jmp 0x10010dad
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xf0], eax
push 6
pop eax
cmp eax, 0xfffffffa
je 0x10010dca
mov dword [ebp - 0x8c], 1
jmp 0x10010dd1
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x8c]
add eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x10]
cmp dword [ebp - 0x10], eax
jge 0x10010df2
mov dword [ebp - 0x94], 1
jmp 0x10010df9
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x94]
je 0x10010e26
mov byte [ebp - 0x17], 0
movzx eax, byte [ebp - 0x17]
test eax, eax
je 0x10010e24
push 0x40c
push 0
push 0x2818
call fcn.1001360e
add esp, 0xc
jmp 0x10010e4e
push 0
call fcn.10011236
pop ecx
mov byte [ebp - 0x15], 0
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x10010e4e
push 0x379d
push 0x53fe
push 0
call fcn.100139f0
add esp, 0xc
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0x130]
push eax
mov ecx, dword [ebp + 8]
call fcn.10016fd3
mov eax, dword [ebp - 0x9c]
or eax, 1
mov dword [ebp - 0x9c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x130]
call fcn.1001702c
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret