Function at 0x140026098
Capabilities:
Get disk information
Get thread local storage value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xf8
lea rax, [rdx - 8]
mov r14, rcx
lea rcx, [r11 + 0x10]
mov qword [rsp + 0xb8], rax
call fcn.140016e2c
mov rax, qword [rsp + 0x148]
mov ecx, 0x2d
cmp cx, word [rax]
lea edx, [rcx - 3]
cmove edx, ecx
lea rcx, [0x140136118]
movsx r15d, dl
mov word [rsp + 0x80], r15w
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
movzx eax, byte [r14 + 0x11]
shr rax, 1
xor edi, edi
and rax, 1
or rax, qword [0x140135040]
je 0x140026141
mov rax, qword [rsp + 0x148]
cmp r15w, word [rax]
jne 0x14002612d
cmp word [rax + 2], di
je 0x140026141
lea rcx, [0x140136118]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x140026d16
mov ecx, dword [0x140134934]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, qword [rsp + 0x148]
lea r13, [0x140134b18]
mov r12, rax
mov byte [rsp + 0x4c], dil
mov byte [rsp + 0x41], dil
mov byte [rsp + 0x44], dil
mov byte [rsp + 0x40], dil
mov byte [rsp + 0x158], dil
mov byte [rsp + 0x4b], dil
mov byte [rsp + 0x48], dil
mov r8d, edi
mov dword [rsp + 0x60], edi
mov byte [rsp + 0x58], dil
mov bpl, dil
mov sil, dil
mov qword [rsp + 0xa0], rbx
cmp word [rbx], r15w
jne 0x14002626a
mov r14d, 1
cmp word [rbx + 2], r15w
jne 0x140026262
add rbx, 4
lea rcx, [0x1401197e8]
mov r8d, 6
mov rdx, rbx
mov qword [rsp + 0xa0], rbx
call fcn.14005a82c
cmp al, dil
je 0x140026207
mov rax, qword [rsp + 0x148]
mov r8d, dword [rsp + 0x60]
cmp word [rax + 0xc], 0x2b
jne 0x1400261f9
mov sil, 3
jmp 0x14002620f
cmp word [rax + 0xc], 0x40
sete sil
add sil, r14b
jmp 0x14002620f
mov r8d, r14d
mov dword [rsp + 0x60], r14d
movzx eax, word [rbx]
cmp ax, di
je 0x140026243
mov ecx, 0x20
lea edx, [rcx - 0x17]
cmp dx, ax
ja 0x14002622a
cmp ax, 0xd
jbe 0x140026243
cmp cx, ax
je 0x140026243
add rbx, 2
mov qword [rsp + 0xa0], rbx
mov ax, word [rbx]
cmp ax, di
jne 0x14002621f
lea rcx, [rsp + 0xa0]
call fcn.140016e2c
mov rbx, qword [rsp + 0xa0]
cmp word [rbx], r15w
je 0x1400261af
mov r14, qword [rsp + 0x140]
cmp r8d, edi
je 0x140026281
cmp word [rbx], di
jne 0x140026281
mov r15d, 1
mov byte [rsp + 0x4e], r15b
jmp 0x14002628c
mov byte [rsp + 0x4e], dil
mov r15d, 1
mov eax, 0x2a
cmp ax, word [rbx]
jne 0x1400262d1
add rbx, 2
mov byte [rsp + 0x58], r15b
cmp word [rbx], 0x3f
mov qword [rsp + 0x98], rbx
jne 0x1400262bc
add rbx, 2
mov bpl, r15b
mov qword [rsp + 0x98], rbx
lea rcx, [rsp + 0x98]
call fcn.140016e2c
mov rbx, qword [rsp + 0x98]
mov rcx, rbx
call fcn.14001bb70
mov rbx, rax
mov qword [rsp + 0x98], rax
cmp byte [rsp + 0x58], dil
je 0x1400262ff
cmp bpl, dil
jne 0x1400262ff
cmp word [rax], di
jne 0x1400262ff
mov byte [rsp + 0x140], r15b
jmp 0x140026324
mov byte [rsp + 0x140], dil
cmp dword [rsp + 0x60], edi
jne 0x140026324
cmp word [rax], di
jne 0x140026324
movzx eax, sil
cmp sil, dil
mov ecx, 3
cmove eax, ecx
mov sil, al
mov rax, r12
neg rax
sbb al, al
and al, sil
mov esi, 1
lea rcx, [rsi - 2]
mov byte [rsp + 0x5c], al
and al, sil
cmovne rcx, r12
cmp al, dil
mov byte [rsp + 0x4f], sil
cmovne r13, r12
mov qword [rsp + 0x68], rcx
lea r15, [r13 + 8]
test byte [r14 + 0x10], sil
je 0x140026369
mov byte [rsp + 0x42], sil
cmp qword [r13], rdi
jne 0x14002636e
mov byte [rsp + 0x42], dil
mov rcx, qword [rsp + 0x150]
test sil, cl
je 0x140026391
and rcx, 0xfffffffffffffffe
mov byte [rsp + 0x42], dil
mov byte [rsp + 0x4f], dil
mov qword [rsp + 0x150], rcx
lea rax, [0x1401155d8]
mov qword [rsp + 0x90], 0xfffffffffff80000
mov qword [rsp + 0xd8], rax
cmp rcx, 0xffffffffffffffff
jne 0x1400263cb
mov rcx, qword [r13 + 0x20]
mov byte [rsp + 0x41], 2
mov qword [rsp + 0x150], rax
mov qword [rsp + 0x90], rcx
mov rax, qword [rsp + 0x148]
lea rcx, [rsp + 0x88]
mov dword [rsp + 0x50], edi
cmp word [rax], di
setne byte [rsp + 0x70]
call fcn.140061698
mov cl, byte [r14 + 0x10]
mov r12b, byte [r14 + 0x10]
mov al, cl
mov qword [rsp + 0xc8], rdi
and al, sil
shr r12b, 6
mov byte [rsp + 0x46], 0xff
mov byte [rsp + 0x54], al
mov al, cl
shr cl, 2
shr al, 1
and cl, sil
and r12b, sil
and al, sil
mov byte [rsp + 0x4a], cl
lea rcx, [0x140136118]
mov byte [rsp + 0x47], al
mov al, byte [r14 + 0x10]
mov byte [rsp + 0x4d], 0xff
shr al, 3
mov dword [rsp + 0x78], edi
mov ebp, edi
and al, sil
mov byte [rsp + 0x49], al
mov al, byte [r14 + 0x10]
shr al, 4
and al, sil
mov byte [rsp + 0x45], al
mov al, byte [r14 + 0x10]
shr al, 5
and al, sil
mov byte [rsp + 0x43], al
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rsp + 0x148]
mov si, word [rsp + 0x80]
cmp word [rax], si
jne 0x140026a3e
mov bl, byte [rsp + 0x41]
mov r15d, edi
cmp word [rax + 2], si
jne 0x140026a29
add rax, 4
lea rcx, [0x1401197e8]
mov r8d, 6
mov rdx, rax
mov qword [rsp + 0x148], rax
inc r15d
call fcn.14005a82c
cmp al, dil
jne 0x1400269cd
mov rdx, qword [rsp + 0x148]
lea rcx, [0x1401197e4]
mov r8d, 1
call fcn.14005a82c
cmp al, dil
je 0x140026525
mov rcx, qword [rsp + 0x148]
mov eax, 0x2d
cmp word [rcx + 2], ax
jne 0x1400264fd
mov al, dil
mov byte [rsp + 0x45], al
jmp 0x1400269d5
movzx eax, byte [r14 + 0x11]
mov edx, 1
shr rax, 1
and rax, rdx
or rax, qword [0x140135040]
jne 0x1400269d5
mov al, dl
mov byte [rsp + 0x45], dl
jmp 0x1400269d5
mov rdx, qword [rsp + 0x148]
lea rcx, str.lock:
mov r8d, 5
call fcn.14005a82c
cmp al, dil
je 0x140026623
add qword [rsp + 0x148], 0xa
mov eax, 1
lea rdx, [rsp + 0xa8]
add byte [rsp + 0x44], al
lea rcx, [rsp + 0x148]
mov qword [rsp + 0xa8], rdi
call fcn.140065ce8
mov r11, qword [r13 + 0x20]
mov ecx, 1
cmp r11, rdi
jle 0x1400265fc
cmp bl, cl
je 0x1400265fc
mov al, byte [rsp + 0x44]
cmp al, cl
jne 0x1400265ad
cmp r11, qword [rsp + 0xa8]
jne 0x1400265ad
mov rdx, qword [rsp + 0xa8]
mov bl, cl
mov qword [rsp + 0x90], rdx
mov rcx, qword [rsp + 0x148]
movzx eax, word [rcx]
cmp ax, di
je 0x140026a0b
mov edx, 0x20
lea r8d, [rdx - 0x17]
cmp r8w, ax
ja 0x1400265da
cmp ax, 0xd
jbe 0x140026a0b
cmp dx, ax
je 0x140026a0b
add rcx, 2
mov qword [rsp + 0x148], rcx
mov ax, word [rcx]
cmp ax, di
jne 0x1400265ca
jmp 0x140026a0b
mov rdx, qword [rsp + 0xa8]
cmp rdx, rdi
mov qword [rsp + 0x90], rdx
jg 0x1400265ad
mov byte [rsp + 0x4c], cl
mov qword [rsp + 0x90], 0xfffffffffff80000
jmp 0x1400265ad
mov rdx, qword [rsp + 0x148]
lea rcx, [0x1401197d8]
mov r8d, 3
call fcn.14005a82c
cmp al, dil
je 0x140026685
mov rcx, qword [rsp + 0x148]
cmp word [rcx + 6], 0x31
jb 0x14002667d
cmp word [rcx + 6], 0x39
ja 0x14002667d
movzx eax, byte [r14 + 0x11]
mov edx, 1
shr rax, 1
and rax, rdx
or rax, qword [0x140135040]
jne 0x1400269d5
mov r12b, dl
jmp 0x1400269d5
mov r12b, dil
jmp 0x1400269d5
mov rdx, qword [rsp + 0x148]
lea rcx, [0x1401197d4]
mov r8d, 1
call fcn.14005a82c
cmp al, dil
je 0x1400266bf
mov rcx, qword [rsp + 0x148]
mov eax, 0x2d
cmp word [rcx + 2], ax
setne byte [rsp + 0x4a]
jmp 0x1400269d5
mov rdx, qword [rsp + 0x148]
lea rcx, [0x1401197d0]
mov r8d, 2
call fcn.14005a82c
cmp al, dil
je 0x1400266f9
mov rcx, qword [rsp + 0x148]
mov eax, 0x2d
cmp word [rcx + 4], ax
setne byte [rsp + 0x49]
jmp 0x1400269d5
mov rdx, qword [rsp + 0x148]
lea rcx, [0x1401197cc]
mov r8d, 2
call fcn.14005a82c
cmp al, dil
je 0x140026762
mov rcx, qword [rsp + 0x148]
cmp word [rcx + 4], 0x31
jb 0x140026756
cmp word [rcx + 4], 0x39
ja 0x140026756
movzx eax, byte [r14 + 0x11]
mov edx, 1
shr rax, 1
and rax, rdx
or rax, qword [0x140135040]
jne 0x1400269d5
mov al, dl
mov byte [rsp + 0x43], dl
jmp 0x1400269d5
mov al, dil
mov byte [rsp + 0x43], al
jmp 0x1400269d5
mov rdx, qword [rsp + 0x148]
lea rcx, str.RAW
mov r8d, 4
call fcn.14005a82c
cmp al, dil
je 0x1400267cb
mov rcx, qword [rsp + 0x148]
cmp word [rcx + 8], 0x31
jb 0x1400267bf
cmp word [rcx + 8], 0x39
ja 0x1400267bf
movzx eax, byte [r14 + 0x11]
mov edx, 1
shr rax, 1
and rax, rdx
or rax, qword [0x140135040]
jne 0x1400269d5
mov al, dl
mov byte [rsp + 0x47], dl
jmp 0x1400269d5
mov al, dil
mov byte [rsp + 0x47], al
jmp 0x1400269d5
mov rdx, qword [rsp + 0x148]
lea rcx, [0x1401197c0]
mov r8d, 3
call fcn.14005a82c
cmp al, dil
je 0x140026814
mov rcx, qword [rsp + 0x148]
cmp word [rcx + 6], 0x31
jb 0x140026805
cmp word [rcx + 6], 0x39
mov eax, 3
jbe 0x140026807
mov eax, edi
mov dword [rsp + 0x58], eax
mov byte [rsp + 0x4d], al
jmp 0x1400269d5
lea rdx, [rsp + 0x148]
lea rcx, [0x1401197bc]
mov r8d, 2
call fcn.1400640d4
cmp al, dil
jne 0x140026852
lea rdx, [rsp + 0x148]
lea rcx, [0x1401197b8]
mov r8d, 3
call fcn.1400640d4
cmp al, dil
je 0x140026860
mov eax, 1
mov byte [rsp + 0x58], al
jmp 0x140026a18
mov rdx, qword [rsp + 0x148]
lea rcx, [0x1401197b4]
mov r8d, 3
call fcn.14005a82c
cmp al, dil
je 0x1400268d0
mov rcx, qword [rsp + 0x148]
mov edx, 1
add ebp, edx
cmp word [rcx + 6], 0x31
jb 0x1400268bf
cmp word [rcx + 6], 0x39
ja 0x1400268bf
movzx eax, byte [r14 + 0x11]
shr rax, 1
and rax, rdx
or rax, qword [0x140135040]
jne 0x1400269d5
mov al, dl
mov byte [rsp + 0x46], dl
jmp 0x1400269d5
and byte [r14 + 0x10], 0xfe
mov al, dil
mov byte [rsp + 0x46], al
jmp 0x1400269d5
lea rdx, [rsp + 0x148]
lea rcx, [0x1401197b0]
mov r8d, 1
call fcn.1400640d4
cmp al, dil
je 0x1400268f9
mov byte [rsp + 0x40], 1
jmp 0x140026a18
lea rdx, [rsp + 0x148]
lea rcx, [0x1401197ac]
mov r8d, 3
call fcn.1400640d4
cmp al, dil
je 0x140026925
mov byte [rsp + 0x158], 1
jmp 0x140026a18
lea rdx, [rsp + 0x148]
lea rcx, str.vol
mov r8d, 4
call fcn.1400640d4
cmp al, dil
je 0x140026951
mov byte [rsp + 0x158], 3
jmp 0x140026a18
lea rdx, [rsp + 0x148]
lea rcx, str.part
mov r8d, 4
call fcn.1400640d4
cmp al, dil
je 0x14002697d
mov byte [rsp + 0x158], 2
jmp 0x140026a18
lea rdx, [rsp + 0x148]
lea rcx, [0x140119798]
mov r8d, 3
call fcn.1400640d4
cmp al, dil
je 0x1400269a3
mov byte [rsp + 0x4b], 1
jmp 0x140026a18
lea rdx, [rsp + 0x148]
lea rcx, str.abak
mov r8d, 4
call fcn.1400640d4
cmp al, dil
je 0x1400265ad
mov byte [rsp + 0x48], 1
jmp 0x140026a18
mov rcx, qword [rsp + 0x148]
movzx eax, word [rcx]
cmp ax, di
je 0x140026a0b
mov edx, 0x20
lea r8d, [rdx - 0x17]
cmp r8w, ax
ja 0x1400269f2
cmp ax, 0xd
jbe 0x140026a0b
cmp dx, ax
je 0x140026a0b
add rcx, 2
mov qword [rsp + 0x148], rcx
mov ax, word [rcx]
cmp ax, di
jne 0x1400269e6
lea rcx, [rsp + 0x148]
call fcn.140016e2c
mov rax, qword [rsp + 0x148]
cmp word [rax], si
je 0x140026488
mov byte [rsp + 0x41], bl
mov rbx, qword [rsp + 0x98]
mov dword [rsp + 0x78], r15d
lea r15, [r13 + 8]
lea rcx, [0x140136118]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, byte [rsp + 0x4e]
mov qword [rsp + 0x148], rbx
cmp al, dil
je 0x140026a6c
cmp byte [rsp + 0x40], dil
je 0x140026a6c
mov edx, 1
mov ecx, edx
jmp 0x140026a73
mov ecx, edi
mov edx, 1
mov sil, byte [rsp + 0x140]
cmp word [rbx], di
jne 0x140026a8b
cmp dword [rsp + 0x60], edi
jne 0x140026a8b
cmp sil, dil
jne 0x140026b0a
cmp qword [r13 + 0x20], rdi
jle 0x140026b0a
cmp byte [rsp + 0x41], dil
jg 0x140026b0a
cmp word [rbx], di
jne 0x140026ab8
mov al, byte [r14 + 0x10]
and al, dl
cmp byte [rsp + 0x54], al
jne 0x140026ab8
cmp dword [rsp + 0x78], ebp
jne 0x140026ab8
cmp ecx, edi
jne 0x140026b17
jmp 0x140026cec
mov rbx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0xb8]
xor r9d, r9d
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rdi
lea edi, [r9 + 5]
mov r8, rdi
mov rcx, r14
call fcn.140025c70
lea rcx, [0x140136118]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rdx, rbx
mov cl, 1
call fcn.1400182d4
lea rcx, [0x140136118]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x140026cec
cmp al, dil
je 0x140026b17
cmp ecx, edi
je 0x140027299
cmp byte [r14 + 0xd8], dil
je 0x140026b27
cmp word [rbx], di
mov bl, dl
jne 0x140026b2a
mov bl, dil
mov rbp, qword [rsp + 0x68]
cmp byte [rsp + 0x70], dil
je 0x140026b63
test byte [r14 + 0x10], dl
je 0x140026b63
cmp byte [rsp + 0x4f], dil
je 0x140026b63
mov rdx, qword [rsp + 0xb8]
xor r9d, r9d
xor r8d, r8d
mov rcx, r14
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
call fcn.140025c70
cmp bl, dil
je 0x140026c88
lea rcx, [rsp + 0xb0]
mov byte [r14 + 0xd8], dil
call fcn.140061698
lea rdx, str._CurFile_
lea rcx, [rsp + 0xd0]
call fcn.14006d5dc
mov rdx, qword [rsp + 0xd0]
mov eax, 1
lea r8, [rsp + 0xb0]
xor r9d, r9d
mov rcx, r14
mov byte [rsp + 0x20], al
call fcn.14007714c
lea rcx, [rsp + 0xd0]
call fcn.1400591f8
lea rdx, str.ENTER:
lea rcx, [rsp + 0xc0]
call fcn.14006d5dc
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0xc0]
call fcn.1400617d4
movsxd rbx, dword [r15 + 8]
mov eax, 1
test byte [r14 + 0x10], al
je 0x140026c2a
mov rax, qword [rsp + 0x150]
mov rdx, qword [rsp + 0xc0]
mov r9d, 0x11
xor r8d, r8d
mov rcx, r14
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rax
call fcn.140025c70
jmp 0x140026c3c
cmp qword [r15], rdi
jne 0x140026c3c
mov edx, 0x10000
mov rcx, r15
call fcn.140061798
mov rax, qword [r15]
lea rcx, [rsp + 0x88]
lea rdx, [rax + rbx*2]
call fcn.14006d65c
mov rax, qword [r15]
cmp byte [rsp + 0x42], dil
mov qword [r15 + 8], rbx
mov word [rax + rbx*2], di
mov eax, dword [rsp + 0x70]
movzx eax, al
lea rcx, [rsp + 0xc0]
cmovne eax, edi
mov dword [rsp + 0x70], eax
call fcn.1400591f8
lea rcx, [rsp + 0xb0]
call fcn.1400591f8
mov ebx, 1
mov rdx, rbp
mov cl, bl
call fcn.1400182d4
cmp sil, dil
je 0x140026caa
mov eax, edi
cmp dword [rsp + 0x60], edi
jne 0x1400272a0
jmp 0x140026ce9
cmp byte [rsp + 0x40], dil
je 0x140026d2a
mov rax, qword [rsp + 0x148]
cmp word [rax], di
jne 0x140026d2a
mov qword [rsp + 0xe8], rdi
cmp qword [r13], rdi
je 0x140026ce7
mov rcx, qword [r13]
lea r8, [rsp + 0xe8]
mov r9d, 2
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov eax, edi
movsxd rdi, eax
lea rcx, [rsp + 0xc8]
call fcn.1400591f8
lea rcx, [rsp + 0x88]
call fcn.1400591f8
lea rcx, [0x140136118]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, rdi
add rsp, 0xf8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov al, byte [rsp + 0x4b]
or al, byte [r13 + 0x28]
je 0x140026de3
lea r8, [0x1401155d8]
lea rdx, [0x140116c50]
mov r9d, ebx
mov rcx, r14
mov qword [rsp + 0x20], rdi
call fcn.14001e434
cmp rax, rdi
je 0x140026de3
cmp qword [rax], rdi
je 0x140026de3
lea rcx, [rax + 0x10]
mov edx, 0x38
call fcn.140018488
mov r11, rax
cmp rax, rdi
je 0x140026de3
mov rcx, rax
call fcn.1400185c0
mov qword [rcx + 0x28], r13
lea rbx, [rcx + 0x18]
mov qword [rbx], rdi
mov cl, byte [r13 + 0x29]
mov qword [rbx], rdi
mov byte [r11 + 0x21], cl
mov cl, byte [r13 + 0x28]
lea r8, [0x1401350d0]
mov byte [r11 + 0x20], cl
mov rdx, qword [r13 + 0x20]
or r9d, 0xffffffff
mov qword [r11 + 8], rdx
mov rax, qword [r13]
lea rdx, str.__LOGS
mov qword [r11 + 0x10], rax
mov rcx, r14
mov qword [r13], rdi
call fcn.14001e518
cmp rax, rdi
je 0x140026dde
mov rdx, qword [rax]
mov rcx, rbx
call fcn.14006d6f4
mov ebx, 1
cmp qword [r13], rdi
je 0x140026dfa
mov rcx, qword [r13]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
dec qword [0x140134cb8]
mov eax, 3
mov qword [r13], rdi
mov qword [r15 + 8], rdi
mov qword [r13 + 0x20], 0xfffffffffff80000
mov byte [r13 + 0x28], dil
cmp byte [rsp + 0x5c], al
jne 0x140026e55
mov rax, qword [rsp + 0x148]
cmp word [rax], di
jne 0x140026e66
cmp qword [0x140134b18], rdi
je 0x140026e55
or rdx, 0xffffffffffffffff
mov cl, bl
call fcn.1400182d4
mov rcx, qword [0x140134b18]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140134b18], rdi
dec qword [0x140134cb8]
mov rax, qword [rsp + 0x148]
cmp word [rax], di
je 0x14002726e
and byte [r13 + 0x29], 0xfe
cmp byte [rsp + 0x58], dil
setne al
or byte [r13 + 0x29], al
cmp byte [rsp + 0x158], dil
je 0x140027016
mov rcx, qword [rsp + 0x148]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, [rsp + 0xc8]
lea ebp, [rax + 0x108]
lea eax, [rbp + rbp]
movsxd rdx, eax
call fcn.140061798
mov rbx, qword [rsp + 0xc8]
movsxd r11, ebp
lea rsi, [rbx + r11*2]
xor r9d, r9d
mov edx, 0x105
mov word [rsi], di
mov word [rbx], di
mov rcx, qword [rsp + 0x148]
mov r8, rsi
call fcn.1400625c4
movzx r11d, word [rsi]
cmp r11w, di
je 0x140027011
mov eax, 0x3a
cmp ax, word [rsi + 2]
jne 0x140027011
mov word [rsp + 0x7a], ax
mov eax, 0x5c
mov word [rsp + 0x78], r11w
mov word [rsp + 0x7c], ax
mov eax, 1
mov word [rsp + 0x7e], di
mov qword [rsp + 0x148], rsi
test byte [rsp + 0x158], al
je 0x140026f45
lea rcx, [rsp + 0x78]
mov r8d, ebp
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
cmp eax, edi
je 0x140026f45
cmp word [rbx], di
jne 0x140026fe1
test byte [rsp + 0x158], 2
je 0x140027011
lea rcx, [rsp + 0x140]
mov edx, 0x1e0
call fcn.14006170c
mov rax, qword [rsp + 0x140]
movzx r11d, word [rsi]
mov word [rax], r11w
mov rax, qword [rsp + 0x140]
or rdx, 0xffffffffffffffff
mov byte [rsp + 0x30], dil
lea rcx, [rsp + 0x140]
mov r9d, 0xac
mov r8, rdx
mov qword [rsp + 0x28], rdi
mov word [rax + 2], di
mov qword [rsp + 0x20], rdi
call fcn.14008b1b8
mov r11, qword [rsp + 0x140]
cmp qword [r11], rdi
jl 0x140027004
cmp qword [r11 + 8], rdi
jle 0x140027004
mov r9d, dword [r11 + 8]
mov r8d, dword [r11]
lea rdx, str._Harddisk_uPartition_u_
mov rcx, rbx
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0x140]
call fcn.1400591f8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rdx, [rsi + 6]
cdqe
lea rcx, [rbx + rax*2]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov qword [rsp + 0x148], rbx
jmp 0x140027011
lea rcx, [rsp + 0x140]
call fcn.1400591f8
mov rbp, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rbx, eax
lea ecx, [rbx + 0x9e]
movsxd rdx, ecx
cmp qword [r15 + 0x10], rdx
jge 0x14002704b
lea ecx, [rbx + 0x10008]
movsxd rdx, ecx
mov rcx, r15
mov qword [r15 + 0x10], rdx
call fcn.140061798
mov rax, qword [r15]
lea rcx, str.CONOUT_
mov word [rax], di
mov rdx, qword [rsp + 0x148]
call fcn.14005a868
mov sil, al
cmp al, dil
je 0x140027077
mov ecx, 0x102
call fcn.14005ea98
mov cl, byte [rsp + 0x40]
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], edi
neg cl
mov r9d, 7
mov r8d, 0x40000000
sbb edx, edx
mov rcx, r13
mov qword [rsp + 0xe0], rdi
and edx, 2
add edx, 2
mov dword [rsp + 0x28], edx
mov rdx, qword [rsp + 0x148]
mov qword [rsp + 0x20], rdi
call fcn.1400037fc
mov ecx, edi
cmp rax, rdi
mov al, byte [rsp + 0x48]
mov byte [r13 + 0x28], al
mov eax, 1
setne cl
cmp ecx, eax
jne 0x1400270da
mov dword [rsp + 0x50], edi
jmp 0x1400270f1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 1
cmp eax, edi
cmove eax, ecx
mov dword [rsp + 0x50], eax
mov rax, rcx
cmp qword [r13], rdi
je 0x140027130
add qword [0x140134cb8], rax
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0xd8], rax
cmp byte [rsp + 0x40], dil
je 0x140027130
mov rcx, qword [r13]
lea r8, [rsp + 0xe0]
mov r9d, 2
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
cmp sil, dil
mov esi, 1
jne 0x14002715a
cmp qword [rsp + 0xe0], rdi
jg 0x14002715a
mov rax, qword [r15]
mov ecx, 0xfeff
mov word [rax], cx
mov rax, qword [r15]
mov word [rax + 2], di
mov qword [r15 + 8], rsi
mov rcx, qword [r15 + 8]
mov rdx, qword [rsp + 0x88]
lea eax, [rbx + 1]
movsxd r8, eax
mov rax, qword [r15]
lea rcx, [rax + rcx*2]
add r8, r8
call fcn.14001d614
add qword [r15 + 8], rbx
cmp byte [rsp + 0x70], dil
je 0x1400271b4
test byte [r14 + 0x10], sil
je 0x1400271b4
mov rax, qword [rsp + 0x150]
mov rdx, qword [rsp + 0xb8]
xor r9d, r9d
xor r8d, r8d
mov rcx, r14
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rax
call fcn.140025c70
cmp qword [r13], rdi
je 0x140027223
test byte [0x1401356b6], 2
je 0x140027223
mov rcx, qword [r13]
call qword [sym.imp.KERNEL32.dll_GetLargestConsoleWindowSize]
mov dword [rsp + 0x140], eax
movzx ecx, word [rsp + 0x140]
cmp cx, 0x55
jl 0x1400271e6
add cx, 0xfffb
movzx eax, word [rsp + 0x142]
cmp ax, 0x1e
jl 0x1400271f8
add ax, 0xfffb
sub cx, si
sub ax, si
lea r8, [rsp + 0x60]
mov word [rsp + 0x64], cx
mov rcx, qword [r13]
mov edx, esi
mov word [rsp + 0x60], di
mov word [rsp + 0x62], di
mov word [rsp + 0x66], ax
call qword [sym.imp.KERNEL32.dll_SetConsoleWindowInfo]
mov rbx, qword [rsp + 0xd8]
cmp word [rbx], di
je 0x140027275
cmp byte [rsp + 0x158], dil
jne 0x140027275
lea rcx, [rsp + 0x88]
mov edx, 0x10e
call fcn.140061798
mov r8, qword [rsp + 0x88]
xor r9d, r9d
mov edx, 0x105
mov rcx, rbx
call fcn.1400625c4
mov rbx, qword [rsp + 0x88]
jmp 0x140027275
lea rbx, [0x1401155d8]
lea rdx, str.__LOGS
lea rcx, [0x1401350d0]
mov r8, rbx
call fcn.140060abc
mov eax, dword [rsp + 0x50]
cmp eax, edi
jne 0x140026ce9
jmp 0x14002729b
mov eax, edi
mov ebx, 1
mov cl, byte [rsp + 0x46]
cmp cl, dil
jl 0x1400272b4
and byte [r14 + 0x10], 0xfe
and cl, bl
or byte [r14 + 0x10], cl
mov cl, byte [rsp + 0x4d]
cmp cl, dil
jl 0x1400272c1
mov byte [r13 + 0x29], cl
mov cl, byte [rsp + 0x43]
and byte [r14 + 0x10], 0x81
and r12b, bl
and cl, bl
add r12b, r12b
or r12b, cl
mov cl, byte [rsp + 0x45]
and cl, bl
add r12b, r12b
or r12b, cl
mov cl, byte [rsp + 0x49]
and cl, bl
add r12b, r12b
or r12b, cl
mov cl, byte [rsp + 0x4a]
and cl, bl
add r12b, r12b
or r12b, cl
mov cl, byte [rsp + 0x47]
and cl, bl
add r12b, r12b
or r12b, cl
mov rcx, qword [rsp + 0x90]
add r12b, r12b
or byte [r14 + 0x10], r12b
cmp rcx, rdi
jle 0x140027322
mov qword [r13 + 0x20], rcx
jmp 0x140026ce9
cmp byte [rsp + 0x4c], dil
je 0x140026ce9
mov qword [r13 + 0x20], 0xfffffffffff80000
jmp 0x140026ce9