Function at 0x10019939
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10081a5d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1d4
push esi
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x178], 0x76c3a0b8
mov dword [ebp - 0x15c], 2
mov dword [ebp - 0x180], 0x5aad8530
push 2
lea ecx, [ebp - 0x1b0]
call fcn.10017b45
and dword [ebp - 4], 0
mov dword [ebp - 0x188], 1
mov dword [ebp - 0x88], 1
mov dword [ebp - 0x1c], 0
jmp 0x100199b2
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jge 0x100199c8
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x104], 0xc204e2db
jmp 0x100199ab
mov dword [ebp - 0x1c], 0
jmp 0x100199d8
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x100199f4
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x1b0]
call fcn.10017bb2
mov dword [eax], 1
jmp 0x100199d1
mov dword [ebp - 0x3c], 0
jmp 0x10019a04
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jg 0x10019a3a
mov dword [ebp - 0x34], 5
mov dword [ebp - 0x34], 0
jmp 0x10019a21
mov eax, dword [ebp - 0x34]
dec eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jl 0x10019a38
mov eax, dword [ebp - 0x34]
cmp dword [ebp + eax*4 - 0x104], 0
je 0x10019a36
jmp 0x10019a38
jmp 0x10019a1a
jmp 0x100199fd
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1b0]
call fcn.10017bad
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1001a3fa
mov dword [ebp - 0x10], 0x6dd8d130
mov dword [ebp - 0x24], 0xfffffffe
push 2
lea ecx, [ebp - 0x120]
call fcn.10017b45
mov dword [ebp - 4], 1
mov dword [ebp - 0x44], 0
jmp 0x10019a94
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 2
jge 0x10019ab0
push dword [ebp - 0x44]
lea ecx, [ebp - 0x120]
call fcn.10017bb2
mov dword [eax], 5
jmp 0x10019a8d
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x10], eax
jg 0x10019ac4
mov dword [ebp - 0x10c], 1
jmp 0x10019acb
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c8], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x24], eax
jne 0x10019b12
mov dword [ebp - 0x24], 1
jmp 0x10019bb4
mov dword [ebp - 0x114], 1
mov dword [ebp - 0x5c], 0
jmp 0x10019b2c
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 2
jge 0x10019b42
mov eax, dword [ebp - 0x5c]
mov dword [ebp + eax*4 - 0x1d0], 0
jmp 0x10019b25
mov dword [ebp - 0x24], 0xffffffea
jmp 0x10019b52
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffea
je 0x10019bab
mov dword [ebp - 0xd0], 0xc1d6
mov dword [ebp - 0x10], 0
jmp 0x10019b72
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jg 0x10019ba9
push dword [ebp - 0x10]
lea ecx, [ebp - 0x120]
call fcn.10017bb2
mov esi, eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x120]
call fcn.10017bb2
mov ecx, dword [esi]
mov dword [eax], ecx
mov eax, dword [ebp - 0xd0]
dec eax
mov dword [ebp - 0xd0], eax
jmp 0x10019b6b
jmp 0x10019b4b
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x24], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x120]
call fcn.10017bad
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x100], eax
push 2
lea ecx, [ebp - 0x78]
call fcn.10017b45
mov dword [ebp - 4], 2
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x84], 8
mov dword [ebp - 0x98], 0xcc254292
mov dword [ebp - 0x110], 0x8cd54673
mov dword [ebp - 0x4c], 0
jmp 0x10019c12
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 2
jge 0x10019c2b
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x78]
call fcn.10017bb2
mov dword [eax], 0x4f01c089
jmp 0x10019c0b
mov dword [ebp - 0x14], 0
jmp 0x10019c3b
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jg 0x10019d5f
push dword [ebp - 0x14]
lea ecx, [ebp - 0x78]
call fcn.10017bb2
mov esi, eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x78]
call fcn.10017bb2
mov ecx, dword [esi]
cmp ecx, dword [eax]
jge 0x10019c6f
mov dword [ebp - 0xc4], 1
jmp 0x10019c76
and dword [ebp - 0xc4], 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x78]
call fcn.10017bb2
mov esi, eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x78]
call fcn.10017bb2
mov ecx, dword [esi]
sub ecx, dword [eax]
jne 0x10019ca2
xor eax, eax
inc eax
jne 0x10019ca2
and dword [ebp - 0xf0], 0
jmp 0x10019cac
mov dword [ebp - 0xf0], 1
push 1
lea ecx, [ebp - 0x78]
call fcn.10017bb2
cmp dword [eax], 0x5b64
jge 0x10019cca
mov dword [ebp - 0xcc], 1
jmp 0x10019cd1
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x84], eax
mov esi, dword [ebp - 0x84]
push 0
lea ecx, [ebp - 0x78]
call fcn.10017bb2
cmp esi, dword [eax]
jg 0x10019cfd
mov dword [ebp - 0x8c], 1
jmp 0x10019d04
and dword [ebp - 0x8c], 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x78]
call fcn.10017bb2
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc4]
lea esi, [ecx + eax - 1]
sub esi, dword [ebp - 0x8c]
push 1
lea ecx, [ebp - 0x78]
call fcn.10017bb2
cmp esi, dword [eax]
jl 0x10019d3b
mov dword [ebp - 0xbc], 1
jmp 0x10019d42
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x110], eax
jmp 0x10019c34
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.10017bad
mov dword [ebp - 0x38], 0x53b26bdd
mov dword [ebp - 0x9c], 0xfffffffe
mov dword [ebp - 0xc8], 0x256ee973
mov dword [ebp - 0x94], 0xffffffff
mov dword [ebp - 0x164], 1
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x170], 0xffffffff
mov dword [ebp - 0xf8], 0xffffffff
mov dword [ebp - 0x194], 0xfffffffc
mov dword [ebp - 0x174], 0xfffffffe
mov dword [ebp - 0x1c4], 1
push 1
lea ecx, [ebp - 0x148]
call fcn.10017b45
mov dword [ebp - 4], 3
mov dword [ebp - 0x108], 0x324015fb
push 4
lea ecx, [ebp - 0x13c]
call fcn.10017b45
mov byte [ebp - 4], 4
mov dword [ebp - 0x64], 9
mov dword [ebp - 0x18], 0
jmp 0x10019e1c
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jge 0x10019e38
push dword [ebp - 0x18]
lea ecx, [ebp - 0x148]
call fcn.10017bb2
mov dword [eax], 4
jmp 0x10019e15
mov dword [ebp - 0x18], 0
jmp 0x10019e48
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 4
jge 0x10019e61
push dword [ebp - 0x18]
lea ecx, [ebp - 0x13c]
call fcn.10017bb2
and dword [eax], 0
jmp 0x10019e41
mov dword [ebp - 0x38], 6
jmp 0x10019e71
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x11
jle 0x1001a05b
mov dword [ebp - 0x6c], 0x85b7
mov dword [ebp - 0x58], 0
jmp 0x10019e92
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 4
jge 0x10019ea8
mov eax, dword [ebp - 0x58]
mov dword [ebp + eax*4 - 0x130], 0xfffffffa
jmp 0x10019e8b
cmp dword [ebp - 0x38], 1
jle 0x10019eba
mov dword [ebp - 0xb0], 1
jmp 0x10019ec1
and dword [ebp - 0xb0], 0
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x130], 1
je 0x10019edd
mov dword [ebp - 0xb8], 1
jmp 0x10019ee4
and dword [ebp - 0xb8], 0
push 0
lea ecx, [ebp - 0x13c]
call fcn.10017bb2
mov ecx, dword [ebp - 0xb8]
mov dword [eax], ecx
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x130], 0xffffffff
jg 0x10019f15
mov dword [ebp - 0xa0], 1
jmp 0x10019f1c
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
neg eax
cmp dword [ebp - 0x64], eax
jge 0x10019f55
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0x130], 0
jne 0x10019f55
and dword [ebp - 0xa8], 0
jmp 0x10019f5f
mov dword [ebp - 0xa8], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x130]
cmp dword [ebp - 0xa8], eax
jge 0x10019f80
mov dword [ebp - 0xc0], 1
jmp 0x10019f87
and dword [ebp - 0xc0], 0
push 0
lea ecx, [ebp - 0x148]
call fcn.10017bb2
mov ecx, dword [ebp - 0xc0]
cmp ecx, dword [eax]
je 0x10019faa
mov dword [ebp - 0x90], 1
jmp 0x10019fb1
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x6c]
dec eax
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0xb0]
sub eax, dword [ebp - 0x90]
imul eax, eax, 0xfffe
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
cmp dword [ebp - 0x9c], eax
jle 0x10019ff3
mov dword [ebp - 0xa4], 1
jmp 0x10019ffa
and dword [ebp - 0xa4], 0
cmp dword [ebp - 0xa4], 0x422f8dc7
jle 0x1001a00f
mov dword [ebp - 0x68], 1
jmp 0x1001a013
and dword [ebp - 0x68], 0
push 4
pop eax
imul eax, eax, 3
mov ecx, dword [ebp - 0x68]
mov dword [ebp + eax - 0x130], ecx
mov eax, dword [ebp - 0xf8]
add eax, dword [ebp - 0x68]
mov dword [ebp - 0x108], eax
mov byte [ebp - 0x26], 0
movzx eax, byte [ebp - 0x26]
test eax, eax
je 0x1001a056
push 0
push 0x180f
push 0x26d7
push 0x21
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
jmp 0x10019e6a
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x13c]
call fcn.10017bad
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x148]
call fcn.10017bad
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
movzx eax, byte [eax]
test eax, eax
je 0x1001a339
mov dword [ebp - 0x60], 0xfffffff9
mov dword [ebp - 0x54], 0
jmp 0x1001a0ad
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 4
jge 0x1001a0c3
mov eax, dword [ebp - 0x54]
mov dword [ebp + eax*4 - 0x158], 0x4ec2e0cf
jmp 0x1001a0a6
mov dword [ebp - 0x60], 0
jmp 0x1001a0d3
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 3
jg 0x1001a31b
push 1
lea ecx, [ebp - 0xdc]
call fcn.10017b45
mov dword [ebp - 4], 5
mov dword [ebp - 0x40], 0
jmp 0x1001a101
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 1
jge 0x1001a11d
push dword [ebp - 0x40]
lea ecx, [ebp - 0xdc]
call fcn.10017bb2
mov dword [eax], 0x532bb11a
jmp 0x1001a0fa
push 0
lea ecx, [ebp - 0xdc]
call fcn.10017bb2
and dword [eax], 0
jmp 0x1001a153
push 0
lea ecx, [ebp - 0xdc]
call fcn.10017bb2
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xac]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0xdc]
call fcn.10017bb2
cmp dword [eax], 3
jg 0x1001a307
mov dword [ebp - 0x48], 0x25a80e35
push 0
lea ecx, [ebp - 0xdc]
call fcn.10017bb2
mov eax, dword [eax]
cmp dword [ebp + eax*4 - 0x158], 0
je 0x1001a18e
jmp 0x1001a307
mov dword [ebp - 0x48], 0
jmp 0x1001a19e
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 3
jg 0x1001a302
push 2
lea ecx, [ebp - 0xe8]
call fcn.10017b45
mov byte [ebp - 4], 6
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0xfc], 0x75ee
mov dword [ebp - 0x50], 0
jmp 0x1001a1da
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 2
jge 0x1001a1f6
push dword [ebp - 0x50]
lea ecx, [ebp - 0xe8]
call fcn.10017bb2
mov dword [eax], 0xc7af5af8
jmp 0x1001a1d3
push 1
lea ecx, [ebp - 0xe8]
call fcn.10017bb2
and dword [eax], 0
jmp 0x1001a22c
push 1
lea ecx, [ebp - 0xe8]
call fcn.10017bb2
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xb4]
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0xe8]
call fcn.10017bb2
cmp dword [eax], 3
jg 0x1001a25e
mov byte [ebp - 0x2d], 0
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x1001a25c
push 0x21bf
push 0x760
push 0
call dword [sym.imp.USER32.dll_CheckMenuItem]
jmp 0x1001a208
mov dword [ebp - 0x2c], 0
jmp 0x1001a26e
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 3
jg 0x1001a2ee
mov eax, dword [ebp - 0x2c]
cmp dword [ebp + eax*4 - 0x158], 0
jne 0x1001a29c
push 1
lea ecx, [ebp - 0xe8]
call fcn.10017bb2
cmp dword [eax], 0
jne 0x1001a29c
and dword [ebp - 0xf4], 0
jmp 0x1001a2a6
mov dword [ebp - 0xf4], 1
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp + eax*4 - 0x158]
mov dword [ebp - 0x17c], eax
push 0
lea ecx, [ebp - 0xdc]
call fcn.10017bb2
mov eax, dword [ebp - 0x2c]
cmp dword [ebp + eax*4 - 0x158], 0x48b1
je 0x1001a2dc
mov dword [ebp - 0x7c], 1
jmp 0x1001a2e0
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xfc], eax
jmp 0x1001a267
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xe8]
call fcn.10017bad
jmp 0x1001a197
jmp 0x1001a12f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xdc]
call fcn.10017bad
jmp 0x1001a0cc
mov byte [ebp - 0x25], 0
movzx eax, byte [ebp - 0x25]
test eax, eax
je 0x1001a333
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
push 3
lea ecx, [ebp - 0x1c0]
call fcn.10017b45
mov dword [ebp - 4], 7
mov dword [ebp - 0x19c], 0x36432a27
mov dword [ebp - 0x184], 0xf2000252
mov dword [ebp - 0x1b4], 0x18795010
mov dword [ebp - 0x18c], 1
mov dword [ebp - 0x1a4], 0xbd4dfbd6
mov dword [ebp - 0x160], 0xfffffff8
mov dword [ebp - 0x80], 0xffffffff
mov dword [ebp - 0x20], 0
jmp 0x1001a3a0
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jge 0x1001a3bc
push dword [ebp - 0x20]
lea ecx, [ebp - 0x1c0]
call fcn.10017bb2
mov dword [eax], 0x5bb2
jmp 0x1001a399
mov dword [ebp - 0x20], 0
jmp 0x1001a3cc
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 4
jge 0x1001a3e2
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x1e0], 0
jmp 0x1001a3c5
mov eax, dword [ebp - 0x80]
dec eax
mov dword [ebp - 0x80], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c0]
call fcn.10017bad
jmp 0x1001a40e
mov byte [ebp - 0x2e], 0
movzx eax, byte [ebp - 0x2e]
test eax, eax
je 0x1001a40e
push 0
call dword [sym.imp.USER32.dll_CharUpperW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret