Function at 0x140011920
Capabilities:
Get disk information
Move file
Set file attributes

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov word [rsp + 0x10], dx
mov qword [rsp + 8], rcx
sub rsp, 0x188
mov byte [rsp + 0x146], 0x72
mov dword [rsp + 0x130], 0x17973f9
movsx eax, byte [rsp + 0x146]
add eax, 0x51
mov byte [rsp + 0x146], al
mov al, byte [rsp + 0x146]
mov byte [rsp + 0x168], al
cmp byte [rsp + 0x168], 0x45
je 0x14001197a
jmp 0x1400119ad
movzx eax, byte [rsp + 0x146]
mov byte [rsp + 0x20], al
mov r9, qword [rsp + 0x190]
mov r8, qword [rsp + 0x1b0]
movzx edx, byte [rsp + 0x146]
mov ecx, 0xb
call fcn.140011eb0
jmp 0x140011d72
mov eax, dword [rsp + 0x130]
mov dword [rsp + 0x16c], eax
cmp dword [rsp + 0x16c], 0x17973f9
je 0x1400119cd
jmp 0x140011d0c
mov eax, 0xde3
mov word [rsp + 0x4c], ax
movzx eax, word [0x14015d2c8]
mov word [rsp + 0x12c], ax
mov byte [rsp + 0x145], 0x1f
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x1b0]
movzx ecx, al
mov rdx, qword [rsp + 0x1a8]
shl rdx, cl
mov rax, qword [rsp + 0x1a0]
movzx ecx, al
mov rax, qword [rsp + 0x190]
sar rax, cl
cmp rdx, rax
jle 0x140011a73
lea rdx, [rsp + 0x60]
mov ecx, 0x4b
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [rsp + 0x38], eax
movzx eax, byte [rsp + 0x146]
mov byte [rsp + 0x20], al
mov r9, qword [rsp + 0x1a0]
mov r8, qword [rsp + 0x1a0]
movzx edx, byte [rsp + 0x146]
mov ecx, 0x40
call fcn.140011eb0
jmp 0x140011b68
mov al, byte [rsp + 0x146]
mov byte [rsp + 0x170], al
cmp byte [rsp + 0x170], 0x67
je 0x140011a9e
cmp byte [rsp + 0x170], 0x7d
je 0x140011b55
jmp 0x140011b68
mov rax, qword [rsp + 0x120]
movzx eax, word [rax]
mov dword [rsp + 0x174], eax
cmp dword [rsp + 0x174], 0xc9
je 0x140011acf
cmp dword [rsp + 0x174], 0x707
je 0x140011b36
jmp 0x140011b53
movzx ecx, word [rsp + 0x4c]
or ecx, 0x16a
mov rax, qword [rsp + 0x120]
mov word [rax], cx
mov rcx, qword [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov dword [rsp + 0x140], eax
mov eax, dword [rsp + 0x140]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x120]
movzx ecx, word [rax]
movzx eax, word [rsp + 0x4c]
sub ecx, eax
mov rax, qword [rsp + 0x120]
mov word [rax], cx
mov ecx, 0x58
call qword [sym.imp.KERNEL32.dll_AttachConsole]
mov dword [rsp + 0x15c], eax
jmp 0x140011b53
mov rax, qword [rsp + 0x120]
movzx ecx, word [rax]
movzx eax, word [rsp + 0x4c]
add ecx, eax
mov rax, qword [rsp + 0x120]
mov word [rax], cx
jmp 0x140011b68
mov eax, dword [rsp + 0x130]
and eax, 0x4bacd8cd
mov dword [rsp + 0x130], eax
lea rax, [rsp + 0x12c]
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
movsx edx, word [rax]
movsx eax, word [rsp + 0x12c]
add edx, eax
movsx eax, word [rsp + 0x198]
movsx ecx, word [0x14015d2c8]
sub eax, ecx
cmp edx, eax
jne 0x140011bba
mov edx, dword [rsp + 0x130]
mov ecx, dword [rsp + 0x130]
call fcn.140012120
jmp 0x140011ccf
mov rax, qword [rsp + 0x120]
movzx ecx, word [rax]
add ecx, 0x434
movzx eax, word [rsp + 0x4c]
cmp ecx, eax
je 0x140011ccf
movzx eax, word [rsp + 0x4c]
mov word [rsp + 0x150], ax
cmp dword [rsp + 0x130], 0xb202ed7
je 0x140011c0e
lea rax, [rsp + 0x198]
mov qword [rsp + 0x40], rax
movzx eax, byte [rsp + 0x146]
mov byte [rsp + 0x144], al
mov edx, 0xe9
mov ecx, 0xb9
call qword [sym.imp.KERNEL32.dll_IsValidLocale]
mov dword [rsp + 0x128], eax
movsx edx, word [rsp + 0x12c]
movsx eax, word [0x14015d2c8]
movzx ecx, al
mov eax, edx
shl eax, cl
mov ecx, eax
mov rax, qword [rsp + 0x138]
mov word [rax], cx
mov al, byte [rsp + 0x145]
mov byte [rsp + 0x178], al
cmp byte [rsp + 0x178], 0x5e
je 0x140011c6c
cmp byte [rsp + 0x178], 0xf2
je 0x140011c93
jmp 0x140011ccf
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x140], eax
movzx ecx, word [rsp + 0x150]
movzx eax, word [rsp + 0x4c]
xor ecx, eax
mov rax, qword [rsp + 0x120]
mov word [rax], cx
jmp 0x140011ccf
lea r8, [rsp + 0x138]
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetCurrentConsoleFont]
mov dword [rsp + 0x15c], eax
mov rax, qword [rsp + 0x120]
movzx ecx, word [rax]
movzx eax, word [rsp + 0x150]
or ecx, eax
mov rax, qword [rsp + 0x120]
mov word [rax], cx
call qword [sym.imp.KERNEL32.dll_GetOEMCP]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x138]
movsx ecx, word [rax]
movsx eax, word [rsp + 0x12c]
sub ecx, eax
mov rax, qword [rsp + 0x138]
mov word [rax], cx
movsx eax, byte [rsp + 0x146]
sar eax, 1
mov byte [rsp + 0x146], al
jmp 0x140011d60
movsx eax, byte [rsp + 0x146]
xor eax, 0x57
mov byte [rsp + 0x146], al
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x190]
mov r8, qword [rsp + 0x1a0]
movzx edx, word [0x14015d2c8]
mov rcx, qword [rsp + 0x1b0]
call fcn.140011920
movzx r11d, word [0x14015d2c8]
mov word [rsp + 0x198], r11w
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetNumaHighestNodeNumber]
mov dword [rsp + 0x128], eax
lea r8, [rsp + 0x146]
lea rdx, [rsp + 0x158]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
mov dword [rsp + 0x158], eax
mov edx, 0x65
mov rcx, qword [rsp + 0x1a0]
call fcn.140148d70
mov eax, dword [rsp + 0x130]
mov dword [rsp + 0x17c], eax
cmp dword [rsp + 0x17c], 0x38324d9c
je 0x140011dc6
jmp 0x140011e6b
movsx eax, byte [rsp + 0x146]
sub eax, 0x56
mov byte [rsp + 0x146], al
cmp dword [rsp + 0x130], 0x292fb501
jg 0x140011e41
mov edx, 0x70
mov rcx, qword [rsp + 0x148]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [rsp + 0x128], eax
movsx eax, byte [rsp + 0x146]
and eax, 0xf
mov byte [rsp + 0x146], al
movzx eax, byte [rsp + 0x146]
mov byte [rsp + 0x20], al
mov r9, qword [rsp + 0x190]
mov r8, qword [rsp + 0x1b0]
movzx edx, byte [rsp + 0x146]
mov ecx, 0x38
call fcn.140011eb0
jmp 0x140011e69
movsx eax, byte [rsp + 0x146]
cmp eax, 0x2d
jne 0x140011e69
lea rdx, str.burialUnsubduedunmanageably_barracks
lea rcx, str.intentionsinterregnumChucklingCommoner
call qword [sym.imp.KERNEL32.dll_MoveFileW]
mov dword [rsp + 0x154], eax
jmp 0x140011e8e
mov edx, dword [rsp + 0x130]
mov ecx, dword [rsp + 0x130]
call fcn.140012900
mov r11, qword [rsp + 0x1a0]
mov qword [rsp + 0x1b0], r11
movsx eax, word [0x14015d2c8]
add rsp, 0x188
ret