Function at 0x14003f380
Capabilities:
Encrypt data using speck

Disassembly:
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x188
mov dword [rsp + 0x34], 0x12a
mov byte [rsp + 0x29], 0x81
mov byte [rsp + 0x25], 0x96
mov dword [rsp + 0x54], 0xf5
mov byte [rsp + 0x23], 0x10
mov byte [rsp + 0x27], 0x7d
mov dword [rsp + 0x2c], 0x152
mov dword [rsp + 0x30], 0x2a
mov dword [rsp + 0x44], 0xb4
mov byte [rsp + 0x22], 0x19
mov byte [rsp + 0x28], 0x1f
mov byte [rsp + 0x24], 0x9b
mov dword [rsp + 0x50], 0x138
mov byte [rsp + 0x20], 0x54
mov dword [rsp + 0x40], 0x169
mov byte [rsp + 0x21], 0x32
mov dword [rsp + 0x38], 0x193
mov byte [rsp + 0x26], 0x92
mov dword [rsp + 0x3c], 0xab
mov eax, dword [0x140074c64]
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
xor edx, edx
mov ecx, 4
div ecx
mov eax, edx
mov dword [rsp + 0x13c], eax
mov eax, dword [rsp + 0x13c]
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
je 0x14003f45d
cmp dword [rsp + 0x68], 1
je 0x14003f4b7
cmp dword [rsp + 0x68], 2
je 0x14003f50a
cmp dword [rsp + 0x68], 3
je 0x14003f580
jmp 0x14003f59f
movsx eax, byte [rsp + 0x21]
test eax, eax
je 0x14003f46f
movsx eax, byte [rsp + 0x21]
test eax, eax
jne 0x14003f485
movsx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14003f485
mov dword [rsp + 0x94], 0
jmp 0x14003f490
mov dword [rsp + 0x94], 1
mov eax, dword [rsp + 0x94]
mov ecx, dword [0x140074c74]
and ecx, eax
mov eax, ecx
movsx ecx, byte [0x140074c5d]
and ecx, eax
mov eax, ecx
mov byte [0x140074c5d], al
jmp 0x14003f5ef
movzx eax, byte [rsp + 0x28]
test eax, eax
je 0x14003f4dc
movsx eax, byte [rsp + 0x21]
mov ecx, dword [rsp + 0x34]
shl eax, cl
test eax, eax
je 0x14003f4dc
mov dword [rsp + 0x98], 1
jmp 0x14003f4e7
mov dword [rsp + 0x98], 0
movsx eax, byte [0x140074c6e]
add eax, dword [rsp + 0x98]
mov ecx, dword [0x140074c8c]
add ecx, eax
mov eax, ecx
mov dword [0x140074c8c], eax
jmp 0x14003f5ef
movsx eax, byte [0x140074c6f]
movsx ecx, byte [rsp + 0x22]
sub ecx, dword [rsp + 0x2c]
and ecx, dword [rsp + 0x54]
sar eax, cl
movzx ecx, byte [0x140074c5f]
xor ecx, eax
mov eax, ecx
mov byte [0x140074c5f], al
cmp dword [rsp + 0x50], 0
je 0x14003f555
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x2c]
xor ecx, eax
mov eax, ecx
test eax, eax
je 0x14003f555
mov dword [rsp + 0x9c], 1
jmp 0x14003f560
mov dword [rsp + 0x9c], 0
movzx eax, byte [0x140074c89]
or eax, dword [rsp + 0x9c]
mov ecx, dword [0x140074c74]
and ecx, eax
mov eax, ecx
mov dword [0x140074c74], eax
jmp 0x14003f5ef
movzx eax, byte [rsp + 0x27]
cdq
mov ecx, 3
idiv ecx
mov eax, edx
mov ecx, dword [0x140074c70]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
jmp 0x14003f5ef
movzx eax, byte [0x140074c6d]
mov ecx, dword [rsp + 0x2c]
mov edx, dword [rsp + 0x2c]
or edx, ecx
mov ecx, edx
or ecx, dword [rsp + 0x30]
and eax, ecx
mov ecx, dword [0x140074c70]
xor ecx, eax
mov eax, ecx
mov dword [0x140074c70], eax
movsx eax, byte [rsp + 0x22]
movzx ecx, al
mov eax, dword [0x140074c2c]
shl eax, cl
movsx ecx, byte [rsp + 0x20]
and eax, ecx
mov ecx, dword [0x140074c54]
and ecx, eax
mov eax, ecx
mov dword [0x140074c54], eax
mov dword [rsp + 0x84], 0x32
mov eax, dword [rsp + 0x84]
mov dword [rsp + 0x140], eax
mov eax, dword [rsp + 0x84]
dec eax
mov dword [rsp + 0x84], eax
cmp dword [rsp + 0x140], 0
je 0x14003f6bc
movzx eax, byte [0x140074c6d]
test eax, eax
je 0x14003f656
mov eax, dword [rsp + 0x2c]
movzx ecx, al
mov eax, dword [rsp + 0x34]
sar eax, cl
test eax, eax
jne 0x14003f649
cmp dword [rsp + 0x38], 0
je 0x14003f656
mov dword [rsp + 0xa0], 1
jmp 0x14003f661
mov dword [rsp + 0xa0], 0
mov eax, dword [rsp + 0xa0]
mov ecx, dword [0x140074a68]
add ecx, eax
mov eax, ecx
mov dword [0x140074a68], eax
mov eax, dword [rsp + 0x54]
mov ecx, dword [0x140074c48]
sub ecx, eax
mov eax, ecx
and eax, dword [rsp + 0x44]
xor eax, dword [rsp + 0x2c]
xor eax, dword [0x140074c34]
mov byte [0x140074b8f], al
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
movzx ecx, al
mov eax, dword [0x140074c70]
shl eax, cl
mov byte [0x140074a63], al
jmp 0x14003f5fa
movsx eax, byte [0x140074c5e]
test eax, eax
je 0x14003f6e4
movsx eax, byte [rsp + 0x21]
movsx ecx, byte [rsp + 0x22]
shl eax, cl
test eax, eax
je 0x14003f6e4
mov dword [rsp + 0xa4], 1
jmp 0x14003f6ef
mov dword [rsp + 0xa4], 0
movzx eax, byte [0x140074b8f]
and eax, dword [rsp + 0xa4]
mov byte [0x140074b8f], al
movsx eax, byte [0x140074a63]
imul eax, eax, 6
mov ecx, dword [rsp + 0x34]
add ecx, eax
mov eax, ecx
cdq
mov ecx, 9
idiv ecx
mov eax, edx
mov dword [rsp + 0x144], eax
mov eax, dword [rsp + 0x144]
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x6c], 0
je 0x14003f756
cmp dword [rsp + 0x6c], 1
je 0x14003f789
cmp dword [rsp + 0x6c], 2
je 0x14003f7b6
cmp dword [rsp + 0x6c], 3
je 0x14003f7f7
jmp 0x14003f824
movsx eax, byte [rsp + 0x20]
movsx ecx, byte [rsp + 0x24]
movzx edx, byte [rsp + 0x25]
add ecx, edx
and eax, ecx
movzx ecx, al
mov eax, dword [0x140074c8c]
shl eax, cl
mov ecx, dword [0x140074c68]
sub ecx, eax
mov eax, ecx
mov dword [0x140074c68], eax
jmp 0x14003f824
movsx eax, byte [0x140074c6f]
mov dword [rsp + 0x148], eax
mov eax, dword [rsp + 0x34]
cdq
mov ecx, 3
idiv ecx
mov eax, edx
mov ecx, dword [rsp + 0x148]
add ecx, eax
mov eax, ecx
mov byte [rsp + 0x22], al
jmp 0x14003f824
movsx eax, byte [0x140074c90]
mov ecx, dword [rsp + 0x3c]
sar eax, cl
cmp eax, dword [rsp + 0x50]
jne 0x14003f7d6
mov dword [rsp + 0xa8], 1
jmp 0x14003f7e1
mov dword [rsp + 0xa8], 0
movsx eax, byte [0x140074c6f]
or eax, dword [rsp + 0xa8]
mov byte [0x140074c6f], al
jmp 0x14003f824
movsx eax, byte [0x140074c90]
movsx ecx, byte [rsp + 0x26]
mov edx, dword [rsp + 0x50]
add edx, ecx
mov ecx, edx
movsx edx, byte [rsp + 0x24]
or ecx, edx
sub eax, ecx
mov ecx, dword [0x140074c64]
xor ecx, eax
mov eax, ecx
mov dword [0x140074c64], eax
movsx eax, byte [rsp + 0x21]
cmp eax, dword [0x140074a68]
jne 0x14003f83e
mov dword [rsp + 0xac], 1
jmp 0x14003f849
mov dword [rsp + 0xac], 0
mov eax, dword [rsp + 0xac]
cmp dword [rsp + 0x38], eax
jge 0x14003f863
mov dword [rsp + 0xb0], 1
jmp 0x14003f86e
mov dword [rsp + 0xb0], 0
mov eax, dword [rsp + 0xb0]
cmp dword [0x140074a64], eax
jne 0x14003f884
cmp dword [rsp + 0x2c], 0
je 0x14003f8c5
movzx eax, byte [0x140074c5c]
test eax, eax
jne 0x14003f8a3
cmp dword [rsp + 0x34], 0
jne 0x14003f8a3
mov dword [rsp + 0xb4], 0
jmp 0x14003f8ae
mov dword [rsp + 0xb4], 1
mov eax, dword [rsp + 0xb4]
mov ecx, dword [0x140074c2c]
and ecx, eax
mov eax, ecx
mov dword [0x140074c2c], eax
movsx eax, byte [0x140074c6e]
movsx ecx, byte [rsp + 0x20]
cmp eax, ecx
jne 0x14003f8fa
movsx eax, byte [rsp + 0x22]
movzx ecx, byte [rsp + 0x29]
sub eax, ecx
mov ecx, dword [0x140074c2c]
shl eax, cl
test eax, eax
je 0x14003f8fa
mov dword [rsp + 0xb8], 1
jmp 0x14003f905
mov dword [rsp + 0xb8], 0
mov eax, dword [rsp + 0xb8]
mov dword [0x140074c84], eax
movzx eax, byte [0x140074c5c]
test eax, eax
je 0x14003f93a
movsx eax, byte [rsp + 0x22]
movzx ecx, byte [rsp + 0x29]
sar eax, cl
test eax, eax
je 0x14003f93a
mov dword [rsp + 0xbc], 1
jmp 0x14003f945
mov dword [rsp + 0xbc], 0
mov eax, dword [rsp + 0xbc]
mov ecx, dword [0x140074c70]
or ecx, eax
mov eax, ecx
mov dword [0x140074c70], eax
movzx eax, byte [rsp + 0x29]
movzx ecx, al
mov eax, dword [0x140074a64]
shr eax, cl
cmp eax, dword [rsp + 0x44]
jne 0x14003f991
movsx eax, byte [rsp + 0x24]
movzx ecx, byte [0x140074c8a]
sar eax, cl
test eax, eax
je 0x14003f991
mov dword [rsp + 0xc0], 1
jmp 0x14003f99c
mov dword [rsp + 0xc0], 0
mov eax, dword [rsp + 0xc0]
mov ecx, dword [0x140074c30]
xor ecx, eax
mov eax, ecx
mov dword [0x140074c30], eax
movsx eax, byte [rsp + 0x26]
movzx ecx, byte [rsp + 0x28]
sub eax, ecx
cmp dword [0x140074a68], eax
jne 0x14003f9ce
mov byte [rsp + 0x48], 1
jmp 0x14003f9d3
mov byte [rsp + 0x48], 0
movzx eax, byte [rsp + 0x48]
mov byte [0x140074c8b], al
call qword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [rsp + 0x70], 0xd2
mov dword [rsp + 0x70], 0x15d
jmp 0x14003fa00
mov eax, dword [rsp + 0x70]
dec eax
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 7
jbe 0x14003fa26
movsx eax, byte [rsp + 0x26]
cdq
mov ecx, 5
idiv ecx
mov eax, edx
mov ecx, dword [0x140074c28]
add ecx, eax
mov eax, ecx
mov byte [rsp + 0x29], al
jmp 0x14003f9f6
movzx eax, byte [0x140074c8b]
mov ecx, dword [rsp + 0x38]
shl eax, cl
mov ecx, dword [0x140074c28]
sub ecx, eax
mov eax, ecx
mov dword [0x140074c28], eax
movsx eax, byte [0x140074a62]
mov ecx, dword [rsp + 0x3c]
sar eax, cl
mov ecx, dword [rsp + 0x54]
sar eax, cl
movzx ecx, byte [0x140074c8b]
add ecx, eax
mov eax, ecx
mov byte [0x140074c8b], al
cmp dword [0x140074c4c], 0
je 0x14003fa9f
mov eax, dword [rsp + 0x44]
movzx ecx, al
mov eax, dword [rsp + 0x40]
shl eax, cl
mov ecx, dword [rsp + 0x30]
shr eax, cl
test eax, eax
je 0x14003fa9f
movzx eax, byte [0x140074c89]
test eax, eax
je 0x14003fa9f
mov dword [rsp + 0xc4], 1
jmp 0x14003faaa
mov dword [rsp + 0xc4], 0
movsx eax, byte [0x140074c6f]
add eax, dword [rsp + 0xc4]
mov byte [0x140074c6f], al
movzx eax, byte [0x140074c6d]
movsx ecx, byte [rsp + 0x21]
mov dword [rsp + 0x14c], ecx
movzx edx, byte [rsp + 0x25]
movzx ecx, dl
mov edx, dword [rsp + 0x14c]
shl edx, cl
mov ecx, edx
mov dword [rsp + 0x150], ecx
mov edx, dword [0x140074c84]
movzx ecx, dl
mov edx, dword [rsp + 0x150]
sar edx, cl
mov ecx, edx
mov edx, dword [rsp + 0x44]
and edx, ecx
mov ecx, edx
xor eax, ecx
mov byte [0x140074c6d], al
mov dword [rsp + 0x88], 0xc0
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x154], eax
mov eax, dword [rsp + 0x88]
dec eax
mov dword [rsp + 0x88], eax
cmp dword [rsp + 0x154], 0
je 0x14003fbdb
movzx eax, byte [0x140074c8a]
movsx ecx, byte [rsp + 0x21]
sub eax, ecx
movzx ecx, byte [rsp + 0x25]
add eax, ecx
movsx ecx, byte [0x140074a62]
sub ecx, eax
mov eax, ecx
mov byte [0x140074a62], al
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x3c]
sub ecx, eax
mov eax, ecx
sub eax, dword [rsp + 0x50]
mov ecx, dword [0x140074c8c]
or ecx, eax
mov eax, ecx
mov dword [0x140074c3c], eax
movsx eax, byte [rsp + 0x20]
movzx ecx, al
mov eax, dword [0x140074c84]
shl eax, cl
test eax, eax
je 0x14003fbb4
cmp dword [rsp + 0x40], 0
je 0x14003fbb4
mov dword [rsp + 0xc8], 1
jmp 0x14003fbbf
mov dword [rsp + 0xc8], 0
mov eax, dword [rsp + 0xc8]
mov ecx, dword [0x140074c64]
add ecx, eax
mov eax, ecx
mov dword [0x140074c64], eax
jmp 0x14003fb1a
mov eax, 0xffffffc7
mov word [rsp + 0x60], ax
movsx eax, word [rsp + 0x60]
mov dword [rsp + 0x158], eax
movzx eax, word [rsp + 0x60]
inc ax
mov word [rsp + 0x60], ax
cmp dword [rsp + 0x158], 0
je 0x14003fc36
movzx eax, byte [0x140074c88]
mov dword [rsp + 0x15c], eax
mov eax, dword [rsp + 0x38]
cdq
and edx, 3
add eax, edx
and eax, 3
sub eax, edx
mov ecx, dword [rsp + 0x15c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x54], eax
jmp 0x14003fbe5
movsx eax, byte [rsp + 0x23]
add eax, dword [rsp + 0x40]
movsx ecx, byte [rsp + 0x20]
shl eax, cl
mov ecx, dword [0x140074a6c]
or ecx, eax
mov eax, ecx
mov dword [0x140074c54], eax
movsx eax, byte [rsp + 0x22]
mov ecx, dword [0x140074c50]
imul ecx, eax
mov eax, ecx
xor edx, edx
mov ecx, 4
div ecx
mov byte [rsp + 0x21], al
cmp dword [rsp + 0x3c], 0
jne 0x14003fc92
movsx eax, byte [rsp + 0x21]
cmp eax, dword [rsp + 0x30]
je 0x14003fc92
mov dword [rsp + 0xcc], 0
jmp 0x14003fc9d
mov dword [rsp + 0xcc], 1
mov eax, dword [rsp + 0xcc]
mov ecx, dword [0x140074c70]
add ecx, eax
mov eax, ecx
movsx ecx, byte [0x140074c6c]
add ecx, eax
mov eax, ecx
mov byte [0x140074c6c], al
mov eax, dword [rsp + 0x2c]
mov ecx, dword [0x140074c38]
add ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x54]
shl eax, cl
mov dword [0x140074c54], eax
mov dword [rsp + 0x74], 0xb3
mov dword [rsp + 0x74], 8
jmp 0x14003fcf5
mov eax, dword [rsp + 0x74]
inc eax
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0x222
jge 0x14003fdc7
movsx eax, byte [rsp + 0x20]
mov ecx, dword [0x140074c4c]
xor ecx, eax
mov eax, ecx
movsx ecx, byte [rsp + 0x21]
or eax, ecx
mov ecx, dword [0x140074c60]
or ecx, eax
mov eax, ecx
mov dword [0x140074c60], eax
movzx eax, byte [0x140074c5c]
test eax, eax
je 0x14003fd61
movzx eax, byte [rsp + 0x25]
mov ecx, dword [rsp + 0x30]
sub ecx, eax
mov eax, ecx
movsx ecx, byte [rsp + 0x26]
add eax, ecx
mov ecx, dword [0x140074c70]
shr eax, cl
test eax, eax
je 0x14003fd61
mov dword [rsp + 0xd0], 1
jmp 0x14003fd6c
mov dword [rsp + 0xd0], 0
movzx eax, byte [0x140074c8a]
xor eax, dword [rsp + 0xd0]
mov byte [0x140074c8a], al
movsx eax, byte [rsp + 0x20]
movzx ecx, al
mov eax, dword [rsp + 0x2c]
shr eax, cl
cmp dword [0x140074a6c], eax
jne 0x14003fda3
mov dword [rsp + 0xd4], 1
jmp 0x14003fdae
mov dword [rsp + 0xd4], 0
movsx eax, byte [0x140074c6e]
and eax, dword [rsp + 0xd4]
mov byte [0x140074c6e], al
jmp 0x14003fceb
mov dword [rsp + 0x8c], 0xffffffb9
mov eax, dword [rsp + 0x8c]
mov dword [rsp + 0x160], eax
mov eax, dword [rsp + 0x8c]
inc eax
mov dword [rsp + 0x8c], eax
cmp dword [rsp + 0x160], 0
je 0x14003fe59
cmp dword [0x140074a64], 0
je 0x14003fe35
movzx eax, byte [rsp + 0x25]
movzx ecx, al
mov eax, dword [rsp + 0x40]
shl eax, cl
test eax, eax
je 0x14003fe35
movzx eax, byte [0x140074c6d]
mov ecx, dword [rsp + 0x30]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x14003fe35
mov dword [rsp + 0xd8], 1
jmp 0x14003fe40
mov dword [rsp + 0xd8], 0
movsx eax, byte [0x140074c90]
and eax, dword [rsp + 0xd8]
mov byte [0x140074c90], al
jmp 0x14003fdd2
movzx eax, byte [0x140074b8f]
movzx ecx, byte [rsp + 0x29]
cmp eax, ecx
jne 0x14003fe76
mov dword [rsp + 0xdc], 1
jmp 0x14003fe81
mov dword [rsp + 0xdc], 0
movsx eax, byte [0x140074a62]
add eax, dword [rsp + 0xdc]
mov byte [0x140074a62], al
movzx eax, byte [0x140074c8b]
test eax, eax
je 0x14003feb2
movsx eax, byte [rsp + 0x26]
cmp eax, dword [rsp + 0x34]
jne 0x14003feb2
mov byte [rsp + 0x49], 1
jmp 0x14003feb7
mov byte [rsp + 0x49], 0
movzx eax, byte [rsp + 0x49]
mov byte [0x140074c5d], al
cmp dword [0x140074c3c], 0
je 0x14003ff0f
movzx eax, byte [rsp + 0x27]
cmp dword [rsp + 0x30], eax
jne 0x14003fee3
mov dword [rsp + 0xe0], 1
jmp 0x14003feee
mov dword [rsp + 0xe0], 0
movzx eax, byte [rsp + 0x25]
mov ecx, dword [rsp + 0xe0]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x14003ff0f
mov dword [rsp + 0xe4], 1
jmp 0x14003ff1a
mov dword [rsp + 0xe4], 0
movzx eax, byte [0x140074c89]
add eax, dword [rsp + 0xe4]
mov byte [0x140074c89], al
movzx eax, byte [0x140074c89]
mov ecx, dword [rsp + 0x50]
shl eax, cl
movsx ecx, byte [0x140074c6e]
xor ecx, eax
mov eax, ecx
mov byte [0x140074c6e], al
movsx eax, byte [rsp + 0x23]
movsx ecx, byte [rsp + 0x20]
cmp eax, ecx
jle 0x14003ff76
movsx eax, byte [0x140074a63]
movsx ecx, byte [rsp + 0x21]
mov edx, dword [rsp + 0x40]
and edx, ecx
mov ecx, edx
xor eax, ecx
mov byte [0x140074b8f], al
mov eax, dword [rsp + 0x3c]
movzx ecx, al
mov eax, dword [0x140074c30]
shr eax, cl
movsx ecx, byte [rsp + 0x22]
shl eax, cl
movzx ecx, byte [rsp + 0x28]
shr eax, cl
mov ecx, dword [0x140074a6c]
shl eax, cl
mov byte [0x140074c6f], al
mov eax, dword [rsp + 0x50]
mov ecx, dword [0x140074a64]
or ecx, eax
mov eax, ecx
mov byte [0x140074a62], al
movzx eax, byte [rsp + 0x29]
mov ecx, dword [0x140074c64]
add ecx, eax
mov eax, ecx
mov ecx, dword [0x140074c68]
sub ecx, eax
mov eax, ecx
mov dword [0x140074c68], eax
movsx eax, byte [0x140074c5e]
movsx ecx, byte [rsp + 0x23]
shl eax, cl
mov ecx, dword [0x140074c2c]
add ecx, eax
mov eax, ecx
mov dword [0x140074c2c], eax
movsx eax, byte [0x140074c5d]
movsx ecx, byte [rsp + 0x22]
mov edx, dword [rsp + 0x50]
sub edx, ecx
mov ecx, edx
movsx edx, byte [rsp + 0x22]
add ecx, edx
sub eax, ecx
mov ecx, dword [0x140074a6c]
xor ecx, eax
mov eax, ecx
mov dword [0x140074a6c], eax
movzx eax, byte [0x140074c8b]
mov ecx, dword [rsp + 0x38]
sar eax, cl
and eax, dword [rsp + 0x30]
mov ecx, dword [0x140074c70]
sub ecx, eax
mov eax, ecx
mov dword [0x140074c70], eax
mov eax, 0x27
mov word [rsp + 0x58], ax
mov eax, 0xf
mov word [rsp + 0x58], ax
jmp 0x140040063
movzx eax, word [rsp + 0x58]
inc ax
mov word [rsp + 0x58], ax
movsx eax, word [rsp + 0x58]
cmp eax, 0x701
jge 0x1400400b8
cmp dword [rsp + 0x44], 0
jne 0x140040094
mov eax, dword [rsp + 0x38]
movzx ecx, al
mov eax, dword [rsp + 0x50]
shr eax, cl
test eax, eax
jne 0x140040094
mov dword [rsp + 0xe8], 0
jmp 0x14004009f
mov dword [rsp + 0xe8], 1
mov eax, dword [rsp + 0xe8]
mov ecx, dword [0x140074c34]
add ecx, eax
mov eax, ecx
mov byte [0x140074c88], al
jmp 0x140040056
mov eax, dword [rsp + 0x50]
mov ecx, dword [0x140074c74]
sub ecx, eax
mov eax, ecx
test eax, eax
je 0x1400400ea
movsx eax, byte [rsp + 0x23]
movsx ecx, byte [rsp + 0x20]
sar eax, cl
movzx ecx, byte [0x140074c8b]
and eax, ecx
test eax, eax
je 0x1400400ea
mov byte [rsp + 0x4c], 1
jmp 0x1400400ef
mov byte [rsp + 0x4c], 0
movzx eax, byte [rsp + 0x4c]
mov byte [0x140074c88], al
movzx eax, byte [0x140074c5f]
imul eax, dword [rsp + 0x40]
xor edx, edx
mov ecx, 5
div ecx
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov eax, ecx
mov ecx, dword [0x140074c28]
and ecx, eax
mov eax, ecx
movsx ecx, byte [0x140074c90]
and ecx, eax
mov eax, ecx
mov byte [0x140074c90], al
movsx eax, byte [rsp + 0x20]
cmp dword [rsp + 0x34], eax
jne 0x140040152
mov dword [rsp + 0xec], 1
jmp 0x14004015d
mov dword [rsp + 0xec], 0
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0xec]
xor ecx, eax
mov eax, ecx
movzx ecx, al
mov eax, dword [0x140074c34]
shr eax, cl
movsx ecx, byte [0x140074c5e]
add ecx, eax
mov eax, ecx
mov byte [0x140074c5e], al
mov eax, 0x157
mov word [rsp + 0x5c], ax
mov eax, 0x23a
mov word [rsp + 0x5c], ax
jmp 0x1400401ab
movzx eax, word [rsp + 0x5c]
dec ax
mov word [rsp + 0x5c], ax
movsx eax, word [rsp + 0x5c]
cmp eax, 0x28
jle 0x14004035d
movzx eax, byte [rsp + 0x27]
movsx ecx, byte [rsp + 0x22]
cmp eax, ecx
jge 0x140040211
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x54], eax
jne 0x1400401de
mov dword [rsp + 0xf0], 1
jmp 0x1400401e9
mov dword [rsp + 0xf0], 0
movsx eax, byte [rsp + 0x26]
xor eax, dword [rsp + 0xf0]
movzx ecx, al
mov eax, dword [0x140074c64]
shl eax, cl
movzx ecx, byte [0x140074c88]
and ecx, eax
mov eax, ecx
mov byte [0x140074c88], al
movzx eax, byte [0x140074c5c]
movsx ecx, byte [rsp + 0x24]
add eax, ecx
cmp eax, dword [rsp + 0x54]
jne 0x140040232
mov dword [rsp + 0xf4], 1
jmp 0x14004023d
mov dword [rsp + 0xf4], 0
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0xf4]
and ecx, eax
mov eax, ecx
movsx ecx, byte [0x140074c6f]
or eax, ecx
movzx ecx, byte [0x140074c88]
or ecx, eax
mov eax, ecx
mov byte [0x140074c88], al
movzx eax, byte [0x140074c5c]
movsx ecx, byte [rsp + 0x21]
add ecx, dword [rsp + 0x40]
movsx edx, byte [rsp + 0x21]
add ecx, edx
xor eax, ecx
movzx ecx, byte [0x140074c89]
xor ecx, eax
mov eax, ecx
mov byte [0x140074c89], al
mov eax, dword [rsp + 0x3c]
cmp dword [0x140074c68], eax
jne 0x1400402a9
mov dword [rsp + 0xf8], 1
jmp 0x1400402b4
mov dword [rsp + 0xf8], 0
movsx eax, byte [rsp + 0x23]
sub eax, dword [rsp + 0x2c]
movsx ecx, byte [0x140074c5e]
shl eax, cl
mov ecx, dword [rsp + 0xf8]
xor ecx, eax
mov eax, ecx
mov ecx, dword [0x140074c68]
xor ecx, eax
mov eax, ecx
mov dword [0x140074c68], eax
movzx eax, byte [0x140074c8b]
movzx ecx, byte [rsp + 0x25]
mov edx, dword [rsp + 0x44]
add edx, ecx
mov ecx, edx
mov edx, dword [rsp + 0x38]
xor edx, ecx
mov ecx, edx
or eax, ecx
test eax, eax
je 0x14004031b
movsx eax, byte [0x140074a63]
test eax, eax
je 0x14004031b
mov dword [rsp + 0xfc], 1
jmp 0x140040326
mov dword [rsp + 0xfc], 0
mov eax, dword [rsp + 0xfc]
mov ecx, dword [0x140074c68]
and ecx, eax
mov eax, ecx
mov dword [0x140074c68], eax
movzx eax, byte [0x140074c8b]
movsx ecx, byte [rsp + 0x24]
sub eax, ecx
movzx ecx, byte [rsp + 0x27]
or eax, ecx
mov byte [0x140074b8f], al
jmp 0x14004019e
mov eax, 0xfffffdfe
mov word [rsp + 0x64], ax
movsx eax, word [rsp + 0x64]
mov dword [rsp + 0x164], eax
movzx eax, word [rsp + 0x64]
inc ax
mov word [rsp + 0x64], ax
cmp dword [rsp + 0x164], 0
je 0x14004054a
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x38], eax
jbe 0x1400404b7
movsx eax, byte [0x140074a62]
mov dword [rsp + 0x168], eax
xor edx, edx
mov eax, dword [rsp + 0x30]
mov ecx, 3
div ecx
mov ecx, dword [rsp + 0x168]
add ecx, eax
mov eax, ecx
mov byte [rsp + 0x28], al
xor edx, edx
mov eax, dword [rsp + 0x30]
mov ecx, 3
div ecx
mov ecx, dword [0x140074c50]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x3c], eax
movsx eax, byte [0x140074a62]
mov dword [rsp + 0x16c], eax
mov eax, dword [rsp + 0x38]
cdq
mov ecx, 3
idiv ecx
mov eax, edx
mov ecx, dword [rsp + 0x16c]
add ecx, eax
mov eax, ecx
mov byte [rsp + 0x23], al
movzx eax, byte [0x140074c6d]
sub eax, dword [rsp + 0x38]
and eax, dword [rsp + 0x38]
test eax, eax
jne 0x14004043e
mov eax, dword [0x140074c38]
mov ecx, dword [rsp + 0x54]
sub ecx, eax
mov eax, ecx
test eax, eax
jne 0x14004043e
mov dword [rsp + 0x100], 0
jmp 0x140040449
mov dword [rsp + 0x100], 1
mov eax, dword [rsp + 0x100]
mov ecx, dword [0x140074c38]
sub ecx, eax
mov eax, ecx
mov dword [0x140074c38], eax
movzx eax, byte [0x140074b8f]
test eax, eax
jne 0x140040498
movsx eax, byte [rsp + 0x23]
mov ecx, dword [rsp + 0x34]
mov edx, dword [rsp + 0x34]
sub edx, ecx
mov ecx, edx
and eax, ecx
test eax, eax
jne 0x140040498
cmp dword [0x140074c70], 0
jne 0x140040498
mov dword [rsp + 0x104], 0
jmp 0x1400404a3
mov dword [rsp + 0x104], 1
movzx eax, byte [0x140074c5c]
and eax, dword [rsp + 0x104]
mov byte [0x140074c5c], al
movsx eax, byte [0x140074c6c]
movsx ecx, byte [rsp + 0x20]
mov edx, dword [rsp + 0x40]
shl edx, cl
mov ecx, edx
or eax, ecx
test eax, eax
je 0x1400404ed
movzx eax, byte [rsp + 0x27]
and eax, dword [0x140074c34]
test eax, eax
je 0x1400404ed
mov dword [rsp + 0x108], 1
jmp 0x1400404f8
mov dword [rsp + 0x108], 0
movsx eax, byte [0x140074c90]
add eax, dword [rsp + 0x108]
mov byte [0x140074c90], al
xor edx, edx
mov eax, dword [rsp + 0x50]
mov ecx, 4
div ecx
mov eax, edx
mov ecx, dword [0x140074a6c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x3c], eax
movsx eax, byte [rsp + 0x26]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov ecx, dword [0x140074c48]
add ecx, eax
mov eax, ecx
mov byte [rsp + 0x24], al
jmp 0x140040367
cmp dword [0x140074c30], 0
jne 0x14004056a
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x2c], eax
je 0x14004056a
mov dword [rsp + 0x10c], 0
jmp 0x140040575
mov dword [rsp + 0x10c], 1
mov eax, dword [rsp + 0x10c]
mov dword [0x140074c48], eax
movzx eax, byte [0x140074c5f]
movzx ecx, byte [rsp + 0x28]
mov edx, dword [rsp + 0x44]
add edx, eax
mov eax, edx
add ecx, eax
mov eax, ecx
mov dword [0x140074a64], eax
movsx eax, byte [0x140074c6c]
movsx ecx, byte [rsp + 0x24]
sub eax, ecx
mov ecx, dword [0x140074c84]
add ecx, eax
mov eax, ecx
mov dword [0x140074c84], eax
mov dword [rsp + 0x78], 0x103
mov dword [rsp + 0x78], 0x33
jmp 0x1400405da
mov eax, dword [rsp + 0x78]
dec eax
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 0x1a
jbe 0x140040640
mov eax, dword [rsp + 0x30]
mov ecx, dword [0x140074c34]
xor ecx, eax
mov eax, ecx
movsx ecx, byte [0x140074a63]
add ecx, eax
mov eax, ecx
mov byte [0x140074a63], al
cmp dword [0x140074c74], 0
jne 0x14004061f
movzx eax, byte [rsp + 0x27]
test eax, eax
jne 0x14004061f
mov dword [rsp + 0x110], 0
jmp 0x14004062a
mov dword [rsp + 0x110], 1
movzx eax, byte [0x140074b8f]
and eax, dword [rsp + 0x110]
mov byte [0x140074b8f], al
jmp 0x1400405d0
movsx eax, byte [0x140074c6e]
cmp eax, dword [rsp + 0x54]
jae 0x14004065a
mov dword [rsp + 0x118], 1
jmp 0x140040665
mov dword [rsp + 0x118], 0
movsx eax, byte [rsp + 0x23]
test eax, eax
jne 0x140040684
cmp dword [0x140074c3c], 0
jne 0x140040684
mov dword [rsp + 0x114], 0
jmp 0x14004068f
mov dword [rsp + 0x114], 1
mov eax, dword [rsp + 0x114]
cmp dword [rsp + 0x118], eax
jge 0x14004078d
mov eax, dword [rsp + 0x2c]
movzx ecx, al
mov eax, dword [0x140074c2c]
shr eax, cl
mov ecx, dword [0x140074c30]
sub ecx, eax
mov eax, ecx
mov dword [0x140074c30], eax
movsx eax, byte [rsp + 0x24]
mov ecx, dword [0x140074c60]
xor ecx, eax
mov eax, ecx
movzx ecx, byte [0x140074c8a]
sub ecx, eax
mov eax, ecx
mov byte [0x140074c8a], al
movsx eax, byte [rsp + 0x24]
mov ecx, dword [0x140074c38]
imul ecx, eax
mov eax, ecx
cdq
and edx, 3
add eax, edx
sar eax, 2
mov byte [rsp + 0x28], al
movsx eax, byte [rsp + 0x24]
mov ecx, dword [0x140074c54]
add ecx, eax
mov eax, ecx
movsx ecx, byte [0x140074a63]
xor ecx, eax
mov eax, ecx
mov byte [0x140074a63], al
mov eax, dword [rsp + 0x54]
movzx ecx, al
mov eax, dword [rsp + 0x34]
shl eax, cl
xor eax, dword [rsp + 0x30]
mov ecx, dword [0x140074c50]
or ecx, eax
mov eax, ecx
mov dword [0x140074c50], eax
movsx eax, byte [rsp + 0x23]
test eax, eax
jne 0x140040761
movsx eax, byte [rsp + 0x23]
cmp eax, dword [rsp + 0x44]
je 0x140040761
mov dword [rsp + 0x11c], 0
jmp 0x14004076c
mov dword [rsp + 0x11c], 1
mov eax, dword [rsp + 0x11c]
mov ecx, dword [0x140074c64]
xor ecx, eax
mov eax, ecx
mov ecx, dword [0x140074c48]
sub ecx, eax
mov eax, ecx
mov dword [0x140074c48], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [rsp + 0x3c]
mov ecx, dword [0x140074c68]
lea eax, [rax + rcx*2]
cdq
mov ecx, 6
idiv ecx
mov eax, edx
mov dword [rsp + 0x170], eax
mov eax, dword [rsp + 0x170]
mov dword [rsp + 0x7c], eax
cmp dword [rsp + 0x7c], 0
je 0x1400407e9
cmp dword [rsp + 0x7c], 1
je 0x140040896
cmp dword [rsp + 0x7c], 2
je 0x1400408af
cmp dword [rsp + 0x7c], 3
je 0x1400408da
jmp 0x14004098c
cmp dword [0x140074c34], 0
jne 0x140040813
movsx eax, byte [rsp + 0x20]
movzx ecx, byte [rsp + 0x25]
add ecx, dword [rsp + 0x44]
shl eax, cl
test eax, eax
jne 0x140040813
mov dword [rsp + 0x120], 0
jmp 0x14004081e
mov dword [rsp + 0x120], 1
mov eax, dword [rsp + 0x120]
mov ecx, dword [0x140074c28]
or ecx, eax
mov eax, ecx
mov dword [0x140074c28], eax
movsx eax, byte [0x140074c5e]
test eax, eax
jne 0x14004086f
movsx eax, byte [rsp + 0x24]
movsx ecx, byte [rsp + 0x22]
sub eax, ecx
test eax, eax
je 0x140040862
movzx eax, byte [rsp + 0x27]
movsx ecx, byte [0x140074a63]
add eax, ecx
test eax, eax
jne 0x14004086f
mov dword [rsp + 0x124], 0
jmp 0x14004087a
mov dword [rsp + 0x124], 1
mov eax, dword [rsp + 0x124]
mov ecx, dword [0x140074a64]
or ecx, eax
mov eax, ecx
mov dword [0x140074a64], eax
jmp 0x14004098c
mov eax, dword [rsp + 0x30]
mov ecx, dword [0x140074a6c]
or ecx, eax
mov eax, ecx
mov byte [0x140074b8e], al
jmp 0x14004098c
movsx eax, byte [0x140074c6c]
movzx ecx, byte [rsp + 0x28]
sar eax, cl
movsx ecx, byte [rsp + 0x22]
shl eax, cl
movzx ecx, byte [0x140074c6d]
add ecx, eax
mov eax, ecx
mov byte [0x140074c6d], al
jmp 0x14004098c
movsx eax, byte [0x140074a62]
mov ecx, dword [rsp + 0x38]
mov edx, dword [rsp + 0x40]
sub edx, ecx
mov ecx, edx
mov dword [rsp + 0x174], ecx
mov edx, dword [rsp + 0x40]
movzx ecx, dl
mov edx, dword [rsp + 0x174]
shl edx, cl
mov ecx, edx
cmp eax, ecx
jne 0x140040917
mov dword [rsp + 0x128], 1
jmp 0x140040922
mov dword [rsp + 0x128], 0
movzx eax, byte [0x140074c8b]
or eax, dword [rsp + 0x128]
mov byte [0x140074c8b], al
movzx eax, byte [0x140074c6d]
and eax, dword [rsp + 0x34]
test eax, eax
jne 0x14004096d
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x40]
xor ecx, eax
mov eax, ecx
test eax, eax
jne 0x14004096d
movzx eax, byte [0x140074c8a]
test eax, eax
jne 0x14004096d
mov dword [rsp + 0x12c], 0
jmp 0x140040978
mov dword [rsp + 0x12c], 1
movzx eax, byte [0x140074c5c]
add eax, dword [rsp + 0x12c]
mov byte [0x140074c5c], al
movsx eax, byte [rsp + 0x26]
cdq
and edx, 3
add eax, edx
and eax, 3
sub eax, edx
mov ecx, dword [0x140074c60]
add ecx, eax
mov eax, ecx
mov byte [rsp + 0x22], al
movsx eax, byte [rsp + 0x20]
mov ecx, dword [rsp + 0x50]
and ecx, eax
mov eax, ecx
movzx ecx, byte [rsp + 0x27]
xor eax, ecx
movzx ecx, al
mov eax, dword [0x140074c3c]
shl eax, cl
mov byte [0x140074c6e], al
mov dword [rsp + 0x80], 0x19e
mov dword [rsp + 0x80], 4
jmp 0x1400409f7
mov eax, dword [rsp + 0x80]
inc eax
mov dword [rsp + 0x80], eax
cmp dword [rsp + 0x80], 0x392
jae 0x140040a23
movsx eax, byte [rsp + 0x21]
cdq
mov ecx, 3
idiv ecx
mov eax, edx
mov ecx, dword [0x140074c50]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
jmp 0x1400409e7
movsx eax, byte [rsp + 0x20]
movzx ecx, byte [rsp + 0x25]
and eax, ecx
and eax, dword [rsp + 0x30]
cmp dword [0x140074c80], eax
jne 0x140040a48
mov dword [rsp + 0x130], 1
jmp 0x140040a53
mov dword [rsp + 0x130], 0
movsx eax, byte [0x140074c5e]
or eax, dword [rsp + 0x130]
mov byte [0x140074c5e], al
movsx eax, byte [0x140074c5e]
mov ecx, dword [rsp + 0x44]
shl eax, cl
test eax, eax
jne 0x140040a9b
movsx eax, byte [rsp + 0x23]
sub eax, dword [rsp + 0x44]
movzx ecx, byte [0x140074c8b]
xor eax, ecx
test eax, eax
jne 0x140040a9b
mov dword [rsp + 0x134], 0
jmp 0x140040aa6
mov dword [rsp + 0x134], 1
mov eax, dword [rsp + 0x134]
mov ecx, dword [0x140074c50]
or ecx, eax
mov eax, ecx
mov dword [0x140074c50], eax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
movsx eax, byte [0x140074c5d]
movsx ecx, byte [rsp + 0x20]
shl eax, cl
movzx ecx, byte [0x140074b8e]
sub ecx, eax
mov eax, ecx
mov byte [0x140074b8e], al
mov dword [rsp + 0x90], 0xffffff6c
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x178], eax
mov eax, dword [rsp + 0x90]
inc eax
mov dword [rsp + 0x90], eax
cmp dword [rsp + 0x178], 0
je 0x140040b4b
movzx eax, byte [0x140074c8b]
movzx ecx, byte [rsp + 0x28]
add eax, ecx
movsx ecx, byte [rsp + 0x23]
add eax, ecx
mov ecx, dword [rsp + 0x34]
shl eax, cl
mov ecx, dword [0x140074c28]
shl eax, cl
movzx ecx, byte [0x140074b8e]
or ecx, eax
mov eax, ecx
mov byte [0x140074b8e], al
jmp 0x140040aed
movsx eax, byte [rsp + 0x20]
movzx ecx, al
mov eax, dword [rsp + 0x3c]
sar eax, cl
cmp dword [0x140074c60], eax
jne 0x140040b68
mov byte [rsp + 0x4a], 1
jmp 0x140040b6d
mov byte [rsp + 0x4a], 0
movzx eax, byte [rsp + 0x4a]
mov byte [0x140074c5c], al
cmp dword [0x140074c48], 0
jne 0x140040b9b
movsx eax, byte [rsp + 0x21]
add eax, dword [rsp + 0x54]
test eax, eax
jne 0x140040b9b
mov dword [rsp + 0x138], 0
jmp 0x140040ba6
mov dword [rsp + 0x138], 1
movsx eax, byte [0x140074a62]
sub eax, dword [rsp + 0x138]
mov byte [0x140074a62], al
movzx eax, byte [0x140074c6d]
test eax, eax
jne 0x140040bdd
movsx eax, byte [rsp + 0x20]
mov ecx, dword [rsp + 0x2c]
add ecx, eax
mov eax, ecx
test eax, eax
jne 0x140040bdd
mov byte [rsp + 0x4b], 0
jmp 0x140040be2
mov byte [rsp + 0x4b], 1
movzx eax, byte [rsp + 0x4b]
mov byte [0x140074b8e], al
call fcn.14003d8f0
movsx eax, byte [rsp + 0x21]
movsx ecx, byte [rsp + 0x26]
or eax, ecx
add rsp, 0x188
ret