Function at 0x140032710
Capabilities:
Get disk information

Disassembly:
mov dword [rsp + 0x10], edx
mov byte [rsp + 8], cl
sub rsp, 0x178
mov dword [rsp + 0x4c], 0x2f0
mov dword [rsp + 0x54], 0x221
mov byte [rsp + 0x23], 0xa0
mov byte [rsp + 0x21], 0x28
mov dword [rsp + 0x3c], 0x1c
mov dword [rsp + 0x2c], 0x367
mov dword [rsp + 0x38], 0x18
mov dword [rsp + 0x50], 0x493
mov byte [rsp + 0x20], 0x16
mov byte [rsp + 0x22], 0x83
mov dword [rsp + 0x44], 0x28f
mov dword [rsp + 0x30], 0x275
mov dword [rsp + 0x40], 0x331
mov dword [rsp + 0x34], 0x2f7
mov byte [rsp + 0x24], 0xad
mov dword [rsp + 0x5c], 0x2e7
mov dword [rsp + 0x28], 0x13
mov dword [rsp + 0x48], 0xa0
mov dword [rsp + 0x60], 0x143
mov dword [rsp + 0x60], 0x246
jmp 0x1400327bc
mov eax, dword [rsp + 0x60]
dec eax
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 9
jbe 0x1400327ec
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x30]
sub ecx, eax
mov eax, ecx
movzx ecx, al
mov eax, dword [0x140074c38]
sar eax, cl
mov ecx, dword [0x140074c50]
and ecx, eax
mov eax, ecx
mov dword [0x140074c50], eax
jmp 0x1400327b2
movzx eax, byte [0x140074c5c]
movzx ecx, byte [rsp + 0x20]
mov edx, dword [rsp + 0x50]
xor edx, ecx
mov ecx, edx
movzx edx, byte [rsp + 0x22]
or ecx, edx
add eax, ecx
movsx ecx, byte [0x140074a62]
add ecx, eax
mov eax, ecx
mov byte [0x140074a62], al
cmp dword [0x140074c70], 0
jne 0x140032837
cmp dword [rsp + 0x28], 0
jne 0x140032837
mov dword [rsp + 0x88], 0
jmp 0x140032842
mov dword [rsp + 0x88], 1
movzx eax, byte [0x140074b8e]
xor eax, dword [rsp + 0x88]
mov byte [0x140074b8e], al
mov eax, dword [rsp + 0x50]
mov ecx, dword [0x140074c68]
add ecx, eax
mov eax, ecx
and eax, dword [rsp + 0x44]
mov ecx, dword [0x140074c3c]
and ecx, eax
mov eax, ecx
mov dword [0x140074c3c], eax
movsx eax, byte [rsp + 0x21]
add eax, dword [rsp + 0x48]
movzx ecx, al
mov eax, dword [rsp + 0x44]
shr eax, cl
mov ecx, dword [0x140074c54]
shl eax, cl
cmp dword [0x140074c34], eax
jne 0x1400328a7
mov dword [rsp + 0x8c], 1
jmp 0x1400328b2
mov dword [rsp + 0x8c], 0
movsx eax, byte [0x140074a62]
or eax, dword [rsp + 0x8c]
mov byte [0x140074a62], al
movzx eax, byte [0x140074b8e]
and eax, dword [rsp + 0x4c]
mov byte [0x140074c5e], al
mov dword [rsp + 0x74], 0xffffff1a
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x130], eax
mov eax, dword [rsp + 0x74]
inc eax
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x130], 0
je 0x14003296e
movzx eax, byte [rsp + 0x22]
mov ecx, dword [rsp + 0x5c]
and ecx, eax
mov eax, ecx
xor eax, dword [rsp + 0x30]
mov ecx, dword [0x140074c4c]
add ecx, eax
mov eax, ecx
movsx ecx, byte [0x140074c90]
xor ecx, eax
mov eax, ecx
mov byte [0x140074c90], al
movsx eax, byte [0x140074a63]
movsx ecx, byte [rsp + 0x24]
mov dword [rsp + 0x134], ecx
mov edx, dword [rsp + 0x28]
movzx ecx, dl
mov edx, dword [rsp + 0x3c]
shr edx, cl
mov ecx, edx
mov edx, dword [rsp + 0x134]
or edx, ecx
mov ecx, edx
shl eax, cl
mov ecx, dword [0x140074c68]
and ecx, eax
mov eax, ecx
mov dword [0x140074c68], eax
jmp 0x1400328df
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx eax, byte [rsp + 0x23]
cdq
mov ecx, 3
idiv ecx
mov eax, edx
mov ecx, dword [0x140074c2c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x40], eax
movzx eax, byte [0x140074b8e]
movzx ecx, byte [rsp + 0x22]
xor eax, ecx
movsx ecx, byte [rsp + 0x21]
or eax, ecx
mov ecx, dword [0x140074c28]
sub ecx, eax
mov eax, ecx
mov dword [0x140074c28], eax
mov eax, 0xfffffe32
mov word [rsp + 0x58], ax
movsx eax, word [rsp + 0x58]
mov dword [rsp + 0x138], eax
movzx eax, word [rsp + 0x58]
inc ax
mov word [rsp + 0x58], ax
cmp dword [rsp + 0x138], 0
je 0x140032c58
mov eax, dword [rsp + 0x44]
cmp dword [0x140074c2c], eax
je 0x140032a00
mov dword [rsp + 0x94], 1
jmp 0x140032a0b
mov dword [rsp + 0x94], 0
mov eax, dword [0x140074c2c]
cmp dword [rsp + 0x44], eax
jne 0x140032a24
mov dword [rsp + 0x90], 1
jmp 0x140032a2f
mov dword [rsp + 0x90], 0
mov eax, dword [rsp + 0x90]
cmp dword [rsp + 0x94], eax
jne 0x140032b08
cmp dword [rsp + 0x30], 0
je 0x140032b08
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x4c], eax
jne 0x140032a65
mov dword [rsp + 0x98], 1
jmp 0x140032a70
mov dword [rsp + 0x98], 0
movsx eax, byte [0x140074c6e]
mov ecx, dword [rsp + 0x98]
mov edx, dword [rsp + 0x38]
and edx, ecx
mov ecx, edx
xor eax, ecx
or eax, dword [0x140074c70]
movsx ecx, byte [0x140074c5d]
add ecx, eax
mov eax, ecx
mov byte [0x140074c5d], al
cmp dword [0x140074c38], 0
jne 0x140032ac9
mov eax, dword [rsp + 0x4c]
mov ecx, dword [rsp + 0x38]
or ecx, eax
mov eax, ecx
or eax, dword [rsp + 0x30]
test eax, eax
jne 0x140032ac9
mov dword [rsp + 0x9c], 0
jmp 0x140032ad4
mov dword [rsp + 0x9c], 1
mov eax, dword [rsp + 0x9c]
mov ecx, dword [0x140074c74]
and ecx, eax
mov eax, ecx
mov dword [0x140074c74], eax
movzx eax, byte [0x140074c88]
movzx ecx, byte [rsp + 0x23]
imul eax, ecx
cdq
mov ecx, 5
idiv ecx
mov eax, edx
mov dword [rsp + 0x3c], eax
cmp dword [0x140074c2c], 0
je 0x140032b2b
movsx eax, byte [rsp + 0x21]
sub eax, dword [rsp + 0x2c]
test eax, eax
je 0x140032b2b
mov dword [rsp + 0xa0], 1
jmp 0x140032b36
mov dword [rsp + 0xa0], 0
mov eax, dword [rsp + 0xa0]
mov ecx, dword [0x140074c28]
xor ecx, eax
mov eax, ecx
mov dword [0x140074c28], eax
movsx eax, byte [0x140074c6c]
cmp eax, dword [rsp + 0x50]
jne 0x140032b67
mov dword [rsp + 0xa4], 1
jmp 0x140032b72
mov dword [rsp + 0xa4], 0
mov eax, dword [rsp + 0xa4]
mov dword [0x140074c3c], eax
movzx eax, byte [rsp + 0x20]
mov ecx, dword [0x140074c70]
sub ecx, eax
mov eax, ecx
cmp eax, dword [rsp + 0x2c]
jne 0x140032ba1
mov dword [rsp + 0xa8], 1
jmp 0x140032bac
mov dword [rsp + 0xa8], 0
movzx eax, byte [0x140074c5f]
xor eax, dword [rsp + 0xa8]
mov byte [0x140074c5f], al
cmp dword [0x140074c70], 0
jne 0x140032be7
movsx eax, byte [rsp + 0x21]
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
test eax, eax
jne 0x140032be7
mov dword [rsp + 0xac], 0
jmp 0x140032bf2
mov dword [rsp + 0xac], 1
mov eax, dword [rsp + 0xac]
mov ecx, dword [0x140074c3c]
or ecx, eax
mov eax, ecx
mov dword [0x140074c3c], eax
movsx eax, byte [0x140074c5e]
mov dword [rsp + 0x13c], eax
xor edx, edx
mov eax, dword [rsp + 0x3c]
mov ecx, 5
div ecx
mov eax, edx
mov ecx, dword [rsp + 0x13c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x44]
mov ecx, dword [0x140074c60]
and ecx, eax
mov eax, ecx
mov ecx, dword [0x140074c70]
or ecx, eax
mov eax, ecx
mov dword [0x140074c70], eax
jmp 0x1400329c0
movzx eax, byte [rsp + 0x23]
movzx ecx, byte [rsp + 0x22]
sub eax, ecx
mov ecx, dword [0x140074c38]
xor ecx, eax
mov eax, ecx
mov byte [0x140074c6c], al
mov dword [rsp + 0x78], 0xfffffe9b
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x140], eax
mov eax, dword [rsp + 0x78]
inc eax
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x140], 0
je 0x140032e52
movzx eax, byte [0x140074c5f]
cmp eax, dword [rsp + 0x48]
jbe 0x140032cb9
mov dword [rsp + 0xb4], 1
jmp 0x140032cc4
mov dword [rsp + 0xb4], 0
mov eax, dword [0x140074c4c]
cmp dword [rsp + 0x4c], eax
jne 0x140032cdd
mov dword [rsp + 0xb0], 1
jmp 0x140032ce8
mov dword [rsp + 0xb0], 0
mov eax, dword [rsp + 0xb0]
cmp dword [rsp + 0xb4], eax
jl 0x140032d03
cmp dword [rsp + 0x48], 0
je 0x140032e10
movzx eax, byte [rsp + 0x23]
movsx ecx, byte [rsp + 0x24]
add eax, ecx
movzx ecx, al
mov eax, dword [0x140074c28]
shr eax, cl
movzx ecx, byte [0x140074c5c]
mov edx, dword [rsp + 0x2c]
add edx, ecx
mov ecx, edx
cmp eax, ecx
jne 0x140032d3a
mov dword [rsp + 0xb8], 1
jmp 0x140032d45
mov dword [rsp + 0xb8], 0
movzx eax, byte [0x140074c8a]
and eax, dword [rsp + 0xb8]
mov byte [0x140074c8a], al
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x40], eax
jne 0x140032d70
mov dword [rsp + 0xbc], 1
jmp 0x140032d7b
mov dword [rsp + 0xbc], 0
movzx eax, byte [0x140074c8a]
movzx ecx, byte [rsp + 0x20]
mov edx, dword [rsp + 0xbc]
xor edx, ecx
mov ecx, edx
or eax, ecx
movzx ecx, byte [0x140074c8b]
xor ecx, eax
mov eax, ecx
mov byte [0x140074c8b], al
movzx eax, byte [rsp + 0x20]
cdq
and edx, 3
add eax, edx
and eax, 3
sub eax, edx
mov ecx, dword [0x140074c8c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
cmp dword [0x140074c80], 0
je 0x140032df1
mov eax, dword [rsp + 0x5c]
movzx ecx, al
mov eax, dword [rsp + 0x2c]
shr eax, cl
movzx ecx, byte [rsp + 0x20]
or eax, ecx
test eax, eax
je 0x140032df1
mov dword [rsp + 0xc0], 1
jmp 0x140032dfc
mov dword [rsp + 0xc0], 0
movsx eax, byte [0x140074c5d]
or eax, dword [rsp + 0xc0]
mov byte [0x140074c5d], al
movzx eax, byte [rsp + 0x23]
sub eax, dword [rsp + 0x48]
mov ecx, dword [0x140074c54]
xor ecx, eax
mov eax, ecx
mov ecx, dword [0x140074a64]
sub ecx, eax
mov eax, ecx
mov dword [0x140074a64], eax
mov eax, dword [0x140074c68]
imul eax, dword [rsp + 0x38]
xor edx, edx
mov ecx, 4
div ecx
mov eax, edx
mov dword [rsp + 0x2c], eax
jmp 0x140032c7c
mov eax, dword [rsp + 0x44]
mov ecx, dword [0x140074a64]
and ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x48]
mov edx, dword [rsp + 0x28]
sub edx, ecx
mov ecx, edx
movzx edx, byte [0x140074c89]
and ecx, edx
xor eax, ecx
movzx ecx, byte [0x140074c89]
xor ecx, eax
mov eax, ecx
mov byte [0x140074c89], al
mov eax, dword [rsp + 0x4c]
mov ecx, dword [rsp + 0x3c]
add ecx, eax
mov eax, ecx
movzx ecx, al
mov eax, dword [rsp + 0x3c]
shr eax, cl
mov ecx, dword [0x140074c80]
or ecx, eax
mov eax, ecx
test eax, eax
je 0x140032ec1
cmp dword [0x140074c2c], 0
je 0x140032ec1
mov dword [rsp + 0xc4], 1
jmp 0x140032ecc
mov dword [rsp + 0xc4], 0
movsx eax, byte [0x140074c5e]
add eax, dword [rsp + 0xc4]
mov byte [0x140074c5e], al
movsx eax, byte [0x140074a62]
movzx ecx, byte [rsp + 0x20]
mov edx, dword [rsp + 0x50]
sub edx, ecx
mov ecx, edx
mov edx, dword [rsp + 0x34]
shl edx, cl
mov ecx, edx
cmp eax, ecx
jne 0x140032f0d
mov dword [rsp + 0xc8], 1
jmp 0x140032f18
mov dword [rsp + 0xc8], 0
mov eax, dword [0x140074c34]
cmp dword [rsp + 0xc8], eax
jne 0x140032f34
mov dword [rsp + 0xcc], 1
jmp 0x140032f3f
mov dword [rsp + 0xcc], 0
mov eax, dword [rsp + 0xcc]
mov ecx, dword [0x140074c54]
sub ecx, eax
mov eax, ecx
mov dword [0x140074c54], eax
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
movzx ecx, al
mov eax, dword [0x140074c68]
shl eax, cl
movzx ecx, byte [rsp + 0x20]
sub ecx, dword [0x140074c4c]
sar eax, cl
movzx ecx, byte [0x140074c5c]
add ecx, eax
mov eax, ecx
mov byte [0x140074c5c], al
mov dword [rsp + 0x7c], 0x80
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x144], eax
mov eax, dword [rsp + 0x7c]
dec eax
mov dword [rsp + 0x7c], eax
cmp dword [rsp + 0x144], 0
je 0x1400330a9
movsx eax, byte [0x140074c90]
movzx ecx, byte [rsp + 0x23]
sar eax, cl
mov ecx, dword [0x140074c30]
or ecx, eax
mov eax, ecx
mov dword [0x140074c30], eax
mov eax, dword [rsp + 0x48]
mov ecx, dword [0x140074c2c]
and ecx, eax
mov eax, ecx
or eax, dword [rsp + 0x4c]
mov ecx, dword [0x140074c50]
sub ecx, eax
mov eax, ecx
mov dword [0x140074c50], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x34], eax
jne 0x140033051
movzx eax, byte [rsp + 0x22]
cmp dword [rsp + 0x50], eax
jne 0x140033018
mov dword [rsp + 0xd0], 1
jmp 0x140033023
mov dword [rsp + 0xd0], 0
movsx eax, byte [0x140074c90]
and eax, dword [rsp + 0xd0]
mov ecx, dword [0x140074c80]
mov edx, dword [rsp + 0x54]
shl edx, cl
mov ecx, edx
and eax, ecx
mov ecx, dword [0x140074c28]
xor ecx, eax
mov eax, ecx
mov dword [0x140074c28], eax
movzx eax, byte [rsp + 0x22]
mov ecx, dword [0x140074c54]
sub ecx, eax
mov eax, ecx
mov dword [0x140074c80], eax
mov eax, dword [rsp + 0x38]
movzx ecx, al
mov eax, dword [0x140074c2c]
shl eax, cl
mov ecx, dword [0x140074c50]
add ecx, eax
mov eax, ecx
mov dword [0x140074c50], eax
mov eax, dword [rsp + 0x2c]
mov ecx, dword [0x140074a68]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x140074c5c]
add ecx, eax
mov eax, ecx
mov byte [0x140074c5c], al
jmp 0x140032f93
movzx eax, byte [0x140074c8a]
movsx ecx, byte [rsp + 0x21]
xor eax, ecx
mov ecx, dword [0x140074c3c]
and ecx, eax
mov eax, ecx
mov dword [0x140074c3c], eax
mov dword [rsp + 0x64], 0xb9
mov dword [rsp + 0x64], 7
jmp 0x1400330e3
mov eax, dword [rsp + 0x64]
inc eax
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0x591
jae 0x14003314a
mov eax, dword [rsp + 0x28]
movzx ecx, al
mov eax, dword [0x140074c54]
shl eax, cl
test eax, eax
je 0x140033107
cmp dword [rsp + 0x34], 0
jne 0x140033126
movsx eax, byte [rsp + 0x24]
movsx ecx, byte [0x140074c6c]
sar eax, cl
test eax, eax
jne 0x140033126
mov dword [rsp + 0xd4], 0
jmp 0x140033131
mov dword [rsp + 0xd4], 1
mov eax, dword [rsp + 0xd4]
mov ecx, dword [0x140074c84]
or ecx, eax
mov eax, ecx
mov dword [0x140074c84], eax
jmp 0x1400330d9
mov eax, dword [0x140074c80]
imul eax, dword [rsp + 0x34]
xor edx, edx
mov ecx, 3
div ecx
mov eax, edx
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x48]
sub ecx, eax
mov eax, ecx
mov ecx, dword [0x140074c60]
and ecx, eax
mov eax, ecx
mov ecx, dword [0x140074c80]
add ecx, eax
mov eax, ecx
mov dword [0x140074c80], eax
mov eax, dword [rsp + 0x34]
mov ecx, dword [0x140074c34]
xor ecx, eax
mov eax, ecx
movzx ecx, byte [rsp + 0x20]
xor eax, ecx
mov ecx, dword [0x140074c28]
or ecx, eax
mov eax, ecx
mov dword [0x140074c28], eax
mov eax, dword [rsp + 0x38]
mov ecx, dword [0x140074c34]
lea eax, [rax + rcx*4]
xor edx, edx
mov ecx, 5
div ecx
mov eax, edx
mov dword [rsp + 0x148], eax
mov eax, dword [rsp + 0x148]
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
je 0x140033202
cmp dword [rsp + 0x68], 1
je 0x140033256
cmp dword [rsp + 0x68], 2
je 0x1400332a3
cmp dword [rsp + 0x68], 3
je 0x1400332ec
jmp 0x140033381
mov eax, dword [rsp + 0x54]
mov ecx, dword [rsp + 0x30]
sub ecx, eax
mov eax, ecx
test eax, eax
jne 0x140033228
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140033228
mov dword [rsp + 0xd8], 0
jmp 0x140033233
mov dword [rsp + 0xd8], 1
movzx eax, byte [0x140074b8e]
xor eax, dword [rsp + 0xd8]
mov ecx, dword [0x140074c84]
xor ecx, eax
mov eax, ecx
mov dword [0x140074c84], eax
jmp 0x140033381
cmp dword [0x140074c64], 0
jne 0x14003327c
cmp dword [rsp + 0x40], 0
je 0x14003326f
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14003327c
mov dword [rsp + 0xdc], 0
jmp 0x140033287
mov dword [rsp + 0xdc], 1
mov eax, dword [rsp + 0xdc]
mov ecx, dword [0x140074c74]
add ecx, eax
mov eax, ecx
mov dword [0x140074c74], eax
jmp 0x140033381
movzx eax, byte [rsp + 0x22]
add eax, dword [rsp + 0x38]
cmp eax, dword [0x140074c84]
jne 0x1400332c1
mov dword [rsp + 0xe0], 1
jmp 0x1400332cc
mov dword [rsp + 0xe0], 0
mov eax, dword [rsp + 0x30]
mov ecx, dword [0x140074c34]
add ecx, eax
mov eax, ecx
or eax, dword [rsp + 0xe0]
mov dword [0x140074c3c], eax
jmp 0x140033381
movzx eax, byte [rsp + 0x20]
movzx ecx, al
mov eax, dword [rsp + 0x34]
sar eax, cl
cmp dword [0x140074c2c], eax
jne 0x14003330f
mov dword [rsp + 0xe4], 1
jmp 0x14003331a
mov dword [rsp + 0xe4], 0
mov eax, dword [0x140074c70]
movzx ecx, al
mov eax, dword [rsp + 0x28]
shr eax, cl
mov ecx, dword [rsp + 0xe4]
and ecx, eax
mov eax, ecx
mov byte [0x140074c5e], al
movsx eax, byte [0x140074c90]
sub eax, dword [rsp + 0x2c]
test eax, eax
jne 0x14003335f
movsx eax, byte [rsp + 0x24]
test eax, eax
jne 0x14003335f
mov dword [rsp + 0xe8], 0
jmp 0x14003336a
mov dword [rsp + 0xe8], 1
mov eax, dword [rsp + 0xe8]
mov ecx, dword [0x140074a64]
and ecx, eax
mov eax, ecx
mov dword [0x140074a64], eax
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov eax, dword [0x140074c54]
imul eax, dword [rsp + 0x40]
xor edx, edx
mov ecx, 5
div ecx
mov eax, edx
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x5c]
mov ecx, dword [rsp + 0x44]
and ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x34]
or ecx, eax
mov eax, ecx
movzx ecx, al
mov eax, dword [0x140074a6c]
sar eax, cl
movzx ecx, byte [0x140074c5f]
or ecx, eax
mov eax, ecx
mov byte [0x140074c5f], al
mov eax, dword [rsp + 0x54]
mov ecx, dword [0x140074c70]
add ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x3c]
shl eax, cl
mov ecx, dword [0x140074c30]
or ecx, eax
mov eax, ecx
mov dword [0x140074c30], eax
movsx eax, byte [0x140074a62]
imul eax, dword [rsp + 0x54]
xor edx, edx
mov ecx, 4
div ecx
mov dword [rsp + 0x40], eax
call qword [sym.imp.KERNEL32.dll_GetACP]
movsx eax, byte [rsp + 0x21]
cdq
mov ecx, 3
idiv ecx
mov eax, edx
mov ecx, dword [0x140074c34]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x4c], eax
movzx eax, byte [0x140074b8f]
imul eax, eax, 5
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
xor eax, eax
mov dword [rsp + 0x14c], eax
mov eax, dword [rsp + 0x14c]
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x6c], 0
je 0x140033480
cmp dword [rsp + 0x6c], 1
je 0x1400334bf
cmp dword [rsp + 0x6c], 2
je 0x14003356a
cmp dword [rsp + 0x6c], 3
je 0x140033589
jmp 0x1400335a3
xor edx, edx
mov eax, dword [rsp + 0x30]
mov ecx, 5
div ecx
mov ecx, dword [0x140074c84]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
movzx eax, byte [rsp + 0x22]
mov ecx, dword [0x140074c60]
sub ecx, eax
mov eax, ecx
mov ecx, dword [0x140074c60]
sub ecx, eax
mov eax, ecx
mov dword [0x140074c60], eax
jmp 0x1400335a3
cmp dword [0x140074c50], 0
jne 0x1400334ef
movzx eax, byte [rsp + 0x23]
xor eax, dword [rsp + 0x28]
or eax, dword [rsp + 0x28]
test eax, eax
je 0x1400334e2
cmp dword [0x140074c48], 0
jne 0x1400334ef
mov dword [rsp + 0xec], 0
jmp 0x1400334fa
mov dword [rsp + 0xec], 1
mov eax, dword [rsp + 0xec]
mov ecx, dword [0x140074c80]
and ecx, eax
mov eax, ecx
mov dword [0x140074c80], eax
cmp dword [0x140074c30], 0
jne 0x140033546
movzx eax, byte [rsp + 0x22]
movzx ecx, al
mov eax, dword [rsp + 0x48]
shr eax, cl
movsx ecx, byte [rsp + 0x24]
or eax, ecx
or eax, dword [0x140074c54]
test eax, eax
jne 0x140033546
mov dword [rsp + 0xf0], 0
jmp 0x140033551
mov dword [rsp + 0xf0], 1
mov eax, dword [rsp + 0xf0]
mov ecx, dword [0x140074c80]
sub ecx, eax
mov eax, ecx
mov dword [0x140074c80], eax
jmp 0x1400335a3
movsx eax, byte [rsp + 0x21]
mov ecx, dword [0x140074a6c]
imul ecx, eax
mov eax, ecx
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [rsp + 0x54], eax
jmp 0x1400335a3
movzx eax, byte [0x140074c8b]
mov ecx, dword [rsp + 0x5c]
shl eax, cl
movsx ecx, byte [rsp + 0x21]
xor eax, ecx
mov byte [0x140074c5e], al
mov dword [rsp + 0x80], 0xf3
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x150], eax
mov eax, dword [rsp + 0x80]
dec eax
mov dword [rsp + 0x80], eax
cmp dword [rsp + 0x150], 0
je 0x1400336be
movzx eax, byte [0x140074c5c]
or eax, dword [rsp + 0x30]
movsx ecx, byte [0x140074c90]
xor ecx, eax
mov eax, ecx
mov byte [0x140074c90], al
movzx eax, byte [0x140074c8a]
test eax, eax
jne 0x140033615
cmp dword [rsp + 0x38], 0
jne 0x140033615
mov dword [rsp + 0xf4], 0
jmp 0x140033620
mov dword [rsp + 0xf4], 1
mov eax, dword [rsp + 0xf4]
mov ecx, dword [0x140074c60]
xor ecx, eax
mov eax, ecx
mov dword [0x140074c60], eax
mov eax, dword [rsp + 0x2c]
mov ecx, dword [0x140074c80]
xor ecx, eax
mov eax, ecx
movsx ecx, byte [rsp + 0x21]
or eax, ecx
mov byte [0x140074c5c], al
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x5c]
sub ecx, eax
mov eax, ecx
mov ecx, dword [0x140074c68]
or ecx, eax
mov eax, ecx
movsx ecx, byte [0x140074c5e]
or ecx, eax
mov eax, ecx
mov byte [0x140074c5e], al
mov eax, dword [rsp + 0x30]
mov ecx, dword [0x140074c48]
sub ecx, eax
mov eax, ecx
cmp eax, dword [rsp + 0x3c]
jne 0x14003369a
mov dword [rsp + 0xf8], 1
jmp 0x1400336a5
mov dword [rsp + 0xf8], 0
movzx eax, byte [0x140074c8a]
sub eax, dword [rsp + 0xf8]
mov byte [0x140074c8a], al
jmp 0x1400335ae
mov eax, dword [rsp + 0x38]
movzx ecx, al
mov eax, dword [rsp + 0x28]
shl eax, cl
and eax, dword [rsp + 0x48]
movzx ecx, al
mov eax, dword [0x140074c8c]
shl eax, cl
movsx ecx, byte [0x140074a63]
add ecx, eax
mov eax, ecx
mov byte [0x140074a63], al
cmp dword [rsp + 0x3c], 0
jne 0x14003370f
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x3c]
sub ecx, eax
mov eax, ecx
test eax, eax
jne 0x14003370f
mov dword [rsp + 0xfc], 0
jmp 0x14003371a
mov dword [rsp + 0xfc], 1
movsx eax, byte [0x140074c6c]
mov ecx, dword [rsp + 0xfc]
sar eax, cl
mov ecx, dword [0x140074c4c]
xor ecx, eax
mov eax, ecx
mov dword [0x140074c4c], eax
movzx eax, byte [0x140074c8a]
mov dword [rsp + 0x154], eax
xor edx, edx
mov eax, dword [rsp + 0x54]
mov ecx, 4
div ecx
mov eax, edx
mov ecx, dword [rsp + 0x154]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x38], eax
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140033776
cmp dword [rsp + 0x30], 0
je 0x14003378a
mov eax, dword [rsp + 0x50]
mov ecx, dword [0x140074c38]
add ecx, eax
mov eax, ecx
mov dword [0x140074c4c], eax
movsx eax, byte [rsp + 0x21]
mov ecx, dword [rsp + 0x50]
mov edx, dword [rsp + 0x40]
sub edx, ecx
mov ecx, edx
and eax, ecx
movzx ecx, al
mov eax, dword [0x140074c38]
sar eax, cl
mov ecx, dword [0x140074c74]
add ecx, eax
mov eax, ecx
mov dword [0x140074c74], eax
cmp dword [0x140074c3c], 0
je 0x1400337df
movzx eax, byte [rsp + 0x22]
mov ecx, dword [rsp + 0x48]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x1400337df
mov dword [rsp + 0x100], 1
jmp 0x1400337ea
mov dword [rsp + 0x100], 0
mov eax, dword [rsp + 0x100]
mov dword [0x140074c54], eax
mov dword [rsp + 0x84], 0xfffffd24
mov eax, dword [rsp + 0x84]
mov dword [rsp + 0x158], eax
mov eax, dword [rsp + 0x84]
inc eax
mov dword [rsp + 0x84], eax
cmp dword [rsp + 0x158], 0
je 0x1400338c0
mov eax, dword [0x140074c74]
imul eax, dword [rsp + 0x4c]
xor edx, edx
mov ecx, 3
div ecx
mov eax, edx
mov dword [rsp + 0x38], eax
movzx eax, byte [rsp + 0x23]
mov ecx, dword [0x140074c84]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x14003386f
cmp dword [rsp + 0x54], 0
je 0x14003386f
mov dword [rsp + 0x104], 1
jmp 0x14003387a
mov dword [rsp + 0x104], 0
mov eax, dword [rsp + 0x104]
mov ecx, dword [0x140074c74]
sub ecx, eax
mov eax, ecx
mov dword [0x140074c74], eax
mov eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x44]
add ecx, eax
mov eax, ecx
or eax, dword [rsp + 0x28]
mov ecx, dword [0x140074c60]
xor ecx, eax
mov eax, ecx
mov ecx, dword [0x140074a6c]
add ecx, eax
mov eax, ecx
mov dword [0x140074a6c], eax
jmp 0x140033802
movzx eax, byte [0x140074c8a]
movzx ecx, byte [rsp + 0x23]
or eax, ecx
or eax, dword [rsp + 0x38]
mov ecx, dword [0x140074a64]
xor ecx, eax
mov eax, ecx
mov dword [0x140074a64], eax
movsx eax, byte [rsp + 0x24]
movzx ecx, al
mov eax, dword [rsp + 0x28]
shl eax, cl
test eax, eax
jne 0x140033908
cmp dword [rsp + 0x4c], 0
jne 0x140033908
mov dword [rsp + 0x108], 0
jmp 0x140033913
mov dword [rsp + 0x108], 1
movzx eax, byte [0x140074c8a]
add eax, dword [rsp + 0x108]
mov byte [0x140074c5c], al
movzx eax, byte [0x140074c89]
movzx ecx, byte [rsp + 0x22]
sub ecx, dword [rsp + 0x34]
mov dword [rsp + 0x15c], ecx
mov edx, dword [rsp + 0x54]
movzx ecx, dl
mov edx, dword [rsp + 0x15c]
shl edx, cl
mov ecx, edx
and eax, ecx
movsx ecx, byte [0x140074a62]
or ecx, eax
mov eax, ecx
mov byte [0x140074a62], al
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov eax, dword [rsp + 0x28]
movzx ecx, al
mov eax, dword [rsp + 0x3c]
shr eax, cl
test eax, eax
je 0x140033990
movzx eax, byte [rsp + 0x23]
test eax, eax
je 0x140033990
mov dword [rsp + 0x10c], 1
jmp 0x14003399b
mov dword [rsp + 0x10c], 0
mov eax, dword [rsp + 0x10c]
movzx ecx, al
mov eax, dword [0x140074c60]
shl eax, cl
movsx ecx, byte [0x140074c6e]
sub ecx, eax
mov eax, ecx
mov byte [0x140074c6e], al
mov eax, dword [rsp + 0x34]
mov ecx, dword [0x140074c8c]
or ecx, eax
mov eax, ecx
mov ecx, dword [0x140074c8c]
sub ecx, eax
mov eax, ecx
mov dword [0x140074c8c], eax
movzx eax, byte [0x140074b8f]
movsx ecx, byte [rsp + 0x24]
add ecx, dword [rsp + 0x40]
movzx edx, byte [rsp + 0x20]
add ecx, edx
xor eax, ecx
mov ecx, dword [0x140074a64]
and ecx, eax
mov eax, ecx
mov dword [0x140074a64], eax
movzx eax, byte [0x140074b8e]
xor eax, dword [rsp + 0x34]
test eax, eax
jne 0x140033a28
cmp dword [rsp + 0x2c], 0
jne 0x140033a28
mov dword [rsp + 0x110], 0
jmp 0x140033a33
mov dword [rsp + 0x110], 1
mov eax, dword [rsp + 0x110]
mov dword [0x140074c74], eax
movsx eax, byte [0x140074c90]
movsx ecx, byte [rsp + 0x21]
mov edx, dword [rsp + 0x2c]
add edx, ecx
mov ecx, edx
xor eax, ecx
mov ecx, dword [0x140074c50]
sub ecx, eax
mov eax, ecx
mov dword [0x140074c50], eax
movsx eax, byte [rsp + 0x21]
mov ecx, dword [0x140074c60]
sub ecx, eax
mov eax, ecx
mov ecx, dword [0x140074c3c]
and ecx, eax
mov eax, ecx
mov dword [0x140074c3c], eax
movzx eax, byte [rsp + 0x20]
cmp dword [rsp + 0x2c], eax
je 0x140033aa6
movzx eax, byte [rsp + 0x22]
test eax, eax
jne 0x140033aa6
mov dword [rsp + 0x114], 0
jmp 0x140033ab1
mov dword [rsp + 0x114], 1
mov eax, dword [rsp + 0x114]
movzx ecx, al
mov eax, dword [0x140074c68]
sar eax, cl
mov dword [0x140074c68], eax
movsx eax, byte [rsp + 0x24]
mov ecx, dword [0x140074c34]
sub ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x34]
shl eax, cl
movsx ecx, byte [0x140074a62]
add ecx, eax
mov eax, ecx
mov byte [0x140074a62], al
mov dword [rsp + 0x70], 0x3a
mov dword [rsp + 0x70], 8
jmp 0x140033b0b
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 0x5e4
jae 0x140033b45
movzx eax, byte [0x140074c6d]
mov dword [rsp + 0x160], eax
movzx ecx, byte [rsp + 0x20]
mov eax, ecx
cdq
mov ecx, 5
idiv ecx
mov eax, edx
mov ecx, dword [rsp + 0x160]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
jmp 0x140033b01
movsx eax, byte [rsp + 0x24]
movzx ecx, al
mov eax, dword [rsp + 0x50]
shl eax, cl
cmp dword [0x140074c2c], eax
jne 0x140033b68
mov dword [rsp + 0x118], 1
jmp 0x140033b73
mov dword [rsp + 0x118], 0
mov eax, dword [rsp + 0x118]
mov ecx, dword [0x140074c74]
xor ecx, eax
mov eax, ecx
mov dword [0x140074c74], eax
movsx eax, byte [rsp + 0x21]
movzx ecx, byte [rsp + 0x22]
add ecx, dword [rsp + 0x30]
or eax, ecx
mov ecx, dword [0x140074a68]
and ecx, eax
mov eax, ecx
movzx ecx, byte [0x140074c8b]
xor ecx, eax
mov eax, ecx
mov byte [0x140074c8b], al
cmp dword [0x140074c70], 0
jne 0x140033c1c
cmp dword [rsp + 0x50], 0
jne 0x140033bdb
cmp dword [0x140074c60], 0
jne 0x140033bdb
mov dword [rsp + 0x11c], 0
jmp 0x140033be6
mov dword [rsp + 0x11c], 1
mov eax, dword [rsp + 0x11c]
cmp dword [rsp + 0x30], eax
jae 0x140033c00
mov dword [rsp + 0x120], 1
jmp 0x140033c0b
mov dword [rsp + 0x120], 0
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x120], eax
jae 0x140033d31
cmp dword [0x140074c28], 0
je 0x140033c4d
cmp dword [rsp + 0x44], 0
je 0x140033c4d
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x3c]
sub ecx, eax
mov eax, ecx
cmp eax, dword [0x140074c64]
jne 0x140033c4d
mov dword [rsp + 0x124], 1
jmp 0x140033c58
mov dword [rsp + 0x124], 0
mov eax, dword [rsp + 0x124]
mov ecx, dword [0x140074c84]
add ecx, eax
mov eax, ecx
mov dword [0x140074c84], eax
mov eax, dword [rsp + 0x34]
movzx ecx, al
mov eax, dword [0x140074c2c]
shl eax, cl
mov ecx, dword [rsp + 0x40]
shl eax, cl
movsx ecx, byte [rsp + 0x24]
xor eax, ecx
test eax, eax
jne 0x140033ca7
movzx eax, byte [0x140074c6d]
test eax, eax
jne 0x140033ca7
mov dword [rsp + 0x128], 0
jmp 0x140033cb2
mov dword [rsp + 0x128], 1
mov eax, dword [rsp + 0x128]
mov ecx, dword [0x140074c54]
sub ecx, eax
mov eax, ecx
mov dword [0x140074c54], eax
mov eax, dword [rsp + 0x5c]
mov ecx, dword [0x140074c80]
or ecx, eax
mov eax, ecx
mov dword [0x140074c28], eax
movzx eax, byte [0x140074c5f]
mov ecx, dword [rsp + 0x5c]
shl eax, cl
mov ecx, dword [0x140074c30]
or ecx, eax
mov eax, ecx
mov dword [0x140074c30], eax
movzx eax, byte [0x140074c5f]
test eax, eax
jne 0x140033d19
cmp dword [rsp + 0x44], 0
jne 0x140033d19
mov dword [rsp + 0x12c], 0
jmp 0x140033d24
mov dword [rsp + 0x12c], 1
mov eax, dword [rsp + 0x12c]
mov dword [0x140074c48], eax
movzx eax, byte [0x140074c88]
movzx r8d, byte [0x140074b8f]
mov edx, eax
mov ecx, dword [0x140074a64]
call fcn.140030f90
xor eax, eax
add rsp, 0x178
ret