Function at 0x140058860
Capabilities:
Allocate thread local storage
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x18], r8d
mov byte [rsp + 0x10], dl
mov dword [rsp + 8], ecx
sub rsp, 0x208
mov dword [rsp + 0x4c], 0x191
mov dword [rsp + 0x34], 0x2e4
mov dword [rsp + 0x40], 0x19b
mov dword [rsp + 0x44], 0x181
mov dword [rsp + 0x30], 0x26
mov byte [rsp + 0x22], 0x97
mov byte [rsp + 0x23], 0xb9
mov dword [rsp + 0x28], 0x197
mov byte [rsp + 0x25], 0x6f
mov dword [rsp + 0x48], 0x192
mov byte [rsp + 0x21], 0xf5
mov dword [rsp + 0x2c], 0x219
mov byte [rsp + 0x20], 3
mov dword [rsp + 0x38], 0x27b
mov byte [rsp + 0x24], 0xe8
mov dword [rsp + 0x3c], 0x2b5
movsx eax, byte [0x14007d201]
mov ecx, dword [rsp + 0x38]
mov edx, dword [rsp + 0x2c]
and edx, ecx
mov ecx, edx
or ecx, dword [rsp + 0x28]
or eax, ecx
mov ecx, dword [0x14007d210]
and ecx, eax
mov eax, ecx
mov dword [0x14007d210], eax
movsx eax, byte [0x14007d22d]
test eax, eax
je 0x140058937
movzx eax, byte [rsp + 0x20]
or eax, dword [rsp + 0x34]
movsx ecx, byte [rsp + 0x21]
or eax, ecx
test eax, eax
je 0x140058937
mov dword [rsp + 0xa8], 1
jmp 0x140058942
mov dword [rsp + 0xa8], 0
mov eax, dword [rsp + 0xa8]
mov dword [0x14007d204], eax
movzx eax, byte [0x14007d21f]
movsx ecx, byte [rsp + 0x22]
or eax, ecx
movzx ecx, byte [0x14007d21e]
xor ecx, eax
mov eax, ecx
mov byte [0x14007d21e], al
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x28], eax
jne 0x140058985
mov dword [rsp + 0xac], 1
jmp 0x140058990
mov dword [rsp + 0xac], 0
movzx eax, byte [0x14007d21e]
mov ecx, dword [rsp + 0x44]
mov edx, dword [rsp + 0xac]
or edx, ecx
mov ecx, edx
shl eax, cl
movsx ecx, byte [0x14007d22d]
or ecx, eax
mov eax, ecx
mov byte [0x14007d22d], al
movzx eax, byte [0x14007d22c]
imul eax, eax, 7
mov ecx, dword [rsp + 0x34]
add ecx, eax
mov eax, ecx
xor edx, edx
mov ecx, 0xa
div ecx
mov eax, edx
mov word [rsp + 0x8c], ax
movsx eax, word [rsp + 0x8c]
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
je 0x140058a13
cmp dword [rsp + 0x64], 1
je 0x140058a51
cmp dword [rsp + 0x64], 2
je 0x140058ac7
cmp dword [rsp + 0x64], 3
je 0x140058b03
jmp 0x140058b5a
movsx eax, byte [0x14007d25c]
cmp eax, dword [rsp + 0x3c]
jne 0x140058a2d
mov dword [rsp + 0xb0], 1
jmp 0x140058a38
mov dword [rsp + 0xb0], 0
movzx eax, byte [0x14007d202]
or eax, dword [rsp + 0xb0]
mov byte [0x14007d202], al
jmp 0x140058b5a
movzx eax, byte [0x14007d21e]
test eax, eax
je 0x140058a80
movzx eax, byte [rsp + 0x23]
mov ecx, dword [rsp + 0x44]
sar eax, cl
mov ecx, dword [rsp + 0x40]
xor ecx, eax
mov eax, ecx
test eax, eax
je 0x140058a80
mov dword [rsp + 0xb4], 1
jmp 0x140058a8b
mov dword [rsp + 0xb4], 0
mov eax, dword [rsp + 0xb4]
mov ecx, dword [0x14007d1fc]
and ecx, eax
mov eax, ecx
mov dword [0x14007d1fc], eax
movzx eax, byte [0x14007d21f]
add eax, dword [rsp + 0x3c]
add eax, dword [rsp + 0x34]
movsx ecx, byte [0x14007d22d]
xor ecx, eax
mov eax, ecx
mov byte [0x14007d22d], al
jmp 0x140058b5a
mov eax, dword [rsp + 0x48]
mov ecx, dword [0x14007d1fc]
xor ecx, eax
mov eax, ecx
movsx ecx, byte [0x14007d200]
sub ecx, eax
mov eax, ecx
mov byte [0x14007d200], al
xor edx, edx
mov eax, dword [rsp + 0x34]
mov ecx, 3
div ecx
mov ecx, dword [0x14007d254]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x38], eax
jmp 0x140058b5a
mov eax, dword [rsp + 0x2c]
movzx ecx, al
mov eax, dword [0x14007d238]
sar eax, cl
movsx ecx, byte [rsp + 0x21]
mov edx, dword [rsp + 0x40]
add edx, ecx
mov ecx, edx
or eax, ecx
test eax, eax
jne 0x140058b3b
cmp dword [0x14007d250], 0
jne 0x140058b3b
mov dword [rsp + 0xb8], 0
jmp 0x140058b46
mov dword [rsp + 0xb8], 1
movzx eax, byte [0x14007d22c]
add eax, dword [rsp + 0xb8]
mov byte [0x14007d22c], al
mov eax, dword [0x14007d220]
imul eax, dword [rsp + 0x38]
xor edx, edx
mov ecx, 5
div ecx
mov eax, edx
mov byte [rsp + 0x23], al
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x3c]
and ecx, eax
mov eax, ecx
mov ecx, dword [0x14007d210]
xor ecx, eax
mov eax, ecx
mov ecx, dword [0x14007d220]
mov edx, dword [rsp + 0x4c]
and edx, ecx
mov ecx, edx
xor eax, ecx
mov ecx, dword [0x14007d220]
xor ecx, eax
mov eax, ecx
mov dword [0x14007d220], eax
movsx eax, byte [0x14007d21c]
test eax, eax
jne 0x140058be8
movzx eax, byte [0x14007d21e]
cmp dword [rsp + 0x44], eax
jge 0x140058bcf
mov dword [rsp + 0xbc], 1
jmp 0x140058bda
mov dword [rsp + 0xbc], 0
movzx eax, byte [rsp + 0x24]
cmp eax, dword [rsp + 0xbc]
jne 0x140058c0e
mov eax, dword [rsp + 0x28]
mov ecx, dword [0x14007d210]
or ecx, eax
mov eax, ecx
movzx ecx, byte [rsp + 0x20]
or eax, ecx
movsx ecx, byte [0x14007d22f]
or ecx, eax
mov eax, ecx
mov byte [0x14007d22f], al
movsx eax, byte [0x14007d21d]
movzx ecx, byte [rsp + 0x25]
mov dword [rsp + 0x1a8], ecx
mov edx, dword [rsp + 0x40]
movzx ecx, dl
mov edx, dword [rsp + 0x1a8]
sar edx, cl
mov ecx, edx
mov edx, dword [rsp + 0x48]
and edx, ecx
mov ecx, edx
cmp eax, ecx
jne 0x140058c4c
mov dword [rsp + 0xc0], 1
jmp 0x140058c57
mov dword [rsp + 0xc0], 0
mov eax, dword [rsp + 0xc0]
mov ecx, dword [0x14007d244]
xor ecx, eax
mov eax, ecx
mov dword [0x14007d244], eax
movsx eax, byte [rsp + 0x21]
movzx ecx, byte [rsp + 0x23]
shl eax, cl
cmp eax, dword [rsp + 0x2c]
jne 0x140058c8d
mov dword [rsp + 0xc4], 1
jmp 0x140058c98
mov dword [rsp + 0xc4], 0
mov eax, dword [rsp + 0xc4]
mov ecx, dword [0x14007d1fc]
add ecx, eax
mov eax, ecx
mov ecx, dword [0x14007d210]
or ecx, eax
mov eax, ecx
mov dword [0x14007d210], eax
movsx eax, byte [0x14007d22e]
movsx ecx, byte [rsp + 0x21]
sub eax, ecx
mov ecx, dword [rsp + 0x2c]
sar eax, cl
mov dword [0x14007d250], eax
mov eax, 0x24
mov word [rsp + 0x5c], ax
mov eax, 0x106
mov word [rsp + 0x5c], ax
jmp 0x140058cf6
movzx eax, word [rsp + 0x5c]
dec ax
mov word [rsp + 0x5c], ax
movsx eax, word [rsp + 0x5c]
cmp eax, 0x12
jle 0x140058d27
movsx eax, byte [0x14007d203]
movzx ecx, byte [rsp + 0x24]
sub eax, ecx
movzx ecx, byte [rsp + 0x25]
xor eax, ecx
mov ecx, dword [0x14007d20c]
or ecx, eax
mov eax, ecx
mov dword [0x14007d20c], eax
jmp 0x140058ce9
movsx eax, byte [0x14007d22d]
mov dword [rsp + 0x1ac], eax
movsx ecx, byte [rsp + 0x21]
mov eax, ecx
cdq
and edx, 3
add eax, edx
sar eax, 2
mov ecx, dword [rsp + 0x1ac]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
mov ecx, dword [0x14007d224]
add ecx, eax
mov eax, ecx
mov ecx, dword [0x14007d20c]
or ecx, eax
mov eax, ecx
mov dword [0x14007d20c], eax
call qword [sym.imp.KERNEL32.dll_SetFileApisToANSI]
mov dword [rsp + 0x68], 0x1ab
mov dword [rsp + 0x68], 0xb2
jmp 0x140058d94
mov eax, dword [rsp + 0x68]
dec eax
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0xa
jle 0x140058de4
cmp dword [0x14007d254], 0
je 0x140058dc3
movsx eax, byte [rsp + 0x22]
movzx ecx, al
mov eax, dword [rsp + 0x28]
shr eax, cl
test eax, eax
je 0x140058dc3
mov dword [rsp + 0xc8], 1
jmp 0x140058dce
mov dword [rsp + 0xc8], 0
movzx eax, byte [0x14007d21e]
xor eax, dword [rsp + 0xc8]
mov byte [0x14007d21e], al
jmp 0x140058d8a
movsx eax, byte [0x14007d21d]
test eax, eax
je 0x140058e0d
movzx eax, byte [rsp + 0x20]
mov ecx, dword [rsp + 0x40]
xor ecx, eax
mov eax, ecx
test eax, eax
je 0x140058e0d
mov dword [rsp + 0xcc], 1
jmp 0x140058e18
mov dword [rsp + 0xcc], 0
movsx eax, byte [0x14007d200]
add eax, dword [rsp + 0xcc]
mov byte [0x14007d200], al
mov eax, dword [rsp + 0x2c]
movzx ecx, al
mov eax, dword [0x14007d23c]
shr eax, cl
movsx ecx, byte [0x14007d200]
add ecx, eax
mov eax, ecx
mov byte [0x14007d200], al
movzx eax, byte [rsp + 0x20]
cmp eax, dword [0x14007d258]
jne 0x140058e66
mov dword [rsp + 0xd0], 1
jmp 0x140058e71
mov dword [rsp + 0xd0], 0
mov eax, dword [rsp + 0xd0]
cmp dword [rsp + 0x38], eax
jbe 0x140058e8b
mov dword [rsp + 0xd4], 1
jmp 0x140058e96
mov dword [rsp + 0xd4], 0
movsx eax, byte [0x14007d200]
cmp eax, dword [rsp + 0xd4]
je 0x140058f3f
movzx eax, byte [rsp + 0x20]
movzx ecx, byte [rsp + 0x23]
mov edx, dword [rsp + 0x30]
sub edx, ecx
mov ecx, edx
sar eax, cl
mov ecx, dword [0x14007d208]
xor ecx, eax
mov eax, ecx
mov dword [0x14007d254], eax
movsx eax, byte [rsp + 0x22]
sub eax, dword [rsp + 0x40]
sub eax, dword [rsp + 0x38]
mov ecx, dword [0x14007d228]
add ecx, eax
mov eax, ecx
mov ecx, dword [0x14007d218]
sub ecx, eax
mov eax, ecx
mov dword [0x14007d218], eax
mov eax, dword [rsp + 0x44]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov ecx, dword [0x14007d214]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
movsx eax, byte [0x14007d21d]
mov dword [rsp + 0x1b0], 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 + 0x1b0]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x40], eax
mov eax, 0x3c
mov word [rsp + 0x58], ax
mov eax, 8
mov word [rsp + 0x58], ax
jmp 0x140058f62
movzx eax, word [rsp + 0x58]
inc ax
mov word [rsp + 0x58], ax
movsx eax, word [rsp + 0x58]
cmp eax, 0xec6
jge 0x140058fa5
movsx eax, byte [rsp + 0x22]
add eax, dword [rsp + 0x48]
movzx ecx, al
mov eax, dword [0x14007d228]
shr eax, cl
mov ecx, dword [0x14007d24c]
mov edx, dword [rsp + 0x38]
xor edx, ecx
mov ecx, edx
or eax, ecx
movzx ecx, byte [0x14007d202]
add ecx, eax
mov eax, ecx
mov byte [0x14007d202], al
jmp 0x140058f55
movzx eax, byte [0x14007d21e]
mov dword [rsp + 0x1b4], eax
xor edx, edx
mov eax, dword [rsp + 0x38]
mov ecx, 4
div ecx
mov eax, edx
mov ecx, dword [rsp + 0x1b4]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
movsx eax, byte [rsp + 0x21]
mov ecx, dword [rsp + 0x38]
shl eax, cl
cmp eax, dword [rsp + 0x3c]
jne 0x140058fef
mov dword [rsp + 0xd8], 1
jmp 0x140058ffa
mov dword [rsp + 0xd8], 0
movsx eax, byte [0x14007d22e]
sub eax, dword [rsp + 0xd8]
mov ecx, dword [0x14007d230]
sub ecx, eax
mov eax, ecx
mov dword [0x14007d230], eax
movsx eax, byte [0x14007d22d]
movsx ecx, byte [rsp + 0x21]
xor eax, ecx
or eax, dword [rsp + 0x48]
mov ecx, dword [0x14007d220]
and ecx, eax
mov eax, ecx
mov dword [0x14007d220], eax
movzx eax, byte [rsp + 0x25]
mov ecx, dword [rsp + 0x3c]
sub ecx, eax
mov eax, ecx
sub eax, dword [rsp + 0x30]
movzx ecx, al
mov eax, dword [0x14007d214]
sar eax, cl
movsx ecx, byte [0x14007d21c]
shl eax, cl
mov ecx, dword [0x14007d230]
sub ecx, eax
mov eax, ecx
mov dword [0x14007d230], eax
movsx eax, byte [0x14007d201]
imul eax, dword [rsp + 0x30]
cdq
mov ecx, 3
idiv ecx
mov eax, edx
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x94], 0x134
mov eax, dword [rsp + 0x94]
mov dword [rsp + 0x1b8], eax
mov eax, dword [rsp + 0x94]
dec eax
mov dword [rsp + 0x94], eax
cmp dword [rsp + 0x1b8], 0
je 0x140059100
movzx eax, byte [rsp + 0x23]
mov ecx, dword [rsp + 0x30]
sar eax, cl
cmp dword [0x14007d230], eax
jne 0x1400590dc
mov dword [rsp + 0xdc], 1
jmp 0x1400590e7
mov dword [rsp + 0xdc], 0
mov eax, dword [rsp + 0xdc]
mov ecx, dword [0x14007d234]
sub ecx, eax
mov eax, ecx
mov dword [0x14007d234], eax
jmp 0x140059094
mov eax, dword [rsp + 0x3c]
mov ecx, dword [0x14007d23c]
add ecx, eax
mov eax, ecx
sub eax, dword [rsp + 0x4c]
mov dword [0x14007d1fc], eax
cmp dword [0x14007d244], 0
jne 0x140059162
movzx eax, byte [rsp + 0x24]
movsx ecx, byte [0x14007d25c]
cmp eax, ecx
je 0x14005913e
mov dword [rsp + 0xe0], 1
jmp 0x140059149
mov dword [rsp + 0xe0], 0
movzx eax, byte [rsp + 0x23]
cmp eax, dword [rsp + 0xe0]
jne 0x140059162
cmp dword [rsp + 0x44], 0
je 0x140059251
movsx eax, byte [0x14007d22f]
and eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x4c]
mov edx, dword [rsp + 0x30]
sar edx, cl
mov ecx, edx
and eax, ecx
and eax, dword [0x14007d208]
mov dword [0x14007d258], eax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x48]
add ecx, eax
mov eax, ecx
movsx ecx, byte [rsp + 0x21]
sub eax, ecx
mov ecx, dword [0x14007d258]
xor ecx, eax
mov eax, ecx
movsx ecx, byte [0x14007d22f]
add ecx, eax
mov eax, ecx
mov byte [0x14007d22f], al
mov eax, dword [0x14007d244]
imul eax, dword [rsp + 0x48]
xor edx, edx
mov ecx, 5
div ecx
mov dword [rsp + 0x2c], eax
movsx eax, byte [0x14007d22f]
movzx ecx, byte [rsp + 0x24]
sub eax, ecx
mov ecx, dword [rsp + 0x44]
sar eax, cl
mov ecx, dword [rsp + 0x40]
sar eax, cl
test eax, eax
je 0x1400591fd
movsx eax, byte [0x14007d21c]
test eax, eax
je 0x1400591fd
mov byte [rsp + 0x50], 1
jmp 0x140059202
mov byte [rsp + 0x50], 0
movzx eax, byte [rsp + 0x50]
mov byte [0x14007d25c], al
mov eax, dword [0x14007d20c]
imul eax, dword [rsp + 0x48]
xor edx, edx
mov ecx, 5
div ecx
mov eax, edx
mov dword [rsp + 0x44], eax
movsx eax, byte [0x14007d22d]
mov dword [rsp + 0x1bc], eax
xor edx, edx
mov eax, dword [rsp + 0x28]
mov ecx, 5
div ecx
mov ecx, dword [rsp + 0x1bc]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x2c]
mov ecx, dword [0x14007d220]
and ecx, eax
mov eax, ecx
movsx ecx, byte [rsp + 0x21]
and eax, ecx
mov ecx, dword [0x14007d224]
xor ecx, eax
mov eax, ecx
mov dword [0x14007d224], eax
movzx eax, byte [rsp + 0x20]
movsx ecx, byte [rsp + 0x22]
add eax, ecx
mov ecx, dword [0x14007d244]
and ecx, eax
mov eax, ecx
movsx ecx, byte [0x14007d22d]
add ecx, eax
mov eax, ecx
mov byte [0x14007d22d], al
mov dword [rsp + 0x98], 0x47
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x1c0], eax
mov eax, dword [rsp + 0x98]
dec eax
mov dword [rsp + 0x98], eax
cmp dword [rsp + 0x1c0], 0
je 0x14005937f
movzx eax, byte [rsp + 0x23]
add eax, dword [rsp + 0x3c]
mov ecx, dword [0x14007d238]
or ecx, eax
mov eax, ecx
mov byte [0x14007d200], al
movzx eax, byte [rsp + 0x24]
mov ecx, dword [0x14007d23c]
imul ecx, eax
mov eax, ecx
xor edx, edx
mov ecx, 4
div ecx
mov eax, edx
mov dword [rsp + 0x30], eax
movsx eax, byte [0x14007d22d]
movsx ecx, byte [rsp + 0x21]
xor eax, ecx
movzx ecx, byte [rsp + 0x24]
or eax, ecx
test eax, eax
jne 0x140059344
mov eax, dword [0x14007d250]
mov ecx, dword [rsp + 0x34]
or ecx, eax
mov eax, ecx
test eax, eax
jne 0x140059344
mov dword [rsp + 0xe4], 0
jmp 0x14005934f
mov dword [rsp + 0xe4], 1
movzx eax, byte [0x14007d22c]
add eax, dword [rsp + 0xe4]
mov byte [0x14007d22c], al
mov eax, dword [0x14007d234]
imul eax, dword [rsp + 0x30]
cdq
mov ecx, 3
idiv ecx
mov dword [rsp + 0x40], eax
jmp 0x1400592a8
movsx eax, byte [0x14007d201]
mov ecx, dword [rsp + 0x28]
shl eax, cl
movzx ecx, byte [0x14007d21e]
sub ecx, eax
mov eax, ecx
mov byte [0x14007d21e], al
movzx eax, byte [0x14007d22c]
movzx ecx, byte [rsp + 0x23]
mov dword [rsp + 0x1c4], ecx
mov edx, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x44]
add r8d, edx
mov edx, r8d
movzx ecx, dl
mov edx, dword [rsp + 0x1c4]
shl edx, cl
mov ecx, edx
sar eax, cl
mov ecx, dword [0x14007d250]
and ecx, eax
mov eax, ecx
mov dword [0x14007d250], eax
movzx eax, byte [0x14007d21e]
add eax, dword [rsp + 0x4c]
mov ecx, dword [0x14007d228]
xor ecx, eax
mov eax, ecx
mov dword [0x14007d228], eax
movsx eax, byte [rsp + 0x21]
cmp dword [0x14007d234], eax
jge 0x140059414
mov dword [rsp + 0xec], 1
jmp 0x14005941f
mov dword [rsp + 0xec], 0
movsx eax, byte [0x14007d22f]
cmp dword [rsp + 0x40], eax
jne 0x140059439
mov dword [rsp + 0xe8], 1
jmp 0x140059444
mov dword [rsp + 0xe8], 0
mov eax, dword [rsp + 0xe8]
cmp dword [rsp + 0xec], eax
jge 0x140059473
mov eax, dword [rsp + 0x28]
movzx ecx, al
mov eax, dword [0x14007d230]
shl eax, cl
mov ecx, dword [0x14007d1fc]
sub ecx, eax
mov eax, ecx
mov dword [0x14007d1fc], eax
movzx eax, byte [rsp + 0x20]
mov ecx, dword [rsp + 0x3c]
sub ecx, eax
mov eax, ecx
movsx ecx, byte [rsp + 0x21]
or eax, ecx
mov ecx, dword [0x14007d20c]
and ecx, eax
mov eax, ecx
mov byte [0x14007d25c], al
movzx eax, byte [0x14007d22c]
mov ecx, dword [rsp + 0x28]
shl eax, cl
mov ecx, dword [rsp + 0x34]
shl eax, cl
mov byte [0x14007d201], al
mov dword [rsp + 0x6c], 0xce
mov dword [rsp + 0x6c], 6
jmp 0x1400594cc
mov eax, dword [rsp + 0x6c]
inc eax
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x6c], 0x533
jge 0x14005967c
movsx eax, byte [rsp + 0x21]
cmp dword [rsp + 0x40], eax
je 0x1400595b2
movzx eax, byte [rsp + 0x25]
cdq
mov ecx, 3
idiv ecx
mov ecx, dword [0x14007d218]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
movzx eax, byte [rsp + 0x24]
mov ecx, dword [rsp + 0x48]
mov edx, dword [rsp + 0x38]
add edx, ecx
mov ecx, edx
cmp eax, ecx
jne 0x140059526
mov dword [rsp + 0xf0], 1
jmp 0x140059531
mov dword [rsp + 0xf0], 0
mov eax, dword [rsp + 0xf0]
mov ecx, dword [0x14007d228]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x14005955c
cmp dword [0x14007d220], 0
je 0x14005955c
mov dword [rsp + 0xf4], 1
jmp 0x140059567
mov dword [rsp + 0xf4], 0
movsx eax, byte [0x14007d22e]
add eax, dword [rsp + 0xf4]
mov byte [0x14007d22e], al
movsx eax, byte [0x14007d21c]
imul eax, dword [rsp + 0x3c]
xor edx, edx
mov ecx, 4
div ecx
mov dword [rsp + 0x44], eax
movsx eax, byte [0x14007d21c]
mov ecx, dword [rsp + 0x28]
shl eax, cl
movsx ecx, byte [0x14007d201]
sub ecx, eax
mov eax, ecx
mov byte [0x14007d201], al
movsx eax, byte [0x14007d21d]
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
mov eax, dword [rsp + 0x28]
movzx ecx, al
mov eax, dword [0x14007d250]
shr eax, cl
movzx ecx, byte [rsp + 0x23]
shr eax, cl
mov ecx, dword [rsp + 0x2c]
shr eax, cl
cmp eax, dword [0x14007d234]
jne 0x1400595fb
mov byte [rsp + 0x51], 1
jmp 0x140059600
mov byte [rsp + 0x51], 0
movzx eax, byte [rsp + 0x51]
mov byte [0x14007d200], al
movsx eax, byte [rsp + 0x22]
movzx ecx, byte [rsp + 0x23]
and eax, ecx
test eax, eax
jne 0x14005962f
cmp dword [rsp + 0x30], 0
jne 0x14005962f
mov dword [rsp + 0xf8], 0
jmp 0x14005963a
mov dword [rsp + 0xf8], 1
mov eax, dword [rsp + 0xf8]
mov ecx, dword [0x14007d248]
and ecx, eax
mov eax, ecx
mov ecx, dword [0x14007d224]
sub ecx, eax
mov eax, ecx
mov dword [0x14007d224], eax
movsx eax, byte [0x14007d25c]
add eax, dword [rsp + 0x44]
movzx ecx, byte [0x14007d22c]
add ecx, eax
mov eax, ecx
mov byte [0x14007d22c], al
jmp 0x1400594c2
mov dword [rsp + 0x9c], 0x4f
mov eax, dword [rsp + 0x9c]
mov dword [rsp + 0x1c8], eax
mov eax, dword [rsp + 0x9c]
dec eax
mov dword [rsp + 0x9c], eax
cmp dword [rsp + 0x1c8], 0
je 0x140059781
movzx eax, byte [rsp + 0x24]
movzx ecx, al
mov eax, dword [rsp + 0x38]
shl eax, cl
cmp dword [rsp + 0x30], eax
jne 0x1400596d4
mov dword [rsp + 0xfc], 1
jmp 0x1400596df
mov dword [rsp + 0xfc], 0
mov eax, dword [rsp + 0xfc]
movzx ecx, al
mov eax, dword [0x14007d254]
sar eax, cl
mov byte [0x14007d22f], al
movzx eax, byte [0x14007d22c]
movsx ecx, byte [rsp + 0x22]
mov edx, dword [rsp + 0x40]
and edx, ecx
mov ecx, edx
xor eax, ecx
movsx ecx, byte [0x14007d203]
and ecx, eax
mov eax, ecx
mov byte [0x14007d203], al
movzx eax, byte [rsp + 0x25]
sub eax, dword [rsp + 0x2c]
movzx ecx, al
mov eax, dword [rsp + 0x44]
sar eax, cl
mov ecx, dword [0x14007d244]
xor ecx, eax
mov eax, ecx
mov ecx, dword [0x14007d230]
add ecx, eax
mov eax, ecx
mov dword [0x14007d230], eax
movsx eax, byte [rsp + 0x22]
movzx ecx, al
mov eax, dword [0x14007d210]
sar eax, cl
or eax, dword [rsp + 0x28]
mov byte [0x14007d200], al
mov eax, dword [0x14007d234]
imul eax, dword [rsp + 0x3c]
xor edx, edx
mov ecx, 3
div ecx
mov byte [rsp + 0x23], al
jmp 0x140059687
movsx eax, byte [0x14007d22d]
imul eax, eax, 3
mov ecx, dword [rsp + 0x3c]
add ecx, eax
mov eax, ecx
xor edx, edx
mov ecx, 5
div ecx
mov eax, edx
mov dword [rsp + 0x1cc], eax
mov eax, dword [rsp + 0x1cc]
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 0
je 0x1400597d9
cmp dword [rsp + 0x70], 1
je 0x14005982b
cmp dword [rsp + 0x70], 2
je 0x140059879
cmp dword [rsp + 0x70], 3
je 0x1400598f3
jmp 0x140059961
movzx eax, byte [0x14007d21f]
movsx ecx, byte [rsp + 0x21]
add ecx, dword [rsp + 0x34]
xor eax, ecx
test eax, eax
je 0x14005980e
mov eax, dword [0x14007d230]
mov ecx, dword [rsp + 0x2c]
add ecx, eax
mov eax, ecx
test eax, eax
je 0x14005980e
mov dword [rsp + 0x100], 1
jmp 0x140059819
mov dword [rsp + 0x100], 0
mov eax, dword [rsp + 0x100]
mov dword [0x14007d224], eax
jmp 0x140059961
mov eax, dword [rsp + 0x44]
mov ecx, dword [0x14007d240]
and ecx, eax
mov eax, ecx
mov byte [0x14007d25c], al
movsx eax, byte [0x14007d21d]
mov ecx, dword [rsp + 0x48]
mov edx, dword [rsp + 0x2c]
add edx, ecx
mov ecx, edx
mov dword [rsp + 0x1d0], ecx
movzx edx, byte [rsp + 0x25]
movzx ecx, dl
mov edx, dword [rsp + 0x1d0]
shl edx, cl
mov ecx, edx
or eax, ecx
mov dword [0x14007d254], eax
jmp 0x140059961
movzx eax, byte [rsp + 0x23]
cmp dword [rsp + 0x34], eax
jne 0x140059891
mov dword [rsp + 0x104], 1
jmp 0x14005989c
mov dword [rsp + 0x104], 0
mov eax, dword [rsp + 0x38]
mov ecx, dword [0x14007d20c]
and ecx, eax
mov eax, ecx
xor eax, dword [rsp + 0x104]
test eax, eax
je 0x1400598c7
movsx eax, byte [0x14007d201]
test eax, eax
je 0x1400598c7
mov byte [rsp + 0x52], 1
jmp 0x1400598cc
mov byte [rsp + 0x52], 0
movzx eax, byte [rsp + 0x52]
mov byte [0x14007d201], al
mov eax, dword [0x14007d258]
imul eax, dword [rsp + 0x4c]
xor edx, edx
mov ecx, 3
div ecx
mov eax, edx
mov dword [rsp + 0x30], eax
jmp 0x140059961
cmp dword [rsp + 0x30], 0
je 0x140059919
movsx eax, byte [rsp + 0x22]
movzx ecx, al
mov eax, dword [rsp + 0x48]
shr eax, cl
test eax, eax
je 0x140059919
mov dword [rsp + 0x108], 1
jmp 0x140059924
mov dword [rsp + 0x108], 0
movsx eax, byte [0x14007d21d]
mov ecx, dword [rsp + 0x108]
sar eax, cl
mov ecx, dword [0x14007d1fc]
and ecx, eax
mov eax, ecx
mov dword [0x14007d1fc], eax
movzx eax, byte [0x14007d21e]
mov ecx, dword [rsp + 0x38]
shl eax, cl
mov ecx, dword [0x14007d204]
xor ecx, eax
mov eax, ecx
mov dword [0x14007d204], eax
cmp dword [rsp + 0x30], 0
je 0x14005998e
mov eax, dword [0x14007d228]
cmp dword [rsp + 0x3c], eax
je 0x14005998e
mov eax, dword [rsp + 0x30]
cdq
mov ecx, 5
idiv ecx
mov ecx, dword [0x14007d254]
add ecx, eax
mov eax, ecx
mov byte [rsp + 0x21], al
movzx eax, byte [0x14007d21e]
and eax, dword [rsp + 0x30]
movzx ecx, byte [rsp + 0x24]
or eax, ecx
test eax, eax
jne 0x1400599c0
movsx eax, byte [rsp + 0x22]
and eax, dword [0x14007d238]
test eax, eax
jne 0x1400599c0
mov dword [rsp + 0x10c], 0
jmp 0x1400599cb
mov dword [rsp + 0x10c], 1
mov eax, dword [rsp + 0x10c]
mov ecx, dword [0x14007d210]
or ecx, eax
mov eax, ecx
mov dword [0x14007d210], eax
movzx eax, byte [rsp + 0x23]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
mov ecx, dword [0x14007d218]
xor ecx, eax
mov eax, ecx
mov dword [0x14007d250], eax
movzx eax, byte [rsp + 0x23]
mov ecx, dword [0x14007d1fc]
or ecx, eax
mov eax, ecx
or eax, dword [rsp + 0x44]
movsx ecx, byte [rsp + 0x21]
and ecx, dword [0x14007d210]
or eax, ecx
mov dword [0x14007d210], eax
movsx eax, byte [rsp + 0x22]
imul ecx, dword [0x14007d228], 6
add eax, ecx
xor edx, edx
mov ecx, 3
div ecx
mov eax, edx
mov word [rsp + 0x90], ax
movsx eax, word [rsp + 0x90]
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0
je 0x140059a7b
cmp dword [rsp + 0x74], 1
je 0x140059ac0
cmp dword [rsp + 0x74], 2
je 0x140059b27
cmp dword [rsp + 0x74], 3
je 0x140059b7c
jmp 0x140059be6
mov eax, dword [rsp + 0x34]
mov ecx, dword [0x14007d204]
sub ecx, eax
mov eax, ecx
cmp eax, dword [rsp + 0x48]
jne 0x140059a9c
mov dword [rsp + 0x110], 1
jmp 0x140059aa7
mov dword [rsp + 0x110], 0
movzx eax, byte [0x14007d202]
and eax, dword [rsp + 0x110]
mov byte [0x14007d202], al
jmp 0x140059be6
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x38], eax
je 0x140059ae0
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140059ae0
mov dword [rsp + 0x114], 0
jmp 0x140059aeb
mov dword [rsp + 0x114], 1
movzx eax, byte [0x14007d21f]
sub eax, dword [rsp + 0x114]
mov ecx, dword [0x14007d248]
sub ecx, eax
mov eax, ecx
mov dword [0x14007d248], eax
movsx eax, byte [0x14007d25c]
imul eax, dword [rsp + 0x38]
xor edx, edx
mov ecx, 4
div ecx
mov dword [rsp + 0x30], eax
jmp 0x140059be6
movsx eax, byte [0x14007d22f]
test eax, eax
jne 0x140059b58
movzx eax, byte [rsp + 0x23]
mov ecx, dword [rsp + 0x38]
sub ecx, eax
mov eax, ecx
sub eax, dword [0x14007d218]
cmp dword [rsp + 0x34], eax
je 0x140059b58
mov dword [rsp + 0x118], 0
jmp 0x140059b63
mov dword [rsp + 0x118], 1
mov eax, dword [rsp + 0x118]
mov ecx, dword [0x14007d220]
or ecx, eax
mov eax, ecx
mov dword [0x14007d220], eax
jmp 0x140059be6
xor edx, edx
mov eax, dword [rsp + 0x28]
mov ecx, 3
div ecx
mov eax, edx
mov ecx, dword [0x14007d20c]
add ecx, eax
mov eax, ecx
mov byte [rsp + 0x20], al
cmp dword [0x14007d250], 0
je 0x140059bc7
movzx eax, byte [rsp + 0x25]
mov ecx, dword [rsp + 0x2c]
sub ecx, eax
mov eax, ecx
test eax, eax
jne 0x140059bba
cmp dword [rsp + 0x48], 0
je 0x140059bc7
mov dword [rsp + 0x11c], 1
jmp 0x140059bd2
mov dword [rsp + 0x11c], 0
movsx eax, byte [0x14007d25c]
and eax, dword [rsp + 0x11c]
mov byte [0x14007d25c], al
movzx eax, byte [rsp + 0x20]
movsx ecx, byte [0x14007d21c]
lea eax, [rax + rcx*2]
cdq
mov ecx, 3
idiv ecx
mov eax, edx
mov dword [rsp + 0x1d4], eax
mov eax, dword [rsp + 0x1d4]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x140059c3a
cmp dword [rsp + 0x60], 1
je 0x140059c87
cmp dword [rsp + 0x60], 2
je 0x140059cf7
cmp dword [rsp + 0x60], 3
je 0x140059d39
jmp 0x140059da0
movsx eax, byte [0x14007d22f]
and eax, dword [rsp + 0x44]
test eax, eax
je 0x140059c57
cmp dword [rsp + 0x40], 0
je 0x140059c57
mov byte [rsp + 0x53], 1
jmp 0x140059c5c
mov byte [rsp + 0x53], 0
movzx eax, byte [rsp + 0x53]
mov byte [0x14007d21f], al
movsx eax, byte [0x14007d22f]
or eax, dword [rsp + 0x3c]
mov ecx, dword [0x14007d234]
and ecx, eax
mov eax, ecx
mov dword [0x14007d234], eax
jmp 0x140059da0
cmp dword [0x14007d238], 0
je 0x140059cb8
movsx eax, byte [rsp + 0x22]
movzx ecx, al
mov eax, dword [rsp + 0x3c]
shl eax, cl
test eax, eax
jne 0x140059cab
movzx eax, byte [rsp + 0x25]
test eax, eax
je 0x140059cb8
mov dword [rsp + 0x120], 1
jmp 0x140059cc3
mov dword [rsp + 0x120], 0
mov eax, dword [rsp + 0x120]
mov ecx, dword [0x14007d240]
add ecx, eax
mov eax, ecx
mov dword [0x14007d240], eax
movzx eax, byte [0x14007d202]
movzx ecx, byte [rsp + 0x24]
xor eax, ecx
or eax, dword [rsp + 0x28]
mov dword [0x14007d250], eax
jmp 0x140059da0
movsx eax, byte [0x14007d203]
mov ecx, dword [rsp + 0x38]
sar eax, cl
mov ecx, dword [rsp + 0x2c]
sar eax, cl
test eax, eax
jne 0x140059d27
mov eax, dword [0x14007d218]
mov ecx, dword [rsp + 0x40]
xor ecx, eax
mov eax, ecx
test eax, eax
jne 0x140059d27
mov byte [rsp + 0x54], 0
jmp 0x140059d2c
mov byte [rsp + 0x54], 1
movzx eax, byte [rsp + 0x54]
mov byte [0x14007d202], al
jmp 0x140059da0
movsx eax, byte [0x14007d25c]
mov ecx, dword [rsp + 0x48]
sar eax, cl
movsx ecx, byte [0x14007d21d]
add ecx, eax
mov eax, ecx
mov byte [0x14007d21d], al
cmp dword [0x14007d228], 0
jne 0x140059d7e
mov eax, dword [rsp + 0x2c]
movzx ecx, al
mov eax, dword [rsp + 0x30]
sar eax, cl
test eax, eax
jne 0x140059d7e
mov dword [rsp + 0x124], 0
jmp 0x140059d89
mov dword [rsp + 0x124], 1
mov eax, dword [rsp + 0x124]
mov ecx, dword [0x14007d224]
add ecx, eax
mov eax, ecx
mov dword [0x14007d224], eax
movzx eax, byte [rsp + 0x24]
mov ecx, dword [0x14007d20c]
imul ecx, eax
mov eax, ecx
xor edx, edx
mov ecx, 5
div ecx
mov byte [rsp + 0x24], al
movsx eax, byte [0x14007d22d]
sub eax, dword [rsp + 0x30]
add eax, dword [rsp + 0x40]
mov ecx, dword [0x14007d224]
or ecx, eax
mov eax, ecx
mov dword [0x14007d224], eax
movsx eax, byte [0x14007d22f]
test eax, eax
jne 0x140059e12
movzx eax, byte [rsp + 0x20]
mov ecx, dword [rsp + 0x28]
mov edx, dword [rsp + 0x4c]
sub edx, ecx
mov ecx, edx
shl eax, cl
movsx ecx, byte [0x14007d21c]
cmp eax, ecx
je 0x140059e12
mov dword [rsp + 0x128], 0
jmp 0x140059e1d
mov dword [rsp + 0x128], 1
mov eax, dword [rsp + 0x128]
mov dword [0x14007d214], eax
movsx eax, byte [0x14007d201]
movsx ecx, byte [rsp + 0x22]
and ecx, dword [rsp + 0x3c]
and ecx, dword [rsp + 0x28]
sar eax, cl
movsx ecx, byte [0x14007d25c]
or ecx, eax
mov eax, ecx
mov byte [0x14007d25c], al
movsx eax, byte [0x14007d22d]
mov dword [rsp + 0x1d8], eax
xor edx, edx
mov eax, dword [rsp + 0x40]
mov ecx, 5
div ecx
mov eax, edx
mov ecx, dword [rsp + 0x1d8]
add ecx, eax
mov eax, ecx
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
movzx ecx, al
mov eax, dword [0x14007d220]
shl eax, cl
movzx ecx, byte [rsp + 0x24]
or eax, ecx
mov ecx, dword [0x14007d218]
add ecx, eax
mov eax, ecx
mov dword [0x14007d218], eax
movsx eax, byte [rsp + 0x21]
mov ecx, dword [0x14007d204]
add ecx, eax
mov eax, ecx
movsx ecx, byte [0x14007d21d]
xor ecx, eax
mov eax, ecx
mov byte [0x14007d21d], al
movzx eax, byte [0x14007d202]
test eax, eax
je 0x140059f1e
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
movzx ecx, byte [rsp + 0x25]
cmp eax, ecx
jne 0x140059ef1
mov dword [rsp + 0x12c], 1
jmp 0x140059efc
mov dword [rsp + 0x12c], 0
mov eax, dword [0x14007d208]
mov ecx, dword [rsp + 0x12c]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x140059f1e
mov dword [rsp + 0x130], 1
jmp 0x140059f29
mov dword [rsp + 0x130], 0
mov eax, dword [rsp + 0x130]
mov ecx, dword [0x14007d210]
xor ecx, eax
mov eax, ecx
mov dword [0x14007d210], eax
movzx eax, byte [rsp + 0x24]
mov ecx, dword [0x14007d224]
or ecx, eax
mov eax, ecx
movsx ecx, byte [0x14007d203]
or ecx, eax
mov eax, ecx
mov byte [0x14007d203], al
movzx eax, byte [0x14007d21e]
mov ecx, dword [rsp + 0x3c]
lea eax, [rcx + rax*4]
xor edx, edx
mov ecx, 7
div ecx
mov eax, edx
mov dword [rsp + 0x1dc], eax
mov eax, dword [rsp + 0x1dc]
mov dword [rsp + 0x7c], eax
cmp dword [rsp + 0x7c], 0
je 0x140059fb0
cmp dword [rsp + 0x7c], 1
je 0x140059fcd
cmp dword [rsp + 0x7c], 2
je 0x14005a01b
cmp dword [rsp + 0x7c], 3
je 0x14005a069
jmp 0x14005a096
mov eax, dword [0x14007d224]
imul eax, dword [rsp + 0x2c]
xor edx, edx
mov ecx, 5
div ecx
mov dword [rsp + 0x28], eax
jmp 0x14005a096
movsx eax, byte [0x14007d22f]
mov dword [rsp + 0x1e0], eax
movzx ecx, byte [rsp + 0x25]
mov eax, ecx
cdq
and edx, 3
add eax, edx
sar eax, 2
mov ecx, dword [rsp + 0x1e0]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
movsx eax, byte [rsp + 0x22]
mov ecx, dword [0x14007d1fc]
and ecx, eax
mov eax, ecx
mov ecx, dword [0x14007d1fc]
add ecx, eax
mov eax, ecx
mov dword [0x14007d1fc], eax
jmp 0x14005a096
cmp dword [0x14007d258], 0
jne 0x14005a045
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x14005a038
movsx eax, byte [rsp + 0x22]
cmp dword [rsp + 0x2c], eax
je 0x14005a045
mov dword [rsp + 0x134], 0
jmp 0x14005a050
mov dword [rsp + 0x134], 1
mov eax, dword [rsp + 0x134]
mov ecx, dword [0x14007d224]
xor ecx, eax
mov eax, ecx
mov dword [0x14007d224], eax
jmp 0x14005a096
movsx eax, byte [0x14007d203]
mov ecx, dword [rsp + 0x38]
mov edx, dword [rsp + 0x44]
sar edx, cl
mov ecx, edx
mov edx, dword [rsp + 0x34]
and edx, ecx
mov ecx, edx
add eax, ecx
mov ecx, dword [0x14007d208]
xor ecx, eax
mov eax, ecx
mov dword [0x14007d208], eax
movzx eax, byte [rsp + 0x24]
cmp dword [0x14007d240], eax
je 0x14005a0af
mov eax, dword [0x14007d244]
cmp dword [rsp + 0x34], eax
jb 0x14005a0ba
cmp dword [rsp + 0x3c], 0
je 0x14005a197
movzx eax, byte [0x14007d202]
test eax, eax
jne 0x14005a0e0
cmp dword [rsp + 0x40], 0
je 0x14005a0d3
cmp dword [rsp + 0x34], 0
jne 0x14005a0e0
mov dword [rsp + 0x138], 0
jmp 0x14005a0eb
mov dword [rsp + 0x138], 1
mov eax, dword [rsp + 0x138]
mov ecx, dword [0x14007d244]
or ecx, eax
mov eax, ecx
mov dword [0x14007d244], eax
movsx eax, byte [0x14007d200]
movzx ecx, byte [rsp + 0x20]
imul eax, ecx
cdq
mov ecx, 3
idiv ecx
mov eax, edx
mov byte [rsp + 0x25], al
movsx eax, byte [rsp + 0x22]
movzx ecx, al
mov eax, dword [rsp + 0x4c]
shr eax, cl
mov ecx, dword [rsp + 0x40]
or ecx, eax
mov eax, ecx
mov ecx, dword [0x14007d244]
xor ecx, eax
mov eax, ecx
mov byte [0x14007d22d], al
movsx eax, byte [0x14007d200]
movzx ecx, byte [rsp + 0x23]
add ecx, dword [rsp + 0x3c]
mov dword [rsp + 0x1e4], ecx
mov edx, dword [rsp + 0x48]
movzx ecx, dl
mov edx, dword [rsp + 0x1e4]
shr edx, cl
mov ecx, edx
cmp eax, ecx
jne 0x14005a17f
mov dword [rsp + 0x13c], 1
jmp 0x14005a18a
mov dword [rsp + 0x13c], 0
mov eax, dword [rsp + 0x13c]
mov dword [0x14007d240], eax
cmp dword [rsp + 0x2c], 0
jne 0x14005a1bc
movsx eax, byte [rsp + 0x21]
mov ecx, dword [rsp + 0x48]
add ecx, eax
mov eax, ecx
test eax, eax
jne 0x14005a1bc
mov dword [rsp + 0x140], 0
jmp 0x14005a1c7
mov dword [rsp + 0x140], 1
mov eax, dword [rsp + 0x140]
mov ecx, dword [0x14007d230]
sub ecx, eax
mov eax, ecx
mov ecx, dword [0x14007d240]
add ecx, eax
mov eax, ecx
mov dword [0x14007d240], eax
movsx eax, byte [0x14007d21d]
movsx ecx, byte [rsp + 0x21]
sub ecx, dword [rsp + 0x34]
mov edx, dword [rsp + 0x2c]
xor edx, ecx
mov ecx, edx
sub eax, ecx
mov ecx, dword [0x14007d238]
xor ecx, eax
mov eax, ecx
mov dword [0x14007d238], eax
movsx eax, byte [0x14007d22e]
movzx ecx, byte [rsp + 0x25]
mov edx, dword [rsp + 0x30]
add edx, ecx
mov ecx, edx
mov edx, dword [rsp + 0x34]
or edx, ecx
mov ecx, edx
shl eax, cl
mov ecx, dword [0x14007d208]
and ecx, eax
mov eax, ecx
mov dword [0x14007d208], eax
mov eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x40]
sub ecx, eax
mov eax, ecx
movzx ecx, al
mov eax, dword [0x14007d258]
shr eax, cl
test eax, eax
jne 0x14005a272
cmp dword [rsp + 0x40], 0
je 0x14005a26b
cmp dword [0x14007d224], 0
jne 0x14005a272
mov byte [rsp + 0x55], 0
jmp 0x14005a277
mov byte [rsp + 0x55], 1
movzx eax, byte [rsp + 0x55]
mov byte [0x14007d22f], al
mov eax, dword [rsp + 0x4c]
mov ecx, dword [0x14007d224]
sub ecx, eax
mov eax, ecx
mov ecx, dword [0x14007d24c]
add ecx, eax
mov eax, ecx
mov dword [0x14007d24c], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x2c], eax
jne 0x14005a2b7
mov dword [rsp + 0x144], 1
jmp 0x14005a2c2
mov dword [rsp + 0x144], 0
mov eax, dword [rsp + 0x144]
mov ecx, dword [rsp + 0x38]
and ecx, eax
mov eax, ecx
mov ecx, dword [0x14007d230]
or ecx, eax
mov eax, ecx
movsx ecx, byte [0x14007d200]
and ecx, eax
mov eax, ecx
mov byte [0x14007d200], al
movzx eax, byte [rsp + 0x24]
mov ecx, dword [0x14007d208]
add ecx, eax
mov eax, ecx
mov ecx, dword [0x14007d234]
and ecx, eax
mov eax, ecx
mov dword [0x14007d234], eax
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x34]
and ecx, eax
mov eax, ecx
xor eax, dword [rsp + 0x3c]
mov ecx, dword [0x14007d23c]
add ecx, eax
mov eax, ecx
mov dword [0x14007d214], eax
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [rsp + 0xa0], 0xe2
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x1e8], eax
mov eax, dword [rsp + 0xa0]
dec eax
mov dword [rsp + 0xa0], eax
cmp dword [rsp + 0x1e8], 0
je 0x14005a46c
cmp dword [0x14007d228], 0
jne 0x14005a393
movsx eax, byte [rsp + 0x22]
movzx ecx, byte [rsp + 0x20]
cmp eax, ecx
je 0x14005a393
cmp dword [rsp + 0x3c], 0
jne 0x14005a393
mov dword [rsp + 0x148], 0
jmp 0x14005a39e
mov dword [rsp + 0x148], 1
movsx eax, byte [0x14007d25c]
or eax, dword [rsp + 0x148]
mov byte [0x14007d25c], al
mov eax, dword [rsp + 0x3c]
mov ecx, dword [0x14007d238]
and ecx, eax
mov eax, ecx
movsx ecx, byte [0x14007d203]
or ecx, eax
mov eax, ecx
mov byte [0x14007d203], al
movsx eax, byte [0x14007d200]
movsx ecx, byte [rsp + 0x21]
add eax, ecx
test eax, eax
je 0x14005a3f9
movzx eax, byte [rsp + 0x23]
test eax, eax
je 0x14005a3f9
mov dword [rsp + 0x14c], 1
jmp 0x14005a404
mov dword [rsp + 0x14c], 0
mov eax, dword [rsp + 0x14c]
mov ecx, dword [0x14007d248]
xor ecx, eax
mov eax, ecx
mov dword [0x14007d248], eax
mov eax, dword [rsp + 0x2c]
movzx ecx, al
mov eax, dword [rsp + 0x30]
sar eax, cl
movsx ecx, byte [rsp + 0x22]
shl eax, cl
mov ecx, dword [0x14007d214]
sub ecx, eax
mov eax, ecx
movsx ecx, byte [0x14007d25c]
and ecx, eax
mov eax, ecx
mov byte [0x14007d25c], al
movzx eax, byte [rsp + 0x20]
cdq
mov ecx, 3
idiv ecx
mov eax, edx
mov ecx, dword [0x14007d254]
add ecx, eax
mov eax, ecx
mov byte [rsp + 0x23], al
jmp 0x14005a33c
movzx eax, byte [rsp + 0x23]
cmp dword [0x14007d23c], eax
jne 0x14005a486
mov dword [rsp + 0x150], 1
jmp 0x14005a491
mov dword [rsp + 0x150], 0
movzx eax, byte [rsp + 0x20]
mov ecx, dword [rsp + 0x150]
and ecx, eax
mov eax, ecx
test eax, eax
jne 0x14005a4c4
movzx eax, byte [rsp + 0x23]
movsx ecx, byte [0x14007d21d]
and eax, ecx
test eax, eax
jne 0x14005a4c4
mov dword [rsp + 0x154], 0
jmp 0x14005a4cf
mov dword [rsp + 0x154], 1
movzx eax, byte [0x14007d21f]
sub eax, dword [rsp + 0x154]
mov byte [0x14007d21f], al
cmp dword [rsp + 0x44], 0
je 0x14005a54c
movzx eax, byte [rsp + 0x20]
cmp eax, dword [0x14007d258]
jae 0x14005a54c
movsx eax, byte [rsp + 0x21]
movzx ecx, al
mov eax, dword [rsp + 0x48]
shl eax, cl
mov ecx, dword [0x14007d20c]
or ecx, eax
mov eax, ecx
test eax, eax
jne 0x14005a534
movsx eax, byte [0x14007d25c]
movzx ecx, al
mov eax, dword [rsp + 0x48]
shr eax, cl
test eax, eax
jne 0x14005a534
mov dword [rsp + 0x158], 0
jmp 0x14005a53f
mov dword [rsp + 0x158], 1
mov eax, dword [rsp + 0x158]
mov dword [0x14007d240], eax
movzx eax, byte [rsp + 0x24]
mov ecx, dword [rsp + 0x4c]
shl eax, cl
cmp dword [0x14007d238], eax
jne 0x14005a56c
mov dword [rsp + 0x15c], 1
jmp 0x14005a577
mov dword [rsp + 0x15c], 0
movzx eax, byte [0x14007d21e]
or eax, dword [rsp + 0x15c]
mov byte [0x14007d21e], al
mov dword [rsp + 0x80], 0x136
mov dword [rsp + 0x80], 0x1a4
jmp 0x14005a5b3
mov eax, dword [rsp + 0x80]
dec eax
mov dword [rsp + 0x80], eax
cmp dword [rsp + 0x80], 0
jbe 0x14005a5e5
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x28]
sub ecx, eax
mov eax, ecx
mov ecx, dword [0x14007d20c]
xor ecx, eax
mov eax, ecx
mov ecx, dword [0x14007d220]
xor ecx, eax
mov eax, ecx
mov dword [0x14007d220], eax
jmp 0x14005a5a3
cmp dword [0x14007d24c], 0
je 0x14005a614
mov eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x30]
xor ecx, eax
mov eax, ecx
test eax, eax
jne 0x14005a607
movsx eax, byte [rsp + 0x22]
test eax, eax
je 0x14005a614
mov dword [rsp + 0x160], 1
jmp 0x14005a61f
mov dword [rsp + 0x160], 0
mov eax, dword [rsp + 0x160]
mov ecx, dword [0x14007d210]
add ecx, eax
mov eax, ecx
mov dword [0x14007d210], eax
movsx eax, byte [0x14007d25c]
test eax, eax
jne 0x14005a663
movsx eax, byte [rsp + 0x22]
mov ecx, dword [rsp + 0x38]
sub ecx, eax
mov eax, ecx
or eax, dword [rsp + 0x34]
test eax, eax
jne 0x14005a663
mov dword [rsp + 0x164], 0
jmp 0x14005a66e
mov dword [rsp + 0x164], 1
mov eax, dword [rsp + 0x164]
mov ecx, dword [0x14007d238]
add ecx, eax
mov eax, ecx
mov dword [0x14007d238], eax
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
movsx eax, byte [rsp + 0x22]
mov ecx, dword [0x14007d248]
lea eax, [rax + rcx*4]
xor edx, edx
mov ecx, 0xa
div ecx
mov eax, edx
mov dword [rsp + 0x1ec], eax
mov eax, dword [rsp + 0x1ec]
mov dword [rsp + 0x84], eax
cmp dword [rsp + 0x84], 0
je 0x14005a6f2
cmp dword [rsp + 0x84], 1
je 0x14005a78a
cmp dword [rsp + 0x84], 2
je 0x14005a7ac
cmp dword [rsp + 0x84], 3
je 0x14005a814
jmp 0x14005a833
movzx eax, byte [0x14007d21f]
test eax, eax
jne 0x14005a746
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x34], eax
jne 0x14005a714
mov dword [rsp + 0x168], 1
jmp 0x14005a71f
mov dword [rsp + 0x168], 0
movsx eax, byte [rsp + 0x21]
mov ecx, dword [rsp + 0x168]
and ecx, eax
mov eax, ecx
xor eax, dword [0x14007d234]
test eax, eax
jne 0x14005a746
mov dword [rsp + 0x16c], 0
jmp 0x14005a751
mov dword [rsp + 0x16c], 1
movsx eax, byte [0x14007d200]
sub eax, dword [rsp + 0x16c]
mov byte [0x14007d200], al
movsx eax, byte [rsp + 0x21]
mov ecx, dword [0x14007d210]
sub ecx, eax
mov eax, ecx
movsx ecx, byte [0x14007d22d]
sub ecx, eax
mov eax, ecx
mov byte [0x14007d22d], al
jmp 0x14005a833
movzx eax, byte [rsp + 0x20]
cdq
mov ecx, 5
idiv ecx
mov eax, edx
mov ecx, dword [0x14007d248]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
jmp 0x14005a833
movzx eax, byte [rsp + 0x20]
mov ecx, dword [0x14007d204]
and ecx, eax
mov eax, ecx
movzx ecx, byte [rsp + 0x25]
add ecx, dword [rsp + 0x34]
and eax, ecx
xor eax, dword [0x14007d244]
movsx ecx, byte [0x14007d22f]
or ecx, eax
mov eax, ecx
mov byte [0x14007d22f], al
movzx eax, byte [0x14007d21e]
movsx ecx, byte [rsp + 0x21]
cmp eax, ecx
jne 0x14005a7fa
mov dword [rsp + 0x170], 1
jmp 0x14005a805
mov dword [rsp + 0x170], 0
mov eax, dword [rsp + 0x170]
mov dword [0x14007d214], eax
jmp 0x14005a833
mov eax, dword [rsp + 0x30]
mov ecx, dword [0x14007d248]
and ecx, eax
mov eax, ecx
movsx ecx, byte [0x14007d201]
xor ecx, eax
mov eax, ecx
mov byte [0x14007d201], al
mov dword [rsp + 0x88], 0xa0
mov dword [rsp + 0x88], 0xf
jmp 0x14005a85b
mov eax, dword [rsp + 0x88]
inc eax
mov dword [rsp + 0x88], eax
cmp dword [rsp + 0x88], 0x50f
jae 0x14005a9cb
cmp dword [0x14007d208], 0
jne 0x14005a892
movzx eax, byte [rsp + 0x25]
movzx ecx, byte [rsp + 0x20]
and eax, ecx
test eax, eax
jne 0x14005a892
mov dword [rsp + 0x174], 0
jmp 0x14005a89d
mov dword [rsp + 0x174], 1
movsx eax, byte [0x14007d203]
xor eax, dword [rsp + 0x174]
mov byte [0x14007d203], al
movzx eax, byte [rsp + 0x24]
mov ecx, dword [0x14007d23c]
and ecx, eax
mov eax, ecx
mov ecx, dword [0x14007d23c]
xor ecx, eax
mov eax, ecx
mov dword [0x14007d23c], eax
movsx eax, byte [rsp + 0x21]
movzx ecx, al
mov eax, dword [rsp + 0x44]
shl eax, cl
movzx ecx, byte [rsp + 0x25]
shl eax, cl
cmp dword [0x14007d218], eax
jne 0x14005a8fa
mov dword [rsp + 0x178], 1
jmp 0x14005a905
mov dword [rsp + 0x178], 0
mov eax, dword [rsp + 0x178]
mov ecx, dword [0x14007d23c]
and ecx, eax
mov eax, ecx
mov dword [0x14007d23c], eax
movzx eax, byte [0x14007d21f]
mov ecx, dword [rsp + 0x2c]
mov edx, dword [rsp + 0x2c]
shr edx, cl
mov ecx, edx
xor eax, ecx
movsx ecx, byte [0x14007d203]
or ecx, eax
mov eax, ecx
mov byte [0x14007d203], al
movsx eax, byte [0x14007d203]
sub eax, dword [rsp + 0x48]
movzx ecx, byte [0x14007d21f]
or ecx, eax
mov eax, ecx
mov byte [0x14007d21f], al
movzx eax, byte [rsp + 0x24]
cmp dword [rsp + 0x28], eax
jne 0x14005a976
mov dword [rsp + 0x17c], 1
jmp 0x14005a981
mov dword [rsp + 0x17c], 0
movsx eax, byte [rsp + 0x22]
cmp dword [rsp + 0x17c], eax
jne 0x14005a99c
mov dword [rsp + 0x180], 1
jmp 0x14005a9a7
mov dword [rsp + 0x180], 0
movsx eax, byte [0x14007d21d]
add eax, dword [rsp + 0x180]
movsx ecx, byte [0x14007d201]
sub ecx, eax
mov eax, ecx
mov byte [0x14007d201], al
jmp 0x14005a84b
movzx eax, byte [0x14007d22c]
sub eax, dword [rsp + 0x4c]
movzx ecx, byte [0x14007d202]
add ecx, eax
mov eax, ecx
mov byte [0x14007d202], al
mov eax, dword [rsp + 0x30]
mov ecx, dword [0x14007d208]
xor ecx, eax
mov eax, ecx
test eax, eax
je 0x14005aa0f
movsx eax, byte [rsp + 0x22]
test eax, eax
je 0x14005aa0f
mov dword [rsp + 0x184], 1
jmp 0x14005aa1a
mov dword [rsp + 0x184], 0
mov eax, dword [rsp + 0x184]
mov ecx, dword [0x14007d244]
sub ecx, eax
mov eax, ecx
mov dword [0x14007d244], eax
movsx eax, byte [0x14007d22f]
mov dword [rsp + 0x1f0], eax
movzx ecx, byte [rsp + 0x20]
mov eax, ecx
cdq
mov ecx, 3
idiv ecx
mov ecx, dword [rsp + 0x1f0]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x4c], eax
movzx eax, byte [0x14007d22c]
movzx ecx, byte [rsp + 0x23]
shl eax, cl
cmp eax, dword [rsp + 0x30]
jne 0x14005aa7e
mov dword [rsp + 0x188], 1
jmp 0x14005aa89
mov dword [rsp + 0x188], 0
mov eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x188]
and ecx, eax
mov eax, ecx
test eax, eax
jne 0x14005aab2
cmp dword [0x14007d218], 0
jne 0x14005aab2
mov dword [rsp + 0x18c], 0
jmp 0x14005aabd
mov dword [rsp + 0x18c], 1
mov eax, dword [rsp + 0x18c]
mov dword [0x14007d204], eax
mov eax, dword [rsp + 0x28]
cmp dword [0x14007d220], eax
jae 0x14005aae3
mov dword [rsp + 0x194], 1
jmp 0x14005aaee
mov dword [rsp + 0x194], 0
movzx eax, byte [rsp + 0x25]
movsx ecx, byte [0x14007d22e]
cmp eax, ecx
jge 0x14005ab0b
mov dword [rsp + 0x190], 1
jmp 0x14005ab16
mov dword [rsp + 0x190], 0
mov eax, dword [rsp + 0x190]
cmp dword [rsp + 0x194], eax
je 0x14005ab52
movzx eax, byte [0x14007d22c]
mov dword [rsp + 0x1f4], eax
xor edx, edx
mov eax, dword [rsp + 0x34]
mov ecx, 3
div ecx
mov eax, edx
mov ecx, dword [rsp + 0x1f4]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
movsx eax, byte [0x14007d22e]
movzx ecx, byte [rsp + 0x20]
cmp eax, ecx
jne 0x14005ab6f
mov dword [rsp + 0x198], 1
jmp 0x14005ab7a
mov dword [rsp + 0x198], 0
mov eax, dword [rsp + 0x4c]
mov ecx, dword [rsp + 0x198]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x14005ab94
cmp dword [rsp + 0x44], 0
jne 0x14005aba6
movsx eax, byte [0x14007d203]
test eax, eax
jne 0x14005aba6
mov byte [rsp + 0x56], 0
jmp 0x14005abab
mov byte [rsp + 0x56], 1
movzx eax, byte [rsp + 0x56]
mov byte [0x14007d22e], al
movsx eax, byte [0x14007d25c]
mov ecx, dword [rsp + 0x34]
mov edx, dword [rsp + 0x4c]
add edx, ecx
mov ecx, edx
mov edx, dword [rsp + 0x2c]
and edx, ecx
mov ecx, edx
xor eax, ecx
mov ecx, dword [0x14007d250]
xor ecx, eax
mov eax, ecx
mov dword [0x14007d250], eax
movsx eax, byte [0x14007d25c]
movsx ecx, byte [rsp + 0x22]
movzx edx, byte [rsp + 0x23]
and ecx, edx
or ecx, dword [rsp + 0x34]
or eax, ecx
mov ecx, dword [0x14007d23c]
or ecx, eax
mov eax, ecx
mov dword [0x14007d23c], eax
movzx eax, byte [rsp + 0x24]
cdq
mov ecx, 5
idiv ecx
mov eax, edx
mov ecx, dword [0x14007d218]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x48], eax
mov dword [rsp + 0xa4], 0xbe
mov eax, dword [rsp + 0xa4]
mov dword [rsp + 0x1f8], eax
mov eax, dword [rsp + 0xa4]
dec eax
mov dword [rsp + 0xa4], eax
cmp dword [rsp + 0x1f8], 0
je 0x14005ac80
movsx eax, byte [0x14007d22e]
sub eax, dword [rsp + 0x38]
movzx ecx, byte [rsp + 0x23]
sub eax, ecx
mov ecx, dword [0x14007d218]
add ecx, eax
mov eax, ecx
mov dword [0x14007d218], eax
jmp 0x14005ac34
movsx eax, byte [rsp + 0x22]
sub eax, dword [rsp + 0x3c]
cmp dword [0x14007d234], eax
jne 0x14005ac9e
mov dword [rsp + 0x19c], 1
jmp 0x14005aca9
mov dword [rsp + 0x19c], 0
movsx eax, byte [0x14007d22e]
or eax, dword [rsp + 0x19c]
mov byte [0x14007d22e], al
mov eax, dword [rsp + 0x38]
movzx ecx, al
mov eax, dword [rsp + 0x28]
shr eax, cl
cmp dword [0x14007d230], eax
jne 0x14005acdf
mov dword [rsp + 0x1a0], 1
jmp 0x14005acea
mov dword [rsp + 0x1a0], 0
mov eax, dword [0x14007d214]
movzx ecx, al
mov eax, dword [rsp + 0x44]
shl eax, cl
mov ecx, dword [rsp + 0x1a0]
and ecx, eax
mov eax, ecx
mov ecx, dword [0x14007d1fc]
and ecx, eax
mov eax, ecx
mov dword [0x14007d1fc], eax
movzx eax, byte [rsp + 0x23]
cdq
and edx, 3
add eax, edx
and eax, 3
sub eax, edx
mov ecx, dword [0x14007d208]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
mov dword [rsp + 0x78], 0x12f
mov dword [rsp + 0x78], 0x1fa
jmp 0x14005ad4e
mov eax, dword [rsp + 0x78]
dec eax
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 0xf
jbe 0x14005ad80
movsx eax, byte [0x14007d22e]
mov ecx, dword [rsp + 0x4c]
mov edx, dword [rsp + 0x2c]
sub edx, ecx
mov ecx, edx
shl eax, cl
mov ecx, dword [rsp + 0x4c]
shl eax, cl
mov ecx, dword [0x14007d230]
sar eax, cl
mov dword [0x14007d23c], eax
jmp 0x14005ad44
cmp dword [rsp + 0x3c], 0
je 0x14005ada4
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x2c]
sub ecx, eax
mov eax, ecx
test eax, eax
je 0x14005ada4
mov dword [rsp + 0x1a4], 1
jmp 0x14005adaf
mov dword [rsp + 0x1a4], 0
mov eax, dword [rsp + 0x1a4]
mov ecx, dword [0x14007d228]
sub ecx, eax
mov eax, ecx
mov ecx, dword [0x14007d234]
xor ecx, eax
mov eax, ecx
mov dword [0x14007d234], eax
movzx eax, byte [0x14007d21f]
movsx ecx, byte [rsp + 0x21]
or eax, ecx
mov ecx, dword [0x14007d250]
and ecx, eax
mov eax, ecx
mov dword [0x14007d250], eax
mov eax, dword [rsp + 0x2c]
movzx ecx, al
mov eax, dword [0x14007d220]
sar eax, cl
mov ecx, dword [0x14007d224]
or ecx, eax
mov eax, ecx
mov dword [0x14007d224], eax
movsx eax, byte [0x14007d25c]
mov dword [rsp + 0x1fc], eax
movsx ecx, byte [rsp + 0x22]
mov eax, ecx
cdq
mov ecx, 5
idiv ecx
mov eax, edx
mov ecx, dword [rsp + 0x1fc]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x40], eax
movsx eax, byte [0x14007d21d]
mov ecx, eax
call fcn.14005ae60
xor eax, eax
add rsp, 0x208
ret