Function at 0x1400181f0
Capabilities:
Get disk information

Disassembly:
mov byte [rsp + 8], cl
sub rsp, 0x148
mov byte [rsp + 0x20], 0xeb
mov dword [rsp + 0x38], 0x11a
mov dword [rsp + 0x30], 0x4b7
mov byte [rsp + 0x21], 0x57
mov byte [rsp + 0x22], 0xc
mov byte [rsp + 0x23], 0x1c
mov dword [rsp + 0x3c], 0x160
mov dword [rsp + 0x2c], 0x41a
mov dword [rsp + 0x40], 0x4ea
mov dword [rsp + 0x44], 0x316
mov dword [rsp + 0x28], 0xec
mov dword [rsp + 0x34], 0x1e8
mov dword [rsp + 0x24], 6
call qword [sym.imp.KERNEL32.dll_GetVersion]
mov eax, 0x146
mov word [rsp + 0x4c], ax
mov eax, 3
mov word [rsp + 0x4c], ax
jmp 0x140018280
movzx eax, word [rsp + 0x4c]
inc ax
mov word [rsp + 0x4c], ax
movsx eax, word [rsp + 0x4c]
cmp eax, 0x5f
jge 0x14001835b
movzx eax, byte [0x140074c89]
sub eax, dword [rsp + 0x24]
mov ecx, dword [0x140074c64]
xor ecx, eax
mov eax, ecx
mov dword [0x140074c64], eax
movsx eax, byte [rsp + 0x22]
mov ecx, dword [rsp + 0x24]
shl eax, cl
mov ecx, dword [0x140074a6c]
xor ecx, eax
mov eax, ecx
mov byte [0x140074c5d], al
mov eax, dword [rsp + 0x34]
cmp dword [0x140074c50], eax
jne 0x1400182dd
mov dword [rsp + 0x80], 1
jmp 0x1400182e8
mov dword [rsp + 0x80], 0
movzx eax, byte [rsp + 0x21]
mov ecx, dword [rsp + 0x80]
and ecx, eax
mov eax, ecx
mov ecx, dword [0x140074c8c]
and ecx, eax
mov eax, ecx
mov dword [0x140074c8c], eax
cmp dword [rsp + 0x40], 0
jne 0x14001832d
mov eax, dword [rsp + 0x28]
movzx ecx, al
mov eax, dword [rsp + 0x2c]
shr eax, cl
test eax, eax
jne 0x14001832d
mov dword [rsp + 0x84], 0
jmp 0x140018338
mov dword [rsp + 0x84], 1
movsx eax, byte [0x140074c6e]
or eax, dword [rsp + 0x84]
mov ecx, dword [0x140074c74]
sub ecx, eax
mov eax, ecx
mov dword [0x140074c74], eax
jmp 0x140018273
mov dword [rsp + 0x70], 0xffffff4f
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x110], eax
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x110], 0
je 0x14001844f
movzx eax, byte [0x140074c88]
mov dword [rsp + 0x114], eax
xor edx, edx
mov eax, dword [rsp + 0x34]
mov ecx, 3
div ecx
mov ecx, dword [rsp + 0x114]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
movzx eax, byte [0x140074c88]
imul eax, dword [rsp + 0x2c]
xor edx, edx
mov ecx, 4
div ecx
mov eax, edx
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x28]
mov ecx, dword [0x140074a64]
add ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x34]
shr eax, cl
and eax, dword [rsp + 0x30]
test eax, eax
je 0x1400183fd
cmp dword [0x140074a64], 0
je 0x1400183fd
mov dword [rsp + 0x88], 1
jmp 0x140018408
mov dword [rsp + 0x88], 0
mov eax, dword [rsp + 0x88]
mov ecx, dword [0x140074c68]
and ecx, eax
mov eax, ecx
mov dword [0x140074c68], eax
mov eax, dword [rsp + 0x28]
movzx ecx, al
mov eax, dword [rsp + 0x2c]
shl eax, cl
and eax, dword [rsp + 0x28]
mov ecx, dword [0x140074c68]
and ecx, eax
mov eax, ecx
mov ecx, dword [0x140074c74]
xor ecx, eax
mov eax, ecx
mov dword [0x140074c74], eax
jmp 0x140018363
mov dword [rsp + 0x58], 0xb5
mov dword [rsp + 0x58], 0x10
jmp 0x14001846b
mov eax, dword [rsp + 0x58]
inc eax
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0x2f9
jge 0x14001848c
movsx eax, byte [rsp + 0x22]
mov ecx, dword [0x140074a6c]
xor ecx, eax
mov eax, ecx
mov dword [0x140074c84], eax
jmp 0x140018461
movsx eax, byte [rsp + 0x20]
cmp eax, dword [rsp + 0x44]
jne 0x1400184a4
mov dword [rsp + 0x8c], 1
jmp 0x1400184af
mov dword [rsp + 0x8c], 0
mov eax, dword [rsp + 0x8c]
mov ecx, dword [rsp + 0x24]
xor ecx, eax
mov eax, ecx
movzx ecx, al
mov eax, dword [0x140074c84]
shl eax, cl
mov ecx, dword [0x140074a68]
and ecx, eax
mov eax, ecx
mov dword [0x140074a68], eax
movzx eax, byte [rsp + 0x23]
mov ecx, dword [0x140074c50]
lea eax, [rax + rcx*2]
xor edx, edx
mov ecx, 8
div ecx
mov eax, edx
mov dword [rsp + 0x118], eax
mov eax, dword [rsp + 0x118]
mov dword [rsp + 0x5c], eax
cmp dword [rsp + 0x5c], 0
je 0x140018531
cmp dword [rsp + 0x5c], 1
je 0x1400185a9
cmp dword [rsp + 0x5c], 2
je 0x140018603
cmp dword [rsp + 0x5c], 3
je 0x140018620
jmp 0x14001863a
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x2c], eax
jne 0x140018548
mov dword [rsp + 0x90], 1
jmp 0x140018553
mov dword [rsp + 0x90], 0
movsx eax, byte [rsp + 0x20]
movsx ecx, byte [0x140074c5d]
cmp eax, ecx
jne 0x140018570
mov dword [rsp + 0x94], 1
jmp 0x14001857b
mov dword [rsp + 0x94], 0
mov eax, dword [rsp + 0x90]
mov ecx, dword [0x140074c38]
and ecx, eax
mov eax, ecx
and eax, dword [rsp + 0x94]
movzx ecx, byte [0x140074c6d]
add ecx, eax
mov eax, ecx
mov byte [0x140074c6d], al
jmp 0x140018693
movsx eax, byte [rsp + 0x20]
mov ecx, dword [0x140074c8c]
and ecx, eax
mov eax, ecx
test eax, eax
jne 0x1400185dc
movzx eax, byte [rsp + 0x21]
and eax, dword [rsp + 0x28]
xor eax, dword [0x140074c68]
test eax, eax
jne 0x1400185dc
mov dword [rsp + 0x98], 0
jmp 0x1400185e7
mov dword [rsp + 0x98], 1
mov eax, dword [rsp + 0x98]
mov ecx, dword [0x140074c84]
xor ecx, eax
mov eax, ecx
mov dword [0x140074c84], eax
jmp 0x140018693
movzx eax, byte [0x140074c5c]
movsx ecx, byte [rsp + 0x20]
imul eax, ecx
cdq
mov ecx, 3
idiv ecx
mov dword [rsp + 0x24], eax
jmp 0x140018693
mov eax, dword [0x140074c48]
imul eax, dword [rsp + 0x38]
xor edx, edx
mov ecx, 4
div ecx
mov dword [rsp + 0x38], eax
jmp 0x140018693
mov eax, dword [rsp + 0x38]
mov ecx, dword [0x140074c48]
add ecx, eax
mov eax, ecx
movsx ecx, byte [rsp + 0x22]
shl eax, cl
test eax, eax
jne 0x140018674
movzx eax, byte [rsp + 0x21]
test eax, eax
jne 0x140018674
movzx eax, byte [0x140074c89]
test eax, eax
jne 0x140018674
mov dword [rsp + 0x9c], 0
jmp 0x14001867f
mov dword [rsp + 0x9c], 1
movzx eax, byte [0x140074b8f]
xor eax, dword [rsp + 0x9c]
mov byte [0x140074b8f], al
movzx eax, byte [0x140074b8e]
imul eax, eax, 3
mov ecx, dword [rsp + 0x3c]
add ecx, eax
mov eax, ecx
cdq
and eax, 1
xor eax, edx
sub eax, edx
mov dword [rsp + 0x11c], eax
mov eax, dword [rsp + 0x11c]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x1400186ec
cmp dword [rsp + 0x60], 1
je 0x1400187a1
cmp dword [rsp + 0x60], 2
je 0x1400187e4
cmp dword [rsp + 0x60], 3
je 0x140018891
jmp 0x1400188d1
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x38], eax
jne 0x140018703
mov dword [rsp + 0xa0], 1
jmp 0x14001870e
mov dword [rsp + 0xa0], 0
movzx eax, byte [0x140074c8b]
movzx ecx, byte [rsp + 0x23]
mov edx, dword [rsp + 0xa0]
xor edx, ecx
mov ecx, edx
or eax, ecx
test eax, eax
je 0x14001873b
cmp dword [0x140074c2c], 0
je 0x14001873b
mov byte [rsp + 0x48], 1
jmp 0x140018740
mov byte [rsp + 0x48], 0
movzx eax, byte [rsp + 0x48]
mov byte [0x140074c90], al
cmp dword [rsp + 0x30], 0
jne 0x14001876f
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x24]
and ecx, eax
mov eax, ecx
test eax, eax
jne 0x14001876f
mov dword [rsp + 0xa4], 0
jmp 0x14001877a
mov dword [rsp + 0xa4], 1
mov eax, dword [rsp + 0xa4]
mov ecx, dword [0x140074c30]
and ecx, eax
mov eax, ecx
movzx ecx, byte [0x140074b8f]
add ecx, eax
mov eax, ecx
mov byte [0x140074b8f], al
jmp 0x1400188d1
mov eax, dword [rsp + 0x34]
mov ecx, dword [0x140074c50]
or ecx, eax
mov eax, ecx
test eax, eax
jne 0x1400187c7
cmp dword [rsp + 0x34], 0
jne 0x1400187c7
mov dword [rsp + 0xa8], 0
jmp 0x1400187d2
mov dword [rsp + 0xa8], 1
mov eax, dword [rsp + 0xa8]
mov dword [0x140074c84], eax
jmp 0x1400188d1
cmp dword [0x140074c80], 0
jne 0x14001883e
movzx eax, byte [rsp + 0x21]
movzx ecx, byte [rsp + 0x21]
cmp eax, ecx
jne 0x140018808
mov dword [rsp + 0xac], 1
jmp 0x140018813
mov dword [rsp + 0xac], 0
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0xac]
and ecx, eax
mov eax, ecx
test eax, eax
jne 0x14001883e
movzx eax, byte [0x140074c89]
test eax, eax
jne 0x14001883e
mov dword [rsp + 0xb0], 0
jmp 0x140018849
mov dword [rsp + 0xb0], 1
mov eax, dword [rsp + 0xb0]
mov ecx, dword [0x140074c80]
xor ecx, eax
mov eax, ecx
mov dword [0x140074c80], eax
movzx eax, byte [0x140074c6d]
movzx ecx, byte [rsp + 0x23]
movsx edx, byte [rsp + 0x20]
movsx r8d, byte [rsp + 0x20]
xor edx, r8d
or ecx, edx
and eax, ecx
movzx ecx, byte [0x140074b8e]
add ecx, eax
mov eax, ecx
mov byte [0x140074b8e], al
jmp 0x1400188d1
mov eax, dword [rsp + 0x2c]
mov ecx, dword [0x140074c64]
and ecx, eax
mov eax, ecx
and eax, dword [rsp + 0x24]
mov dword [0x140074c54], eax
movsx eax, byte [rsp + 0x20]
movzx ecx, al
mov eax, dword [0x140074c70]
shl eax, cl
movsx ecx, byte [rsp + 0x22]
xor eax, ecx
movzx ecx, byte [0x140074c8b]
xor ecx, eax
mov eax, ecx
mov byte [0x140074c8b], al
cmp dword [rsp + 0x28], 0
jne 0x1400188df
cmp dword [rsp + 0x2c], 0
je 0x140018953
mov eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x24]
add ecx, eax
mov eax, ecx
movzx ecx, al
mov eax, dword [0x140074c34]
shr eax, cl
mov ecx, dword [0x140074c2c]
xor ecx, eax
mov eax, ecx
mov dword [0x140074c2c], eax
mov eax, dword [rsp + 0x34]
mov ecx, dword [0x140074c38]
xor ecx, eax
mov eax, ecx
test eax, eax
je 0x14001893b
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x40]
sub ecx, eax
mov eax, ecx
sub eax, dword [0x140074c50]
test eax, eax
je 0x14001893b
mov dword [rsp + 0xb4], 1
jmp 0x140018946
mov dword [rsp + 0xb4], 0
mov eax, dword [rsp + 0xb4]
mov dword [0x140074a6c], eax
mov eax, dword [rsp + 0x34]
mov ecx, dword [0x140074c38]
and ecx, eax
mov eax, ecx
mov ecx, dword [0x140074a68]
mov edx, dword [rsp + 0x24]
sub edx, ecx
mov ecx, edx
mov edx, dword [rsp + 0x44]
xor edx, ecx
mov ecx, edx
or eax, ecx
mov ecx, dword [0x140074c4c]
and ecx, eax
mov eax, ecx
mov dword [0x140074c4c], eax
mov eax, 0xffffffcf
mov word [rsp + 0x54], ax
movsx eax, word [rsp + 0x54]
mov dword [rsp + 0x120], eax
movzx eax, word [rsp + 0x54]
inc ax
mov word [rsp + 0x54], ax
cmp dword [rsp + 0x120], 0
je 0x1400189d6
movzx eax, byte [0x140074c5f]
movsx ecx, byte [rsp + 0x20]
shl eax, cl
mov ecx, dword [0x140074c54]
xor ecx, eax
mov eax, ecx
mov dword [0x140074c54], eax
jmp 0x140018993
xor edx, edx
mov eax, dword [rsp + 0x24]
mov ecx, 5
div ecx
mov ecx, dword [0x140074c38]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
movsx eax, byte [rsp + 0x22]
mov ecx, dword [0x140074c4c]
imul ecx, eax
mov eax, ecx
xor edx, edx
mov ecx, 3
div ecx
mov byte [rsp + 0x23], al
cmp dword [0x140074c50], 0
je 0x140018a34
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x2c]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x140018a34
mov dword [rsp + 0xb8], 1
jmp 0x140018a3f
mov dword [rsp + 0xb8], 0
movzx eax, byte [0x140074c5c]
sub eax, dword [rsp + 0xb8]
mov byte [0x140074c5c], al
cmp dword [rsp + 0x24], 0
je 0x140018a63
movzx eax, byte [rsp + 0x21]
test eax, eax
jne 0x140018a77
cmp dword [rsp + 0x24], 0
jne 0x140018a77
mov dword [rsp + 0xbc], 0
jmp 0x140018a82
mov dword [rsp + 0xbc], 1
mov eax, dword [rsp + 0xbc]
movzx ecx, al
mov eax, dword [0x140074a64]
shr eax, cl
mov ecx, dword [0x140074c4c]
and ecx, eax
mov eax, ecx
mov dword [0x140074c4c], eax
mov eax, dword [rsp + 0x28]
mov ecx, dword [0x140074c84]
sub ecx, eax
mov eax, ecx
movzx ecx, byte [rsp + 0x21]
and eax, ecx
test eax, eax
jne 0x140018ad7
movsx eax, byte [0x140074c6e]
mov ecx, dword [rsp + 0x38]
xor ecx, eax
mov eax, ecx
test eax, eax
jne 0x140018ad7
mov byte [rsp + 0x49], 0
jmp 0x140018adc
mov byte [rsp + 0x49], 1
movzx eax, byte [rsp + 0x49]
mov byte [0x140074c6f], al
movzx eax, byte [0x140074c8a]
cmp eax, dword [rsp + 0x30]
jne 0x140018afb
mov byte [rsp + 0x4a], 1
jmp 0x140018b00
mov byte [rsp + 0x4a], 0
movzx eax, byte [rsp + 0x4a]
mov byte [0x140074c5e], al
mov eax, dword [rsp + 0x44]
mov ecx, dword [0x140074c74]
sub ecx, eax
mov eax, ecx
movzx ecx, byte [0x140074c8a]
sub ecx, eax
mov eax, ecx
mov byte [0x140074c8a], al
movsx eax, byte [rsp + 0x22]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
test eax, eax
jne 0x140018b51
movsx eax, byte [rsp + 0x22]
test eax, eax
jne 0x140018b51
mov dword [rsp + 0xc0], 0
jmp 0x140018b5c
mov dword [rsp + 0xc0], 1
mov eax, dword [rsp + 0xc0]
movzx ecx, al
mov eax, dword [0x140074c34]
shr eax, cl
mov dword [0x140074c50], eax
movsx eax, byte [rsp + 0x22]
cdq
mov ecx, 5
idiv ecx
mov ecx, dword [0x140074c70]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
movzx eax, byte [0x140074b8e]
and eax, dword [rsp + 0x44]
or eax, dword [rsp + 0x3c]
mov ecx, dword [0x140074c30]
xor ecx, eax
mov eax, ecx
mov dword [0x140074c30], eax
movzx eax, byte [0x140074c5c]
test eax, eax
je 0x140018bdd
movsx eax, byte [rsp + 0x22]
mov ecx, dword [rsp + 0x38]
mov edx, dword [rsp + 0x34]
sub edx, ecx
mov ecx, edx
sar eax, cl
test eax, eax
je 0x140018bdd
mov dword [rsp + 0xc4], 1
jmp 0x140018be8
mov dword [rsp + 0xc4], 0
mov eax, dword [rsp + 0xc4]
mov ecx, dword [0x140074c54]
and ecx, eax
mov eax, ecx
mov dword [0x140074c54], eax
imul eax, dword [0x140074c38], 3
mov ecx, dword [rsp + 0x2c]
add ecx, eax
mov eax, ecx
xor edx, edx
mov ecx, 0xa
div ecx
mov eax, edx
mov dword [rsp + 0x124], eax
mov eax, dword [rsp + 0x124]
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
je 0x140018c54
cmp dword [rsp + 0x64], 1
je 0x140018cab
cmp dword [rsp + 0x64], 2
je 0x140018cec
cmp dword [rsp + 0x64], 3
je 0x140018d48
jmp 0x140018d88
movsx eax, byte [rsp + 0x20]
mov ecx, dword [0x140074c80]
imul ecx, eax
mov eax, ecx
xor edx, edx
mov ecx, 4
div ecx
mov dword [rsp + 0x3c], eax
cmp dword [0x140074c3c], 0
je 0x140018c8e
cmp dword [rsp + 0x3c], 0
je 0x140018c8e
mov dword [rsp + 0xc8], 1
jmp 0x140018c99
mov dword [rsp + 0xc8], 0
mov eax, dword [rsp + 0xc8]
mov dword [0x140074c50], eax
jmp 0x140018dbd
xor edx, edx
mov eax, dword [rsp + 0x44]
mov ecx, 4
div ecx
mov eax, edx
mov ecx, dword [0x140074c4c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x30]
mov ecx, dword [0x140074c38]
xor ecx, eax
mov eax, ecx
movzx ecx, byte [0x140074c5c]
or ecx, eax
mov eax, ecx
mov byte [0x140074c5c], al
jmp 0x140018dbd
mov eax, dword [rsp + 0x3c]
movzx ecx, al
mov eax, dword [rsp + 0x24]
shl eax, cl
mov ecx, dword [0x140074a68]
xor ecx, eax
mov eax, ecx
test eax, eax
jne 0x140018d27
mov eax, dword [0x140074c60]
movzx ecx, al
mov eax, dword [rsp + 0x30]
shl eax, cl
test eax, eax
jne 0x140018d27
mov dword [rsp + 0xcc], 0
jmp 0x140018d32
mov dword [rsp + 0xcc], 1
movsx eax, byte [0x140074c5d]
sub eax, dword [rsp + 0xcc]
mov byte [0x140074c5d], al
jmp 0x140018dbd
movzx eax, byte [0x140074c5f]
test eax, eax
jne 0x140018d67
cmp dword [rsp + 0x30], 0
jne 0x140018d67
mov dword [rsp + 0xd0], 0
jmp 0x140018d72
mov dword [rsp + 0xd0], 1
movzx eax, byte [0x140074c88]
xor eax, dword [rsp + 0xd0]
mov byte [0x140074c88], al
jmp 0x140018dbd
movzx eax, byte [rsp + 0x21]
cdq
mov ecx, 3
idiv ecx
mov ecx, dword [0x140074c48]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x38], eax
mov eax, dword [0x140074c80]
imul eax, dword [rsp + 0x2c]
xor edx, edx
mov ecx, 5
div ecx
mov eax, edx
mov byte [rsp + 0x22], al
movzx eax, byte [0x140074c88]
sub eax, dword [rsp + 0x28]
sub eax, dword [rsp + 0x38]
mov dword [0x140074c8c], eax
cmp dword [0x140074c38], 0
je 0x140018df8
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x24]
or ecx, eax
mov eax, ecx
test eax, eax
je 0x140018df8
mov dword [rsp + 0xd4], 1
jmp 0x140018e03
mov dword [rsp + 0xd4], 0
mov eax, dword [rsp + 0xd4]
mov ecx, dword [0x140074c80]
add ecx, eax
mov eax, ecx
mov dword [0x140074c80], eax
mov eax, 0x19b
mov word [rsp + 0x50], ax
mov eax, 0xa
mov word [rsp + 0x50], ax
jmp 0x140018e3d
movzx eax, word [rsp + 0x50]
inc ax
mov word [rsp + 0x50], ax
movsx eax, word [rsp + 0x50]
cmp eax, 0x109
jge 0x140018ed5
cmp dword [0x140074c54], 0
je 0x140018e83
cmp dword [rsp + 0x3c], 0
je 0x140018e83
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x2c]
or ecx, eax
mov eax, ecx
test eax, eax
je 0x140018e83
cmp dword [0x140074c38], 0
je 0x140018e83
mov dword [rsp + 0xd8], 1
jmp 0x140018e8e
mov dword [rsp + 0xd8], 0
movsx eax, byte [0x140074c6f]
sub eax, dword [rsp + 0xd8]
mov byte [0x140074c6f], al
movzx eax, byte [0x140074c5f]
mov dword [rsp + 0x128], eax
movzx ecx, byte [rsp + 0x21]
mov eax, ecx
cdq
mov ecx, 3
idiv ecx
mov eax, edx
mov ecx, dword [rsp + 0x128]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x44], eax
jmp 0x140018e30
movzx eax, byte [rsp + 0x21]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov ecx, dword [0x140074a6c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x30]
mov ecx, dword [0x140074a68]
sub ecx, eax
mov eax, ecx
or eax, dword [rsp + 0x28]
test eax, eax
je 0x140018f0e
cmp dword [rsp + 0x3c], 0
jne 0x140018f24
cmp dword [0x140074a64], 0
jne 0x140018f24
mov dword [rsp + 0xdc], 0
jmp 0x140018f2f
mov dword [rsp + 0xdc], 1
mov eax, dword [rsp + 0xdc]
mov ecx, dword [0x140074c74]
xor ecx, eax
mov eax, ecx
mov dword [0x140074c74], eax
movzx eax, byte [rsp + 0x21]
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
movsx ecx, byte [0x140074c90]
cmp eax, ecx
jne 0x140018f6b
mov dword [rsp + 0xe0], 1
jmp 0x140018f76
mov dword [rsp + 0xe0], 0
movzx eax, byte [0x140074c5f]
sub eax, dword [rsp + 0x40]
xor eax, dword [rsp + 0xe0]
mov byte [0x140074c6c], al
mov eax, dword [rsp + 0x3c]
mov ecx, dword [0x140074c74]
and ecx, eax
mov eax, ecx
mov ecx, dword [0x140074c8c]
add ecx, eax
mov eax, ecx
mov dword [0x140074c8c], eax
mov dword [rsp + 0x74], 0xffffff76
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x12c], eax
mov eax, dword [rsp + 0x74]
inc eax
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x12c], 0
je 0x140019067
movsx eax, byte [rsp + 0x20]
movzx ecx, al
mov eax, dword [rsp + 0x28]
shr eax, cl
mov ecx, dword [rsp + 0x28]
shr eax, cl
cmp dword [0x140074c48], eax
je 0x14001900b
movzx eax, byte [0x140074b8f]
test eax, eax
jne 0x14001900b
mov dword [rsp + 0xe4], 0
jmp 0x140019016
mov dword [rsp + 0xe4], 1
movzx eax, byte [0x140074b8f]
sub eax, dword [rsp + 0xe4]
mov byte [0x140074b8f], al
mov eax, dword [rsp + 0x38]
mov ecx, dword [0x140074c3c]
sub ecx, eax
mov eax, ecx
movsx ecx, byte [rsp + 0x20]
and eax, ecx
mov dword [0x140074c30], eax
xor edx, edx
mov eax, dword [rsp + 0x24]
mov ecx, 5
div ecx
mov eax, edx
mov ecx, dword [0x140074a64]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
jmp 0x140018fb4
mov eax, dword [rsp + 0x2c]
mov ecx, dword [0x140074c30]
sub ecx, eax
mov eax, ecx
movzx ecx, byte [rsp + 0x23]
mov edx, dword [rsp + 0x34]
add edx, eax
mov eax, edx
add ecx, eax
mov eax, ecx
and eax, dword [0x140074c4c]
mov ecx, dword [0x140074c34]
or ecx, eax
mov eax, ecx
mov dword [0x140074c34], eax
movsx eax, byte [0x140074c5d]
mov ecx, dword [rsp + 0x30]
shl eax, cl
mov ecx, dword [rsp + 0x2c]
sar eax, cl
mov byte [0x140074c5e], al
movsx eax, byte [rsp + 0x20]
test eax, eax
jne 0x1400190ca
mov eax, dword [0x140074c3c]
cmp dword [rsp + 0x3c], eax
jae 0x140019101
movsx eax, byte [0x140074c6f]
and eax, dword [rsp + 0x38]
xor eax, dword [rsp + 0x40]
test eax, eax
jne 0x1400190f1
movzx eax, byte [0x140074c6d]
cmp dword [rsp + 0x34], eax
je 0x1400190f1
mov byte [rsp + 0x4b], 0
jmp 0x1400190f6
mov byte [rsp + 0x4b], 1
movzx eax, byte [rsp + 0x4b]
mov byte [0x140074c6d], al
mov eax, dword [0x140074c8c]
imul eax, dword [rsp + 0x40]
xor edx, edx
mov ecx, 3
div ecx
mov eax, edx
mov dword [rsp + 0x2c], eax
movsx eax, byte [rsp + 0x22]
mov ecx, dword [0x140074c8c]
add ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x34]
shl eax, cl
mov ecx, dword [rsp + 0x24]
shl eax, cl
mov ecx, dword [0x140074c54]
shl eax, cl
mov ecx, dword [0x140074c48]
and ecx, eax
mov eax, ecx
mov dword [0x140074c48], eax
movzx eax, byte [rsp + 0x23]
mov ecx, dword [rsp + 0x2c]
mov edx, dword [rsp + 0x40]
add edx, ecx
mov ecx, edx
shl eax, cl
mov ecx, dword [0x140074c38]
sub ecx, eax
mov eax, ecx
movzx ecx, byte [0x140074b8e]
xor ecx, eax
mov eax, ecx
mov byte [0x140074b8e], al
mov eax, dword [0x140074a68]
imul eax, dword [rsp + 0x40]
xor edx, edx
mov ecx, 3
div ecx
mov eax, edx
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x28]
cmp dword [0x140074c2c], eax
jne 0x1400191af
mov dword [rsp + 0xe8], 1
jmp 0x1400191ba
mov dword [rsp + 0xe8], 0
movsx eax, byte [rsp + 0x20]
movzx ecx, byte [0x140074c89]
add eax, ecx
movzx ecx, al
mov eax, dword [rsp + 0x38]
shl eax, cl
mov ecx, dword [rsp + 0xe8]
xor ecx, eax
mov eax, ecx
mov ecx, dword [0x140074c80]
or ecx, eax
mov eax, ecx
mov dword [0x140074c80], eax
cmp dword [0x140074c4c], 0
jne 0x140019219
mov eax, dword [rsp + 0x2c]
movzx ecx, al
mov eax, dword [rsp + 0x40]
shl eax, cl
mov ecx, dword [rsp + 0x3c]
shl eax, cl
test eax, eax
jne 0x140019219
mov dword [rsp + 0xec], 0
jmp 0x140019224
mov dword [rsp + 0xec], 1
movzx eax, byte [0x140074c6d]
sub eax, dword [rsp + 0xec]
mov byte [0x140074c6d], al
mov dword [rsp + 0x78], 0xffffffa9
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x130], eax
mov eax, dword [rsp + 0x78]
inc eax
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x130], 0
je 0x14001927b
mov eax, dword [0x140074a6c]
imul eax, dword [rsp + 0x28]
xor edx, edx
mov ecx, 4
div ecx
mov eax, edx
mov byte [rsp + 0x22], al
jmp 0x140019240
mov eax, dword [0x140074c80]
imul eax, dword [rsp + 0x3c]
xor edx, edx
mov ecx, 3
div ecx
mov byte [rsp + 0x21], al
cmp dword [0x140074a6c], 0
je 0x1400192cb
mov eax, dword [rsp + 0x34]
movzx ecx, al
mov eax, dword [rsp + 0x34]
shl eax, cl
mov ecx, dword [rsp + 0x40]
xor ecx, eax
mov eax, ecx
movzx ecx, byte [0x140074c6d]
or eax, ecx
test eax, eax
je 0x1400192cb
mov dword [rsp + 0xf0], 1
jmp 0x1400192d6
mov dword [rsp + 0xf0], 0
mov eax, dword [rsp + 0xf0]
mov ecx, dword [0x140074c3c]
xor ecx, eax
mov eax, ecx
mov dword [0x140074c3c], eax
movsx eax, byte [0x140074c6c]
test eax, eax
jne 0x14001931d
mov eax, dword [rsp + 0x44]
movzx ecx, al
mov eax, dword [rsp + 0x30]
shl eax, cl
test eax, eax
je 0x140019310
cmp dword [rsp + 0x30], 0
jne 0x14001931d
mov dword [rsp + 0xf4], 0
jmp 0x140019328
mov dword [rsp + 0xf4], 1
mov eax, dword [rsp + 0xf4]
mov ecx, dword [0x140074c3c]
and ecx, eax
mov eax, ecx
mov dword [0x140074c3c], eax
movsx eax, byte [rsp + 0x20]
mov ecx, dword [0x140074a68]
add ecx, eax
mov eax, ecx
xor eax, dword [rsp + 0x34]
mov ecx, dword [0x140074a64]
xor ecx, eax
mov eax, ecx
mov dword [0x140074a64], eax
mov dword [rsp + 0x68], 0x117
mov dword [rsp + 0x68], 0x18c
jmp 0x14001937e
mov eax, dword [rsp + 0x68]
dec eax
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0x3f
jle 0x1400193d6
mov eax, dword [0x140074a68]
imul eax, dword [rsp + 0x2c]
xor edx, edx
mov ecx, 5
div ecx
mov eax, edx
mov byte [rsp + 0x20], al
movzx eax, byte [0x140074c6d]
add eax, dword [rsp + 0x44]
movsx ecx, byte [0x140074c6f]
or ecx, eax
mov eax, ecx
mov byte [0x140074c6f], al
movzx eax, byte [0x140074c5f]
imul eax, dword [rsp + 0x2c]
xor edx, edx
mov ecx, 3
div ecx
mov dword [rsp + 0x34], eax
jmp 0x140019374
imul eax, dword [0x140074c60], 6
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
xor edx, edx
mov ecx, 2
div ecx
mov eax, edx
mov dword [rsp + 0x134], eax
mov eax, dword [rsp + 0x134]
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x6c], 0
je 0x14001942b
cmp dword [rsp + 0x6c], 1
je 0x140019476
cmp dword [rsp + 0x6c], 2
je 0x1400194a2
cmp dword [rsp + 0x6c], 3
je 0x140019511
jmp 0x140019528
movzx eax, byte [rsp + 0x21]
movzx ecx, byte [rsp + 0x21]
xor eax, ecx
mov ecx, dword [0x140074c50]
or ecx, eax
mov eax, ecx
movsx ecx, byte [0x140074a63]
and ecx, eax
mov eax, ecx
mov byte [0x140074a63], al
movsx eax, byte [rsp + 0x20]
mov ecx, dword [0x140074a6c]
and ecx, eax
mov eax, ecx
mov ecx, dword [0x140074c48]
xor ecx, eax
mov eax, ecx
mov dword [0x140074c48], eax
jmp 0x14001959c
movzx eax, byte [rsp + 0x21]
movzx ecx, al
mov eax, dword [0x140074c84]
shr eax, cl
mov ecx, dword [rsp + 0x38]
shl eax, cl
movsx ecx, byte [0x140074c5d]
add ecx, eax
mov eax, ecx
mov byte [0x140074c5d], al
jmp 0x14001959c
movzx eax, byte [0x140074b8f]
mov ecx, dword [rsp + 0x24]
mov edx, dword [rsp + 0x3c]
sar edx, cl
mov ecx, edx
and eax, ecx
mov ecx, dword [0x140074c38]
sub ecx, eax
mov eax, ecx
mov dword [0x140074c38], eax
movzx eax, byte [0x140074c5c]
add eax, dword [rsp + 0x28]
sub eax, dword [rsp + 0x44]
and eax, dword [rsp + 0x3c]
test eax, eax
je 0x1400194f4
cmp dword [0x140074c38], 0
je 0x1400194f4
mov dword [rsp + 0xf8], 1
jmp 0x1400194ff
mov dword [rsp + 0xf8], 0
mov eax, dword [rsp + 0xf8]
mov dword [0x140074a68], eax
jmp 0x14001959c
movsx eax, byte [rsp + 0x20]
mov ecx, dword [0x140074c54]
and ecx, eax
mov eax, ecx
mov dword [0x140074c60], eax
jmp 0x14001959c
movzx eax, byte [0x140074c8b]
movsx ecx, byte [rsp + 0x20]
cmp eax, ecx
jne 0x140019545
mov dword [rsp + 0xfc], 1
jmp 0x140019550
mov dword [rsp + 0xfc], 0
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0xfc], eax
jne 0x14001956a
mov dword [rsp + 0x100], 1
jmp 0x140019575
mov dword [rsp + 0x100], 0
movzx eax, byte [rsp + 0x23]
mov ecx, dword [rsp + 0x100]
or ecx, eax
mov eax, ecx
or eax, dword [0x140074c84]
movsx ecx, byte [0x140074c5d]
sub ecx, eax
mov eax, ecx
mov byte [0x140074c5d], al
call qword [sym.imp.KERNEL32.dll_GetACP]
movzx eax, byte [0x140074c8a]
movsx ecx, byte [rsp + 0x22]
sar eax, cl
movsx ecx, byte [0x140074c5e]
xor ecx, eax
mov eax, ecx
mov byte [0x140074c5e], al
movzx eax, byte [0x140074b8e]
test eax, eax
jne 0x1400195e0
cmp dword [rsp + 0x24], 0
jne 0x1400195e0
mov dword [rsp + 0x104], 0
jmp 0x1400195eb
mov dword [rsp + 0x104], 1
mov eax, dword [rsp + 0x104]
mov ecx, dword [0x140074c68]
add ecx, eax
mov eax, ecx
mov dword [0x140074c68], eax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x38]
add ecx, eax
mov eax, ecx
movsx ecx, byte [rsp + 0x20]
xor eax, ecx
mov ecx, dword [0x140074a68]
or ecx, eax
mov eax, ecx
mov dword [0x140074c70], eax
mov eax, dword [rsp + 0x38]
mov ecx, dword [0x140074c28]
or ecx, eax
mov eax, ecx
test eax, eax
jne 0x14001964b
cmp dword [rsp + 0x34], 0
jne 0x14001964b
mov dword [rsp + 0x108], 0
jmp 0x140019656
mov dword [rsp + 0x108], 1
mov eax, dword [rsp + 0x108]
mov ecx, dword [0x140074c64]
add ecx, eax
mov eax, ecx
mov dword [0x140074c64], eax
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [rsp + 0x7c], 0xffffff98
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x138], eax
mov eax, dword [rsp + 0x7c]
inc eax
mov dword [rsp + 0x7c], eax
cmp dword [rsp + 0x138], 0
je 0x1400196c1
mov eax, dword [rsp + 0x3c]
mov ecx, dword [0x140074c30]
sub ecx, eax
mov eax, ecx
sub eax, dword [rsp + 0x2c]
and eax, dword [rsp + 0x40]
movzx ecx, byte [0x140074c88]
xor eax, ecx
mov dword [0x140074c3c], eax
jmp 0x14001967b
mov eax, dword [rsp + 0x38]
movzx ecx, al
mov eax, dword [0x140074c30]
shl eax, cl
mov ecx, dword [0x140074c34]
or ecx, eax
mov eax, ecx
mov dword [0x140074c34], eax
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x28]
sub ecx, eax
mov eax, ecx
test eax, eax
je 0x140019704
cmp dword [rsp + 0x30], 0
je 0x140019704
mov dword [rsp + 0x10c], 1
jmp 0x14001970f
mov dword [rsp + 0x10c], 0
movzx eax, byte [0x140074c5f]
sub eax, dword [rsp + 0x10c]
mov dword [0x140074c28], eax
movzx eax, byte [0x140074b8e]
mov ecx, eax
call fcn.140017140
movzx eax, byte [rsp + 0x21]
add rsp, 0x148
ret