Function at 0x140022e80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov byte [rsp + 8], cl
sub rsp, 0x188
mov byte [rsp + 0x21], 0x39
mov byte [rsp + 0x23], 0xe9
mov dword [rsp + 0x3c], 0x474
mov byte [rsp + 0x22], 0x15
mov dword [rsp + 0x38], 0x353
mov dword [rsp + 0x30], 0x108
mov byte [rsp + 0x20], 0x9b
mov dword [rsp + 0x2c], 0x49b
mov dword [rsp + 0x28], 0x1c7
mov dword [rsp + 0x34], 0x367
mov dword [rsp + 0x24], 0x343
mov eax, dword [rsp + 0x38]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov ecx, dword [0x140074c30]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x38], eax
movsx eax, byte [0x140074c6c]
test eax, eax
je 0x140022f22
movsx eax, byte [rsp + 0x23]
movzx ecx, al
mov eax, dword [rsp + 0x24]
shr eax, cl
test eax, eax
je 0x140022f22
mov dword [rsp + 0x7c], 1
jmp 0x140022f2a
mov dword [rsp + 0x7c], 0
mov eax, dword [rsp + 0x7c]
mov ecx, dword [0x140074a68]
and ecx, eax
mov eax, ecx
mov dword [0x140074a68], eax
mov eax, dword [rsp + 0x24]
mov ecx, dword [0x140074c84]
add ecx, eax
mov eax, ecx
movsx ecx, byte [rsp + 0x21]
add eax, ecx
xor eax, dword [rsp + 0x38]
or eax, dword [0x140074a64]
mov byte [0x140074c89], al
cmp dword [rsp + 0x34], 0
jne 0x140022f7b
movsx eax, byte [0x140074c6f]
cmp dword [rsp + 0x24], eax
jae 0x140023094
cmp dword [rsp + 0x3c], 0
jne 0x140022f9c
movzx eax, byte [rsp + 0x22]
xor eax, dword [rsp + 0x2c]
test eax, eax
jne 0x140022f9c
mov dword [rsp + 0x80], 0
jmp 0x140022fa7
mov dword [rsp + 0x80], 1
mov eax, dword [rsp + 0x80]
cmp dword [0x140074c68], eax
jne 0x140022fc3
mov dword [rsp + 0x84], 1
jmp 0x140022fce
mov dword [rsp + 0x84], 0
mov eax, dword [rsp + 0x84]
mov dword [0x140074c2c], eax
movzx eax, byte [rsp + 0x22]
mov ecx, dword [rsp + 0x34]
add ecx, eax
mov eax, ecx
cmp dword [rsp + 0x24], eax
jne 0x140022ffb
mov dword [rsp + 0x88], 1
jmp 0x140023006
mov dword [rsp + 0x88], 0
movzx eax, byte [0x140074b8e]
or eax, dword [rsp + 0x88]
mov byte [0x140074c5d], al
movzx eax, byte [0x140074c89]
mov ecx, dword [rsp + 0x30]
mov edx, dword [rsp + 0x28]
shl edx, cl
mov ecx, edx
and eax, ecx
movzx ecx, byte [0x140074c6d]
sub ecx, eax
mov eax, ecx
mov byte [0x140074c6d], al
movsx eax, byte [rsp + 0x21]
mov ecx, dword [0x140074c74]
add ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x38]
shr eax, cl
mov dword [0x140074c74], eax
movzx eax, byte [0x140074b8f]
movsx ecx, byte [rsp + 0x21]
or eax, ecx
mov ecx, dword [0x140074c50]
sub ecx, eax
mov eax, ecx
mov dword [0x140074c50], eax
movzx eax, byte [rsp + 0x22]
cdq
mov ecx, 5
idiv ecx
mov ecx, dword [0x140074c2c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x28]
cmp dword [0x140074c48], eax
jne 0x1400230ad
mov dword [rsp + 0x8c], 1
jmp 0x1400230b8
mov dword [rsp + 0x8c], 0
mov eax, dword [rsp + 0x8c]
mov ecx, dword [0x140074c64]
xor ecx, eax
mov eax, ecx
mov dword [0x140074c64], eax
movsx eax, byte [rsp + 0x21]
test eax, eax
je 0x1400230f5
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov eax, ecx
test eax, eax
je 0x1400230f5
mov dword [rsp + 0x90], 1
jmp 0x140023100
mov dword [rsp + 0x90], 0
mov eax, dword [rsp + 0x90]
movzx ecx, al
mov eax, dword [0x140074c8c]
shr eax, cl
movzx ecx, byte [0x140074c5c]
add ecx, eax
mov eax, ecx
mov byte [0x140074c5c], al
movsx eax, byte [0x140074c5e]
mov dword [rsp + 0x134], eax
movzx ecx, byte [rsp + 0x22]
mov eax, ecx
cdq
mov ecx, 5
idiv ecx
mov ecx, dword [rsp + 0x134]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
movzx eax, byte [0x140074c6d]
imul eax, dword [rsp + 0x38]
cdq
and edx, 3
add eax, edx
and eax, 3
sub eax, edx
mov byte [rsp + 0x22], al
movsx eax, byte [rsp + 0x23]
mov ecx, dword [rsp + 0x28]
sub ecx, eax
mov eax, ecx
mov ecx, dword [0x140074c80]
or ecx, eax
mov eax, ecx
mov ecx, dword [0x140074c38]
xor ecx, eax
mov eax, ecx
mov dword [0x140074c38], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x2c], eax
jne 0x1400231a8
mov dword [rsp + 0x94], 1
jmp 0x1400231b3
mov dword [rsp + 0x94], 0
movzx eax, byte [rsp + 0x22]
cmp dword [rsp + 0x94], eax
jne 0x1400231ce
mov dword [rsp + 0x98], 1
jmp 0x1400231d9
mov dword [rsp + 0x98], 0
mov eax, dword [rsp + 0x98]
cmp dword [0x140074c54], eax
jne 0x1400231f5
mov dword [rsp + 0x9c], 1
jmp 0x140023200
mov dword [rsp + 0x9c], 0
mov eax, dword [rsp + 0x9c]
mov dword [0x140074c84], eax
movsx eax, byte [0x140074c6f]
mov ecx, dword [rsp + 0x28]
lea eax, [rcx + rax*2]
xor edx, edx
mov ecx, 4
div ecx
mov eax, edx
mov word [rsp + 0x68], ax
movsx eax, word [rsp + 0x68]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x140023259
cmp dword [rsp + 0x50], 1
je 0x140023296
cmp dword [rsp + 0x50], 2
je 0x1400232c0
cmp dword [rsp + 0x50], 3
je 0x14002331b
jmp 0x140023375
movzx eax, byte [rsp + 0x22]
cdq
mov ecx, 5
idiv ecx
mov ecx, dword [0x140074a68]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x38], eax
xor edx, edx
mov eax, dword [rsp + 0x3c]
mov ecx, 3
div ecx
mov eax, edx
mov ecx, dword [0x140074c34]
add ecx, eax
mov eax, ecx
mov byte [rsp + 0x23], al
jmp 0x140023375
movsx eax, byte [0x140074a62]
movzx ecx, byte [rsp + 0x22]
shl eax, cl
mov ecx, dword [rsp + 0x24]
shl eax, cl
movsx ecx, byte [0x140074c6e]
sub ecx, eax
mov eax, ecx
mov byte [0x140074c6e], al
jmp 0x140023375
movzx eax, byte [0x140074c89]
movzx ecx, byte [rsp + 0x22]
add eax, ecx
cmp eax, dword [rsp + 0x30]
jne 0x1400232db
mov byte [rsp + 0x40], 1
jmp 0x1400232e0
mov byte [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
mov byte [0x140074c89], al
mov eax, dword [rsp + 0x3c]
movzx ecx, al
mov eax, dword [rsp + 0x3c]
shl eax, cl
movsx ecx, byte [rsp + 0x21]
shl eax, cl
mov ecx, dword [0x140074c68]
xor ecx, eax
mov eax, ecx
mov ecx, dword [0x140074c30]
xor ecx, eax
mov eax, ecx
mov dword [0x140074c30], eax
jmp 0x140023375
movzx eax, byte [0x140074c5c]
sub eax, dword [rsp + 0x3c]
mov dword [0x140074c80], eax
movsx eax, byte [0x140074a63]
test eax, eax
jne 0x14002335d
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x2c]
sub ecx, eax
mov eax, ecx
test eax, eax
je 0x140023350
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14002335d
mov dword [rsp + 0xa0], 0
jmp 0x140023368
mov dword [rsp + 0xa0], 1
mov eax, dword [rsp + 0xa0]
mov dword [0x140074c74], eax
movzx eax, byte [0x140074c5c]
cmp eax, dword [rsp + 0x30]
je 0x14002338f
mov dword [rsp + 0xa8], 1
jmp 0x14002339a
mov dword [rsp + 0xa8], 0
movsx eax, byte [rsp + 0x21]
movzx ecx, byte [0x140074c8b]
cmp eax, ecx
jle 0x1400233b7
mov dword [rsp + 0xa4], 1
jmp 0x1400233c2
mov dword [rsp + 0xa4], 0
mov eax, dword [rsp + 0xa4]
cmp dword [rsp + 0xa8], eax
jne 0x140023413
cmp dword [rsp + 0x24], 0
jne 0x1400233f4
cmp dword [rsp + 0x38], 0
je 0x1400233e7
cmp dword [rsp + 0x28], 0
jne 0x1400233f4
mov dword [rsp + 0xac], 0
jmp 0x1400233ff
mov dword [rsp + 0xac], 1
movsx eax, byte [0x140074c5e]
and eax, dword [rsp + 0xac]
mov dword [0x140074c60], eax
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x28], eax
jne 0x14002342a
mov dword [rsp + 0xb0], 1
jmp 0x140023435
mov dword [rsp + 0xb0], 0
movsx eax, byte [0x140074c5d]
or eax, dword [rsp + 0xb0]
movsx ecx, byte [0x140074a62]
add ecx, eax
mov eax, ecx
mov byte [0x140074a62], al
movsx eax, byte [0x140074c6e]
movsx ecx, byte [rsp + 0x23]
sub eax, ecx
mov byte [0x140074c5c], al
movzx eax, byte [0x140074c5c]
mov dword [rsp + 0x138], eax
mov eax, dword [rsp + 0x34]
cdq
mov ecx, 5
idiv ecx
mov ecx, dword [rsp + 0x138]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
movzx eax, byte [0x140074b8f]
test eax, eax
je 0x1400234be
movzx eax, byte [rsp + 0x20]
xor eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x30]
or ecx, eax
mov eax, ecx
test eax, eax
je 0x1400234be
mov dword [rsp + 0xb4], 1
jmp 0x1400234c9
mov dword [rsp + 0xb4], 0
mov eax, dword [rsp + 0xb4]
mov dword [0x140074a6c], eax
mov dword [rsp + 0x70], 0xfffffe95
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x13c], eax
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x13c], 0
je 0x1400235ce
movsx eax, byte [0x140074a63]
sub eax, dword [rsp + 0x2c]
add eax, dword [rsp + 0x3c]
mov dword [0x140074c48], eax
movzx eax, byte [rsp + 0x20]
sub eax, dword [rsp + 0x28]
movzx ecx, al
mov eax, dword [rsp + 0x3c]
shl eax, cl
mov ecx, dword [0x140074c2c]
or ecx, eax
mov eax, ecx
mov ecx, dword [0x140074a6c]
and ecx, eax
mov eax, ecx
mov dword [0x140074a6c], eax
movzx eax, byte [0x140074c8a]
mov dword [rsp + 0x140], eax
movsx ecx, byte [rsp + 0x23]
mov eax, ecx
cdq
mov ecx, 5
idiv ecx
mov eax, edx
mov ecx, dword [rsp + 0x140]
add ecx, eax
mov eax, ecx
mov byte [rsp + 0x20], al
movzx eax, byte [0x140074c5f]
movzx ecx, byte [rsp + 0x20]
mov dword [rsp + 0x144], ecx
mov edx, dword [rsp + 0x34]
movzx ecx, dl
mov edx, dword [rsp + 0x144]
shl edx, cl
mov ecx, edx
or ecx, dword [rsp + 0x34]
cmp eax, ecx
jne 0x1400235aa
mov dword [rsp + 0xb8], 1
jmp 0x1400235b5
mov dword [rsp + 0xb8], 0
movsx eax, byte [0x140074c6c]
xor eax, dword [rsp + 0xb8]
mov byte [0x140074c6c], al
jmp 0x1400234de
mov eax, 0x14a
mov word [rsp + 0x48], ax
mov eax, 0x1c0
mov word [rsp + 0x48], ax
jmp 0x1400235f1
movzx eax, word [rsp + 0x48]
dec ax
mov word [rsp + 0x48], ax
movsx eax, word [rsp + 0x48]
cmp eax, 0x2c
jle 0x14002376a
movsx eax, byte [rsp + 0x21]
cmp eax, dword [0x140074c34]
jbe 0x140023619
mov dword [rsp + 0xbc], 1
jmp 0x140023624
mov dword [rsp + 0xbc], 0
mov eax, dword [rsp + 0xbc]
cmp dword [rsp + 0x2c], eax
jne 0x140023679
movsx eax, byte [0x140074c5e]
test eax, eax
jne 0x140023657
cmp dword [rsp + 0x38], 0
jne 0x140023657
cmp dword [rsp + 0x3c], 0
jne 0x140023657
mov dword [rsp + 0xc0], 0
jmp 0x140023662
mov dword [rsp + 0xc0], 1
mov eax, dword [rsp + 0xc0]
mov ecx, dword [0x140074c34]
add ecx, eax
mov eax, ecx
mov dword [0x140074c34], eax
cmp dword [0x140074a68], 0
jne 0x140023696
cmp dword [rsp + 0x3c], 0
jne 0x140023696
mov dword [rsp + 0xc4], 0
jmp 0x1400236a1
mov dword [rsp + 0xc4], 1
movsx eax, byte [0x140074a63]
and eax, dword [rsp + 0xc4]
mov byte [0x140074a63], al
movzx eax, byte [0x140074c89]
imul eax, dword [rsp + 0x38]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov byte [rsp + 0x20], al
movsx eax, byte [0x140074c90]
xor eax, dword [rsp + 0x24]
test eax, eax
je 0x140023704
movzx eax, byte [rsp + 0x20]
mov ecx, dword [rsp + 0x30]
and ecx, eax
mov eax, ecx
movsx ecx, byte [0x140074c5d]
xor eax, ecx
test eax, eax
je 0x140023704
mov dword [rsp + 0xc8], 1
jmp 0x14002370f
mov dword [rsp + 0xc8], 0
movzx eax, byte [0x140074c88]
and eax, dword [rsp + 0xc8]
mov byte [0x140074c88], al
cmp dword [0x140074c3c], 0
je 0x140023744
movzx eax, byte [rsp + 0x20]
mov ecx, dword [rsp + 0x2c]
or ecx, eax
mov eax, ecx
test eax, eax
je 0x140023744
mov byte [rsp + 0x41], 1
jmp 0x140023749
mov byte [rsp + 0x41], 0
movzx eax, byte [rsp + 0x41]
mov byte [0x140074c90], al
movzx eax, byte [0x140074c88]
or eax, dword [rsp + 0x28]
mov byte [0x140074b8e], al
jmp 0x1400235e4
movsx eax, byte [rsp + 0x23]
movzx ecx, byte [rsp + 0x20]
cmp eax, ecx
je 0x14002378c
cmp dword [rsp + 0x24], 0
jne 0x14002378c
mov dword [rsp + 0xcc], 0
jmp 0x140023797
mov dword [rsp + 0xcc], 1
movzx eax, byte [0x140074c8b]
or eax, dword [rsp + 0xcc]
mov ecx, dword [0x140074c80]
and ecx, eax
mov eax, ecx
mov dword [0x140074c80], eax
call qword [sym.imp.KERNEL32.dll_GetThreadLocale]
imul eax, dword [0x140074c34], 5
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
xor edx, edx
mov ecx, 6
div ecx
mov eax, edx
mov dword [rsp + 0x148], eax
mov eax, dword [rsp + 0x148]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
je 0x140023810
cmp dword [rsp + 0x54], 1
je 0x140023842
cmp dword [rsp + 0x54], 2
je 0x14002389f
cmp dword [rsp + 0x54], 3
je 0x1400238bb
jmp 0x140023928
cmp dword [0x140074c2c], 0
je 0x14002382d
movzx eax, byte [rsp + 0x22]
xor eax, dword [rsp + 0x24]
test eax, eax
je 0x14002382d
mov byte [rsp + 0x42], 1
jmp 0x140023832
mov byte [rsp + 0x42], 0
movzx eax, byte [rsp + 0x42]
mov byte [0x140074c89], al
jmp 0x140023928
movzx eax, byte [0x140074c8b]
mov dword [rsp + 0x14c], eax
movzx ecx, byte [rsp + 0x22]
mov eax, ecx
cdq
and edx, 3
add eax, edx
sar eax, 2
mov ecx, dword [rsp + 0x14c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
movzx eax, byte [rsp + 0x20]
mov ecx, dword [rsp + 0x30]
shl eax, cl
mov ecx, dword [0x140074a68]
mov edx, dword [rsp + 0x28]
sub edx, ecx
mov ecx, edx
and eax, ecx
mov ecx, dword [0x140074c80]
xor ecx, eax
mov eax, ecx
mov dword [0x140074c34], eax
jmp 0x140023928
mov eax, dword [0x140074c84]
imul eax, dword [rsp + 0x34]
xor edx, edx
mov ecx, 5
div ecx
mov eax, edx
mov dword [rsp + 0x30], eax
jmp 0x140023928
movzx eax, byte [0x140074c88]
movsx ecx, byte [rsp + 0x21]
and eax, ecx
xor eax, dword [rsp + 0x28]
movsx ecx, byte [0x140074c6c]
add ecx, eax
mov eax, ecx
mov byte [0x140074c6c], al
movzx eax, byte [0x140074b8f]
test eax, eax
jne 0x140023906
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x28]
xor ecx, eax
mov eax, ecx
test eax, eax
jne 0x140023906
mov dword [rsp + 0xd0], 0
jmp 0x140023911
mov dword [rsp + 0xd0], 1
mov eax, dword [rsp + 0xd0]
mov ecx, dword [0x140074a68]
sub ecx, eax
mov eax, ecx
mov dword [0x140074a68], eax
imul eax, dword [0x140074a6c], 7
mov ecx, dword [rsp + 0x24]
add ecx, eax
mov eax, ecx
xor edx, edx
mov ecx, 7
div ecx
mov eax, edx
mov word [rsp + 0x6c], ax
movsx eax, word [rsp + 0x6c]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x140023975
cmp dword [rsp + 0x58], 1
je 0x1400239b6
cmp dword [rsp + 0x58], 2
je 0x1400239cf
cmp dword [rsp + 0x58], 3
je 0x140023a12
jmp 0x140023a5b
movzx eax, byte [0x140074c8b]
imul eax, dword [rsp + 0x2c]
xor edx, edx
mov ecx, 4
div ecx
mov dword [rsp + 0x2c], eax
movsx eax, byte [rsp + 0x23]
mov ecx, dword [0x140074a68]
and ecx, eax
mov eax, ecx
and eax, dword [rsp + 0x3c]
mov ecx, dword [0x140074c84]
or ecx, eax
mov eax, ecx
mov dword [0x140074c84], eax
jmp 0x140023a5b
mov eax, dword [rsp + 0x30]
mov ecx, dword [0x140074c50]
add ecx, eax
mov eax, ecx
mov dword [0x140074c48], eax
jmp 0x140023a5b
movzx eax, byte [0x140074b8e]
test eax, eax
jne 0x1400239f1
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x24], eax
je 0x1400239f1
mov dword [rsp + 0xd4], 0
jmp 0x1400239fc
mov dword [rsp + 0xd4], 1
movsx eax, byte [0x140074c6c]
xor eax, dword [rsp + 0xd4]
mov byte [0x140074c6c], al
jmp 0x140023a5b
cmp dword [0x140074c28], 0
jne 0x140023a39
mov eax, dword [rsp + 0x28]
movzx ecx, al
mov eax, dword [rsp + 0x24]
shl eax, cl
test eax, eax
jne 0x140023a39
mov dword [rsp + 0xd8], 0
jmp 0x140023a44
mov dword [rsp + 0xd8], 1
mov eax, dword [rsp + 0xd8]
mov ecx, dword [0x140074a64]
xor ecx, eax
mov eax, ecx
mov dword [0x140074a64], eax
mov dword [rsp + 0x74], 0x5f
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x150], eax
mov eax, dword [rsp + 0x74]
dec eax
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x150], 0
je 0x140023b4b
movzx eax, byte [0x140074c6d]
movzx ecx, byte [rsp + 0x20]
shl eax, cl
movzx ecx, byte [0x140074b8e]
xor ecx, eax
mov eax, ecx
mov byte [0x140074b8e], al
movsx eax, byte [rsp + 0x21]
movzx ecx, al
mov eax, dword [rsp + 0x34]
shl eax, cl
cmp dword [0x140074c68], eax
jne 0x140023ac8
mov dword [rsp + 0xdc], 1
jmp 0x140023ad3
mov dword [rsp + 0xdc], 0
movzx eax, byte [0x140074b8e]
sub eax, dword [rsp + 0xdc]
mov byte [0x140074b8e], al
movzx eax, byte [0x140074c88]
sub eax, dword [rsp + 0x2c]
xor eax, dword [rsp + 0x38]
movzx ecx, byte [0x140074c89]
mov edx, dword [rsp + 0x38]
sub edx, ecx
mov ecx, edx
or eax, ecx
mov byte [0x140074c88], al
xor edx, edx
mov eax, dword [rsp + 0x24]
mov ecx, 3
div ecx
mov ecx, dword [0x140074c28]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x28]
mov ecx, dword [0x140074c80]
xor ecx, eax
mov eax, ecx
mov ecx, dword [0x140074c8c]
and ecx, eax
mov eax, ecx
mov dword [0x140074c8c], eax
jmp 0x140023a63
mov dword [rsp + 0x4c], 0x67
mov dword [rsp + 0x4c], 0x11
jmp 0x140023b67
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0xe29
jge 0x140023b8e
movzx eax, byte [0x140074b8f]
movsx ecx, byte [rsp + 0x23]
imul eax, ecx
cdq
mov ecx, 3
idiv ecx
mov byte [rsp + 0x20], al
jmp 0x140023b5d
mov eax, dword [rsp + 0x24]
movzx ecx, al
mov eax, dword [0x140074c8c]
shl eax, cl
movsx ecx, byte [0x140074c5e]
sub ecx, eax
mov eax, ecx
mov byte [0x140074c5e], al
movzx eax, byte [0x140074c5c]
mov ecx, dword [rsp + 0x24]
mov edx, dword [rsp + 0x24]
sub edx, ecx
mov ecx, edx
mov edx, dword [rsp + 0x34]
and edx, ecx
mov ecx, edx
or eax, ecx
test eax, eax
je 0x140023be5
cmp dword [0x140074c8c], 0
je 0x140023be5
mov dword [rsp + 0xe0], 1
jmp 0x140023bf0
mov dword [rsp + 0xe0], 0
mov eax, dword [rsp + 0xe0]
mov ecx, dword [0x140074c60]
or ecx, eax
mov eax, ecx
mov dword [0x140074c60], eax
mov eax, dword [rsp + 0x34]
cdq
mov ecx, 5
idiv ecx
mov ecx, dword [0x140074c48]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x28]
mov ecx, dword [0x140074c38]
xor ecx, eax
mov eax, ecx
mov dword [0x140074c3c], eax
movzx eax, byte [0x140074c5f]
movzx ecx, byte [rsp + 0x22]
mov dword [rsp + 0x154], ecx
mov edx, dword [rsp + 0x34]
movzx ecx, dl
mov edx, dword [rsp + 0x154]
shl edx, cl
mov ecx, edx
mov dword [rsp + 0x158], ecx
movsx edx, byte [rsp + 0x21]
movzx ecx, dl
mov edx, dword [rsp + 0x158]
shl edx, cl
mov ecx, edx
and eax, ecx
and eax, dword [0x140074c48]
movsx ecx, byte [0x140074a63]
xor ecx, eax
mov eax, ecx
mov byte [0x140074a63], al
movzx eax, byte [rsp + 0x22]
mov ecx, dword [0x140074c38]
imul ecx, eax
mov eax, ecx
cdq
and edx, 3
add eax, edx
and eax, 3
sub eax, edx
mov dword [rsp + 0x3c], eax
movsx eax, byte [rsp + 0x23]
mov ecx, dword [0x140074c8c]
sub ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x34]
shr eax, cl
mov dword [0x140074c48], eax
cmp dword [rsp + 0x2c], 0
je 0x140023cec
mov eax, dword [rsp + 0x24]
movzx ecx, al
mov eax, dword [rsp + 0x28]
shl eax, cl
test eax, eax
je 0x140023cec
mov dword [rsp + 0xe4], 1
jmp 0x140023cf7
mov dword [rsp + 0xe4], 0
mov eax, dword [rsp + 0xe4]
mov ecx, dword [0x140074c84]
or ecx, eax
mov eax, ecx
movzx ecx, byte [0x140074c8a]
and ecx, eax
mov eax, ecx
mov byte [0x140074c8a], al
movzx eax, byte [0x140074c88]
mov ecx, dword [rsp + 0x2c]
shl eax, cl
movzx ecx, byte [rsp + 0x22]
xor eax, ecx
test eax, eax
jne 0x140023d50
mov eax, dword [0x140074c38]
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
test eax, eax
jne 0x140023d50
mov dword [rsp + 0xe8], 0
jmp 0x140023d5b
mov dword [rsp + 0xe8], 1
mov eax, dword [rsp + 0xe8]
mov dword [0x140074c60], eax
movzx eax, byte [rsp + 0x20]
mov ecx, dword [0x140074c70]
imul ecx, eax
mov eax, ecx
cdq
mov ecx, 3
idiv ecx
mov eax, edx
mov byte [rsp + 0x22], al
movzx eax, byte [0x140074b8f]
mov ecx, dword [rsp + 0x3c]
mov edx, dword [rsp + 0x2c]
sub edx, ecx
mov ecx, edx
sar eax, cl
mov byte [0x140074c89], al
mov eax, dword [rsp + 0x30]
mov ecx, dword [0x140074c74]
sub ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x30]
shl eax, cl
movzx ecx, byte [rsp + 0x20]
movsx edx, byte [0x140074a63]
and ecx, edx
xor eax, ecx
movzx ecx, byte [0x140074c6d]
and ecx, eax
mov eax, ecx
mov byte [0x140074c6d], al
mov eax, dword [0x140074c48]
imul eax, dword [rsp + 0x30]
xor edx, edx
mov ecx, 5
div ecx
mov dword [rsp + 0x24], eax
movzx eax, byte [0x140074c5f]
movzx ecx, byte [rsp + 0x22]
movzx edx, byte [rsp + 0x22]
add ecx, edx
sar eax, cl
movzx ecx, byte [0x140074c5f]
sub ecx, eax
mov eax, ecx
mov byte [0x140074c5f], al
imul eax, dword [0x140074a6c], 3
mov ecx, dword [rsp + 0x24]
add ecx, eax
mov eax, ecx
xor edx, edx
mov ecx, 0xa
div ecx
mov eax, edx
mov dword [rsp + 0x15c], eax
mov eax, dword [rsp + 0x15c]
mov dword [rsp + 0x5c], eax
cmp dword [rsp + 0x5c], 0
je 0x140023e69
cmp dword [rsp + 0x5c], 1
je 0x140023ea3
cmp dword [rsp + 0x5c], 2
je 0x140023ef1
cmp dword [rsp + 0x5c], 3
je 0x140023f83
jmp 0x140023fdc
movzx eax, byte [0x140074b8f]
imul eax, dword [rsp + 0x28]
xor edx, edx
mov ecx, 4
div ecx
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
cdq
mov ecx, 5
idiv ecx
mov eax, edx
mov ecx, dword [0x140074c84]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
jmp 0x140024022
movsx eax, byte [0x140074c6c]
test eax, eax
je 0x140023eca
movzx eax, byte [rsp + 0x20]
mov ecx, dword [rsp + 0x3c]
sar eax, cl
test eax, eax
je 0x140023eca
mov dword [rsp + 0xec], 1
jmp 0x140023ed5
mov dword [rsp + 0xec], 0
mov eax, dword [rsp + 0xec]
mov ecx, dword [0x140074c28]
and ecx, eax
mov eax, ecx
mov dword [0x140074c28], eax
jmp 0x140024022
movzx eax, byte [0x140074c89]
test eax, eax
je 0x140023f21
movsx eax, byte [rsp + 0x21]
movsx ecx, byte [rsp + 0x23]
and eax, ecx
mov ecx, dword [rsp + 0x34]
xor ecx, eax
mov eax, ecx
test eax, eax
je 0x140023f21
mov dword [rsp + 0xf0], 1
jmp 0x140023f2c
mov dword [rsp + 0xf0], 0
mov eax, dword [rsp + 0xf0]
mov dword [0x140074c34], eax
movsx eax, byte [0x140074c6e]
test eax, eax
je 0x140023f5c
movzx eax, byte [rsp + 0x20]
cmp dword [rsp + 0x24], eax
jne 0x140023f5c
mov dword [rsp + 0xf4], 1
jmp 0x140023f67
mov dword [rsp + 0xf4], 0
mov eax, dword [rsp + 0xf4]
mov ecx, dword [0x140074c4c]
xor ecx, eax
mov eax, ecx
mov dword [0x140074c4c], eax
jmp 0x140024022
mov eax, dword [rsp + 0x24]
mov ecx, dword [0x140074c48]
or ecx, eax
mov eax, ecx
test eax, eax
jne 0x140023fbb
cmp dword [rsp + 0x2c], 0
je 0x140023fae
movsx eax, byte [rsp + 0x21]
movsx ecx, byte [0x140074c6c]
shl eax, cl
test eax, eax
jne 0x140023fbb
mov dword [rsp + 0xf8], 0
jmp 0x140023fc6
mov dword [rsp + 0xf8], 1
movzx eax, byte [0x140074b8e]
sub eax, dword [rsp + 0xf8]
mov byte [0x140074b8e], al
jmp 0x140024022
mov eax, dword [0x140074c54]
imul eax, dword [rsp + 0x28]
xor edx, edx
mov ecx, 4
div ecx
mov eax, edx
mov dword [rsp + 0x30], eax
movsx eax, byte [0x140074c6c]
mov dword [rsp + 0x160], eax
movsx ecx, byte [rsp + 0x21]
mov eax, ecx
cdq
mov ecx, 5
idiv ecx
mov ecx, dword [rsp + 0x160]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x3c], eax
movzx eax, byte [rsp + 0x20]
movsx ecx, byte [0x140074c6c]
lea eax, [rax + rcx*4]
cdq
and edx, 7
add eax, edx
and eax, 7
sub eax, edx
mov dword [rsp + 0x164], eax
mov eax, dword [rsp + 0x164]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x14002407b
cmp dword [rsp + 0x60], 1
je 0x1400240e8
cmp dword [rsp + 0x60], 2
je 0x14002410a
cmp dword [rsp + 0x60], 3
je 0x140024147
jmp 0x140024191
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x2c]
add ecx, eax
mov eax, ecx
cmp eax, dword [rsp + 0x24]
jne 0x14002409a
mov dword [rsp + 0xfc], 1
jmp 0x1400240a5
mov dword [rsp + 0xfc], 0
mov eax, dword [rsp + 0xfc]
cmp dword [0x140074c3c], eax
jne 0x1400240c1
mov dword [rsp + 0x100], 1
jmp 0x1400240cc
mov dword [rsp + 0x100], 0
mov eax, dword [rsp + 0x100]
mov ecx, dword [0x140074c54]
and ecx, eax
mov eax, ecx
mov dword [0x140074c54], eax
jmp 0x140024218
movzx eax, byte [0x140074b8e]
movsx ecx, byte [rsp + 0x21]
imul eax, ecx
cdq
mov ecx, 3
idiv ecx
mov eax, edx
mov byte [rsp + 0x23], al
jmp 0x140024218
mov eax, dword [rsp + 0x30]
movzx ecx, al
mov eax, dword [0x140074c54]
shr eax, cl
mov ecx, dword [0x140074c60]
and ecx, eax
mov eax, ecx
mov dword [0x140074c60], eax
movsx eax, byte [0x140074c90]
imul eax, dword [rsp + 0x2c]
xor edx, edx
mov ecx, 5
div ecx
mov dword [rsp + 0x2c], eax
jmp 0x140024218
movsx eax, byte [0x140074c5e]
xor eax, dword [rsp + 0x30]
test eax, eax
jne 0x14002416a
cmp dword [rsp + 0x34], 0
jne 0x14002416a
mov dword [rsp + 0x104], 0
jmp 0x140024175
mov dword [rsp + 0x104], 1
mov eax, dword [rsp + 0x104]
mov ecx, dword [0x140074c38]
xor ecx, eax
mov eax, ecx
mov dword [0x140074c38], eax
jmp 0x140024218
cmp dword [0x140074c48], 0
jne 0x1400241c3
mov eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x28]
sub ecx, eax
mov eax, ecx
test eax, eax
je 0x1400241bc
movzx eax, byte [rsp + 0x22]
movzx ecx, byte [0x140074c89]
or eax, ecx
test eax, eax
jne 0x1400241c3
mov byte [rsp + 0x43], 0
jmp 0x1400241c8
mov byte [rsp + 0x43], 1
movzx eax, byte [rsp + 0x43]
mov byte [0x140074c89], al
cmp dword [0x140074c38], 0
je 0x1400241f9
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1400241f9
cmp dword [rsp + 0x30], 0
je 0x1400241f9
mov dword [rsp + 0x108], 1
jmp 0x140024204
mov dword [rsp + 0x108], 0
movzx eax, byte [0x140074b8e]
sub eax, dword [rsp + 0x108]
mov byte [0x140074b8e], al
movzx eax, byte [rsp + 0x22]
mov ecx, dword [0x140074a64]
or ecx, eax
mov eax, ecx
mov dword [0x140074a64], eax
movzx eax, byte [rsp + 0x22]
movsx ecx, byte [rsp + 0x21]
sar eax, cl
cmp dword [0x140074c80], eax
jne 0x14002424e
mov dword [rsp + 0x10c], 1
jmp 0x140024259
mov dword [rsp + 0x10c], 0
movsx eax, byte [0x140074c6c]
or eax, dword [rsp + 0x10c]
mov byte [0x140074c6c], al
cmp dword [rsp + 0x30], 0
jne 0x140024291
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x2c]
sub ecx, eax
mov eax, ecx
test eax, eax
jne 0x140024291
mov dword [rsp + 0x110], 0
jmp 0x14002429c
mov dword [rsp + 0x110], 1
movzx eax, byte [0x140074c5c]
xor eax, dword [rsp + 0x110]
mov dword [0x140074c60], eax
movsx eax, byte [0x140074c90]
movsx ecx, byte [rsp + 0x23]
xor ecx, dword [rsp + 0x34]
xor ecx, dword [rsp + 0x2c]
sar eax, cl
movsx ecx, byte [0x140074a62]
xor ecx, eax
mov eax, ecx
mov byte [0x140074a62], al
cmp dword [0x140074c50], 0
je 0x14002439f
movsx eax, byte [rsp + 0x23]
movzx ecx, byte [0x140074c5c]
cmp eax, ecx
jne 0x140024301
mov dword [rsp + 0x114], 1
jmp 0x14002430c
mov dword [rsp + 0x114], 0
mov eax, dword [rsp + 0x114]
cmp dword [rsp + 0x2c], eax
jne 0x14002439f
movsx eax, byte [rsp + 0x21]
cmp dword [0x140074c30], eax
jne 0x140024337
mov dword [rsp + 0x118], 1
jmp 0x140024342
mov dword [rsp + 0x118], 0
mov eax, dword [rsp + 0x118]
mov ecx, dword [0x140074c54]
add ecx, eax
mov eax, ecx
mov dword [0x140074c54], eax
movsx eax, byte [0x140074a62]
movzx ecx, byte [rsp + 0x20]
xor ecx, dword [rsp + 0x30]
movsx edx, byte [rsp + 0x21]
or ecx, edx
sar eax, cl
mov ecx, dword [0x140074c2c]
xor ecx, eax
mov eax, ecx
mov dword [0x140074c2c], eax
xor edx, edx
mov eax, dword [rsp + 0x24]
mov ecx, 4
div ecx
mov eax, edx
mov ecx, dword [0x140074c64]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
movsx eax, byte [0x140074c6c]
movzx ecx, byte [rsp + 0x20]
mov dword [rsp + 0x168], ecx
movsx edx, byte [rsp + 0x23]
movzx ecx, dl
mov edx, dword [rsp + 0x168]
shl edx, cl
mov ecx, edx
cmp eax, ecx
jne 0x1400243d0
mov byte [rsp + 0x44], 1
jmp 0x1400243d5
mov byte [rsp + 0x44], 0
movzx eax, byte [rsp + 0x44]
mov byte [0x140074c5d], al
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [rsp + 0x78], 0xffffff59
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x16c], eax
mov eax, dword [rsp + 0x78]
inc eax
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x16c], 0
je 0x1400244f8
movzx eax, byte [0x140074c8a]
test eax, eax
je 0x140024441
movsx eax, byte [rsp + 0x23]
mov ecx, dword [rsp + 0x28]
xor ecx, eax
mov eax, ecx
test eax, eax
jne 0x140024434
cmp dword [rsp + 0x34], 0
je 0x140024441
mov dword [rsp + 0x11c], 1
jmp 0x14002444c
mov dword [rsp + 0x11c], 0
mov eax, dword [rsp + 0x11c]
mov ecx, dword [0x140074c2c]
and ecx, eax
mov eax, ecx
mov dword [0x140074c2c], eax
xor edx, edx
mov eax, dword [rsp + 0x30]
mov ecx, 4
div ecx
mov eax, edx
mov ecx, dword [0x140074c54]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x38], eax
cmp dword [0x140074c74], 0
jne 0x1400244ae
mov eax, dword [rsp + 0x38]
movzx ecx, al
mov eax, dword [rsp + 0x2c]
shr eax, cl
movzx ecx, byte [rsp + 0x20]
xor eax, ecx
test eax, eax
jne 0x1400244ae
mov dword [rsp + 0x120], 0
jmp 0x1400244b9
mov dword [rsp + 0x120], 1
mov eax, dword [rsp + 0x120]
mov dword [0x140074c8c], eax
movzx eax, byte [rsp + 0x20]
movsx ecx, byte [rsp + 0x21]
sar eax, cl
mov ecx, dword [rsp + 0x3c]
shl eax, cl
movzx ecx, al
mov eax, dword [0x140074c4c]
shl eax, cl
mov ecx, dword [0x140074c54]
sub ecx, eax
mov eax, ecx
mov dword [0x140074c54], eax
jmp 0x1400243ee
movsx eax, byte [0x140074c5e]
imul eax, eax, 6
mov ecx, dword [rsp + 0x24]
add ecx, eax
mov eax, ecx
xor edx, edx
mov ecx, 3
div ecx
mov eax, edx
mov dword [rsp + 0x170], eax
mov eax, dword [rsp + 0x170]
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
je 0x140024550
cmp dword [rsp + 0x64], 1
je 0x1400245a4
cmp dword [rsp + 0x64], 2
je 0x140024617
cmp dword [rsp + 0x64], 3
je 0x140024689
jmp 0x14002472a
movzx eax, byte [0x140074c8a]
movsx ecx, byte [rsp + 0x23]
movzx edx, byte [rsp + 0x20]
mov r8d, dword [rsp + 0x28]
add r8d, ecx
mov ecx, r8d
add edx, ecx
mov ecx, edx
sar eax, cl
mov ecx, dword [0x140074c74]
xor ecx, eax
mov eax, ecx
mov dword [0x140074c74], eax
movzx eax, byte [0x140074c5f]
movsx ecx, byte [rsp + 0x23]
imul eax, ecx
cdq
mov ecx, 3
idiv ecx
mov eax, edx
mov byte [rsp + 0x21], al
jmp 0x14002472a
movzx eax, byte [0x140074c8b]
movsx ecx, byte [rsp + 0x21]
or eax, ecx
mov byte [0x140074b8e], al
cmp dword [0x140074c70], 0
jne 0x1400245f0
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x34]
xor ecx, eax
mov eax, ecx
test eax, eax
je 0x1400245e3
movzx eax, byte [rsp + 0x22]
movsx ecx, byte [0x140074c6f]
and eax, ecx
test eax, eax
jne 0x1400245f0
mov dword [rsp + 0x124], 0
jmp 0x1400245fb
mov dword [rsp + 0x124], 1
mov eax, dword [rsp + 0x124]
mov ecx, dword [0x140074c8c]
sub ecx, eax
mov eax, ecx
mov dword [0x140074c8c], eax
jmp 0x14002472a
movzx eax, byte [rsp + 0x20]
mov ecx, dword [0x140074c80]
imul ecx, eax
mov eax, ecx
xor edx, edx
mov ecx, 4
div ecx
mov eax, edx
mov dword [rsp + 0x24], eax
movsx eax, byte [rsp + 0x23]
movzx ecx, byte [rsp + 0x20]
sar eax, cl
movsx ecx, byte [rsp + 0x21]
cmp eax, ecx
jne 0x140024658
mov dword [rsp + 0x128], 1
jmp 0x140024663
mov dword [rsp + 0x128], 0
mov eax, dword [rsp + 0x128]
mov ecx, dword [0x140074c2c]
add ecx, eax
mov eax, ecx
mov ecx, dword [0x140074c48]
xor ecx, eax
mov eax, ecx
mov dword [0x140074c48], eax
jmp 0x14002472a
movsx eax, byte [rsp + 0x21]
movzx ecx, al
mov eax, dword [0x140074c84]
shr eax, cl
xor eax, dword [rsp + 0x34]
test eax, eax
jne 0x1400246c0
cmp dword [rsp + 0x28], 0
je 0x1400246b3
movsx eax, byte [0x140074a63]
test eax, eax
jne 0x1400246c0
mov dword [rsp + 0x12c], 0
jmp 0x1400246cb
mov dword [rsp + 0x12c], 1
mov eax, dword [rsp + 0x12c]
mov dword [0x140074c54], eax
cmp dword [0x140074c64], 0
je 0x140024708
movsx eax, byte [rsp + 0x21]
test eax, eax
je 0x140024708
movsx eax, byte [rsp + 0x23]
mov ecx, dword [rsp + 0x38]
sub ecx, eax
mov eax, ecx
test eax, eax
je 0x140024708
mov dword [rsp + 0x130], 1
jmp 0x140024713
mov dword [rsp + 0x130], 0
mov eax, dword [rsp + 0x130]
mov ecx, dword [0x140074c3c]
xor ecx, eax
mov eax, ecx
mov dword [0x140074c3c], eax
mov edx, dword [0x140074c2c]
movzx ecx, byte [0x140074c50]
call fcn.140021820
xor eax, eax
add rsp, 0x188
ret