Function at 0x10021fef
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005e3d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x118
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x1002231f
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x74], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0x94]
movzx eax, byte [eax]
test eax, eax
je 0x100220f2
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x110], eax
push dword [ebp - 0xcc]
mov ecx, dword [ebp - 0x8c]
call fcn.100333b7
mov ecx, dword [ebp - 0x110]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x1002231a
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x28]
cmp dword [eax], 0
je 0x100222d1
or eax, 0xffffffff
je 0x1002229c
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
jne 0x100221b7
mov dword [ebp - 0x40], 1
jmp 0x100221bb
and dword [ebp - 0x40], 0
cmp dword [ebp - 0x40], 0
jg 0x100221ca
mov dword [ebp - 0x38], 1
jmp 0x100221ce
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x90]
mov eax, dword [eax]
cmp dword [ebp - 0x38], eax
jl 0x100221ea
mov eax, 0xfb108f98
test eax, eax
jne 0x100221ea
and dword [ebp - 0x50], 0
jmp 0x100221f1
mov dword [ebp - 0x50], 1
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
add eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x28]
sub eax, dword [ecx]
mov ecx, dword [ebp - 0x28]
cmp eax, dword [ecx]
jle 0x1002220e
mov dword [ebp - 0x30], 1
jmp 0x10022212
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x98]
mov eax, dword [eax]
cmp dword [ebp - 0x30], eax
jle 0x10022230
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
je 0x10022230
mov dword [ebp - 0x60], 1
jmp 0x10022234
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax]
add eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x14]
cmp eax, dword [ecx]
jl 0x1002224f
mov dword [ebp - 0x48], 1
jmp 0x10022253
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
cmp dword [ebp - 0x48], eax
je 0x10022266
mov dword [ebp - 0x2c], 1
jmp 0x1002226a
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x2c], eax
je 0x10022288
mov dword [ebp - 0x58], 1
jmp 0x1002228c
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x58]
neg eax
je 0x1002229c
mov dword [ebp - 0x34], 1
jmp 0x100222a0
and dword [ebp - 0x34], 0
cmp dword [ebp - 0x34], 2
jne 0x100222af
mov dword [ebp - 0x3c], 1
jmp 0x100222b3
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x3c], eax
jle 0x100222c6
mov dword [ebp - 0x44], 1
jmp 0x100222ca
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x44]
neg eax
jne 0x100222e2
mov eax, dword [ebp - 0xb0]
cmp dword [eax], 0
jne 0x100222e2
and dword [ebp - 0x4c], 0
jmp 0x100222e9
mov dword [ebp - 0x4c], 1
cmp dword [ebp - 0x4c], 7
jne 0x100222f8
mov dword [ebp - 0x54], 1
jmp 0x100222fc
and dword [ebp - 0x54], 0
cmp dword [ebp - 0x54], 0
je 0x1002230b
mov dword [ebp - 0x5c], 1
jmp 0x1002230f
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0x5c]
mov dword [eax], ecx
jmp 0x100224d2
lea eax, [ebp + 0x34]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0x64], 0x36bd
mov dword [ebp - 0x100], str.zbchg_ajhzonfh_nov_got_lnexepway_usbhyhyjq
cmp dword [ebp - 0x64], 0x379f
jle 0x10022428
and dword [ebp - 0x20], 0
jmp 0x10022365
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x5443
jge 0x10022422
and dword [ebp - 0x18], 0
jmp 0x1002237f
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x5ff7
jge 0x1002241d
and dword [ebp - 0x1c], 0
jmp 0x10022399
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x48f0
jge 0x10022418
and dword [ebp - 0x24], 0
jmp 0x100223af
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x2cb9
jge 0x10022413
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
shl eax, cl
mov ecx, dword [ebp - 0x24]
sar eax, cl
cdq
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x108], edx
push dword [ebp - 0x108]
push dword [ebp - 0x10c]
lea ecx, [ebp - 0x128]
call fcn.10001a6a
pop ecx
pop ecx
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xc0]
call fcn.1000a45e
push eax
call fcn.10046acc
pop ecx
lea ecx, [ebp - 0x128]
call fcn.1000a440
jmp 0x100223a8
jmp 0x10022392
jmp 0x10022378
jmp 0x1002235e
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov eax, dword [ebp - 0xc8]
movzx eax, byte [eax]
test eax, eax
je 0x10022458
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xe0]
and dword [eax], 0
jmp 0x10022493
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf8]
movzx eax, byte [eax]
test eax, eax
je 0x10022493
push 0x6c00
push 0x722b
push 1
push 1
call fcn.1001ffd4
add esp, 0x10
and dword [ebp - 4], 0
cmp dword [ebp - 0x64], 0x3551
jge 0x100224ac
push dword [ebp - 0x100]
call fcn.10046acc
pop ecx
jmp 0x100224c8
or dword [ebp - 4], 0xffffffff
jmp 0x100224d2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret