Function at 0x1001e9da
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100650c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x198
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x3c]
test eax, eax
je 0x1001f0bd
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp + 0x58]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x178], eax
mov eax, dword [ebp + 0x4c]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp + 0x48]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp + 0x50]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xe4], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0xdc]
movzx eax, byte [eax]
test eax, eax
je 0x1001eaf5
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
jmp 0x1001ead0
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 3
jge 0x1001eaf0
mov eax, dword [ebp - 0x1c]
push dword [eax]
mov ecx, dword [ebp - 0xd4]
call fcn.100079ee
mov dword [eax], 3
jmp 0x1001eac5
jmp 0x1001f0b8
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0xa4], 0x7d5b
mov dword [ebp - 0x10c], str.bspijzf_xhexyj_pzzt
cmp dword [ebp - 0xa4], 0x7f16
jle 0x1001ec4f
push 0x1708
push 0x120b
push 0
call dword [sym.imp.USER32.dll_EnableMenuItem]
and dword [ebp - 0x30], 0
jmp 0x1001ebc2
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x2395
jge 0x1001ec4f
and dword [ebp - 0x48], 0
jmp 0x1001ebdc
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0x6bd0
jge 0x1001ec4a
and dword [ebp - 0x3c], 0
jmp 0x1001ebf2
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x5db9
jge 0x1001ec48
and dword [ebp - 0x40], 0
jmp 0x1001ec08
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x541f
jge 0x1001ec46
mov ecx, dword [ebp - 0x48]
sub ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x30]
sar eax, cl
mov ecx, dword [ebp - 0x40]
sar eax, cl
cdq
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x194], edx
push dword [ebp - 0x194]
push dword [ebp - 0x198]
mov ecx, 0x10082178
call fcn.100073fb
jmp 0x1001ec01
jmp 0x1001ebeb
jmp 0x1001ebd5
jmp 0x1001ebbb
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0xc8], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0xa4], 0x7ca4
jge 0x1001ec7b
mov edx, dword [ebp - 0x10c]
mov ecx, 0x10082178
call fcn.1000bae6
jmp 0x1001ec97
or dword [ebp - 4], 0xffffffff
jmp 0x1001eca1
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x60], 0x1712
mov dword [ebp - 0x124], str.ghxfnot_zeb_fsjav
cmp dword [ebp - 0x60], 0x19d9
jle 0x1001ed85
and dword [ebp - 0x44], 0
jmp 0x1001ecf6
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x38e9
jge 0x1001ed85
and dword [ebp - 0x28], 0
jmp 0x1001ed10
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x5fc1
jge 0x1001ed80
and dword [ebp - 0x38], 0
jmp 0x1001ed26
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x3adb
jge 0x1001ed7e
and dword [ebp - 0x24], 0
jmp 0x1001ed3c
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x139b
jge 0x1001ed7c
mov eax, dword [ebp - 0x38]
imul eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x44]
imul ecx, dword [ebp - 0x28]
sub ecx, eax
mov eax, ecx
cdq
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x17c], edx
push dword [ebp - 0x17c]
push dword [ebp - 0x180]
mov ecx, 0x10082178
call fcn.100073fb
jmp 0x1001ed35
jmp 0x1001ed1f
jmp 0x1001ed09
jmp 0x1001ecef
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x60], 0x1450
jge 0x1001edae
mov edx, dword [ebp - 0x124]
mov ecx, 0x10082178
call fcn.1000bae6
jmp 0x1001edca
or dword [ebp - 4], 0xffffffff
jmp 0x1001edd4
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0xe8], eax
push 8
pop eax
test eax, eax
je 0x1001eef4
push 2
mov ecx, dword [ebp - 0x14]
call fcn.100079ee
mov ecx, dword [ebp - 0xac]
mov eax, dword [eax]
mov dword [ecx], eax
push 0
mov ecx, dword [ebp - 0x14]
call fcn.100079ee
mov eax, dword [eax]
add eax, 0x2af37a8a
mov ecx, dword [ebp - 0x34]
cmp dword [ecx], eax
jg 0x1001ee2c
mov dword [ebp - 0x6c], 1
jmp 0x1001ee30
and dword [ebp - 0x6c], 0
cmp dword [ebp - 0x6c], 0xfffffffc
jne 0x1001ee42
mov dword [ebp - 0x188], 1
jmp 0x1001ee49
and dword [ebp - 0x188], 0
push 2
mov ecx, dword [ebp - 0x14]
call fcn.100079ee
mov eax, dword [eax]
sub eax, 0x1943
jne 0x1001ee6b
mov eax, 0x3e1b8d81
test eax, eax
jne 0x1001ee6b
and dword [ebp - 0x4c], 0
jmp 0x1001ee72
mov dword [ebp - 0x4c], 1
push 2
mov ecx, dword [ebp - 0x54]
call fcn.100079ee
mov ecx, dword [ebp - 0x4c]
mov dword [eax], ecx
cmp dword [ebp - 0x4c], 0x98d08f49
ja 0x1001ee96
mov dword [ebp - 0x94], 1
jmp 0x1001ee9d
and dword [ebp - 0x94], 0
push 0
mov ecx, dword [ebp - 0x14]
call fcn.100079ee
mov esi, dword [ebp - 0x94]
imul esi, dword [eax]
push 2
mov ecx, dword [ebp - 0x14]
call fcn.100079ee
cmp esi, dword [eax]
jle 0x1001eed3
push 2
mov ecx, dword [ebp - 0x54]
call fcn.100079ee
cmp dword [eax], 0
jne 0x1001eed3
and dword [ebp - 0x74], 0
jmp 0x1001eeda
mov dword [ebp - 0x74], 1
push 1
mov ecx, dword [ebp - 0x14]
call fcn.100079ee
mov ecx, dword [ebp - 0x74]
cmp ecx, dword [eax]
jl 0x1001eef4
mov dword [ebp - 0x58], 1
jmp 0x1001eef8
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0x58]
mov dword [eax], ecx
cmp dword [ebp - 0x58], 0x9448
jl 0x1001ef18
mov dword [ebp - 0xb4], 1
jmp 0x1001ef1f
and dword [ebp - 0xb4], 0
cmp dword [ebp - 0xb4], 0x1563cfeb
je 0x1001ef34
mov dword [ebp - 0x50], 1
jmp 0x1001ef38
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0x50]
mov dword [eax], ecx
cmp dword [ebp - 0x50], 0x1580
jle 0x1001ef55
mov dword [ebp - 0x7c], 1
jmp 0x1001ef59
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x7c]
je 0x1001ef6f
mov dword [ebp - 0x9c], 1
jmp 0x1001ef76
and dword [ebp - 0x9c], 0
push 2
mov ecx, dword [ebp - 0x14]
call fcn.100079ee
mov ecx, dword [ebp - 0x9c]
imul ecx, dword [eax]
test ecx, ecx
je 0x1001efa1
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 0
je 0x1001efa1
mov dword [ebp - 0xd0], 1
jmp 0x1001efa8
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
mov dword [ebp - 0x19c], eax
push 1
mov ecx, dword [ebp - 0x54]
call fcn.100079ee
xor eax, eax
jne 0x1001efd1
push 9
pop eax
test eax, eax
jne 0x1001efd1
and dword [ebp - 0x84], 0
jmp 0x1001efdb
mov dword [ebp - 0x84], 1
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
cmp dword [ebp - 0x84], eax
jne 0x1001eff4
mov dword [ebp - 0xd8], 1
jmp 0x1001effb
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0xac]
mov ecx, dword [ecx]
cmp ecx, dword [eax]
jne 0x1001f021
mov dword [ebp - 0x8c], 1
jmp 0x1001f028
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax]
cmp dword [ebp - 0x8c], eax
jg 0x1001f050
push 2
mov ecx, dword [ebp - 0x14]
call fcn.100079ee
cmp dword [eax], 0
jne 0x1001f050
mov dword [ebp - 0x64], 1
jmp 0x1001f054
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
add eax, dword [ebp - 0x64]
je 0x1001f06e
push 4
pop eax
test eax, eax
je 0x1001f06e
mov dword [ebp - 0x70], 1
jmp 0x1001f072
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x70]
mov dword [eax], ecx
push 1
mov ecx, dword [ebp - 0x14]
call fcn.100079ee
cmp dword [eax], 0xffffffff
je 0x1001f092
mov dword [ebp - 0x78], 1
jmp 0x1001f096
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax]
cmp dword [ebp - 0x78], eax
jl 0x1001f0ac
mov dword [ebp - 0x80], 1
jmp 0x1001f0b0
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x80]
mov dword [eax], ecx
jmp 0x1001f2ec
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp + 0x54]
mov dword [ebp - 0x118], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0xf0]
movzx eax, byte [eax]
test eax, eax
je 0x1001f139
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x108]
movzx eax, byte [eax]
test eax, eax
je 0x1001f134
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
jmp 0x1001f2ec
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx]
cmp ecx, dword [eax]
jg 0x1001f1c3
mov dword [ebp - 0x160], 1
jmp 0x1001f1ca
and dword [ebp - 0x160], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp - 0x90]
mov eax, dword [eax]
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
cmp ecx, dword [eax]
jl 0x1001f1fb
mov dword [ebp - 0x88], 1
jmp 0x1001f202
and dword [ebp - 0x88], 0
cmp dword [ebp - 0x88], 0
jne 0x1001f214
mov dword [ebp - 0x5c], 1
jmp 0x1001f218
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x5c]
mov dword [eax], ecx
cmp dword [ebp - 0x5c], 5
jb 0x1001f235
mov dword [ebp - 0x98], 1
jmp 0x1001f23c
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x98]
add eax, 0x622c
cmp eax, 0xffffffff
jae 0x1001f258
mov dword [ebp - 0xa0], 1
jmp 0x1001f25f
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
cmp dword [ebp - 0xa0], eax
jge 0x1001f278
mov dword [ebp - 0x168], 1
jmp 0x1001f27f
and dword [ebp - 0x168], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
neg eax
cmp eax, 1
jg 0x1001f297
mov dword [ebp - 0xa8], 1
jmp 0x1001f29e
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax]
cmp dword [ebp - 0xa8], eax
jg 0x1001f2ba
mov dword [ebp - 0xb8], 1
jmp 0x1001f2c1
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0xb8]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x20]
mov dword [eax], ecx
mov eax, dword [ebp - 0x170]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov edx, dword [edx]
sub edx, dword [ecx]
imul edx, dword [eax]
mov eax, dword [ebp - 0x18]
mov dword [eax], edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret