Function at 0x140026aa8
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa8
mov r12, rcx
lea rcx, [0x14010ce50]
mov rbx, r8
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test byte [r12 + 0x11], 2
je 0x140026af4
lea rcx, [0x14010ce50]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x140027abb
mov rax, qword [rsp + 0xf8]
lea rcx, [rsp + 0xf8]
add rax, 0xfffffffffffffff8
mov qword [rsp + 0x88], rax
call fcn.140014c28
xor edi, edi
lea r15d, [rdi + 1]
mov byte [rsp + 0x45], dil
mov bpl, dil
mov sil, dil
mov byte [rsp + 0x49], r15b
test byte [r12 + 0x10], r15b
je 0x140026b43
mov byte [rsp + 0x108], r15b
cmp qword [0x14010bd58], rdi
jne 0x140026b4b
mov byte [rsp + 0x108], dil
mov byte [rsp + 0x41], dil
mov byte [rsp + 0xf0], dil
mov byte [rsp + 0x4a], dil
mov byte [rsp + 0x48], dil
mov qword [rsp + 0x80], 0xfffffffffff80000
cmp rbx, 0xffffffffffffffff
jne 0x140026b95
mov rax, qword [0x140109230]
lea rbx, [0x1400ee4c4]
mov bpl, 2
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x100], rbx
test r15b, bl
je 0x140026bb3
and rbx, 0xfffffffffffffffe
mov byte [rsp + 0x108], dil
mov byte [rsp + 0x49], dil
mov qword [rsp + 0x100], rbx
mov rax, qword [rsp + 0xf8]
lea rcx, [rsp + 0x68]
mov dword [rsp + 0x60], edi
cmp word [rax], di
mov byte [rsp + 0x50], dil
mov r14b, dil
setne al
mov dword [rsp + 0x54], edi
mov dword [rsp + 0x78], eax
call fcn.140057154
mov cl, byte [r12 + 0x10]
mov r13b, byte [r12 + 0x10]
mov al, cl
mov qword [rsp + 0x90], rdi
and al, r15b
shr r13b, 6
mov byte [rsp + 0x43], 0xff
mov byte [rsp + 0x4c], al
mov al, cl
shr cl, 2
shr al, 1
and cl, r15b
and r13b, r15b
and al, r15b
mov byte [rsp + 0x47], cl
lea rcx, [0x14010ce50]
mov byte [rsp + 0x44], al
mov al, byte [r12 + 0x10]
mov byte [rsp + 0x4b], 0xff
shr al, 3
mov dword [rsp + 0x70], edi
and al, r15b
mov byte [rsp + 0x46], al
mov al, byte [r12 + 0x10]
shr al, 4
and al, r15b
mov byte [rsp + 0x42], al
mov al, byte [r12 + 0x10]
shr al, 5
and al, r15b
mov r15d, edi
mov byte [rsp + 0x40], al
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rsp + 0xf8]
mov ebx, 0x2a
lea ecx, [rbx + 3]
cmp cx, word [rax]
jne 0x140026dca
mov ebx, ecx
jmp 0x140026dca
cmp word [rax + 2], bx
jne 0x140026dd3
mov ecx, 1
add rax, 4
add dword [rsp + 0x70], ecx
mov dword [rsp + 0x60], ecx
mov r8d, ecx
lea rcx, [0x1400f23c4]
mov rdx, rax
mov qword [rsp + 0xf8], rax
call fcn.140050a6c
mov rdx, qword [rsp + 0xf8]
cmp al, dil
je 0x140026cff
mov eax, 0x2d
cmp word [rdx + 2], ax
jne 0x140026cda
mov al, dil
mov byte [rsp + 0x42], al
jmp 0x14002708d
movzx ecx, byte [r12 + 0x11]
movsx eax, byte [0x14010be3b]
mov r8d, 1
shr ecx, 1
and ecx, r8d
or ecx, eax
jne 0x14002708d
mov al, r8b
jmp 0x140026cd1
lea rcx, str.lock:
mov r8d, 5
call fcn.140050a6c
cmp al, dil
je 0x140026e36
add qword [rsp + 0xf8], 0xa
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0xf8]
inc sil
mov qword [rsp + 0x58], rdi
call fcn.1400a901c
mov r11, qword [0x140109230]
mov eax, 1
cmp r11, rdi
jle 0x140026e08
cmp bpl, al
je 0x140026e08
cmp sil, al
jne 0x140026d77
cmp r11, qword [rsp + 0x58]
jne 0x140026d77
mov rdx, qword [rsp + 0x58]
mov bpl, al
mov qword [rsp + 0x80], rdx
mov rcx, qword [rsp + 0xf8]
movzx eax, word [rcx]
cmp ax, di
je 0x140026db5
mov edx, 0x20
lea r8d, [rdx - 0x17]
cmp r8w, ax
ja 0x140026d9c
cmp ax, 0xd
jbe 0x140026db5
cmp dx, ax
je 0x140026db5
add rcx, 2
mov qword [rsp + 0xf8], rcx
mov ax, word [rcx]
cmp ax, di
jne 0x140026d90
lea rcx, [rsp + 0xf8]
call fcn.140014c28
mov rax, qword [rsp + 0xf8]
cmp word [rax], bx
je 0x140026c81
lea rcx, [0x14010ce50]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rsp + 0xf8]
cmp dword [rsp + 0x60], edi
je 0x1400271d7
cmp word [rcx], di
jne 0x1400271d7
mov esi, 1
mov bl, sil
jmp 0x1400271df
mov rdx, qword [rsp + 0x58]
cmp rdx, rdi
mov qword [rsp + 0x80], rdx
jg 0x140026d77
mov byte [rsp + 0x45], al
mov rax, 0xfffffffffff80000
mov qword [rsp + 0x80], rax
jmp 0x140026d77
mov rdx, qword [rsp + 0xf8]
lea rcx, [0x1400f23b8]
mov r8d, 3
call fcn.140050a6c
mov rdx, qword [rsp + 0xf8]
cmp al, dil
je 0x140026e9b
cmp word [rdx + 6], 0x31
jb 0x140026e93
cmp word [rdx + 6], 0x39
ja 0x140026e93
movzx ecx, byte [r12 + 0x11]
movsx eax, byte [0x14010be3b]
mov r8d, 1
shr ecx, 1
and ecx, r8d
or ecx, eax
jne 0x14002708d
mov r13b, r8b
jmp 0x14002708d
mov r13b, dil
jmp 0x14002708d
lea rcx, [0x1400f23b4]
mov r8d, 1
call fcn.140050a6c
mov rdx, qword [rsp + 0xf8]
cmp al, dil
je 0x140026ecd
mov eax, 0x2d
cmp word [rdx + 2], ax
setne byte [rsp + 0x47]
jmp 0x14002708d
lea rcx, [0x1400f23b0]
mov r8d, 2
call fcn.140050a6c
mov rdx, qword [rsp + 0xf8]
cmp al, dil
je 0x140026eff
mov eax, 0x2d
cmp word [rdx + 4], ax
setne byte [rsp + 0x46]
jmp 0x14002708d
lea rcx, [0x1400f23ac]
mov r8d, 2
call fcn.140050a6c
mov rdx, qword [rsp + 0xf8]
cmp al, dil
je 0x140026f4c
cmp word [rdx + 4], 0x31
jb 0x140026f40
cmp word [rdx + 4], 0x39
ja 0x140026f40
cmp byte [0x14010be3b], dil
jne 0x14002708d
mov eax, 1
jmp 0x140026f43
mov al, dil
mov byte [rsp + 0x40], al
jmp 0x14002708d
lea rcx, str.RAW
mov r8d, 4
call fcn.140050a6c
mov rdx, qword [rsp + 0xf8]
cmp al, dil
je 0x140026f99
cmp word [rdx + 8], 0x31
jb 0x140026f8d
cmp word [rdx + 8], 0x39
ja 0x140026f8d
cmp byte [0x14010be3b], dil
jne 0x14002708d
mov eax, 1
jmp 0x140026f90
mov al, dil
mov byte [rsp + 0x44], al
jmp 0x14002708d
lea rcx, [0x1400f23a0]
mov r8d, 3
call fcn.140050a6c
cmp al, dil
je 0x140026fda
mov rdx, qword [rsp + 0xf8]
cmp word [rdx + 6], 0x31
jb 0x140026fcb
cmp word [rdx + 6], 0x39
mov eax, 3
jbe 0x140026fcd
mov eax, edi
mov dword [rsp + 0x50], eax
mov byte [rsp + 0x4b], al
jmp 0x14002708d
lea rdx, [rsp + 0xf8]
lea rcx, [0x1400f239c]
mov r8d, 2
call fcn.14005992c
cmp al, dil
je 0x140027000
mov eax, 1
jmp 0x140027027
lea rdx, [rsp + 0xf8]
lea rcx, [0x1400f2398]
mov r8d, 3
call fcn.14005992c
cmp al, dil
je 0x140027030
mov eax, 1
mov r14b, al
mov byte [rsp + 0x50], al
jmp 0x140026dc2
mov rdx, qword [rsp + 0xf8]
lea rcx, [0x1400f2394]
mov r8d, 3
call fcn.140050a6c
cmp al, dil
je 0x1400270d4
mov rdx, qword [rsp + 0xf8]
mov r8d, 1
add r15d, r8d
cmp word [rdx + 6], 0x31
jb 0x140027080
cmp word [rdx + 6], 0x39
ja 0x140027080
cmp byte [0x14010be3b], dil
jne 0x14002708d
mov al, r8b
jmp 0x140027089
and byte [r12 + 0x10], 0xfe
mov al, dil
mov byte [rsp + 0x43], al
movzx eax, word [rdx]
cmp ax, di
je 0x140026db5
mov ecx, 0x20
lea r8d, [rcx - 0x17]
cmp r8w, ax
ja 0x1400270b2
cmp ax, 0xd
jbe 0x140026db5
cmp cx, ax
je 0x140026db5
add rdx, 2
mov qword [rsp + 0xf8], rdx
mov ax, word [rdx]
cmp ax, di
jne 0x1400270a2
jmp 0x140026db5
lea rdx, [rsp + 0xf8]
lea rcx, [0x1400f2390]
mov r8d, 1
call fcn.14005992c
cmp al, dil
je 0x1400270fd
mov byte [rsp + 0x41], 1
jmp 0x140026dc2
lea rdx, [rsp + 0xf8]
lea rcx, [0x1400f238c]
mov r8d, 3
call fcn.14005992c
cmp al, dil
je 0x140027129
mov byte [rsp + 0xf0], 1
jmp 0x140026dc2
lea rdx, [rsp + 0xf8]
lea rcx, str.vol
mov r8d, 4
call fcn.14005992c
cmp al, dil
je 0x140027155
mov byte [rsp + 0xf0], 3
jmp 0x140026dc2
lea rdx, [rsp + 0xf8]
lea rcx, str.part
mov r8d, 4
call fcn.14005992c
cmp al, dil
je 0x140027181
mov byte [rsp + 0xf0], 2
jmp 0x140026dc2
lea rdx, [rsp + 0xf8]
lea rcx, [0x1400f2378]
mov r8d, 3
call fcn.14005992c
cmp al, dil
je 0x1400271aa
mov byte [rsp + 0x4a], 1
jmp 0x140026dc2
lea rdx, [rsp + 0xf8]
lea rcx, str.abak
mov r8d, 4
call fcn.14005992c
cmp al, dil
je 0x140026d77
mov byte [rsp + 0x48], 1
jmp 0x140026dc2
mov bl, dil
mov esi, 1
mov eax, 0x2a
cmp ax, word [rcx]
jne 0x140027224
add rcx, 2
mov byte [rsp + 0x50], sil
mov qword [rsp + 0xf8], rcx
cmp word [rcx], 0x3f
jne 0x14002720f
add rcx, 2
mov r14b, sil
mov qword [rsp + 0xf8], rcx
lea rcx, [rsp + 0xf8]
call fcn.140014c28
mov rcx, qword [rsp + 0xf8]
call fcn.140018fa4
mov qword [rsp + 0xf8], rax
cmp byte [rsp + 0x50], dil
je 0x140027242
cmp r14b, dil
jne 0x140027242
cmp word [rax], di
je 0x14002724a
mov sil, dil
cmp word [rax], di
jne 0x140027255
cmp dword [rsp + 0x60], edi
jne 0x140027255
cmp sil, dil
jne 0x1400272c8
cmp qword [0x140109230], rdi
jle 0x1400272c8
cmp bpl, dil
jg 0x1400272c8
cmp word [rax], di
jne 0x140027280
mov al, byte [r12 + 0x10]
and al, 1
cmp byte [rsp + 0x4c], al
jne 0x140027280
cmp dword [rsp + 0x70], r15d
je 0x140027a94
mov rdx, qword [rsp + 0x88]
xor r9d, r9d
mov rcx, r12
lea ebx, [r9 + 5]
mov qword [rsp + 0x20], rdi
mov r8, rbx
call fcn.1400266c0
lea rcx, [0x14010ce50]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov cl, 1
call fcn.140015ddc
lea rcx, [0x14010ce50]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rdi, rbx
jmp 0x140027a94
cmp bl, dil
jne 0x1400279db
cmp byte [r12 + 0xd8], dil
je 0x1400272eb
cmp word [rax], di
je 0x1400272eb
mov r15d, 1
mov bl, r15b
jmp 0x1400272f4
mov bl, dil
mov r15d, 1
mov ebp, dword [rsp + 0x78]
cmp bpl, dil
je 0x140027326
test byte [r12 + 0x10], r15b
je 0x140027326
cmp byte [rsp + 0x49], dil
je 0x140027326
mov rdx, qword [rsp + 0x88]
xor r9d, r9d
xor r8d, r8d
mov rcx, r12
mov qword [rsp + 0x20], rdi
call fcn.1400266c0
cmp bl, dil
je 0x14002743b
lea rcx, [rsp + 0x70]
mov byte [r12 + 0xd8], dil
call fcn.140057154
lea rdx, str._CurFile_
lea rcx, [rsp + 0x78]
call fcn.14006160c
mov rdx, qword [rsp + 0x78]
lea r8, [rsp + 0x70]
xor r9d, r9d
mov rcx, r12
mov byte [rsp + 0x20], r15b
call fcn.140069518
lea rcx, [rsp + 0x78]
call fcn.14004f564
lea rdx, str.ENTER:
lea rcx, [rsp + 0x58]
call fcn.14006160c
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x58]
call fcn.140057290
movsxd rbx, dword [0x14010bed0]
test byte [r12 + 0x10], r15b
je 0x1400273c9
mov r14, qword [rsp + 0x100]
mov rdx, qword [rsp + 0x58]
mov r9d, 0x11
xor r8d, r8d
mov rcx, r12
mov qword [rsp + 0x20], r14
call fcn.1400266c0
jmp 0x1400273eb
cmp qword [0x14010bec8], rdi
jne 0x1400273e3
lea rcx, [0x14010bec8]
mov edx, 0x10000
call fcn.140057254
mov r14, qword [rsp + 0x100]
mov rax, qword [0x14010bec8]
lea rcx, [rsp + 0x68]
lea rdx, [rax + rbx*2]
call fcn.14006168c
mov rax, qword [0x14010bec8]
cmp byte [rsp + 0x108], dil
mov qword [0x14010bed0], rbx
movzx ebp, bpl
lea rcx, [rsp + 0x58]
cmovne ebp, edi
mov word [rax + rbx*2], di
mov dword [rsp + 0x78], ebp
call fcn.14004f564
lea rcx, [rsp + 0x70]
call fcn.14004f564
jmp 0x140027443
mov r14, qword [rsp + 0x100]
mov cl, r15b
call fcn.140015ddc
cmp sil, dil
je 0x140027461
mov edx, edi
cmp dword [rsp + 0x60], edi
jne 0x1400279e3
jmp 0x140027a91
mov al, byte [0x14010be54]
or al, byte [rsp + 0x4a]
je 0x140027537
mov r9d, r15d
lea r15, [0x1400ee4c4]
lea rdx, [0x1400ef734]
mov rcx, r12
mov r8, r15
mov qword [rsp + 0x20], rdi
call fcn.14001b1c8
cmp rax, rdi
je 0x14002753e
cmp qword [rax], rdi
je 0x14002753e
lea rcx, [rax + 0x10]
mov edx, 0x30
call fcn.140015f78
mov r11, rax
cmp rax, rdi
je 0x14002753e
mov rcx, rax
call fcn.140015fc8
lea rbx, [rcx + 0x20]
lea r8, [0x14010bee0]
mov qword [rbx], rdi
mov cl, byte [0x140116002]
mov qword [rbx], rdi
mov byte [r11 + 9], cl
mov cl, byte [0x14010be3b]
lea rdx, str.__LOGS
mov byte [r11 + 0xa], cl
mov cl, byte [0x14010be54]
or r9d, 0xffffffff
mov byte [r11 + 8], cl
mov rax, qword [0x140109230]
mov rcx, r12
mov qword [r11 + 0x10], rax
mov rax, qword [0x14010bd58]
mov qword [r11 + 0x18], rax
mov qword [0x14010bd58], rdi
call fcn.14001b2ac
cmp rax, rdi
je 0x14002753e
mov rdx, qword [rax]
mov rcx, rbx
call fcn.140061724
jmp 0x14002753e
lea r15, [0x1400ee4c4]
mov rcx, qword [0x14010bd58]
cmp rcx, rdi
je 0x140027550
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0xf8]
mov rax, 0xfffffffffff80000
mov qword [0x14010bd58], rdi
mov qword [0x14010bed0], rdi
mov qword [0x140109230], rax
mov byte [0x14010be54], dil
cmp word [rcx], di
je 0x1400279b7
cmp byte [rsp + 0x50], dil
mov al, byte [0x140116002]
mov bpl, byte [rsp + 0xf0]
setne dl
and al, 0xfe
or dl, al
mov byte [0x140116002], dl
cmp bpl, dil
je 0x140027758
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, [rsp + 0x90]
lea ebp, [rax + 0x108]
lea eax, [rbp + rbp]
movsxd rdx, eax
call fcn.140057254
mov rbx, qword [rsp + 0x90]
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 + 0xf8]
mov r8, rsi
call fcn.140057f84
movzx r11d, word [rsi]
cmp r11w, di
je 0x140027750
mov eax, 0x3a
cmp ax, word [rsi + 2]
jne 0x140027750
mov word [rsp + 0x10a], ax
mov eax, 0x5c
mov word [rsp + 0x108], r11w
mov word [rsp + 0x10c], ax
mov eax, 1
mov word [rsp + 0x10e], di
mov qword [rsp + 0xf8], rsi
test byte [rsp + 0xf0], al
je 0x140027674
lea rcx, [rsp + 0x108]
mov r8d, ebp
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
cmp eax, edi
je 0x140027674
cmp word [rbx], di
jne 0x140027716
mov bpl, byte [rsp + 0xf0]
test bpl, 2
je 0x140027758
lea rcx, [rsp + 0xf0]
mov edx, 0x1e0
call fcn.1400571c8
mov rax, qword [rsp + 0xf0]
movzx r11d, word [rsi]
mov word [rax], r11w
mov rax, qword [rsp + 0xf0]
or r8d, 0xffffffff
mov byte [rsp + 0x30], dil
lea rcx, [rsp + 0xf0]
mov r9d, 0xac
or edx, r8d
mov qword [rsp + 0x28], rdi
mov word [rax + 2], di
mov qword [rsp + 0x20], rdi
call fcn.140075178
mov r11, qword [rsp + 0xf0]
cmp qword [r11], rdi
jl 0x140027741
cmp qword [r11 + 8], rdi
jle 0x140027741
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 + 0xf0]
call fcn.14004f564
jmp 0x14002771e
mov bpl, byte [rsp + 0xf0]
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 + 0xf8], rbx
jmp 0x140027758
lea rcx, [rsp + 0xf0]
call fcn.14004f564
jmp 0x140027758
mov bpl, byte [rsp + 0xf0]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rbx, eax
lea edx, [rbx + 0x9e]
movsxd r8, edx
cmp qword [0x14010bed8], r8
jge 0x140027794
lea edx, [rbx + 0x10008]
lea rcx, [0x14010bec8]
movsxd rdx, edx
mov qword [0x14010bed8], rdx
call fcn.140057254
mov rax, qword [0x14010bec8]
lea rcx, str.CONOUT_
mov word [rax], di
mov rdx, qword [rsp + 0xf8]
call fcn.140050aa8
mov sil, al
cmp al, dil
je 0x1400277c4
mov ecx, 0x102
call fcn.140054a7c
mov cl, byte [rsp + 0x41]
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], edi
neg cl
lea rcx, [0x14010bd58]
mov r9d, 7
sbb edx, edx
mov r8d, 0x40000000
mov qword [rsp + 0x58], rdi
and edx, 2
add edx, 2
mov dword [rsp + 0x28], edx
mov rdx, qword [rsp + 0xf8]
mov qword [rsp + 0x20], rdi
call fcn.140003590
mov ecx, edi
cmp rax, rdi
mov al, byte [rsp + 0x48]
mov byte [0x14010be54], al
mov eax, 1
setne cl
cmp ecx, eax
jne 0x14002782a
mov dword [rsp + 0x54], edi
jmp 0x14002783e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 1
cmp eax, edi
cmove eax, ecx
mov dword [rsp + 0x54], eax
mov rcx, qword [0x14010bd58]
cmp rcx, rdi
je 0x14002786d
mov r15, qword [rsp + 0xf8]
cmp byte [rsp + 0x41], dil
je 0x14002786d
lea r8, [rsp + 0x58]
mov r9d, 2
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
cmp sil, dil
jne 0x1400278a4
cmp qword [rsp + 0x58], rdi
jg 0x1400278a4
mov rax, qword [0x14010bec8]
mov ecx, 0xfeff
mov esi, 1
mov word [rax], cx
mov rax, qword [0x14010bec8]
mov rcx, rsi
mov word [rax + 2], di
mov qword [0x14010bed0], rcx
jmp 0x1400278b0
mov rcx, qword [0x14010bed0]
mov esi, 1
mov rdx, qword [rsp + 0x68]
lea eax, [rbx + 1]
movsxd r8, eax
mov rax, qword [0x14010bec8]
lea rcx, [rax + rcx*2]
add r8, r8
call fcn.14001a9b0
mov eax, dword [rsp + 0x78]
add qword [0x14010bed0], rbx
cmp al, dil
je 0x140027900
test byte [r12 + 0x10], sil
je 0x140027900
mov rdx, qword [rsp + 0x88]
xor r9d, r9d
xor r8d, r8d
mov rcx, r12
mov qword [rsp + 0x20], r14
call fcn.1400266c0
mov rcx, qword [0x14010bd58]
cmp rcx, rdi
je 0x140027983
test byte [0x14010c464], 2
je 0x140027983
call qword [sym.imp.KERNEL32.dll_GetLargestConsoleWindowSize]
mov dword [rsp + 0xf0], eax
movzx ecx, word [rsp + 0xf0]
cmp cx, 0x55
jl 0x140027934
add cx, 0xfffb
movzx eax, word [rsp + 0xf2]
cmp ax, 0x1e
jl 0x140027946
add ax, 0xfffb
sub cx, si
sub ax, si
lea r8, [rsp + 0x108]
mov word [rsp + 0x10c], cx
mov rcx, qword [0x14010bd58]
mov edx, esi
mov word [rsp + 0x108], di
mov word [rsp + 0x10a], di
mov word [rsp + 0x10e], ax
call qword [sym.imp.KERNEL32.dll_SetConsoleWindowInfo]
cmp word [r15], di
je 0x1400279b7
cmp bpl, dil
jne 0x1400279b7
lea rcx, [rsp + 0x68]
mov edx, 0x10e
call fcn.140057254
mov r8, qword [rsp + 0x68]
xor r9d, r9d
mov edx, 0x105
mov rcx, r15
call fcn.140057f84
mov r15, qword [rsp + 0x68]
lea rdx, str.__LOGS
lea rcx, [0x14010bee0]
mov r8, r15
call fcn.140056790
mov edx, dword [rsp + 0x54]
cmp edx, edi
jne 0x140027a91
jmp 0x1400279dd
mov edx, edi
mov r15d, 1
mov al, byte [rsp + 0x43]
cmp al, dil
jl 0x1400279fa
and byte [r12 + 0x10], 0xfe
and al, r15b
or byte [r12 + 0x10], al
movzx ecx, byte [0x140116002]
movzx r8d, byte [rsp + 0x4b]
mov al, byte [rsp + 0x40]
cmp r8b, dil
cmovge ecx, r8d
and r13b, r15b
and al, r15b
add r13b, r13b
mov byte [0x140116002], cl
and byte [r12 + 0x10], 0x81
or r13b, al
mov al, byte [rsp + 0x42]
and al, r15b
add r13b, r13b
or r13b, al
mov al, byte [rsp + 0x46]
and al, r15b
add r13b, r13b
or r13b, al
mov al, byte [rsp + 0x47]
and al, r15b
add r13b, r13b
or r13b, al
mov al, byte [rsp + 0x44]
and al, r15b
add r13b, r13b
or r13b, al
mov rax, qword [rsp + 0x80]
add r13b, r13b
or byte [r12 + 0x10], r13b
cmp rax, rdi
jg 0x140027a8a
mov rax, qword [0x140109230]
cmp byte [rsp + 0x45], dil
mov rcx, 0xfffffffffff80000
cmovne rax, rcx
mov qword [0x140109230], rax
movsxd rdi, edx
lea rcx, [rsp + 0x90]
call fcn.14004f564
lea rcx, [rsp + 0x68]
call fcn.14004f564
lea rcx, [0x14010ce50]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, rdi
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret