Function at 0x14002b380
Capabilities:
Identify system language via api

Disassembly:
mov byte [rsp + 0x10], dl
mov dword [rsp + 8], ecx
sub rsp, 0xf8
mov dword [rsp + 0x4c], 0x121
mov byte [rsp + 0x21], 0x5b
mov byte [rsp + 0x22], 0xbf
mov byte [rsp + 0x20], 0x47
mov dword [rsp + 0x24], 0x1ca
mov dword [rsp + 0x34], 0x1f5
mov dword [rsp + 0x28], 0xc6
mov dword [rsp + 0x2c], 0x16a
mov dword [rsp + 0x48], 0x12
mov dword [rsp + 0x38], 0xea
mov dword [rsp + 0x30], 0x228
mov dword [rsp + 0x3c], 0x2e4
mov eax, dword [rsp + 0x4c]
mov ecx, dword [0x140074c4c]
xor ecx, eax
mov eax, ecx
movsx ecx, byte [rsp + 0x22]
mov edx, dword [rsp + 0x30]
sub edx, ecx
mov ecx, edx
and ecx, dword [0x140074a68]
or eax, ecx
mov byte [0x140074c5f], al
mov dword [rsp + 0x50], 0x1a0
mov dword [rsp + 0x50], 0xcc
jmp 0x14002b42b
mov eax, dword [rsp + 0x50]
dec eax
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0x13
jle 0x14002b452
movsx eax, byte [rsp + 0x22]
cdq
and edx, 3
add eax, edx
and eax, 3
sub eax, edx
mov ecx, dword [0x140074c48]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
jmp 0x14002b421
movzx eax, byte [rsp + 0x20]
mov ecx, dword [0x140074c54]
imul ecx, eax
mov eax, ecx
xor edx, edx
mov ecx, 4
div ecx
mov eax, edx
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x58], 0x62
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0xd0], eax
mov eax, dword [rsp + 0x58]
dec eax
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0xd0], 0
je 0x14002b4b5
xor edx, edx
mov eax, dword [rsp + 0x28]
mov ecx, 4
div ecx
mov ecx, dword [0x140074c28]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
jmp 0x14002b479
mov eax, dword [rsp + 0x2c]
movzx ecx, al
mov eax, dword [rsp + 0x28]
shr eax, cl
mov ecx, dword [0x140074a64]
xor ecx, eax
mov eax, ecx
movzx ecx, byte [rsp + 0x20]
xor eax, ecx
movsx ecx, byte [0x140074c6f]
or eax, ecx
mov ecx, dword [0x140074c70]
or ecx, eax
mov eax, ecx
mov dword [0x140074c70], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x24], eax
je 0x14002b516
movsx eax, byte [0x140074c90]
movzx ecx, byte [rsp + 0x20]
mov edx, dword [rsp + 0x24]
xor edx, ecx
mov ecx, edx
or ecx, dword [rsp + 0x3c]
add eax, ecx
mov byte [0x140074c5e], al
movzx eax, byte [0x140074b8f]
test eax, eax
je 0x14002b531
movsx eax, byte [rsp + 0x21]
movsx ecx, byte [rsp + 0x22]
xor eax, ecx
test eax, eax
jne 0x14002b54d
mov eax, dword [0x140074c80]
mov ecx, dword [rsp + 0x3c]
sub ecx, eax
mov eax, ecx
test eax, eax
jne 0x14002b54d
mov dword [rsp + 0x60], 0
jmp 0x14002b555
mov dword [rsp + 0x60], 1
movsx eax, byte [0x140074c5d]
sub eax, dword [rsp + 0x60]
mov byte [0x140074c5d], al
mov eax, dword [rsp + 0x4c]
movzx ecx, al
mov eax, dword [0x140074c74]
shl eax, cl
mov ecx, dword [0x140074c28]
xor ecx, eax
mov eax, ecx
mov dword [0x140074c28], eax
movzx eax, byte [0x140074c5c]
imul eax, dword [rsp + 0x30]
cdq
mov ecx, 5
idiv ecx
mov eax, edx
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x20]
mov ecx, dword [0x140074c74]
imul ecx, eax
mov eax, ecx
xor edx, edx
mov ecx, 3
div ecx
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x28]
movzx ecx, al
mov eax, dword [0x140074c34]
shl eax, cl
movsx ecx, byte [rsp + 0x22]
cmp eax, ecx
jne 0x14002b5de
mov dword [rsp + 0x64], 1
jmp 0x14002b5e6
mov dword [rsp + 0x64], 0
movzx eax, byte [0x140074c5c]
mov ecx, dword [rsp + 0x24]
add ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x64]
or ecx, eax
mov eax, ecx
mov ecx, dword [0x140074c3c]
xor ecx, eax
mov eax, ecx
mov dword [0x140074c3c], eax
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x3c], eax
jne 0x14002b62a
movsx eax, byte [rsp + 0x21]
test eax, eax
je 0x14002b62a
mov dword [rsp + 0x68], 1
jmp 0x14002b632
mov dword [rsp + 0x68], 0
mov eax, dword [rsp + 0x68]
mov ecx, dword [0x140074c84]
sub ecx, eax
mov eax, ecx
movsx ecx, byte [0x140074c5d]
or ecx, eax
mov eax, ecx
mov byte [0x140074c5d], al
mov eax, dword [rsp + 0x4c]
cdq
mov ecx, 3
idiv ecx
mov eax, edx
mov ecx, dword [0x140074c38]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x48], 0
jne 0x14002b681
movzx eax, byte [0x140074c5c]
cmp dword [rsp + 0x38], eax
jle 0x14002b6c0
movzx eax, byte [0x140074c89]
test eax, eax
jne 0x14002b6a7
movzx eax, byte [rsp + 0x20]
mov ecx, dword [rsp + 0x48]
xor ecx, eax
mov eax, ecx
test eax, eax
jne 0x14002b6a7
mov dword [rsp + 0x6c], 0
jmp 0x14002b6af
mov dword [rsp + 0x6c], 1
movsx eax, byte [0x140074c6c]
xor eax, dword [rsp + 0x6c]
mov byte [0x140074c6c], al
movsx eax, byte [rsp + 0x21]
test eax, eax
je 0x14002b6e2
movsx eax, byte [rsp + 0x21]
mov ecx, dword [rsp + 0x2c]
sar eax, cl
test eax, eax
je 0x14002b6e2
mov dword [rsp + 0x70], 1
jmp 0x14002b6ea
mov dword [rsp + 0x70], 0
mov eax, dword [rsp + 0x70]
movzx ecx, al
mov eax, dword [0x140074c74]
shl eax, cl
mov byte [0x140074c6e], al
movzx eax, byte [0x140074c8a]
movsx ecx, byte [rsp + 0x22]
imul eax, ecx
cdq
mov ecx, 3
idiv ecx
mov eax, edx
mov byte [rsp + 0x21], al
mov eax, dword [rsp + 0x30]
mov ecx, dword [0x140074c64]
sub ecx, eax
mov eax, ecx
mov byte [0x140074c90], al
mov eax, dword [rsp + 0x30]
movzx ecx, al
mov eax, dword [0x140074a68]
shl eax, cl
test eax, eax
jne 0x14002b754
cmp dword [rsp + 0x24], 0
jne 0x14002b754
mov dword [rsp + 0x74], 0
jmp 0x14002b75c
mov dword [rsp + 0x74], 1
movsx eax, byte [0x140074a63]
or eax, dword [rsp + 0x74]
mov byte [0x140074a63], al
movzx eax, byte [0x140074c89]
mov ecx, dword [rsp + 0x34]
sar eax, cl
movzx ecx, byte [0x140074c5c]
or ecx, eax
mov eax, ecx
mov byte [0x140074c5c], al
xor edx, edx
mov eax, dword [rsp + 0x28]
mov ecx, 5
div ecx
mov ecx, dword [0x140074c68]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
movzx eax, byte [0x140074c6d]
movzx ecx, byte [rsp + 0x20]
sub eax, ecx
mov ecx, dword [rsp + 0x34]
mov edx, dword [rsp + 0x34]
sub edx, ecx
mov ecx, edx
mov dword [rsp + 0xd4], ecx
movzx edx, byte [0x140074c89]
movzx ecx, dl
mov edx, dword [rsp + 0xd4]
shl edx, cl
mov ecx, edx
and eax, ecx
movsx ecx, byte [0x140074a63]
or ecx, eax
mov eax, ecx
mov byte [0x140074a63], al
xor edx, edx
mov eax, dword [rsp + 0x24]
mov ecx, 5
div ecx
mov ecx, dword [0x140074c38]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
movsx eax, byte [rsp + 0x21]
cmp dword [rsp + 0x2c], eax
jbe 0x14002bb67
movsx eax, byte [0x140074a63]
test eax, eax
je 0x14002bb67
movsx eax, byte [rsp + 0x21]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov ecx, dword [0x140074a6c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x2c]
mov ecx, dword [0x140074c64]
sub ecx, eax
mov eax, ecx
test eax, eax
jne 0x14002b874
movzx eax, byte [rsp + 0x20]
mov ecx, dword [rsp + 0x48]
or ecx, eax
mov eax, ecx
or eax, dword [0x140074c38]
test eax, eax
jne 0x14002b874
mov byte [rsp + 0x40], 0
jmp 0x14002b879
mov byte [rsp + 0x40], 1
movzx eax, byte [rsp + 0x40]
mov byte [0x140074c6d], al
movsx eax, byte [0x140074c6c]
and eax, dword [rsp + 0x28]
or eax, dword [rsp + 0x2c]
mov byte [0x140074c6f], al
movsx eax, byte [rsp + 0x22]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
test eax, eax
jne 0x14002b8bb
cmp dword [rsp + 0x38], 0
jne 0x14002b8bb
mov dword [rsp + 0x78], 0
jmp 0x14002b8c3
mov dword [rsp + 0x78], 1
mov eax, dword [rsp + 0x78]
cmp dword [0x140074c8c], eax
jne 0x14002b8d9
mov dword [rsp + 0x7c], 1
jmp 0x14002b8e1
mov dword [rsp + 0x7c], 0
mov eax, dword [rsp + 0x7c]
mov dword [0x140074c28], eax
movzx eax, byte [0x140074b8e]
mov ecx, dword [rsp + 0x38]
mov edx, dword [rsp + 0x28]
add edx, ecx
mov ecx, edx
and eax, ecx
movzx ecx, byte [0x140074c88]
or ecx, eax
mov eax, ecx
mov byte [0x140074c88], al
movsx eax, byte [rsp + 0x22]
mov ecx, dword [0x140074c28]
add ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x48]
shr eax, cl
movsx ecx, byte [rsp + 0x21]
cmp eax, ecx
je 0x14002b945
cmp dword [0x140074c54], 0
jne 0x14002b945
mov dword [rsp + 0x80], 0
jmp 0x14002b950
mov dword [rsp + 0x80], 1
movzx eax, byte [0x140074c5f]
add eax, dword [rsp + 0x80]
mov byte [0x140074c5f], al
movsx eax, byte [0x140074c6f]
movzx ecx, byte [rsp + 0x20]
and eax, ecx
movzx ecx, byte [rsp + 0x20]
xor eax, ecx
test eax, eax
je 0x14002b984
cmp dword [rsp + 0x28], 0
jne 0x14002b99c
movzx eax, byte [0x140074c5f]
test eax, eax
jne 0x14002b99c
mov dword [rsp + 0x84], 0
jmp 0x14002b9a7
mov dword [rsp + 0x84], 1
movzx eax, byte [0x140074c5c]
add eax, dword [rsp + 0x84]
mov byte [0x140074c5c], al
movzx eax, byte [rsp + 0x20]
movzx ecx, byte [rsp + 0x20]
sub ecx, dword [rsp + 0x4c]
cmp eax, ecx
jne 0x14002b9da
mov dword [rsp + 0x88], 1
jmp 0x14002b9e5
mov dword [rsp + 0x88], 0
movzx eax, byte [0x140074c8a]
and eax, dword [rsp + 0x88]
mov dword [0x140074c80], eax
movsx eax, byte [0x140074c6e]
xor eax, dword [rsp + 0x48]
test eax, eax
jne 0x14002ba28
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x38]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x140074b8e]
or eax, ecx
test eax, eax
jne 0x14002ba28
mov byte [rsp + 0x41], 0
jmp 0x14002ba2d
mov byte [rsp + 0x41], 1
movzx eax, byte [rsp + 0x41]
mov byte [0x140074c6f], al
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x3c]
add ecx, eax
mov eax, ecx
mov ecx, dword [0x140074c28]
xor ecx, eax
mov eax, ecx
mov ecx, dword [0x140074c80]
or ecx, eax
mov eax, ecx
mov dword [0x140074c80], eax
movzx eax, byte [rsp + 0x20]
cmp dword [0x140074a6c], eax
je 0x14002bab0
movsx eax, byte [rsp + 0x21]
cmp eax, dword [0x140074c38]
jne 0x14002ba85
mov dword [rsp + 0x8c], 1
jmp 0x14002ba90
mov dword [rsp + 0x8c], 0
mov eax, dword [rsp + 0x8c]
mov ecx, dword [rsp + 0x30]
xor ecx, eax
mov eax, ecx
test eax, eax
jne 0x14002bab0
mov dword [rsp + 0x90], 0
jmp 0x14002babb
mov dword [rsp + 0x90], 1
movzx eax, byte [0x140074c89]
and eax, dword [rsp + 0x90]
mov byte [0x140074c89], al
movsx eax, byte [rsp + 0x22]
mov ecx, dword [0x140074c68]
sub ecx, eax
mov eax, ecx
test eax, eax
je 0x14002bb0a
movsx eax, byte [rsp + 0x21]
movzx ecx, al
mov eax, dword [rsp + 0x48]
shl eax, cl
movsx ecx, byte [0x140074c90]
xor eax, ecx
test eax, eax
je 0x14002bb0a
mov dword [rsp + 0x94], 1
jmp 0x14002bb15
mov dword [rsp + 0x94], 0
movsx eax, byte [0x140074c6e]
xor eax, dword [rsp + 0x94]
mov byte [0x140074c6e], al
movsx eax, byte [0x140074c5e]
test eax, eax
je 0x14002bb48
cmp dword [rsp + 0x30], 0
je 0x14002bb48
mov dword [rsp + 0x98], 1
jmp 0x14002bb53
mov dword [rsp + 0x98], 0
movzx eax, byte [0x140074c88]
and eax, dword [rsp + 0x98]
mov byte [0x140074c88], al
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x3c], eax
je 0x14002bb7e
mov dword [rsp + 0x9c], 1
jmp 0x14002bb89
mov dword [rsp + 0x9c], 0
mov eax, dword [0x140074a68]
cmp dword [rsp + 0x9c], eax
je 0x14002bd27
movzx eax, byte [0x140074b8e]
test eax, eax
je 0x14002bbbb
cmp dword [rsp + 0x38], 0
je 0x14002bbbb
mov dword [rsp + 0xa0], 1
jmp 0x14002bbc6
mov dword [rsp + 0xa0], 0
movzx eax, byte [0x140074b8f]
add eax, dword [rsp + 0xa0]
mov byte [0x140074b8f], al
mov eax, dword [rsp + 0x30]
movzx ecx, al
mov eax, dword [0x140074c28]
shl eax, cl
mov ecx, dword [rsp + 0x30]
shr eax, cl
mov ecx, dword [0x140074c74]
or ecx, eax
mov eax, ecx
mov dword [0x140074c74], eax
movzx eax, byte [0x140074c89]
movsx ecx, byte [rsp + 0x21]
and eax, ecx
mov ecx, dword [rsp + 0x2c]
mov edx, dword [rsp + 0x34]
add edx, ecx
mov ecx, edx
and ecx, dword [0x140074c28]
or eax, ecx
mov ecx, dword [0x140074c34]
xor ecx, eax
mov eax, ecx
mov dword [0x140074c34], eax
movzx eax, byte [0x140074c8b]
test eax, eax
je 0x14002bc59
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov eax, ecx
test eax, eax
je 0x14002bc59
mov dword [rsp + 0xa4], 1
jmp 0x14002bc64
mov dword [rsp + 0xa4], 0
movzx eax, byte [0x140074c6d]
add eax, dword [rsp + 0xa4]
mov byte [0x140074c6d], al
movzx eax, byte [rsp + 0x20]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov ecx, dword [0x140074c54]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
movzx eax, byte [rsp + 0x20]
movzx ecx, byte [rsp + 0x20]
sub eax, ecx
mov ecx, dword [0x140074c80]
or ecx, eax
mov eax, ecx
movzx ecx, byte [0x140074c6d]
sub ecx, eax
mov eax, ecx
mov byte [0x140074c6d], al
movsx eax, byte [0x140074a63]
mov ecx, dword [rsp + 0x4c]
mov edx, dword [rsp + 0x2c]
add edx, ecx
mov ecx, edx
sar eax, cl
movzx ecx, byte [0x140074c8b]
add ecx, eax
mov eax, ecx
mov byte [0x140074c8b], al
mov eax, dword [0x140074a68]
imul eax, dword [rsp + 0x38]
xor edx, edx
mov ecx, 4
div ecx
mov eax, edx
mov dword [rsp + 0x38], eax
movzx eax, byte [0x140074c5f]
mov dword [rsp + 0xd8], eax
xor edx, edx
mov eax, dword [rsp + 0x28]
mov ecx, 5
div ecx
mov eax, edx
mov ecx, dword [rsp + 0xd8]
add ecx, eax
mov eax, ecx
mov byte [rsp + 0x22], al
cmp dword [rsp + 0x3c], 0
jne 0x14002bd3a
mov eax, dword [0x140074a6c]
cmp dword [rsp + 0x48], eax
jle 0x14002bd63
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, ecx
mov ecx, dword [0x140074c30]
and ecx, eax
mov eax, ecx
xor eax, dword [rsp + 0x2c]
movzx ecx, byte [0x140074b8f]
xor eax, ecx
mov dword [0x140074c28], eax
mov eax, dword [rsp + 0x28]
mov ecx, dword [0x140074c64]
xor ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x28]
mov edx, dword [rsp + 0x2c]
shr edx, cl
mov ecx, edx
and ecx, dword [0x140074c38]
or eax, ecx
mov ecx, dword [0x140074c74]
add ecx, eax
mov eax, ecx
mov dword [0x140074c74], eax
cmp dword [rsp + 0x24], 0
je 0x14002bdd1
movsx eax, byte [rsp + 0x21]
test eax, eax
je 0x14002bdd1
movsx eax, byte [0x140074c6e]
mov dword [rsp + 0xdc], eax
xor edx, edx
mov eax, dword [rsp + 0x28]
mov ecx, 4
div ecx
mov eax, edx
mov ecx, dword [rsp + 0xdc]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x2c]
movzx ecx, al
mov eax, dword [0x140074c2c]
shl eax, cl
movzx ecx, byte [rsp + 0x20]
shl eax, cl
mov ecx, dword [0x140074c48]
or ecx, eax
mov eax, ecx
mov dword [0x140074c48], eax
cmp dword [0x140074a64], 0
je 0x14002be1e
movzx eax, byte [rsp + 0x20]
mov ecx, dword [rsp + 0x24]
mov edx, dword [rsp + 0x34]
sub edx, ecx
mov ecx, edx
and eax, ecx
test eax, eax
je 0x14002be1e
mov byte [rsp + 0x42], 1
jmp 0x14002be23
mov byte [rsp + 0x42], 0
movzx eax, byte [rsp + 0x42]
mov byte [0x140074c6c], al
movsx eax, byte [0x140074c90]
movsx ecx, byte [rsp + 0x21]
movsx edx, byte [rsp + 0x22]
add ecx, edx
xor ecx, dword [rsp + 0x34]
cmp eax, ecx
jne 0x14002be56
mov dword [rsp + 0xa8], 1
jmp 0x14002be61
mov dword [rsp + 0xa8], 0
mov eax, dword [rsp + 0xa8]
mov ecx, dword [0x140074c80]
or ecx, eax
mov eax, ecx
mov dword [0x140074c80], eax
movzx eax, byte [rsp + 0x20]
cmp dword [0x140074c4c], eax
jb 0x14002be96
movsx eax, byte [0x140074c6f]
cmp dword [rsp + 0x34], eax
jne 0x14002bf54
movzx eax, byte [rsp + 0x20]
mov ecx, dword [rsp + 0x34]
shl eax, cl
mov ecx, dword [0x140074c28]
xor ecx, eax
mov eax, ecx
movzx ecx, byte [0x140074c5f]
or ecx, eax
mov eax, ecx
mov byte [0x140074c5f], al
mov eax, dword [rsp + 0x30]
movzx ecx, al
mov eax, dword [rsp + 0x2c]
shr eax, cl
mov ecx, dword [rsp + 0x24]
and ecx, eax
mov eax, ecx
mov ecx, dword [0x140074c74]
xor ecx, eax
mov eax, ecx
mov ecx, dword [0x140074c28]
add ecx, eax
mov eax, ecx
mov dword [0x140074c28], eax
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
movzx ecx, byte [rsp + 0x20]
xor eax, ecx
mov ecx, dword [0x140074c38]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x140074c8a]
xor ecx, eax
mov eax, ecx
mov byte [0x140074c8a], al
movsx eax, byte [0x140074c5e]
movzx ecx, byte [rsp + 0x20]
imul eax, ecx
cdq
and edx, 3
add eax, edx
and eax, 3
sub eax, edx
mov dword [rsp + 0x28], eax
movsx eax, byte [rsp + 0x22]
cdq
mov ecx, 5
idiv ecx
mov eax, edx
mov ecx, dword [0x140074c28]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x14002bf71
cmp dword [0x140074c70], 0
jne 0x14002bf71
mov dword [rsp + 0xac], 0
jmp 0x14002bf7c
mov dword [rsp + 0xac], 1
mov eax, dword [rsp + 0xac]
cmp dword [rsp + 0x34], eax
jbe 0x14002bf96
mov dword [rsp + 0xb0], 1
jmp 0x14002bfa1
mov dword [rsp + 0xb0], 0
movzx eax, byte [0x140074c6d]
cmp eax, dword [rsp + 0xb0]
je 0x14002bfe3
mov eax, dword [rsp + 0x2c]
mov ecx, dword [0x140074c30]
sub ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x24]
mov edx, dword [rsp + 0x28]
shl edx, cl
mov ecx, edx
xor eax, ecx
or eax, dword [0x140074c2c]
mov ecx, dword [0x140074c54]
sub ecx, eax
mov eax, ecx
mov dword [0x140074c54], eax
movzx eax, byte [0x140074c89]
or eax, dword [rsp + 0x24]
test eax, eax
jne 0x14002c016
movzx eax, byte [rsp + 0x20]
mov ecx, dword [rsp + 0x34]
add ecx, eax
mov eax, ecx
add eax, dword [0x140074c30]
test eax, eax
jne 0x14002c016
mov dword [rsp + 0xb4], 0
jmp 0x14002c021
mov dword [rsp + 0xb4], 1
mov eax, dword [rsp + 0xb4]
mov ecx, dword [0x140074a64]
add ecx, eax
mov eax, ecx
mov dword [0x140074a64], eax
mov eax, dword [rsp + 0x38]
movzx ecx, al
mov eax, dword [0x140074c30]
shl eax, cl
xor eax, dword [rsp + 0x30]
movzx ecx, byte [0x140074c89]
xor ecx, eax
mov eax, ecx
mov byte [0x140074c89], al
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
cmp dword [rsp + 0x2c], 0
je 0x14002c0a5
movsx eax, byte [0x140074c6c]
cmp dword [rsp + 0x38], eax
jne 0x14002c0a5
movsx eax, byte [0x140074c5e]
add eax, dword [rsp + 0x28]
add eax, dword [rsp + 0x3c]
mov ecx, dword [0x140074c2c]
mov edx, dword [rsp + 0x24]
shr edx, cl
mov ecx, edx
and eax, ecx
mov ecx, dword [0x140074c60]
sub ecx, eax
mov eax, ecx
mov dword [0x140074c60], eax
mov eax, dword [rsp + 0x28]
mov ecx, dword [0x140074c68]
xor ecx, eax
mov eax, ecx
test eax, eax
je 0x14002c0cb
cmp dword [rsp + 0x28], 0
je 0x14002c0cb
mov dword [rsp + 0xb8], 1
jmp 0x14002c0d6
mov dword [rsp + 0xb8], 0
movzx eax, byte [0x140074c8a]
add eax, dword [rsp + 0xb8]
mov byte [0x140074c8a], al
mov eax, dword [rsp + 0x48]
cdq
mov ecx, 5
idiv ecx
mov ecx, dword [0x140074c84]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
movsx eax, byte [0x140074c5d]
movzx ecx, byte [rsp + 0x20]
sar eax, cl
movzx ecx, byte [0x140074c88]
or ecx, eax
mov eax, ecx
mov byte [0x140074c88], al
movsx eax, byte [rsp + 0x21]
add eax, dword [rsp + 0x28]
mov ecx, dword [0x140074c3c]
or ecx, eax
mov eax, ecx
mov ecx, dword [0x140074a68]
add ecx, eax
mov eax, ecx
mov dword [0x140074a68], eax
movsx eax, byte [rsp + 0x22]
movzx ecx, byte [0x140074c88]
imul ecx, ecx, 7
add eax, ecx
xor eax, eax
mov dword [rsp + 0xe0], eax
mov eax, dword [rsp + 0xe0]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
je 0x14002c190
cmp dword [rsp + 0x54], 1
je 0x14002c1b1
cmp dword [rsp + 0x54], 2
je 0x14002c1e3
cmp dword [rsp + 0x54], 3
je 0x14002c238
jmp 0x14002c262
movsx eax, byte [0x140074c6c]
add eax, dword [rsp + 0x4c]
movsx ecx, byte [0x140074c6c]
xor ecx, eax
mov eax, ecx
mov byte [0x140074c6c], al
jmp 0x14002c262
cmp dword [0x140074a68], 0
je 0x14002c1d1
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x3c]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x14002c1d1
mov byte [rsp + 0x43], 1
jmp 0x14002c1d6
mov byte [rsp + 0x43], 0
movzx eax, byte [rsp + 0x43]
mov byte [0x140074a62], al
jmp 0x14002c262
movsx eax, byte [0x140074c6e]
xor eax, dword [rsp + 0x24]
test eax, eax
jne 0x14002c217
cmp dword [rsp + 0x34], 0
jne 0x14002c217
movsx eax, byte [rsp + 0x21]
mov ecx, dword [0x140074c4c]
sar eax, cl
test eax, eax
jne 0x14002c217
mov dword [rsp + 0xbc], 0
jmp 0x14002c222
mov dword [rsp + 0xbc], 1
movzx eax, byte [0x140074c6d]
and eax, dword [rsp + 0xbc]
mov byte [0x140074c6d], al
jmp 0x14002c262
movsx eax, byte [0x140074c5e]
mov dword [rsp + 0xe4], eax
xor edx, edx
mov eax, dword [rsp + 0x2c]
mov ecx, 4
div ecx
mov ecx, dword [rsp + 0xe4]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
cmp dword [0x140074c84], 0
je 0x14002c28f
cmp dword [rsp + 0x30], 0
jne 0x14002c282
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x38]
xor ecx, eax
mov eax, ecx
test eax, eax
je 0x14002c28f
mov dword [rsp + 0xc0], 1
jmp 0x14002c29a
mov dword [rsp + 0xc0], 0
mov eax, dword [rsp + 0xc0]
mov dword [0x140074a68], eax
call qword [sym.imp.KERNEL32.dll_UnregisterApplicationRecoveryCallback]
call qword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
call qword [sym.imp.KERNEL32.dll_GetACP]
cmp dword [0x140074c38], 0
jne 0x14002c2f7
mov eax, dword [0x140074c34]
cmp dword [rsp + 0x2c], eax
je 0x14002c2db
mov dword [rsp + 0xc4], 1
jmp 0x14002c2e6
mov dword [rsp + 0xc4], 0
mov eax, dword [rsp + 0xc4]
cmp dword [rsp + 0x2c], eax
je 0x14002c3c7
cmp dword [0x140074c74], 0
je 0x14002c31e
mov eax, dword [rsp + 0x24]
movzx ecx, al
mov eax, dword [rsp + 0x30]
shl eax, cl
mov ecx, dword [rsp + 0x34]
shl eax, cl
test eax, eax
je 0x14002c31e
mov byte [rsp + 0x44], 1
jmp 0x14002c323
mov byte [rsp + 0x44], 0
movzx eax, byte [rsp + 0x44]
mov byte [0x140074c6c], al
mov eax, dword [rsp + 0x48]
mov ecx, dword [0x140074a6c]
add ecx, eax
mov eax, ecx
test eax, eax
jne 0x14002c369
movsx eax, byte [rsp + 0x21]
mov ecx, dword [rsp + 0x3c]
add ecx, eax
mov eax, ecx
test eax, eax
je 0x14002c35c
movzx eax, byte [0x140074c8a]
test eax, eax
jne 0x14002c369
mov dword [rsp + 0xc8], 0
jmp 0x14002c374
mov dword [rsp + 0xc8], 1
mov eax, dword [rsp + 0xc8]
mov ecx, dword [0x140074c34]
or ecx, eax
mov eax, ecx
mov dword [0x140074c34], eax
movsx eax, byte [0x140074c90]
cmp eax, dword [rsp + 0x24]
jne 0x14002c3a5
mov dword [rsp + 0xcc], 1
jmp 0x14002c3b0
mov dword [rsp + 0xcc], 0
mov eax, dword [rsp + 0xcc]
mov ecx, dword [0x140074c68]
and ecx, eax
mov eax, ecx
mov dword [0x140074c68], eax
mov dword [rsp + 0x5c], 0xffffffa9
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0xe8], eax
mov eax, dword [rsp + 0x5c]
inc eax
mov dword [rsp + 0x5c], eax
cmp dword [rsp + 0xe8], 0
je 0x14002c40e
mov eax, dword [rsp + 0x4c]
mov ecx, dword [0x140074c4c]
add ecx, eax
mov eax, ecx
mov ecx, dword [0x140074c60]
or ecx, eax
mov eax, ecx
mov dword [0x140074c60], eax
jmp 0x14002c3cf
movsx eax, byte [0x140074c6c]
mov dword [rsp + 0xec], eax
mov eax, dword [rsp + 0x4c]
cdq
and edx, 3
add eax, edx
and eax, 3
sub eax, edx
mov ecx, dword [rsp + 0xec]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
movsx eax, byte [rsp + 0x22]
mov ecx, dword [0x140074c34]
imul ecx, eax
mov eax, ecx
xor edx, edx
mov ecx, 3
div ecx
mov eax, edx
mov dword [rsp + 0x24], eax
call fcn.140029da0
xor eax, eax
add rsp, 0xf8
ret