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

Disassembly:
mov byte [rsp + 0x18], r8b
mov byte [rsp + 0x10], dl
mov dword [rsp + 8], ecx
sub rsp, 0x208
mov dword [rsp + 0x30], 0x16
mov byte [rsp + 0x21], 0x33
mov dword [rsp + 0x38], 0x1f
mov dword [rsp + 0x28], 0xd
mov byte [rsp + 0x20], 0x31
mov dword [rsp + 0x2c], 0x22
mov dword [rsp + 0x34], 0x1e
mov dword [rsp + 0x24], 0x31
mov dword [rsp + 0x40], 0x19
mov dword [rsp + 0x3c], 6
mov dword [rsp + 0x44], 0x16
mov eax, dword [rsp + 0x24]
cmp dword [0x14007d240], eax
je 0x140011128
movsx eax, byte [0x14007d203]
cmp dword [rsp + 0x2c], eax
je 0x140011128
movzx eax, byte [0x14007d21f]
movzx ecx, byte [rsp + 0x20]
add ecx, dword [rsp + 0x34]
xor ecx, dword [rsp + 0x3c]
add eax, ecx
mov ecx, dword [0x14007d24c]
sub ecx, eax
mov eax, ecx
mov dword [0x14007d24c], eax
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x2c]
and ecx, eax
mov eax, ecx
xor eax, dword [rsp + 0x40]
cmp dword [0x14007d250], eax
jne 0x1400110f2
mov dword [rsp + 0x80], 1
jmp 0x1400110fd
mov dword [rsp + 0x80], 0
mov eax, dword [rsp + 0x80]
mov dword [0x14007d228], eax
movzx eax, byte [0x14007d21f]
movzx ecx, byte [rsp + 0x20]
xor eax, ecx
mov ecx, dword [0x14007d1fc]
and ecx, eax
mov eax, ecx
mov dword [0x14007d1fc], eax
movsx eax, byte [0x14007d21d]
movzx ecx, byte [rsp + 0x21]
add ecx, dword [rsp + 0x34]
sar eax, cl
movsx ecx, byte [0x14007d21c]
xor ecx, eax
mov eax, ecx
mov byte [0x14007d21c], al
movsx eax, byte [0x14007d200]
test eax, eax
jne 0x140011190
movzx eax, byte [rsp + 0x20]
cmp eax, dword [0x14007d210]
jne 0x140011170
mov dword [rsp + 0x84], 1
jmp 0x14001117b
mov dword [rsp + 0x84], 0
movzx eax, byte [rsp + 0x20]
cmp eax, dword [rsp + 0x84]
jg 0x140011190
cmp dword [rsp + 0x34], 0
je 0x1400111af
mov eax, dword [rsp + 0x2c]
mov ecx, dword [0x14007d244]
sub ecx, eax
mov eax, ecx
movzx ecx, byte [0x14007d22c]
xor ecx, eax
mov eax, ecx
mov byte [0x14007d22c], al
cmp dword [rsp + 0x44], 0
je 0x1400111cd
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x24], eax
jne 0x1400111cd
mov dword [rsp + 0x88], 1
jmp 0x1400111d8
mov dword [rsp + 0x88], 0
mov eax, dword [rsp + 0x88]
mov ecx, dword [0x14007d204]
and ecx, eax
mov eax, ecx
mov byte [0x14007d21f], al
movsx eax, byte [0x14007d21d]
mov ecx, dword [rsp + 0x44]
shl eax, cl
or eax, dword [rsp + 0x34]
mov byte [0x14007d203], al
mov eax, dword [rsp + 0x3c]
mov ecx, dword [0x14007d204]
add ecx, eax
mov eax, ecx
or eax, dword [rsp + 0x3c]
movsx ecx, byte [0x14007d200]
sub ecx, eax
mov eax, ecx
mov byte [0x14007d200], al
mov eax, dword [0x14007d204]
imul eax, dword [rsp + 0x30]
xor edx, edx
mov ecx, 5
div ecx
mov eax, edx
mov byte [rsp + 0x20], al
movzx eax, byte [0x14007d21f]
imul eax, dword [rsp + 0x2c]
xor edx, edx
mov ecx, 3
div ecx
mov dword [rsp + 0x30], eax
movsx eax, byte [0x14007d21c]
mov ecx, dword [rsp + 0x24]
lea eax, [rcx + rax*2]
cdq
and edx, 7
add eax, edx
and eax, 7
sub eax, edx
mov word [rsp + 0x64], ax
movsx eax, word [rsp + 0x64]
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0
je 0x1400112b0
cmp dword [rsp + 0x4c], 1
je 0x140011338
cmp dword [rsp + 0x4c], 2
je 0x14001138b
cmp dword [rsp + 0x4c], 3
je 0x1400113b0
jmp 0x140011422
movzx eax, byte [0x14007d22c]
movzx ecx, byte [rsp + 0x21]
sar eax, cl
test eax, eax
jne 0x1400112e8
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x40]
sub ecx, eax
mov eax, ecx
movzx ecx, byte [0x14007d21e]
shl eax, cl
test eax, eax
jne 0x1400112e8
mov dword [rsp + 0x8c], 0
jmp 0x1400112f3
mov dword [rsp + 0x8c], 1
movzx eax, byte [0x14007d202]
add eax, dword [rsp + 0x8c]
mov byte [0x14007d202], al
movsx eax, byte [0x14007d22e]
mov dword [rsp + 0x1c8], eax
xor edx, edx
mov eax, dword [rsp + 0x28]
mov ecx, 5
div ecx
mov eax, edx
mov ecx, dword [rsp + 0x1c8]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x40], eax
jmp 0x140011469
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x24]
xor ecx, eax
mov eax, ecx
mov ecx, dword [0x14007d24c]
or ecx, eax
mov eax, ecx
or eax, dword [0x14007d254]
movsx ecx, byte [0x14007d21c]
and ecx, eax
mov eax, ecx
mov byte [0x14007d21c], al
mov eax, dword [0x14007d214]
imul eax, dword [rsp + 0x30]
cdq
mov ecx, 5
idiv ecx
mov eax, edx
mov dword [rsp + 0x28], eax
jmp 0x140011469
movzx eax, byte [rsp + 0x21]
movzx ecx, al
mov eax, dword [0x14007d204]
shr eax, cl
mov ecx, dword [0x14007d208]
or ecx, eax
mov eax, ecx
mov dword [0x14007d208], eax
jmp 0x140011469
mov eax, dword [rsp + 0x24]
mov ecx, dword [0x14007d250]
xor ecx, eax
mov eax, ecx
test eax, eax
jne 0x1400113d6
cmp dword [rsp + 0x2c], 0
jne 0x1400113d6
mov dword [rsp + 0x90], 0
jmp 0x1400113e1
mov dword [rsp + 0x90], 1
mov eax, dword [rsp + 0x90]
mov dword [0x14007d250], eax
mov eax, dword [rsp + 0x30]
mov ecx, dword [0x14007d218]
add ecx, eax
mov eax, ecx
add eax, dword [rsp + 0x24]
mov ecx, dword [0x14007d210]
mov edx, dword [rsp + 0x28]
shl edx, cl
mov ecx, edx
or eax, ecx
mov ecx, dword [0x14007d218]
sub ecx, eax
mov eax, ecx
mov dword [0x14007d218], eax
jmp 0x140011469
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x3c]
sub ecx, eax
mov eax, ecx
movzx ecx, byte [rsp + 0x20]
xor eax, ecx
mov ecx, dword [0x14007d214]
sub ecx, eax
mov eax, ecx
mov ecx, dword [0x14007d20c]
xor ecx, eax
mov eax, ecx
mov dword [0x14007d20c], eax
movsx eax, byte [0x14007d25c]
imul eax, dword [rsp + 0x24]
cdq
mov ecx, 5
idiv ecx
mov eax, edx
mov dword [rsp + 0x28], eax
imul eax, dword [0x14007d220], 5
mov ecx, dword [rsp + 0x24]
add ecx, eax
mov eax, ecx
cdq
and edx, 3
add eax, edx
and eax, 3
sub eax, edx
mov dword [rsp + 0x1cc], eax
mov eax, dword [rsp + 0x1cc]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x1400114be
cmp dword [rsp + 0x50], 1
je 0x1400114ee
cmp dword [rsp + 0x50], 2
je 0x140011574
cmp dword [rsp + 0x50], 3
je 0x140011590
jmp 0x1400115f0
movzx eax, byte [rsp + 0x20]
and eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x40]
or ecx, eax
mov eax, ecx
mov ecx, dword [0x14007d214]
sub ecx, eax
mov eax, ecx
mov ecx, dword [0x14007d244]
add ecx, eax
mov eax, ecx
mov dword [0x14007d244], eax
jmp 0x1400115f0
movsx eax, byte [0x14007d25c]
movzx ecx, byte [rsp + 0x20]
and ecx, dword [rsp + 0x34]
xor ecx, dword [rsp + 0x2c]
add eax, ecx
mov byte [0x14007d21d], al
mov eax, dword [rsp + 0x24]
cmp dword [0x14007d23c], eax
jne 0x140011523
mov dword [rsp + 0x98], 1
jmp 0x14001152e
mov dword [rsp + 0x98], 0
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x24], eax
jne 0x140011545
mov dword [rsp + 0x94], 1
jmp 0x140011550
mov dword [rsp + 0x94], 0
mov eax, dword [0x14007d230]
mov ecx, dword [rsp + 0x94]
and ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x98]
xor ecx, eax
mov eax, ecx
mov dword [0x14007d24c], eax
jmp 0x1400115f0
mov eax, dword [rsp + 0x40]
mov ecx, dword [0x14007d218]
sub ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x30]
shr eax, cl
mov dword [0x14007d258], eax
jmp 0x1400115f0
movsx eax, byte [0x14007d200]
and eax, dword [rsp + 0x2c]
mov byte [0x14007d21e], al
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x38]
sub ecx, eax
mov eax, ecx
test eax, eax
je 0x1400115c5
cmp dword [rsp + 0x2c], 0
je 0x1400115c5
mov dword [rsp + 0x9c], 1
jmp 0x1400115d0
mov dword [rsp + 0x9c], 0
movzx eax, byte [0x14007d21e]
mov ecx, dword [rsp + 0x9c]
sar eax, cl
mov ecx, dword [0x14007d204]
and ecx, eax
mov eax, ecx
mov dword [0x14007d204], eax
mov eax, dword [0x14007d1fc]
imul eax, dword [rsp + 0x28]
xor edx, edx
mov ecx, 3
div ecx
mov eax, edx
mov dword [rsp + 0x44], eax
movzx eax, byte [rsp + 0x21]
test eax, eax
jne 0x140011630
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x28]
and ecx, eax
mov eax, ecx
test eax, eax
jne 0x140011630
mov dword [rsp + 0xa0], 0
jmp 0x14001163b
mov dword [rsp + 0xa0], 1
mov eax, dword [rsp + 0xa0]
mov ecx, dword [0x14007d210]
and ecx, eax
mov eax, ecx
movsx ecx, byte [0x14007d203]
xor ecx, eax
mov eax, ecx
mov byte [0x14007d203], al
mov eax, dword [rsp + 0x24]
mov ecx, dword [0x14007d228]
add ecx, eax
mov eax, ecx
mov byte [0x14007d21f], al
movzx eax, byte [rsp + 0x21]
cmp dword [0x14007d220], eax
jne 0x14001168b
mov dword [rsp + 0xa4], 1
jmp 0x140011696
mov dword [rsp + 0xa4], 0
mov eax, dword [rsp + 0xa4]
mov ecx, dword [0x14007d238]
add ecx, eax
mov eax, ecx
mov dword [0x14007d238], eax
movzx eax, byte [rsp + 0x21]
mov ecx, dword [rsp + 0x44]
shl eax, cl
cmp dword [0x14007d214], eax
jne 0x1400116cd
mov dword [rsp + 0xa8], 1
jmp 0x1400116d8
mov dword [rsp + 0xa8], 0
mov eax, dword [0x14007d244]
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0xa8]
or ecx, eax
mov eax, ecx
mov dword [0x14007d244], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x2c], eax
jne 0x14001170e
mov dword [rsp + 0xac], 1
jmp 0x140011719
mov dword [rsp + 0xac], 0
mov eax, dword [rsp + 0xac]
mov ecx, dword [0x14007d248]
xor ecx, eax
mov eax, ecx
test eax, eax
jne 0x14001174b
cmp dword [rsp + 0x38], 0
je 0x14001173e
cmp dword [0x14007d224], 0
jne 0x14001174b
mov dword [rsp + 0xb0], 0
jmp 0x140011756
mov dword [rsp + 0xb0], 1
movsx eax, byte [0x14007d21c]
add eax, dword [rsp + 0xb0]
mov byte [0x14007d21c], al
mov eax, dword [rsp + 0x38]
cmp dword [0x14007d258], eax
jne 0x140011783
mov dword [rsp + 0xb4], 1
jmp 0x14001178e
mov dword [rsp + 0xb4], 0
mov eax, dword [rsp + 0xb4]
mov dword [0x14007d20c], eax
movzx eax, byte [0x14007d202]
mov ecx, dword [rsp + 0x34]
shl eax, cl
test eax, eax
jne 0x1400117d5
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1400117c8
mov eax, dword [0x14007d23c]
movzx ecx, al
mov eax, dword [rsp + 0x38]
shr eax, cl
test eax, eax
jne 0x1400117d5
mov dword [rsp + 0xb8], 0
jmp 0x1400117e0
mov dword [rsp + 0xb8], 1
mov eax, dword [rsp + 0xb8]
mov ecx, dword [0x14007d258]
sub ecx, eax
mov eax, ecx
mov dword [0x14007d258], eax
movsx eax, byte [0x14007d21c]
cmp eax, dword [rsp + 0x24]
je 0x140011811
mov dword [rsp + 0xc0], 1
jmp 0x14001181c
mov dword [rsp + 0xc0], 0
mov eax, dword [0x14007d258]
cmp dword [rsp + 0x3c], eax
jbe 0x140011835
mov dword [rsp + 0xbc], 1
jmp 0x140011840
mov dword [rsp + 0xbc], 0
mov eax, dword [rsp + 0xbc]
cmp dword [rsp + 0xc0], eax
je 0x140011982
cmp dword [0x14007d258], 0
je 0x1400118a7
movsx eax, byte [0x14007d21c]
cmp dword [rsp + 0x34], eax
jne 0x140011877
mov dword [rsp + 0xc4], 1
jmp 0x140011882
mov dword [rsp + 0xc4], 0
movzx eax, byte [rsp + 0x21]
mov ecx, dword [rsp + 0x28]
or ecx, eax
mov eax, ecx
or eax, dword [rsp + 0xc4]
test eax, eax
je 0x1400118a7
mov dword [rsp + 0xc8], 1
jmp 0x1400118b2
mov dword [rsp + 0xc8], 0
mov eax, dword [rsp + 0xc8]
mov ecx, dword [0x14007d204]
or ecx, eax
mov eax, ecx
mov dword [0x14007d204], eax
mov eax, dword [0x14007d240]
imul eax, dword [rsp + 0x3c]
xor edx, edx
mov ecx, 3
div ecx
mov eax, edx
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3c]
cmp dword [0x14007d20c], eax
jne 0x1400118fc
mov dword [rsp + 0xcc], 1
jmp 0x140011907
mov dword [rsp + 0xcc], 0
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0xcc]
and ecx, eax
mov eax, ecx
mov dword [0x14007d258], eax
xor edx, edx
mov eax, dword [rsp + 0x38]
mov ecx, 5
div ecx
mov ecx, dword [0x14007d214]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x3c], eax
movzx eax, byte [rsp + 0x21]
cmp dword [rsp + 0x24], eax
jne 0x14001194f
mov dword [rsp + 0xd0], 1
jmp 0x14001195a
mov dword [rsp + 0xd0], 0
movzx eax, byte [0x14007d21e]
mov ecx, dword [rsp + 0x34]
mov edx, dword [rsp + 0xd0]
and edx, ecx
mov ecx, edx
add eax, ecx
mov ecx, dword [0x14007d240]
and ecx, eax
mov eax, ecx
mov dword [0x14007d240], eax
cmp dword [0x14007d258], 0
jne 0x14001199f
cmp dword [rsp + 0x2c], 0
jne 0x14001199f
mov dword [rsp + 0xd4], 0
jmp 0x1400119aa
mov dword [rsp + 0xd4], 1
movzx eax, byte [0x14007d202]
add eax, dword [rsp + 0xd4]
mov byte [0x14007d202], al
mov dword [rsp + 0x6c], 0xffffff82
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x1d0], eax
mov eax, dword [rsp + 0x6c]
inc eax
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x1d0], 0
je 0x140011a2e
cmp dword [rsp + 0x30], 0
jne 0x140011a09
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x38]
xor ecx, eax
mov eax, ecx
test eax, eax
jne 0x140011a09
mov dword [rsp + 0xd8], 0
jmp 0x140011a14
mov dword [rsp + 0xd8], 1
mov eax, dword [rsp + 0xd8]
movzx ecx, al
mov eax, dword [0x14007d258]
shr eax, cl
mov byte [0x14007d21d], al
jmp 0x1400119c6
movzx eax, byte [rsp + 0x20]
movzx ecx, byte [rsp + 0x21]
mov edx, dword [rsp + 0x44]
sub edx, ecx
mov ecx, edx
cmp eax, ecx
jne 0x140011a51
mov dword [rsp + 0xdc], 1
jmp 0x140011a5c
mov dword [rsp + 0xdc], 0
movsx eax, byte [0x14007d22f]
mov ecx, dword [rsp + 0xdc]
sar eax, cl
mov ecx, dword [0x14007d258]
and ecx, eax
mov eax, ecx
mov dword [0x14007d258], eax
movzx eax, byte [rsp + 0x21]
mov ecx, dword [0x14007d20c]
sub ecx, eax
mov eax, ecx
cmp eax, dword [rsp + 0x30]
je 0x140011aab
movzx eax, byte [rsp + 0x20]
cmp eax, dword [0x14007d1fc]
je 0x140011aab
mov dword [rsp + 0xe0], 0
jmp 0x140011ab6
mov dword [rsp + 0xe0], 1
mov eax, dword [rsp + 0xe0]
mov ecx, dword [0x14007d204]
and ecx, eax
mov eax, ecx
mov dword [0x14007d204], eax
mov eax, dword [0x14007d230]
imul eax, dword [rsp + 0x24]
xor edx, edx
mov ecx, 4
div ecx
mov eax, edx
mov dword [rsp + 0x28], eax
mov eax, dword [0x14007d204]
imul eax, dword [rsp + 0x30]
xor edx, edx
mov ecx, 5
div ecx
mov eax, edx
mov dword [rsp + 0x28], eax
cmp dword [0x14007d244], 0
jne 0x140011b28
cmp dword [rsp + 0x2c], 0
jne 0x140011b28
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x30]
sub ecx, eax
mov eax, ecx
test eax, eax
jne 0x140011b28
mov byte [rsp + 0x48], 0
jmp 0x140011b2d
mov byte [rsp + 0x48], 1
movzx eax, byte [rsp + 0x48]
mov byte [0x14007d201], al
movsx eax, byte [0x14007d22f]
cmp eax, dword [rsp + 0x40]
jne 0x140011b52
mov dword [rsp + 0xe4], 1
jmp 0x140011b5d
mov dword [rsp + 0xe4], 0
mov eax, dword [rsp + 0xe4]
mov dword [0x14007d220], eax
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
add eax, dword [rsp + 0x30]
cmp dword [0x14007d248], eax
jne 0x140011b8f
mov dword [rsp + 0xe8], 1
jmp 0x140011b9a
mov dword [rsp + 0xe8], 0
mov eax, dword [rsp + 0xe8]
mov ecx, dword [0x14007d250]
and ecx, eax
mov eax, ecx
mov dword [0x14007d250], eax
cmp dword [0x14007d250], 0
jne 0x140011c10
mov eax, dword [0x14007d258]
cmp dword [rsp + 0x3c], eax
jne 0x140011bd3
mov dword [rsp + 0xec], 1
jmp 0x140011bde
mov dword [rsp + 0xec], 0
mov eax, dword [rsp + 0xec]
cmp dword [rsp + 0x24], eax
jne 0x140011bf8
mov dword [rsp + 0xf0], 1
jmp 0x140011c03
mov dword [rsp + 0xf0], 0
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0xf0], eax
je 0x140011c67
cmp dword [0x14007d238], 0
je 0x140011c22
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140011c48
cmp dword [rsp + 0x34], 0
je 0x140011c30
cmp dword [rsp + 0x38], 0
jne 0x140011c48
movsx eax, byte [0x14007d22e]
test eax, eax
jne 0x140011c48
mov dword [rsp + 0xf4], 0
jmp 0x140011c53
mov dword [rsp + 0xf4], 1
movzx eax, byte [0x14007d202]
or eax, dword [rsp + 0xf4]
mov byte [0x14007d202], al
movzx eax, byte [rsp + 0x21]
mov ecx, dword [0x14007d1fc]
sub ecx, eax
mov eax, ecx
test eax, eax
jne 0x140011c90
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140011c90
mov dword [rsp + 0xf8], 0
jmp 0x140011c9b
mov dword [rsp + 0xf8], 1
mov eax, dword [rsp + 0xf8]
mov ecx, dword [0x14007d238]
sub ecx, eax
mov eax, ecx
mov dword [0x14007d238], eax
mov dword [rsp + 0x70], 0xa2
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x1d4], eax
mov eax, dword [rsp + 0x70]
dec eax
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x1d4], 0
je 0x140011e88
movsx eax, byte [0x14007d25c]
mov ecx, dword [rsp + 0x3c]
sar eax, cl
xor eax, dword [rsp + 0x24]
mov byte [0x14007d21c], al
movsx eax, byte [0x14007d22e]
mov dword [rsp + 0x1d8], eax
xor edx, edx
mov eax, dword [rsp + 0x38]
mov ecx, 5
div ecx
mov eax, edx
mov ecx, dword [rsp + 0x1d8]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x24]
add ecx, eax
mov eax, ecx
movzx ecx, al
mov eax, dword [0x14007d210]
shl eax, cl
mov dword [0x14007d250], eax
cmp dword [0x14007d23c], 0
jne 0x140011da2
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x140011d65
cmp dword [0x14007d208], 0
je 0x140011d65
mov dword [rsp + 0xfc], 1
jmp 0x140011d70
mov dword [rsp + 0xfc], 0
mov eax, dword [rsp + 0xfc]
cmp dword [rsp + 0x40], eax
jbe 0x140011d8a
mov dword [rsp + 0x100], 1
jmp 0x140011d95
mov dword [rsp + 0x100], 0
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x100], eax
jne 0x140011dc0
movsx eax, byte [0x14007d200]
mov ecx, dword [rsp + 0x28]
sar eax, cl
movzx ecx, byte [0x14007d22c]
add ecx, eax
mov eax, ecx
mov byte [0x14007d22c], al
movzx eax, byte [rsp + 0x21]
cmp dword [rsp + 0x3c], eax
jne 0x140011dd8
mov dword [rsp + 0x104], 1
jmp 0x140011de3
mov dword [rsp + 0x104], 0
mov eax, dword [rsp + 0x104]
mov ecx, dword [rsp + 0x28]
xor ecx, eax
mov eax, ecx
mov ecx, dword [0x14007d240]
sub ecx, eax
mov eax, ecx
movsx ecx, byte [0x14007d21c]
and ecx, eax
mov eax, ecx
mov byte [0x14007d21c], al
movsx eax, byte [0x14007d200]
test eax, eax
je 0x140011e2c
cmp dword [rsp + 0x3c], 0
je 0x140011e2c
mov dword [rsp + 0x108], 1
jmp 0x140011e37
mov dword [rsp + 0x108], 0
mov eax, dword [rsp + 0x108]
mov dword [0x14007d228], eax
cmp dword [0x14007d258], 0
je 0x140011e61
cmp dword [rsp + 0x24], 0
je 0x140011e61
mov dword [rsp + 0x10c], 1
jmp 0x140011e6c
mov dword [rsp + 0x10c], 0
mov eax, dword [rsp + 0x10c]
mov ecx, dword [0x14007d204]
or ecx, eax
mov eax, ecx
mov dword [0x14007d204], eax
jmp 0x140011cba
mov dword [rsp + 0x54], 0x17a
mov dword [rsp + 0x54], 0xc
jmp 0x140011ea4
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0xa80
jge 0x140011efd
mov eax, dword [rsp + 0x34]
mov ecx, dword [0x14007d218]
sub ecx, eax
mov eax, ecx
test eax, eax
je 0x140011ee3
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x2c]
add ecx, eax
mov eax, ecx
xor eax, dword [0x14007d254]
test eax, eax
je 0x140011ee3
mov dword [rsp + 0x110], 1
jmp 0x140011eee
mov dword [rsp + 0x110], 0
mov eax, dword [rsp + 0x110]
mov dword [0x14007d224], eax
jmp 0x140011e9a
movsx eax, byte [0x14007d22d]
imul eax, dword [rsp + 0x28]
xor edx, edx
mov ecx, 3
div ecx
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x28]
mov ecx, dword [0x14007d220]
xor ecx, eax
mov eax, ecx
mov ecx, dword [0x14007d240]
or ecx, eax
mov eax, ecx
mov dword [0x14007d240], eax
movsx eax, byte [0x14007d25c]
xor eax, dword [rsp + 0x24]
mov ecx, dword [0x14007d234]
xor ecx, eax
mov eax, ecx
mov dword [0x14007d234], eax
movsx eax, byte [0x14007d21d]
mov dword [rsp + 0x1dc], eax
xor edx, edx
mov eax, dword [rsp + 0x28]
mov ecx, 3
div ecx
mov ecx, dword [rsp + 0x1dc]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x2c], eax
jne 0x140012082
cmp dword [0x14007d20c], 0
jne 0x140011fa4
cmp dword [rsp + 0x28], 0
jne 0x140011fa4
mov dword [rsp + 0x114], 0
jmp 0x140011faf
mov dword [rsp + 0x114], 1
mov eax, dword [rsp + 0x114]
mov ecx, dword [0x14007d204]
sub ecx, eax
mov eax, ecx
mov dword [0x14007d204], eax
cmp dword [0x14007d224], 0
jne 0x140011ff9
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x28], eax
jne 0x140011fec
mov eax, dword [0x14007d1fc]
movzx ecx, al
mov eax, dword [rsp + 0x34]
shl eax, cl
test eax, eax
jne 0x140011ff9
mov dword [rsp + 0x118], 0
jmp 0x140012004
mov dword [rsp + 0x118], 1
movsx eax, byte [0x14007d201]
add eax, dword [rsp + 0x118]
mov byte [0x14007d201], al
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x30]
sub ecx, eax
mov eax, ecx
movzx ecx, al
mov eax, dword [0x14007d224]
shr eax, cl
movsx ecx, byte [0x14007d25c]
add ecx, eax
mov eax, ecx
mov byte [0x14007d25c], al
movzx eax, byte [rsp + 0x21]
mov ecx, dword [0x14007d208]
add ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x3c]
shr eax, cl
mov ecx, dword [0x14007d20c]
and ecx, eax
mov eax, ecx
mov dword [0x14007d20c], eax
xor edx, edx
mov eax, dword [rsp + 0x34]
mov ecx, 4
div ecx
mov eax, edx
mov ecx, dword [0x14007d1fc]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
call qword [sym.imp.KERNEL32.dll_GetConsoleCP]
cmp dword [rsp + 0x34], 0
je 0x140012176
cmp dword [rsp + 0x28], 0
je 0x140012176
cmp dword [0x14007d244], 0
je 0x1400120c3
movzx eax, byte [rsp + 0x21]
mov ecx, dword [rsp + 0x2c]
sar eax, cl
test eax, eax
je 0x1400120c3
mov dword [rsp + 0x11c], 1
jmp 0x1400120ce
mov dword [rsp + 0x11c], 0
mov eax, dword [rsp + 0x11c]
mov ecx, dword [0x14007d218]
sub ecx, eax
mov eax, ecx
mov dword [0x14007d218], eax
movzx eax, byte [rsp + 0x21]
test eax, eax
jne 0x140012109
cmp dword [rsp + 0x40], 0
je 0x1400120fc
cmp dword [rsp + 0x2c], 0
jne 0x140012109
mov dword [rsp + 0x120], 0
jmp 0x140012114
mov dword [rsp + 0x120], 1
mov eax, dword [rsp + 0x120]
cmp dword [0x14007d228], eax
jne 0x14001212a
mov byte [rsp + 0x49], 1
jmp 0x14001212f
mov byte [rsp + 0x49], 0
movzx eax, byte [rsp + 0x49]
mov byte [0x14007d21c], al
movzx eax, byte [0x14007d202]
movzx ecx, byte [rsp + 0x20]
mov dword [rsp + 0x1e0], ecx
mov edx, dword [rsp + 0x30]
movzx ecx, dl
mov edx, dword [rsp + 0x1e0]
shl edx, cl
mov ecx, edx
and ecx, dword [rsp + 0x24]
or eax, ecx
movzx ecx, byte [0x14007d21f]
and ecx, eax
mov eax, ecx
mov byte [0x14007d21f], al
cmp dword [0x14007d230], 0
jne 0x1400121b8
mov eax, dword [0x14007d218]
cmp dword [rsp + 0x34], eax
jne 0x140012198
mov dword [rsp + 0x124], 1
jmp 0x1400121a3
mov dword [rsp + 0x124], 0
movzx eax, byte [rsp + 0x20]
cmp eax, dword [rsp + 0x124]
je 0x1400121d2
cmp dword [rsp + 0x24], 0
je 0x1400121d2
movzx eax, byte [0x14007d22c]
movzx ecx, byte [rsp + 0x21]
shl eax, cl
mov ecx, dword [rsp + 0x28]
shl eax, cl
mov dword [0x14007d204], eax
movsx eax, byte [0x14007d200]
cmp dword [rsp + 0x2c], eax
jne 0x1400121ec
mov dword [rsp + 0x128], 1
jmp 0x1400121f7
mov dword [rsp + 0x128], 0
mov eax, dword [rsp + 0x34]
mov ecx, dword [0x14007d238]
sub ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x3c]
shr eax, cl
xor eax, dword [rsp + 0x128]
mov ecx, dword [0x14007d238]
xor ecx, eax
mov eax, ecx
mov dword [0x14007d238], eax
mov eax, dword [rsp + 0x40]
movzx ecx, al
mov eax, dword [rsp + 0x3c]
shr eax, cl
cmp dword [rsp + 0x34], eax
jne 0x140012242
mov dword [rsp + 0x12c], 1
jmp 0x14001224d
mov dword [rsp + 0x12c], 0
mov eax, dword [rsp + 0x12c]
mov ecx, dword [0x14007d210]
add ecx, eax
mov eax, ecx
mov ecx, dword [0x14007d214]
xor ecx, eax
mov eax, ecx
mov dword [0x14007d214], eax
mov eax, dword [rsp + 0x28]
mov ecx, dword [0x14007d23c]
sub ecx, eax
mov eax, ecx
test eax, eax
je 0x140012296
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x140012296
mov dword [rsp + 0x130], 1
jmp 0x1400122a1
mov dword [rsp + 0x130], 0
movsx eax, byte [0x14007d203]
xor eax, dword [rsp + 0x130]
mov byte [0x14007d203], al
cmp dword [0x14007d230], 0
jne 0x1400122d4
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x1400122d4
mov dword [rsp + 0x134], 0
jmp 0x1400122df
mov dword [rsp + 0x134], 1
mov eax, dword [rsp + 0x134]
mov ecx, dword [0x14007d240]
or ecx, eax
mov eax, ecx
mov dword [0x14007d240], eax
mov dword [rsp + 0x74], 0xffffff7f
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x1e4], eax
mov eax, dword [rsp + 0x74]
inc eax
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x1e4], 0
je 0x140012434
cmp dword [0x14007d220], 0
je 0x140012347
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x28]
or ecx, eax
mov eax, ecx
test eax, eax
je 0x140012347
mov dword [rsp + 0x138], 1
jmp 0x140012352
mov dword [rsp + 0x138], 0
mov eax, dword [rsp + 0x138]
mov dword [0x14007d204], eax
mov eax, dword [0x14007d220]
imul eax, dword [rsp + 0x24]
cdq
mov ecx, 5
idiv ecx
mov eax, edx
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x40]
movzx ecx, al
mov eax, dword [rsp + 0x38]
shl eax, cl
mov ecx, dword [0x14007d20c]
or ecx, eax
mov eax, ecx
test eax, eax
jne 0x1400123b0
cmp dword [rsp + 0x2c], 0
jne 0x1400123b0
cmp dword [0x14007d20c], 0
jne 0x1400123b0
mov dword [rsp + 0x13c], 0
jmp 0x1400123bb
mov dword [rsp + 0x13c], 1
mov eax, dword [rsp + 0x13c]
mov ecx, dword [0x14007d250]
sub ecx, eax
mov eax, ecx
mov dword [0x14007d250], eax
movsx eax, byte [0x14007d203]
movzx ecx, byte [rsp + 0x20]
shl eax, cl
or eax, dword [rsp + 0x38]
mov ecx, dword [0x14007d23c]
mov edx, dword [rsp + 0x38]
xor edx, ecx
mov ecx, edx
or eax, ecx
movzx ecx, byte [0x14007d202]
and ecx, eax
mov eax, ecx
mov byte [0x14007d202], al
movzx eax, byte [rsp + 0x20]
movzx ecx, byte [rsp + 0x20]
add eax, ecx
sub eax, dword [rsp + 0x28]
mov ecx, dword [0x14007d20c]
or ecx, eax
mov eax, ecx
mov ecx, dword [0x14007d1fc]
or ecx, eax
mov eax, ecx
mov dword [0x14007d1fc], eax
jmp 0x1400122fe
mov eax, dword [rsp + 0x40]
mov ecx, dword [0x14007d24c]
sub ecx, eax
mov eax, ecx
mov dword [0x14007d258], eax
mov eax, dword [rsp + 0x40]
movzx ecx, al
mov eax, dword [rsp + 0x28]
shr eax, cl
test eax, eax
je 0x14001246d
cmp dword [rsp + 0x34], 0
je 0x14001246d
mov dword [rsp + 0x140], 1
jmp 0x140012478
mov dword [rsp + 0x140], 0
movsx eax, byte [0x14007d25c]
or eax, dword [rsp + 0x140]
mov dword [0x14007d210], eax
cmp dword [0x14007d210], 0
jne 0x1400124cb
movsx eax, byte [0x14007d200]
cmp dword [rsp + 0x2c], eax
jbe 0x1400124af
mov dword [rsp + 0x144], 1
jmp 0x1400124ba
mov dword [rsp + 0x144], 0
mov eax, dword [rsp + 0x144]
cmp dword [rsp + 0x40], eax
jae 0x14001261e
mov eax, dword [rsp + 0x30]
mov ecx, dword [0x14007d228]
sub ecx, eax
mov eax, ecx
cmp eax, dword [rsp + 0x28]
jne 0x1400124ec
mov dword [rsp + 0x148], 1
jmp 0x1400124f7
mov dword [rsp + 0x148], 0
movsx eax, byte [0x14007d22e]
sub eax, dword [rsp + 0x148]
mov byte [0x14007d22e], al
mov eax, dword [rsp + 0x28]
movzx ecx, al
mov eax, dword [rsp + 0x24]
shl eax, cl
mov ecx, dword [rsp + 0x24]
sar eax, cl
mov ecx, dword [0x14007d250]
or ecx, eax
mov eax, ecx
test eax, eax
jne 0x140012544
movzx eax, byte [0x14007d22c]
test eax, eax
jne 0x140012544
mov dword [rsp + 0x14c], 0
jmp 0x14001254f
mov dword [rsp + 0x14c], 1
movsx eax, byte [0x14007d25c]
add eax, dword [rsp + 0x14c]
mov byte [0x14007d25c], al
movzx eax, byte [0x14007d202]
test eax, eax
je 0x1400125aa
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x24], eax
jne 0x140012585
mov dword [rsp + 0x150], 1
jmp 0x140012590
mov dword [rsp + 0x150], 0
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x150], eax
jne 0x1400125aa
mov dword [rsp + 0x154], 1
jmp 0x1400125b5
mov dword [rsp + 0x154], 0
mov eax, dword [rsp + 0x154]
mov ecx, dword [0x14007d250]
or ecx, eax
mov eax, ecx
mov dword [0x14007d250], eax
cmp dword [rsp + 0x24], 0
je 0x1400125f1
movzx eax, byte [rsp + 0x21]
mov ecx, dword [rsp + 0x40]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x1400125f1
mov dword [rsp + 0x158], 1
jmp 0x1400125fc
mov dword [rsp + 0x158], 0
mov eax, dword [rsp + 0x158]
mov ecx, dword [0x14007d244]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x14007d22c]
and ecx, eax
mov eax, ecx
mov byte [0x14007d22c], al
mov dword [rsp + 0x58], 0x5e
mov dword [rsp + 0x58], 4
jmp 0x14001263a
mov eax, dword [rsp + 0x58]
inc eax
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0x4c2
jae 0x140012857
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x44], eax
jne 0x1400126f9
xor edx, edx
mov eax, dword [rsp + 0x2c]
mov ecx, 4
div ecx
mov ecx, dword [0x14007d20c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x40], eax
cmp dword [0x14007d248], 0
je 0x140012698
mov eax, dword [rsp + 0x2c]
movzx ecx, al
mov eax, dword [rsp + 0x24]
shl eax, cl
test eax, eax
je 0x140012698
mov dword [rsp + 0x15c], 1
jmp 0x1400126a3
mov dword [rsp + 0x15c], 0
mov eax, dword [rsp + 0x15c]
mov ecx, dword [0x14007d208]
xor ecx, eax
mov eax, ecx
mov dword [0x14007d208], eax
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x3c]
xor ecx, eax
mov eax, ecx
mov ecx, dword [0x14007d208]
or ecx, eax
mov eax, ecx
movzx ecx, byte [0x14007d22c]
add ecx, eax
mov eax, ecx
mov byte [0x14007d22c], al
mov eax, dword [0x14007d220]
imul eax, dword [rsp + 0x30]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [rsp + 0x44], eax
movsx eax, byte [0x14007d22f]
imul eax, dword [rsp + 0x24]
cdq
mov ecx, 3
idiv ecx
mov dword [rsp + 0x2c], eax
movsx eax, byte [0x14007d201]
mov ecx, dword [rsp + 0x38]
mov edx, dword [rsp + 0x24]
shl edx, cl
mov ecx, edx
mov dword [rsp + 0x1e8], ecx
mov edx, dword [rsp + 0x3c]
movzx ecx, dl
mov edx, dword [rsp + 0x1e8]
sar edx, cl
mov ecx, edx
cmp eax, ecx
jne 0x14001274e
mov dword [rsp + 0x160], 1
jmp 0x140012759
mov dword [rsp + 0x160], 0
mov eax, dword [rsp + 0x160]
mov ecx, dword [0x14007d244]
and ecx, eax
mov eax, ecx
mov dword [0x14007d244], eax
movsx eax, byte [0x14007d22e]
movzx ecx, byte [rsp + 0x20]
mov dword [rsp + 0x1ec], ecx
mov edx, dword [rsp + 0x30]
movzx ecx, dl
mov edx, dword [rsp + 0x34]
shr edx, cl
mov ecx, edx
mov edx, dword [rsp + 0x1ec]
or edx, ecx
mov ecx, edx
xor eax, ecx
mov ecx, dword [0x14007d224]
or ecx, eax
mov eax, ecx
mov dword [0x14007d224], eax
movzx eax, byte [rsp + 0x21]
mov ecx, dword [0x14007d238]
and ecx, eax
mov eax, ecx
and eax, dword [rsp + 0x38]
mov dword [0x14007d224], eax
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x38]
sub ecx, eax
mov eax, ecx
movsx ecx, byte [0x14007d21d]
mov edx, dword [rsp + 0x24]
sub edx, ecx
mov ecx, edx
cmp eax, ecx
jne 0x1400127f4
mov dword [rsp + 0x164], 1
jmp 0x1400127ff
mov dword [rsp + 0x164], 0
movsx eax, byte [0x14007d203]
xor eax, dword [rsp + 0x164]
mov ecx, dword [0x14007d238]
and ecx, eax
mov eax, ecx
mov dword [0x14007d238], eax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x3c]
add ecx, eax
mov eax, ecx
and eax, dword [rsp + 0x30]
movzx ecx, al
mov eax, dword [0x14007d248]
shl eax, cl
mov dword [0x14007d204], eax
mov eax, dword [rsp + 0x44]
mov ecx, dword [0x14007d1fc]
and ecx, eax
mov eax, ecx
mov byte [0x14007d21d], al
jmp 0x140012630
mov dword [rsp + 0x78], 0x106
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x1f0], eax
mov eax, dword [rsp + 0x78]
dec eax
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x1f0], 0
je 0x14001289a
mov eax, dword [0x14007d250]
imul eax, dword [rsp + 0x34]
xor edx, edx
mov ecx, 3
div ecx
mov eax, edx
mov dword [rsp + 0x28], eax
jmp 0x14001285f
cmp dword [0x14007d254], 0
jne 0x1400128d0
movzx eax, byte [rsp + 0x20]
mov ecx, dword [rsp + 0x3c]
sub ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x30]
shr eax, cl
test eax, eax
jne 0x1400128d0
cmp dword [0x14007d24c], 0
jne 0x1400128d0
mov dword [rsp + 0x168], 0
jmp 0x1400128db
mov dword [rsp + 0x168], 1
mov eax, dword [rsp + 0x168]
mov ecx, dword [0x14007d20c]
add ecx, eax
mov eax, ecx
mov dword [0x14007d20c], eax
movsx eax, byte [0x14007d25c]
movzx ecx, byte [rsp + 0x21]
shl eax, cl
mov ecx, dword [0x14007d20c]
add ecx, eax
mov eax, ecx
mov dword [0x14007d20c], eax
cmp dword [0x14007d224], 0
je 0x140012936
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x28]
xor ecx, eax
mov eax, ecx
test eax, eax
je 0x140012936
mov dword [rsp + 0x16c], 1
jmp 0x140012941
mov dword [rsp + 0x16c], 0
movzx eax, byte [0x14007d21e]
and eax, dword [rsp + 0x16c]
mov byte [0x14007d21e], al
cmp dword [0x14007d220], 0
je 0x14001296e
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x28]
sub ecx, eax
mov eax, ecx
test eax, eax
jne 0x14001298b
cmp dword [rsp + 0x30], 0
je 0x14001297e
cmp dword [0x14007d210], 0
jne 0x14001298b
mov dword [rsp + 0x170], 0
jmp 0x140012996
mov dword [rsp + 0x170], 1
mov eax, dword [rsp + 0x170]
mov ecx, dword [0x14007d244]
add ecx, eax
mov eax, ecx
mov dword [0x14007d244], eax
cmp dword [0x14007d250], 0
jne 0x1400129e1
movzx eax, byte [rsp + 0x20]
movzx ecx, byte [rsp + 0x21]
mov edx, dword [rsp + 0x24]
and edx, ecx
mov ecx, edx
or eax, ecx
or eax, dword [0x14007d204]
test eax, eax
jne 0x1400129e1
mov dword [rsp + 0x174], 0
jmp 0x1400129ec
mov dword [rsp + 0x174], 1
mov eax, dword [rsp + 0x174]
mov dword [0x14007d208], eax
cmp dword [0x14007d204], 0
jne 0x140012a20
mov eax, dword [rsp + 0x28]
movzx ecx, al
mov eax, dword [rsp + 0x34]
shr eax, cl
test eax, eax
jne 0x140012a20
mov dword [rsp + 0x178], 0
jmp 0x140012a2b
mov dword [rsp + 0x178], 1
mov eax, dword [rsp + 0x178]
mov dword [0x14007d204], eax
movsx eax, byte [0x14007d22e]
imul eax, dword [rsp + 0x34]
xor edx, edx
mov ecx, 5
div ecx
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x34]
mov ecx, dword [0x14007d23c]
and ecx, eax
mov eax, ecx
mov ecx, dword [0x14007d1fc]
xor ecx, eax
mov eax, ecx
mov dword [0x14007d1fc], eax
movsx eax, byte [0x14007d21d]
xor eax, dword [rsp + 0x30]
or eax, dword [rsp + 0x30]
mov byte [0x14007d21f], al
mov eax, dword [rsp + 0x2c]
mov ecx, dword [0x14007d258]
lea eax, [rax + rcx*2]
xor edx, edx
mov ecx, 3
div ecx
mov eax, edx
mov dword [rsp + 0x1f4], eax
mov eax, dword [rsp + 0x1f4]
mov dword [rsp + 0x5c], eax
cmp dword [rsp + 0x5c], 0
je 0x140012adb
cmp dword [rsp + 0x5c], 1
je 0x140012b54
cmp dword [rsp + 0x5c], 2
je 0x140012bc6
cmp dword [rsp + 0x5c], 3
je 0x140012bff
jmp 0x140012c1e
movsx eax, byte [0x14007d200]
cmp eax, dword [rsp + 0x2c]
jne 0x140012af5
mov dword [rsp + 0x17c], 1
jmp 0x140012b00
mov dword [rsp + 0x17c], 0
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x17c]
or ecx, eax
mov eax, ecx
test eax, eax
jne 0x140012b2d
movzx eax, byte [rsp + 0x21]
cmp eax, dword [0x14007d23c]
je 0x140012b2d
mov dword [rsp + 0x180], 0
jmp 0x140012b38
mov dword [rsp + 0x180], 1
mov eax, dword [rsp + 0x180]
mov ecx, dword [0x14007d234]
sub ecx, eax
mov eax, ecx
mov dword [0x14007d234], eax
jmp 0x140012c1e
movzx eax, byte [rsp + 0x21]
add eax, dword [rsp + 0x38]
movzx ecx, al
mov eax, dword [0x14007d224]
shr eax, cl
cmp eax, dword [rsp + 0x34]
jne 0x140012b7b
mov dword [rsp + 0x184], 1
jmp 0x140012b86
mov dword [rsp + 0x184], 0
mov eax, dword [0x14007d24c]
cmp dword [rsp + 0x184], eax
jne 0x140012ba2
mov dword [rsp + 0x188], 1
jmp 0x140012bad
mov dword [rsp + 0x188], 0
mov eax, dword [rsp + 0x188]
mov ecx, dword [0x14007d208]
sub ecx, eax
mov eax, ecx
mov dword [0x14007d208], eax
jmp 0x140012c1e
movzx eax, byte [rsp + 0x20]
movzx ecx, al
mov eax, dword [0x14007d204]
shl eax, cl
xor eax, dword [rsp + 0x44]
mov dword [0x14007d224], eax
movzx eax, byte [rsp + 0x20]
cdq
mov ecx, 3
idiv ecx
mov eax, edx
mov ecx, dword [0x14007d208]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x44], eax
jmp 0x140012c1e
movsx eax, byte [0x14007d22f]
movzx ecx, byte [rsp + 0x20]
or eax, ecx
movzx ecx, byte [0x14007d21f]
add ecx, eax
mov eax, ecx
mov byte [0x14007d21f], al
movsx eax, byte [0x14007d22f]
mov dword [rsp + 0x1f8], eax
movzx ecx, byte [rsp + 0x20]
mov eax, ecx
cdq
and edx, 3
add eax, edx
and eax, 3
sub eax, edx
mov ecx, dword [rsp + 0x1f8]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x3c], eax
movzx eax, byte [0x14007d21e]
mov ecx, dword [rsp + 0x2c]
shl eax, cl
or eax, dword [rsp + 0x28]
mov ecx, dword [0x14007d208]
add ecx, eax
mov eax, ecx
mov dword [0x14007d208], eax
movsx eax, byte [0x14007d21c]
and eax, dword [rsp + 0x24]
or eax, dword [rsp + 0x24]
mov ecx, dword [0x14007d240]
and ecx, eax
mov eax, ecx
mov dword [0x14007d240], eax
movzx eax, byte [rsp + 0x20]
cmp eax, dword [rsp + 0x3c]
je 0x140012dd2
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x34], eax
jne 0x140012cb3
mov dword [rsp + 0x18c], 1
jmp 0x140012cbe
mov dword [rsp + 0x18c], 0
movzx eax, byte [0x14007d21e]
xor eax, dword [rsp + 0x18c]
mov ecx, dword [0x14007d240]
sub ecx, eax
mov eax, ecx
mov dword [0x14007d240], eax
mov eax, dword [rsp + 0x34]
mov ecx, dword [0x14007d204]
sub ecx, eax
mov eax, ecx
cmp eax, dword [rsp + 0x40]
jne 0x140012cfd
mov dword [rsp + 0x190], 1
jmp 0x140012d08
mov dword [rsp + 0x190], 0
mov eax, dword [0x14007d228]
movzx ecx, al
mov eax, dword [rsp + 0x2c]
shl eax, cl
mov ecx, dword [rsp + 0x190]
and ecx, eax
mov eax, ecx
mov byte [0x14007d21c], al
movsx eax, byte [0x14007d203]
imul eax, dword [rsp + 0x30]
cdq
and edx, 3
add eax, edx
and eax, 3
sub eax, edx
mov byte [rsp + 0x21], al
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x40]
and ecx, eax
mov eax, ecx
test eax, eax
jne 0x140012d67
cmp dword [rsp + 0x2c], 0
jne 0x140012d67
mov dword [rsp + 0x194], 0
jmp 0x140012d72
mov dword [rsp + 0x194], 1
movsx eax, byte [0x14007d200]
cmp eax, dword [rsp + 0x194]
jne 0x140012d89
mov byte [rsp + 0x4a], 1
jmp 0x140012d8e
mov byte [rsp + 0x4a], 0
movzx eax, byte [rsp + 0x4a]
mov byte [0x14007d21d], al
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x28], eax
jne 0x140012db0
mov dword [rsp + 0x198], 1
jmp 0x140012dbb
mov dword [rsp + 0x198], 0
mov eax, dword [rsp + 0x198]
mov ecx, dword [0x14007d204]
xor ecx, eax
mov eax, ecx
mov dword [0x14007d224], eax
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x38], eax
je 0x140012f0c
cmp dword [rsp + 0x2c], 0
jne 0x140012e04
movzx eax, byte [rsp + 0x21]
movzx ecx, byte [rsp + 0x20]
or eax, ecx
test eax, eax
jne 0x140012e04
mov dword [rsp + 0x19c], 0
jmp 0x140012e0f
mov dword [rsp + 0x19c], 1
mov eax, dword [rsp + 0x19c]
mov ecx, dword [0x14007d214]
add ecx, eax
mov eax, ecx
mov ecx, dword [0x14007d250]
or ecx, eax
mov eax, ecx
mov dword [0x14007d250], eax
cmp dword [0x14007d258], 0
jne 0x140012e69
cmp dword [rsp + 0x30], 0
je 0x140012e5c
movzx eax, byte [0x14007d202]
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
movzx ecx, al
mov eax, dword [rsp + 0x24]
sar eax, cl
test eax, eax
jne 0x140012e69
mov dword [rsp + 0x1a0], 0
jmp 0x140012e74
mov dword [rsp + 0x1a0], 1
mov eax, dword [rsp + 0x1a0]
mov dword [0x14007d228], eax
movsx eax, byte [0x14007d21d]
test eax, eax
je 0x140012eb1
movzx eax, byte [rsp + 0x21]
mov ecx, dword [rsp + 0x38]
or ecx, eax
mov eax, ecx
test eax, eax
je 0x140012eb1
cmp dword [rsp + 0x24], 0
je 0x140012eb1
mov dword [rsp + 0x1a4], 1
jmp 0x140012ebc
mov dword [rsp + 0x1a4], 0
movzx eax, byte [0x14007d202]
sub eax, dword [rsp + 0x1a4]
mov byte [0x14007d202], al
mov eax, dword [rsp + 0x34]
mov ecx, dword [0x14007d24c]
sub ecx, eax
mov eax, ecx
mov ecx, dword [0x14007d204]
sub ecx, eax
mov eax, ecx
mov dword [0x14007d204], eax
movsx eax, byte [0x14007d21c]
mov ecx, dword [rsp + 0x24]
sar eax, cl
movzx ecx, byte [0x14007d21f]
and ecx, eax
mov eax, ecx
mov byte [0x14007d21f], al
mov dword [rsp + 0x7c], 0xfc
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x1fc], eax
mov eax, dword [rsp + 0x7c]
dec eax
mov dword [rsp + 0x7c], eax
cmp dword [rsp + 0x1fc], 0
je 0x140012ffb
movzx eax, byte [rsp + 0x20]
add eax, dword [rsp + 0x24]
movzx ecx, al
mov eax, dword [rsp + 0x28]
shr eax, cl
mov ecx, dword [0x14007d208]
add ecx, eax
mov eax, ecx
mov ecx, dword [0x14007d248]
sub ecx, eax
mov eax, ecx
mov dword [0x14007d248], eax
movsx eax, byte [0x14007d25c]
sub eax, dword [rsp + 0x3c]
movzx ecx, byte [0x14007d22c]
sub ecx, eax
mov eax, ecx
mov byte [0x14007d22c], al
movsx eax, byte [0x14007d25c]
movzx ecx, byte [rsp + 0x20]
cmp eax, ecx
jne 0x140012f9c
mov dword [rsp + 0x1a8], 1
jmp 0x140012fa7
mov dword [rsp + 0x1a8], 0
mov eax, dword [rsp + 0x1a8]
mov ecx, dword [0x14007d234]
sub ecx, eax
mov eax, ecx
mov dword [0x14007d234], eax
mov eax, dword [rsp + 0x44]
cmp dword [0x14007d214], eax
jne 0x140012fd7
mov dword [rsp + 0x1ac], 1
jmp 0x140012fe2
mov dword [rsp + 0x1ac], 0
movzx eax, byte [0x14007d21f]
or eax, dword [rsp + 0x1ac]
mov byte [0x14007d21f], al
jmp 0x140012f14
movsx eax, byte [0x14007d21c]
movzx ecx, byte [rsp + 0x21]
shl eax, cl
mov ecx, dword [0x14007d218]
xor ecx, eax
mov eax, ecx
mov dword [0x14007d218], eax
movzx eax, byte [rsp + 0x21]
mov ecx, dword [0x14007d214]
and ecx, eax
mov eax, ecx
and eax, dword [rsp + 0x28]
mov ecx, dword [0x14007d23c]
add ecx, eax
mov eax, ecx
mov dword [0x14007d23c], eax
mov eax, dword [rsp + 0x24]
mov ecx, dword [0x14007d238]
and ecx, eax
mov eax, ecx
mov byte [0x14007d21f], al
xor edx, edx
mov eax, dword [rsp + 0x38]
mov ecx, 4
div ecx
mov ecx, dword [0x14007d24c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140013092
mov eax, dword [rsp + 0x44]
movzx ecx, al
mov eax, dword [rsp + 0x2c]
shr eax, cl
test eax, eax
je 0x140013092
mov dword [rsp + 0x1b0], 1
jmp 0x14001309d
mov dword [rsp + 0x1b0], 0
mov eax, dword [rsp + 0x1b0]
mov ecx, dword [0x14007d1fc]
sub ecx, eax
mov eax, ecx
mov ecx, dword [0x14007d248]
xor ecx, eax
mov eax, ecx
mov dword [0x14007d248], eax
movzx eax, byte [0x14007d21e]
test eax, eax
jne 0x1400130ed
cmp dword [rsp + 0x2c], 0
je 0x1400130e0
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x30]
xor ecx, eax
mov eax, ecx
test eax, eax
jne 0x1400130ed
mov dword [rsp + 0x1b4], 0
jmp 0x1400130f8
mov dword [rsp + 0x1b4], 1
mov eax, dword [rsp + 0x1b4]
mov ecx, dword [0x14007d218]
xor ecx, eax
mov eax, ecx
mov dword [0x14007d218], eax
imul eax, dword [0x14007d24c], 3
mov ecx, dword [rsp + 0x34]
add ecx, eax
mov eax, ecx
xor edx, edx
mov ecx, 3
div ecx
mov eax, edx
mov word [rsp + 0x68], ax
movsx eax, word [rsp + 0x68]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x14001315c
cmp dword [rsp + 0x60], 1
je 0x140013190
cmp dword [rsp + 0x60], 2
je 0x1400131c9
cmp dword [rsp + 0x60], 3
je 0x140013259
jmp 0x1400132e4
movsx eax, byte [0x14007d22f]
movzx ecx, byte [rsp + 0x20]
or eax, ecx
mov ecx, dword [0x14007d224]
sub ecx, eax
mov eax, ecx
mov dword [0x14007d224], eax
movsx eax, byte [0x14007d21c]
add eax, dword [rsp + 0x38]
mov byte [0x14007d21f], al
jmp 0x140013320
mov eax, dword [rsp + 0x28]
mov ecx, dword [0x14007d208]
sub ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x40]
shl eax, cl
mov ecx, dword [0x14007d224]
mov edx, dword [rsp + 0x38]
and edx, ecx
mov ecx, edx
xor eax, ecx
mov ecx, dword [0x14007d248]
xor ecx, eax
mov eax, ecx
mov dword [0x14007d248], eax
jmp 0x140013320
movsx eax, byte [0x14007d201]
mov ecx, dword [rsp + 0x30]
shl eax, cl
xor eax, dword [rsp + 0x28]
test eax, eax
jne 0x1400131fd
mov eax, dword [0x14007d214]
mov ecx, dword [rsp + 0x3c]
and ecx, eax
mov eax, ecx
test eax, eax
jne 0x1400131fd
mov dword [rsp + 0x1b8], 0
jmp 0x140013208
mov dword [rsp + 0x1b8], 1
mov eax, dword [rsp + 0x1b8]
mov dword [0x14007d20c], eax
cmp dword [0x14007d258], 0
jne 0x140013232
cmp dword [rsp + 0x28], 0
jne 0x140013232
mov dword [rsp + 0x1bc], 0
jmp 0x14001323d
mov dword [rsp + 0x1bc], 1
mov eax, dword [rsp + 0x1bc]
mov ecx, dword [0x14007d218]
add ecx, eax
mov eax, ecx
mov dword [0x14007d218], eax
jmp 0x140013320
mov eax, dword [rsp + 0x28]
mov ecx, dword [0x14007d204]
xor ecx, eax
mov eax, ecx
test eax, eax
jne 0x14001327f
cmp dword [rsp + 0x2c], 0
jne 0x14001327f
mov dword [rsp + 0x1c0], 0
jmp 0x14001328a
mov dword [rsp + 0x1c0], 1
movsx eax, byte [0x14007d21d]
xor eax, dword [rsp + 0x1c0]
mov byte [0x14007d21d], al
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x24], eax
jne 0x1400132b5
mov dword [rsp + 0x1c4], 1
jmp 0x1400132c0
mov dword [rsp + 0x1c4], 0
mov eax, dword [rsp + 0x1c4]
mov ecx, dword [0x14007d1fc]
xor ecx, eax
mov eax, ecx
movsx ecx, byte [0x14007d25c]
or ecx, eax
mov eax, ecx
mov byte [0x14007d25c], al
jmp 0x140013320
mov eax, dword [rsp + 0x30]
movzx ecx, al
mov eax, dword [0x14007d240]
shl eax, cl
and eax, dword [rsp + 0x28]
mov byte [0x14007d203], al
mov eax, dword [rsp + 0x24]
mov ecx, dword [0x14007d254]
xor ecx, eax
mov eax, ecx
or eax, dword [rsp + 0x30]
movzx ecx, byte [0x14007d22c]
and ecx, eax
mov eax, ecx
mov byte [0x14007d22c], al
movsx eax, byte [0x14007d21d]
movsx ecx, byte [0x14007d21c]
mov edx, eax
call fcn.140013350
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x2c]
add ecx, eax
mov eax, ecx
add rsp, 0x208
ret