Function at 0x14001c720
Capabilities:
Identify system language via api

Disassembly:
mov byte [rsp + 8], cl
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_GetLargePageMinimum]
mov ecx, dword [0x140042b30]
xor ebx, ebx
movzx ebp, byte [0x140042b88]
mov eax, ebx
test ecx, ecx
setne al
lea edi, [rbx + 1]
mov dword [rsp + 0x20], eax
mov dword [0x140042b34], eax
test bl, bl
jne 0x14001c769
mov r10d, ebx
test bpl, bpl
je 0x14001c76c
mov r10d, edi
movzx edx, byte [0x140042a86]
lea r13d, [rcx + 2]
movzx r11d, byte [0x140042b83]
mov r12d, ebx
mov ecx, dword [0x140042b84]
mov r9d, dword [0x140042b48]
movsx esi, byte [0x140042b66]
movsx r15d, byte [0x140042a62]
mov r14d, dword [0x140042b2c]
movzx r8d, r13b
mov eax, r8d
mov dword [rsp + 0x24], r8d
and eax, edx
mov byte [rsp + 0x98], r13b
or ecx, eax
mov byte [0x140042a63], bl
mov dword [rsp + 0x34], ecx
mov eax, 0xffffff87
sub eax, dword [0x140042b68]
add dword [0x140042b78], eax
movzx eax, r11b
cmp r8d, 0x1db
mov r8d, ebx
sete cl
add r14d, 0x84
and cl, 0xaa
sub al, cl
imul ecx, r15d, 0x7b
and r11b, al
lea eax, [rsi + 0x9a]
mov dword [rsp + 0xa8], eax
imul eax, edx, 0x7b
mov byte [0x140042b83], r11b
add dword [0x140042b38], ecx
movzx ecx, r13b
add r9d, eax
mov eax, 0x11
sar al, cl
movsx ecx, al
mov eax, 0xcccccccd
cmp ecx, 0xe3
mov dword [0x140042b48], r9d
mov ecx, 0x157
sete r8b
imul r13d, dword [0x140042b7c], 0x309
and r8d, dword [0x140042b60]
mul r13d
shr edx, 2
lea eax, [rdx + rdx*4]
sub r13d, eax
mov dword [rsp + 0xa0], r13d
nop dword [rax + rax]
test r13d, r13d
jne 0x14001c888
test r8d, 0x105
je 0x14001c888
mov eax, edi
mov dword [0x140042a88], eax
jmp 0x14001c890
mov eax, ebx
mov dword [0x140042a88], ebx
sub rcx, rdi
jne 0x14001c870
and al, 0xdb
lea ecx, [r14 + 0x1bf]
or byte [0x140042b65], al
or ecx, 0x309
shl r9d, cl
movzx r8d, r15b
xor r8b, sil
mov ecx, r14d
xor r8b, 0xe4
mov eax, 0xaaaaaaab
mul dword [rsp + 0xa8]
mov eax, dword [0x140042b48]
shl eax, cl
mov esi, edx
movzx edx, byte [0x140042b56]
add r9d, eax
movsx ecx, bpl
shr esi, 1
add esi, dword [0x140042b3c]
test r11b, r11b
mov dword [rsp + 0x30], r9d
mov dword [0x140042b28], r9d
mov r11d, 0xfd
setne al
mov dword [rsp + 0x38], ecx
and dl, al
mov byte [0x140042b66], r8b
movsx eax, byte [0x140042b67]
add eax, eax
mov dword [rsp + 0x2c], esi
mov dword [rsp + 0x28], eax
cmp r14d, 0x192
mov esi, dword [rsp + 0x28]
sete r9b
movsx eax, r8b
mov r8d, dword [rsp + 0xa8]
and r9b, byte [0x140042b81]
mov dword [rsp + 0x3c], eax
lea ebp, [r8 + 0x25]
add ebp, eax
mov eax, 0x1db
and ebp, 0xe3
or ebp, ecx
mov ecx, r14d
sar eax, cl
and eax, r13d
movzx r13d, byte [0x140042b54]
mov ecx, eax
jmp 0x14001c978
mov r8d, dword [rsp + 0xa8]
dec r11d
xor r12d, esi
or dl, r9b
sub r10d, ebp
test r13b, r13b
jne 0x14001c996
lea eax, [r14 + r8]
test eax, 0xffffffe0
mov eax, ebx
je 0x14001c998
mov eax, edi
movsx r8d, dl
and r15b, al
xor r8d, ecx
or r8d, edi
test r11d, r11d
jne 0x14001c970
mov esi, dword [rsp + 0x2c]
mov ecx, ebx
cmp dword [0x140042b78], esi
mov eax, ebx
mov r9d, dword [rsp + 0x30]
setne cl
mov byte [0x140042b56], dl
cmp r8d, 0x258
mov dword [0x140042a64], r10d
mov byte [0x140042a62], r15b
setl al
mov dword [0x140042b68], r12d
xor ecx, eax
xor ecx, edi
cmp ecx, 0xe3
je 0x14001ca0d
mov eax, dword [rsp + 0x24]
and eax, 0x20
or eax, dword [0x140042b7c]
or eax, 0x1db
and r9d, eax
mov dword [0x140042b28], r9d
mov ecx, dword [rsp + 0x34]
movsx r11d, byte [0x140042b64]
add ecx, 0x1db
movzx eax, r13b
add ecx, eax
mov eax, 0xaaaaaaab
mov dword [0x140042b84], ecx
cmp r11d, 0x1bf
mov ecx, ebx
sete cl
sub dword [0x140042b3c], ecx
mov ecx, dword [rsp + 0x20]
mul ecx
mov ebp, edx
shr ebp, 1
add ebp, dword [rsp + 0x38]
cmp ebx, 0x309
je 0x14001ca68
test r12d, r12d
je 0x14001ca68
mov r12d, edi
mov dword [0x140042b44], edi
jmp 0x14001ca71
mov r12d, ebx
mov dword [0x140042b44], ebx
cmp dword [0x140042b4c], ebx
jne 0x14001ca83
mov dword [0x140042b5c], ebx
test ebp, ebp
je 0x14001ca89
mov dword [0x140042b5c], edi
movzx edx, byte [0x140042a86]
mov eax, edx
and eax, r14d
or r8d, eax
mov dword [0x140042a8c], r8d
test ecx, ecx
jne 0x14001caaf
mov eax, ebx
mov ecx, esi
shr eax, cl
test eax, eax
mov eax, ebx
je 0x14001cab1
mov eax, edi
movzx ecx, al
neg r9d
sar r15b, cl
mov byte [0x140042b82], r15b
and r9d, 3
je 0x14001cb7a
sub r9d, edi
je 0x14001cb36
sub r9d, edi
je 0x14001cb0f
cmp r9d, edi
jne 0x14001cbb0
mov eax, 0x55555556
imul ebp
mov esi, edx
shr esi, 0x1f
add esi, edx
add esi, dword [0x140042b6c]
cmp byte [0x140042b80], bl
je 0x14001cb02
mov eax, edi
cmp dword [rsp + 0x20], ebx
jne 0x14001cb04
mov eax, ebx
sub dword [0x140042b58], eax
jmp 0x14001cbb0
mov r15d, dword [rsp + 0xa0]
movzx eax, byte [0x140042b81]
lea ecx, [r15 + 0x105]
shl al, cl
or r11b, al
mov byte [0x140042b64], r11b
jmp 0x14001cbb8
test r13b, r13b
je 0x14001cb4a
test byte [0x140042b80], 0x80
mov dword [0x140042b28], edi
jne 0x14001cb50
mov dword [0x140042b28], ebx
mov eax, dword [rsp + 0x3c]
movzx ecx, sil
sar eax, cl
xor eax, r14d
je 0x14001cb6e
mov eax, dword [0x140042b30]
xor eax, 0x258
mov eax, edi
jne 0x14001cb70
mov eax, ebx
xor dl, al
mov byte [0x140042a86], dl
jmp 0x14001cbb0
cmp byte [0x140042b88], bl
je 0x14001cb8a
cmp esi, 0x1db
je 0x14001cb99
mov eax, dword [0x140042b48]
add eax, 0xe3
mov eax, ebx
je 0x14001cb9b
mov eax, edi
xor r10d, eax
add r13b, 0xff
mov dword [0x140042a64], r10d
mov byte [0x140042b54], r13b
mov r15d, dword [rsp + 0xa0]
inc r12b
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movsx eax, byte [0x140042b66]
mov ecx, ebx
mov r13d, dword [rsp + 0x20]
add eax, r14d
add dword [0x140042b58], eax
cmp dword [0x140042b40], r13d
movzx eax, byte [0x140042a63]
setne cl
or dword [0x140042a64], ecx
movzx ecx, al
sub cl, r14b
and al, 5
sub cl, r12b
xor cl, al
and byte [0x140042b64], cl
cmp dword [0x140042b7c], 0x105
je 0x14001cc1d
mov byte [0x140042b83], bl
cmp byte [rsp + 0x98], bl
je 0x14001cc24
mov byte [0x140042b83], dil
call qword [sym.imp.USER32.dll_GetFocus]
cmp ebp, dword [rsp + 0x24]
jle 0x14001cc50
movzx r10d, byte [0x140042b65]
mov ecx, esi
shl r10b, cl
xor r10b, byte [0x140042b54]
xor r10b, sil
mov byte [0x140042b54], r10b
jmp 0x14001cc58
movzx r10d, byte [0x140042b54]
mov edx, dword [0x140042b60]
mov ecx, r15d
mov r9d, dword [0x140042b78]
mov eax, edx
sar eax, cl
mov ecx, r14d
sar eax, cl
sar eax, 0x1f
and eax, dword [0x140042b6c]
sub edx, eax
mov eax, r9d
or eax, r14d
mov dword [rsp + 0x38], edx
or dword [0x140042b40], eax
cmp byte [0x140042a86], bl
je 0x14001cc9e
movsx eax, r12b
or eax, esi
mov eax, edi
jne 0x14001cca0
mov eax, ebx
add byte [0x140042a87], al
movzx ecx, r15b
movsx eax, byte [0x140042b56]
sar eax, cl
mov ecx, r13d
shl eax, cl
xor dword [0x140042b38], eax
cmp byte [0x140042b88], bl
jne 0x14001ccd5
test r14d, r14d
jne 0x14001ccd5
movzx r15d, byte [0x140042b66]
jmp 0x14001cce7
movzx r15d, byte [0x140042b66]
xor r15b, dil
mov byte [0x140042b66], r15b
cmp dword [0x140042b5c], edi
mov eax, ebx
mov edx, dword [0x140042a64]
mov r8d, dword [0x140042b7c]
sete al
movzx ecx, byte [0x140042b55]
sub edx, eax
mov r13d, dword [0x140042b48]
mov eax, r8d
and eax, 0x1bf
mov dword [0x140042a64], edx
xor dword [0x140042b44], eax
test cl, cl
je 0x14001cdcc
cmp dword [0x140042b28], 0x1bf
mov eax, ebx
setb al
cmp eax, 0x309
jge 0x14001cdcc
mov eax, dword [rsp + 0x24]
movzx r11d, r12b
sub r11b, r8b
sub r11b, 3
and r11b, r10b
and r11b, 5
add eax, 0xffffff1d
jne 0x14001cd69
mov eax, ebx
test r14d, r14d
je 0x14001cd6b
mov eax, edi
add eax, r13d
movsx r8d, r12b
mov ecx, esi
mov dword [rsp + 0x90], eax
mov dword [0x140042b68], eax
mov esi, r8d
imul esi, dword [0x140042b4c]
mov edx, 0x105
shr edx, cl
mov eax, 0xaaaaaaab
xor edx, r8d
mov r8d, dword [rsp + 0x90]
movzx ecx, dl
movzx edx, byte [0x140042b7c]
shl dl, cl
or byte [0x140042a62], dl
movzx ecx, byte [0x140042b55]
mul esi
shr edx, 1
lea eax, [rdx + rdx*2]
mov edx, dword [0x140042a64]
sub esi, eax
jmp 0x14001cddb
mov r8d, dword [0x140042b68]
movzx r11d, byte [0x140042b83]
test esi, esi
je 0x14001cdef
mov dword [rsp + 0x90], edi
test dword [rsp + 0xa8], ebp
jne 0x14001cdf6
mov dword [rsp + 0x90], ebx
movzx eax, cl
mov ecx, dword [rsp + 0x20]
sub al, byte [rsp + 0x90]
mov byte [rsp + 0x90], al
movzx eax, r8b
shl al, cl
movzx ecx, byte [0x140042b88]
and cl, al
cmp byte [0x140042a62], bl
mov byte [0x140042b88], cl
je 0x14001ce3f
test ebp, ebp
je 0x14001ce3f
test esi, esi
je 0x14001ce3f
test edx, edx
je 0x14001ce3f
mov r14d, dword [0x140042b5c]
add r14d, 2
mov eax, dword [rsp + 0xa0]
add eax, 0xfffffda8
cmp eax, 0x105
sete dl
and dl, cl
mov byte [0x140042b56], dl
je 0x14001ce61
test esi, esi
jne 0x14001ce69
mov eax, ebx
cmp dword [rsp + 0x20], ebx
je 0x14001ce6b
mov eax, edi
add r13d, eax
mov dword [0x140042a8c], ebx
cmp dword [rsp + 0xa8], 0x1bf
mov eax, ebx
sete al
cmp eax, r14d
movzx eax, byte [0x140042b65]
sete cl
shr al, cl
movzx ecx, bpl
sub byte [rsp + 0x90], al
movzx eax, byte [0x140042b55]
sar al, cl
movsx ecx, al
mov eax, 0x2e
nop
or r9d, ecx
sub rax, rdi
jne 0x14001ceb0
cmp byte [rsp + 0x90], bl
mov eax, dword [0x140042b2c]
setne byte [0x140042b64]
mov dword [0x140042b78], r9d
mov dword [rsp + 0x3c], eax
cmp eax, ebp
je 0x14001cee4
test r15b, r15b
je 0x14001cfc8
test ebx, ebx
jne 0x14001cef4
test r14d, r14d
jne 0x14001cef4
mov ecx, ebx
test r12b, r12b
je 0x14001cef6
mov ecx, edi
and byte [0x140042a87], dil
add r15b, cl
mov ecx, r14d
mov byte [0x140042b66], r15b
mov r15d, dword [rsp + 0xa0]
sub r8d, r15d
xor r8d, eax
movzx eax, byte [0x140042b82]
or r9d, r8d
mov r8d, dword [rsp + 0xa8]
xor al, r8b
mov dword [0x140042b78], r9d
or dl, al
shr r8d, cl
mov eax, ebx
mov byte [0x140042b56], dl
mov edx, dword [0x140042b84]
cmp edx, r8d
mov r8d, dword [rsp + 0x24]
mov ecx, r8d
sete al
xor ecx, 0x2e0
xor dword [0x140042b2c], eax
movzx eax, r10b
sub eax, ecx
or edx, eax
mov dword [0x140042b84], edx
test r15d, r15d
je 0x14001cf7d
cmp byte [rsp + 0x98], bl
jne 0x14001cf84
mov eax, ebx
test r14d, r14d
je 0x14001cf86
mov eax, edi
movzx ecx, al
movzx eax, byte [0x140042b65]
shr eax, cl
xor dword [0x140042b4c], eax
cmp esi, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x3c]
sete al
sar ebp, cl
or al, r15b
add al, byte [0x140042b80]
or byte [0x140042a62], al
cmp ebp, 0x1db
sete al
xor al, r13b
mov byte [0x140042b88], al
jmp 0x14001cfcd
mov r8d, dword [rsp + 0x24]
mov eax, dword [0x140042b7c]
add eax, 0xfffffefb
xor r13d, eax
mov eax, dword [0x140042b30]
xor eax, 0x1db
mov dword [0x140042b48], r13d
jne 0x14001cff6
test r14d, r14d
jne 0x14001cff6
mov edi, ebx
mov eax, dword [rsp + 0x38]
mov edx, ebx
or eax, edi
movzx ecx, r10b
mov dword [0x140042b60], eax
movsx eax, r12b
cmp eax, r14d
movsx eax, byte [0x140042b67]
sete dl
xor edx, r14d
cmp eax, edx
mov eax, ebx
sete byte [0x140042a63]
cmp dword [0x140042b28], r8d
sete al
shl ebx, cl
cmp eax, ebx
sete al
xor r11b, al
mov byte [0x140042b83], r11b
call fcn.14001bf90
xor eax, eax
add rsp, 0x48
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret