Function at 0x140095378
Capabilities:
Get common file path
Get disk information
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1180
call fcn.140119510
sub rsp, rax
lea rcx, [rsp + 0x11c8]
call fcn.14005aec8
lea rcx, [rsp + 0x98]
mov edx, 5
call fcn.140063314
lea rcx, [rsp + 0xe0]
mov edx, 0x14
call fcn.140063314
lea rcx, [rsp + 0xc0]
call fcn.1400632a0
mov rcx, qword [rsp + 0x11c8]
xor r13d, r13d
lea edx, [r13 + 0x2d]
mov dword [rsp + 0xf8], 2
mov rsi, r13
mov qword [rsp + 0xf0], r13
mov r15d, r13d
mov dword [rsp + 0x90], r13d
mov edi, r13d
mov dword [rsp + 0x11d8], r13d
mov dword [rsp + 0xa0], r13d
mov dword [rsp + 0xa8], r13d
mov dword [rsp + 0x94], r13d
mov dword [rsp + 0xd8], r13d
mov r14d, r13d
mov al, 0x2a
cmp dx, word [rcx]
jne 0x140095444
mov al, byte [rcx]
movsx ebp, al
movzx eax, word [rcx]
mov ebx, 0x20
lea r12d, [rbx - 0x1f]
mov dword [rsp + 0xb0], 0x200
cmp ebp, eax
jne 0x1400957c5
add rcx, 2
lea rdx, [rsp + 0x11c8]
mov r8d, 3
mov qword [rsp + 0x11c8], rcx
lea rcx, [0x140128068]
call fcn.14005af4c
cmp eax, r13d
je 0x1400954a1
mov r15d, r12d
mov dword [rsp + 0x90], r12d
jmp 0x140095779
lea rdx, [rsp + 0x11c8]
lea rcx, str.setvol
mov r8d, 6
call fcn.14005af4c
cmp eax, r13d
je 0x1400954d5
mov r15d, dword [rsp + 0xf8]
mov dword [rsp + 0x90], r15d
jmp 0x140095779
lea rdx, [rsp + 0x11c8]
lea rcx, str.idle
mov r8d, 4
call fcn.14005af4c
cmp eax, r13d
je 0x1400954fc
mov edi, r12d
jmp 0x140095779
lea rdx, [rsp + 0x11c8]
lea rcx, str.idlec
mov r8d, 5
call fcn.14005af4c
cmp eax, r13d
je 0x140095525
mov edi, 2
jmp 0x140095779
mov r11, qword [rsp + 0x11c8]
lea rcx, str.idlec:
mov r8d, 6
mov rdx, r11
call fcn.14005c4dc
cmp al, r13b
je 0x140095551
mov edi, 2
add r11, rdi
jmp 0x140095572
lea rcx, str.idle:
mov r8d, 5
mov rdx, r11
call fcn.14005c4dc
cmp al, r13b
je 0x1400955f3
mov edi, r12d
add r11, 0xa
mov qword [rsp + 0x11c8], r11
mov rsi, r11
movzx eax, word [r11]
cmp ax, r13w
je 0x1400955d4
mov ecx, 9
cmp cx, ax
ja 0x1400955a4
mov ecx, 0xd
cmp ax, cx
jbe 0x1400955c1
mov ecx, 9
cmp bx, ax
je 0x1400955c1
add r11, 2
mov qword [rsp + 0x11c8], r11
mov ax, word [r11]
cmp ax, r13w
je 0x1400955d4
jmp 0x140095590
cmp word [r11], r13w
je 0x1400955d4
mov word [r11], r13w
add qword [rsp + 0x11c8], 2
lea rcx, [rsp + 0x11c8]
call fcn.14005aec8
cmp word [rsi], r13w
jne 0x140095779
mov rsi, r13
jmp 0x140095779
lea rdx, [rsp + 0x11c8]
lea rcx, str.rsort
mov r8d, 5
call fcn.14005af4c
cmp eax, r13d
je 0x140095622
mov dword [rsp + 0xa0], 0xff
jmp 0x140095779
lea rdx, [rsp + 0x11c8]
lea rcx, str.sort
mov r8d, 4
call fcn.14005af4c
cmp eax, r13d
je 0x14009564e
mov dword [rsp + 0xa0], r12d
jmp 0x140095779
lea rdx, [rsp + 0x11c8]
lea rcx, [0x140128000]
mov r8d, 2
call fcn.14005af4c
cmp eax, r13d
je 0x14009567d
mov dword [rsp + 0xa8], 0x100
jmp 0x140095779
lea rdx, [rsp + 0x11c8]
lea rcx, [0x140127ff8]
mov r8d, 3
call fcn.14005af4c
cmp eax, r13d
je 0x1400956a9
mov dword [rsp + 0x94], r12d
jmp 0x140095779
lea rdx, [rsp + 0x11c8]
lea rcx, str.devs
mov r8d, 4
call fcn.14005af4c
cmp eax, r13d
je 0x1400956d8
mov dword [rsp + 0x94], 2
jmp 0x140095779
lea rdx, [rsp + 0x11c8]
lea rcx, str.link_
mov r8d, 5
call fcn.140065d7c
cmp al, r13b
je 0x140095701
mov dword [rsp + 0xd8], r12d
jmp 0x140095779
lea rdx, [rsp + 0x11c8]
lea rcx, [0x140127fd8]
mov r8d, r12d
call fcn.140065d7c
cmp al, r13b
je 0x140095725
mov r14d, 0x200
jmp 0x140095779
mov rcx, qword [rsp + 0x11c8]
movzx eax, word [rcx]
cmp ax, r13w
je 0x14009576c
mov edx, 9
lea r15d, [rdx + 4]
cmp dx, ax
ja 0x14009574a
cmp ax, r15w
jbe 0x140095764
cmp bx, ax
je 0x140095764
add rcx, 2
mov qword [rsp + 0x11c8], rcx
mov ax, word [rcx]
cmp ax, r13w
jne 0x14009573f
mov r15d, dword [rsp + 0x90]
lea rcx, [rsp + 0x11c8]
call fcn.14005aec8
mov rcx, qword [rsp + 0x11c8]
movzx eax, word [rcx]
cmp ebp, eax
je 0x140095466
mov dword [rsp + 0x11d8], edi
mov dword [rsp + 0x11d8], edi
mov dword [rsp + 0x11d8], edi
mov dword [rsp + 0x11d8], edi
mov qword [rsp + 0xf0], rsi
cmp r14d, r13d
je 0x1400957c5
cmp edi, r13d
je 0x1400957c5
mov rax, rsi
neg rax
sbb ecx, ecx
and r14d, ecx
mov esi, 0x3d
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x11c8]
mov r8d, esi
call fcn.140067288
mov rdi, qword [rsp + 0x11c0]
lea rdx, [rsp + 0x98]
mov rcx, rdi
xor r8d, r8d
call fcn.140003a44
mov rbx, qword [rsp + 0x11c8]
cmp si, word [rbx]
jne 0x14009582e
add rbx, 2
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x11c8]
xor r8d, r8d
mov qword [rsp + 0x11c8], rbx
call fcn.140067288
mov rax, qword [rsp + 0x98]
cmp word [rax], r13w
jne 0x14009586f
lea rcx, [rsp + 0xc0]
call fcn.14005aef8
lea rcx, [rsp + 0xe0]
call fcn.14005aef8
lea rcx, [rsp + 0x98]
call fcn.14005aef8
mov rax, 0xffffffff80070057
jmp 0x14009692a
lea rcx, [rsp + 0xf8]
call fcn.140062ca8
cmp dword [rax], r15d
jne 0x1400958f4
lea rcx, [rsp + 0x98]
mov edx, 2
call fcn.1400633a0
mov rax, qword [rsp + 0x98]
mov r12d, 0x3a
mov word [rax + 2], r12w
mov rcx, qword [rsp + 0x98]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_SetVolumeLabelW]
cmp eax, r13d
jne 0x1400958c5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r13d, eax
lea rcx, [rsp + 0xc0]
call fcn.14005aef8
lea rcx, [rsp + 0xe0]
call fcn.14005aef8
lea rcx, [rsp + 0x98]
call fcn.14005aef8
movsxd rax, r13d
jmp 0x14009692a
mov rcx, qword [rsp + 0xe0]
mov esi, 0x3f
cmp si, word [rcx]
jne 0x1400959e1
lea rcx, [rsp + 0x11d8]
mov edx, 0x400010
call fcn.140063314
mov rbx, qword [rsp + 0x11d8]
mov r8d, 0x1ffffe
lea rdi, [rbx + 0x400010]
xor ecx, ecx
mov rsi, rbx
mov qword [rdi], r13
mov rdx, rdi
mov qword [rbx], r13
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov ebp, eax
cmp rbp, r13
mov qword [rsp + 0x100], rbp
lea rcx, [rdi + rbp*2]
jle 0x1400959a5
cmp rdi, rcx
jae 0x1400959a5
mov ebx, 0xd
lea ebp, [rbx - 3]
jmp 0x140095972
mov word [rsi], ax
add rsi, 2
add rdi, 2
movzx eax, word [rdi]
cmp ax, r13w
jne 0x140095967
add rdi, 2
cmp word [rdi], r13w
je 0x140095995
mov word [rsi], bx
mov word [rsi + 2], bp
add rsi, 4
cmp rdi, rcx
jb 0x140095972
mov rbx, qword [rsp + 0x11d8]
mov rbp, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x11c0]
mov word [rsi], r13w
mov rdx, qword [rsp + 0x98]
mov r8, rbx
call fcn.140062600
cmp rbp, r13
jg 0x1400959cf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r13d, eax
lea rcx, [rsp + 0x11d8]
call fcn.14005aef8
jmp 0x1400958c5
call fcn.14001be60
mov rbx, rax
cmp dword [rsp + 0xd8], r13d
je 0x140095c1e
cmp word [rax], r13w
je 0x140095a65
mov r12d, 0x3a
cmp word [rax + 2], r13w
je 0x140095a18
cmp word [rax + 2], r12w
jne 0x140095a65
cmp word [rax + 4], r13w
jne 0x140095a65
mov r14d, 0x5c
mov word [rsp + 0xca], si
mov word [rsp + 0xcc], si
mov word [rsp + 0xc8], r14w
mov word [rsp + 0xce], r14w
movzx eax, word [rax]
mov word [rsp + 0xd2], r12w
mov word [rsp + 0xd4], r13w
lea rbx, [rsp + 0xc8]
mov word [rsp + 0xd0], ax
mov rax, qword [rsp + 0x98]
lea rcx, [rsp + 0xa8]
mov qword [rsp + 0x11c8], rax
call fcn.1400632a0
lea rcx, [rsp + 0xb8]
call fcn.1400632a0
lea rcx, [rsp + 0x11d8]
call fcn.1400632a0
xor r9d, r9d
lea rdx, [rsp + 0xa8]
lea esi, [r9 + 0x2c]
lea rcx, [rsp + 0x11c8]
mov r8d, esi
call fcn.1400546a8
lea rdx, [rsp + 0xb8]
lea rcx, [rsp + 0x11c8]
xor r9d, r9d
mov r8d, esi
call fcn.1400546a8
lea rdx, [rsp + 0x11d8]
lea rcx, [rsp + 0x11c8]
xor r9d, r9d
mov r8d, esi
call fcn.1400546a8
mov rax, qword [rsp + 0x11d8]
mov qword [rsp + 0xd8], r13
mov qword [rsp + 0xb0], r13
mov qword [rsp + 0xe8], r13
movzx ecx, word [rax]
neg cx
lea rax, [rsp + 0xe8]
sbb r9, r9
and r9, rax
mov rax, qword [rsp + 0xb8]
movzx ecx, word [rax]
lea rax, [rsp + 0xb0]
neg cx
sbb r8, r8
and r8, rax
mov rax, qword [rsp + 0xa8]
movzx ecx, word [rax]
lea rax, [rsp + 0xd8]
neg cx
mov rcx, rbx
sbb rdx, rdx
and rdx, rax
call fcn.14001d914
mov rdx, qword [rsp + 0xa8]
mov rbx, rax
cmp word [rdx], r13w
je 0x140095b86
mov r8, qword [rsp + 0xd8]
mov rcx, rdi
call fcn.140062600
mov rdx, qword [rsp + 0xb8]
cmp word [rdx], r13w
je 0x140095ba4
mov r8, qword [rsp + 0xb0]
mov rcx, rdi
call fcn.140062600
mov rdx, qword [rsp + 0x11d8]
cmp word [rdx], r13w
je 0x140095bc2
mov r8, qword [rsp + 0xe8]
mov rcx, rdi
call fcn.140062600
cmp rbx, r13
je 0x140095bd0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r13d, eax
lea rcx, [rsp + 0xe8]
call fcn.14005aef8
lea rcx, [rsp + 0xb0]
call fcn.14005aef8
lea rcx, [rsp + 0xd8]
call fcn.14005aef8
lea rcx, [rsp + 0x11d8]
call fcn.14005aef8
lea rcx, [rsp + 0xb8]
call fcn.14005aef8
lea rcx, [rsp + 0xa8]
jmp 0x1400959d7
mov rcx, rax
call fcn.14006a964
lea rcx, [rsp + 0xb8]
mov edx, 0x517
mov rbp, rax
call fcn.140063314
mov rdi, qword [rsp + 0xb8]
lea r15, [rdi + 0x412]
cmp dword [rsp + 0x94], r13d
je 0x140095d78
mov r14d, 0x517
mov rdx, rdi
mov rcx, rbp
mov r8d, r14d
mov word [rdi], r13w
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
cmp dword [rsp + 0x94], 2
mov r8, rdi
mov ebp, eax
jl 0x140095d48
mov rbx, rdi
mov rsi, r13
mov qword [rsp + 0x11c8], rbx
cmp word [rdi], r13w
je 0x140095d48
movzx eax, word [rbx]
add rbx, 2
mov qword [rsp + 0x11c8], rbx
cmp ax, r13w
jne 0x140095c9c
add rsi, r12
cmp word [rbx], r13w
jne 0x140095c9c
cmp rsi, r12
jle 0x140095d48
sub rbx, rdi
sar rbx, 1
lea rdx, [rbx + rsi]
cmp rdx, r14
jle 0x140095ce6
lea rcx, [rsp + 0xb8]
add rdx, 2
call fcn.1400633a0
mov r8, rax
lea rcx, [r8 + rbx*2 - 4]
mov qword [rsp + 0x11c8], rcx
lea rdx, [rcx + rsi*2]
mov word [rdx], r13w
jmp 0x140095d3b
cmp rdx, rcx
jbe 0x140095d26
movzx eax, word [rcx]
mov word [rdx], ax
mov rcx, qword [rsp + 0x11c8]
sub rdx, 2
sub rcx, 2
mov qword [rsp + 0x11c8], rcx
cmp ax, r13w
jne 0x140095cfd
mov eax, 0xd
mov word [rdx], ax
mov eax, 0xa
sub rdx, 2
mov word [rdx + 4], ax
mov rcx, qword [rsp + 0x11c8]
cmp rdx, rcx
ja 0x140095d02
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x11c0]
call fcn.140062600
cmp ebp, r13d
jne 0x140095d6b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r13d, eax
lea rcx, [rsp + 0xb8]
jmp 0x1400959d7
test byte [rsp + 0x90], r12b
je 0x14009678f
mov qword [rdi], r13
mov qword [r15], r13
movzx eax, word [rbp]
mov r12d, 0x3a
lea r14d, [r12 + 0x22]
cmp ax, r13w
je 0x140095de1
cmp word [rbp + 2], r13w
je 0x140095db6
cmp word [rbp + 2], r12w
jne 0x140095de1
cmp word [rbp + 4], r13w
jne 0x140095de1
lea rbp, [rsp + 0xc8]
mov word [rsp + 0xc8], ax
mov word [rsp + 0xca], r12w
mov word [rsp + 0xcc], r14w
mov word [rsp + 0xce], r13w
lea rdx, str._HarddiskVolume
mov r8d, 0xc
mov rcx, rbp
mov qword [rsp + 0xe8], r13
mov dword [rsp + 0x94], r13d
mov dword [rsp + 0xa0], r13d
mov dword [rsp + 0x11d8], 1
call qword [sym.imp.SHLWAPI.dll_StrCmpNIW]
cmp eax, r13d
je 0x140095e88
mov dword [rsp + 0x38], 0x104
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x94]
lea r9, [rsp + 0xe8]
mov r8d, 0x208
mov rdx, rdi
mov rcx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
cmp eax, r13d
je 0x140095e72
mov dword [rsp + 0x11d8], r13d
jmp 0x140095f85
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x11d8], eax
cmp eax, r13d
je 0x140095f85
lea r9, [0x14013cfd0]
lea r8, [0x14013d358]
lea rdx, str.Kernel32.DLL
lea rcx, str.GetVolumeInformationByHandleW
mov qword [r15], r13
mov dword [rsp + 0xa0], r13d
mov dword [rsp + 0x94], r13d
mov qword [rsp + 0xe8], r13
call fcn.14005c57c
cmp qword [0x14013d358], r13
je 0x140095f85
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x30], r13d
lea rcx, [rsp + 0x11d8]
mov r9d, 7
mov r8d, 0x80000000
mov rdx, rbx
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x11d8], r13
mov qword [rsp + 0x20], r13
call fcn.140003888
mov rbx, qword [rsp + 0x11d8]
mov dword [rsp + 0x38], 0x104
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x30], r15
lea r9, [rsp + 0xe8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x94]
mov r8d, 0x208
mov rdx, rdi
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [0x14013d358]
cmp eax, r13d
je 0x140095f64
mov dword [rsp + 0x11d8], r13d
jmp 0x140095f71
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x11d8], eax
cmp rbx, r13
je 0x140095f85
cmp rbx, 0xffffffffffffffff
je 0x140095f85
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x98]
lea rcx, [rsp + 0xf0]
mov qword [rsp + 0x11c8], rax
call fcn.1400632a0
lea rcx, [rsp + 0x118]
call fcn.1400632a0
lea rcx, [rsp + 0x120]
call fcn.1400632a0
lea rcx, [rsp + 0x110]
call fcn.1400632a0
lea rcx, [rsp + 0x108]
call fcn.1400632a0
lea rcx, [rsp + 0x128]
call fcn.1400632a0
mov esi, 0x2c
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x11c8]
mov r8d, esi
call fcn.140067288
mov r11, qword [rsp + 0x11c8]
cmp word [r11], r13w
je 0x140096106
add r11, 2
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x11c8]
mov r8d, esi
mov qword [rsp + 0x11c8], r11
call fcn.140067288
mov r11, qword [rsp + 0x11c8]
cmp word [r11], r13w
je 0x140096106
add r11, 2
lea rdx, [rsp + 0x118]
lea rcx, [rsp + 0x11c8]
mov r8d, esi
mov qword [rsp + 0x11c8], r11
call fcn.140067288
mov r11, qword [rsp + 0x11c8]
cmp word [r11], r13w
je 0x140096106
add r11, 2
lea rdx, [rsp + 0x120]
lea rcx, [rsp + 0x11c8]
mov r8d, esi
mov qword [rsp + 0x11c8], r11
call fcn.140067288
mov r11, qword [rsp + 0x11c8]
cmp word [r11], r13w
je 0x140096106
add r11, 2
lea rdx, [rsp + 0x108]
lea rcx, [rsp + 0x11c8]
mov r8d, esi
mov qword [rsp + 0x11c8], r11
call fcn.140067288
mov r11, qword [rsp + 0x11c8]
cmp word [r11], r13w
je 0x140096106
add r11, 2
lea rdx, [rsp + 0x128]
lea rcx, [rsp + 0x11c8]
mov r8d, esi
mov qword [rsp + 0x11c8], r11
call fcn.140067288
mov rsi, qword [rsp + 0x128]
cmp word [rsi], r13w
je 0x14009667f
lea rax, str._02X_02X__02X_02X
lea rdx, [rdi + 0x412]
lea rcx, [0x140123740]
or r15d, 0xffffffff
mov dword [rsp + 0x90], 1
mov dword [rsp + 0xd8], r13d
mov qword [rsp + 0xa8], rax
mov word [rsp + 0x130], r13w
mov qword [rsp + 0x17c], r13
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
cmp eax, r13d
je 0x1400962db
lea rdx, [rdi + 0x412]
lea rcx, str.FAT16
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
cmp eax, r13d
je 0x1400962db
lea rdx, [rdi + 0x412]
lea rcx, str.FAT32
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
cmp eax, r13d
jne 0x1400961ad
mov r15d, 0x43
jmp 0x1400962e1
lea rdx, [rdi + 0x412]
lea rcx, str.ExFAT
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, r13d
jne 0x1400961d1
mov r15d, 0x64
jmp 0x1400962e1
lea rdx, [rdi + 0x412]
lea rcx, [0x140123710]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
cmp eax, r13d
jne 0x140096204
mov r15d, 0x48
mov dword [rsp + 0x90], 2
lea rbx, str._02X_02X_02X_02X_02X_02X_02X_02X
jmp 0x140096250
lea rdx, [rdi + 0x412]
lea rcx, str.EXT2
mov r8d, 3
call qword [sym.imp.SHLWAPI.dll_StrCmpNIW]
cmp eax, r13d
jne 0x14009625d
movzx eax, word [rdi + 0x418]
mov ecx, 9
sub ax, 0x30
cmp ax, cx
ja 0x14009625d
mov r15d, 0x468
mov dword [rsp + 0x90], 3
lea rbx, str._02x_02x_02x_02x__02x_02x__02x_02x__02x_02x__02x_02x_02x_02x_02x_02x
mov qword [rsp + 0xa8], rbx
jmp 0x1400962e1
lea rdx, [rdi + 0x412]
lea rcx, str.CDFS
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
cmp eax, r13d
je 0x1400962ae
lea rdx, [rdi + 0x412]
lea rcx, [0x140127e50]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
cmp eax, r13d
je 0x1400962ae
lea rdx, [rdi + 0x412]
lea rcx, str.ISO9600
mov r8d, 3
call qword [sym.imp.SHLWAPI.dll_StrCmpNIW]
cmp eax, r13d
jne 0x1400962e1
lea rax, str._02x_02x__02x__02x__02x__02x__02x__02x
mov dword [rsp + 0xb0], 0x800
mov r15d, 0x833e
mov qword [rsp + 0xa8], rax
mov dword [rsp + 0x90], 4
jmp 0x1400962e1
mov r15d, 0x27
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, 1
sub eax, edx
cmp eax, r13d
jle 0x140096363
movsxd rcx, eax
cmp r14w, word [rbp + rcx*2]
jne 0x140096309
mov word [rbp + rcx*2], r13w
sub eax, edx
cmp eax, r13d
jle 0x140096363
cmp r12w, word [rbp + 2]
jne 0x140096363
movzx eax, word [rbp]
mov ecx, 0x2e
lea rbp, [rsp + 0xc8]
mov word [rsp + 0xce], r14w
mov word [rsp + 0xca], r14w
mov word [rsp + 0xc8], r14w
mov word [rsp + 0xd0], ax
mov word [rsp + 0xcc], cx
mov word [rsp + 0xd2], r12w
mov word [rsp + 0xd4], r13w
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x30], 0x80
lea rcx, [rsp + 0x100]
mov r9d, 7
mov r8d, 0x80000000
mov rdx, rbp
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x100], r13
mov qword [rsp + 0x20], r13
call fcn.140003888
mov ebp, dword [rsp + 0xb0]
mov rbx, qword [rsp + 0x100]
cmp r15d, ebp
jl 0x1400963cc
mov eax, r15d
xor r8d, r8d
mov rcx, rbx
cdq
idiv ebp
imul eax, ebp
movsxd rdx, eax
call fcn.14005c3c8
lea r9, [rsp + 0xd8]
lea rdx, [rsp + 0x17c]
mov r8d, ebp
mov rcx, rbx
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_ReadFile]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [rsp + 0xd8], r13d
je 0x14009664c
mov r12d, dword [rsp + 0x90]
mov eax, r15d
cdq
idiv ebp
movsxd rax, edx
lea r9, [rsp + rax + 0x17c]
mov qword [rsp + 0xb0], r9
cmp r12d, 4
jne 0x14009646b
lea r8, [rsp + 0x168]
lea rcx, [rsp + 0x168]
xor edx, edx
mov qword [rsp + 0xb0], r8
lea r8d, [r12 + 4]
mov rbp, r9
mov byte [r9 + 0x10], r13b
call fcn.140101f00
lea rdx, [rsp + 0x168]
mov rcx, rbp
call fcn.14006aa48
lea r9, [rsp + 0x168]
cmp r12d, 1
jg 0x1400964af
movzx ecx, byte [r9 + 1]
movzx eax, byte [r9]
mov r8, qword [rsp + 0xb0]
movzx r8d, byte [r8 + 3]
movzx r9d, byte [r9 + 2]
mov rdx, qword [rsp + 0xa8]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
lea rcx, [rsp + 0x130]
call qword [sym.imp.USER32.dll_wsprintfW]
jmp 0x14009664c
cmp r12d, 2
jne 0x140096519
movzx ecx, byte [r9 + 1]
movzx edx, byte [r9 + 2]
movzx eax, byte [r9]
movzx r10d, byte [r9 + 3]
movzx r11d, byte [r9 + 4]
movzx ebp, byte [r9 + 5]
mov r8, qword [rsp + 0xb0]
movzx r9d, byte [r9 + 6]
mov dword [rsp + 0x48], eax
movzx r8d, byte [r8 + 7]
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x38], edx
mov rdx, qword [rsp + 0xa8]
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], r11d
lea rcx, [rsp + 0x130]
mov dword [rsp + 0x20], ebp
call qword [sym.imp.USER32.dll_wsprintfW]
jmp 0x14009664c
cmp r12d, 3
jne 0x1400965dd
movzx eax, byte [r9 + 0xf]
movzx ecx, byte [r9 + 0xe]
movzx edx, byte [r9 + 0xd]
movzx r10d, byte [r9 + 0xc]
movzx r11d, byte [r9 + 0xb]
movzx ebp, byte [r9 + 0xa]
movzx r12d, byte [r9 + 9]
movzx r13d, byte [r9 + 8]
movzx r14d, byte [r9 + 7]
movzx r15d, byte [r9 + 6]
mov r8, qword [rsp + 0xb0]
movzx r9d, byte [r9 + 1]
movzx r8d, byte [r8]
mov dword [rsp + 0x88], eax
mov dword [rsp + 0x80], ecx
mov rcx, qword [rsp + 0xb0]
mov dword [rsp + 0x78], edx
mov rdx, qword [rsp + 0xa8]
movzx eax, byte [rcx + 5]
mov dword [rsp + 0x70], r10d
mov dword [rsp + 0x68], r11d
mov dword [rsp + 0x60], ebp
mov dword [rsp + 0x58], r12d
mov dword [rsp + 0x50], r13d
mov dword [rsp + 0x48], r14d
mov dword [rsp + 0x40], r15d
mov dword [rsp + 0x38], eax
movzx eax, byte [rcx + 4]
mov dword [rsp + 0x30], eax
movzx eax, byte [rcx + 3]
mov dword [rsp + 0x28], eax
movzx eax, byte [rcx + 2]
lea rcx, [rsp + 0x130]
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_wsprintfW]
xor r13d, r13d
jmp 0x14009664c
cmp r12d, 4
jne 0x14009664c
movzx ecx, byte [r9 + 7]
movzx edx, byte [r9 + 6]
movzx eax, byte [r9 + 8]
movzx r10d, byte [r9 + 5]
movzx r11d, byte [r9 + 4]
movzx ebp, byte [r9 + 3]
movzx r12d, byte [r9 + 2]
mov r8, qword [rsp + 0xb0]
movzx r9d, byte [r9 + 1]
movzx r8d, byte [r8]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x48], ecx
mov dword [rsp + 0x40], edx
mov rdx, qword [rsp + 0xa8]
mov dword [rsp + 0x38], r10d
mov dword [rsp + 0x30], r11d
lea rcx, [rsp + 0x130]
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], r12d
call qword [sym.imp.USER32.dll_wsprintfW]
mov rcx, qword [rsp + 0x11c0]
lea r8, [rsp + 0x130]
mov rdx, rsi
call fcn.140062600
cmp rbx, r13
je 0x140096678
cmp rbx, 0xffffffffffffffff
je 0x140096678
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r15, [rdi + 0x412]
mov rbx, qword [rsp + 0x11c0]
mov rdx, qword [rsp + 0xf0]
mov r8, rdi
mov rcx, rbx
call fcn.140062600
mov r8, qword [rsp + 0x118]
mov edx, dword [rsp + 0xe8]
lea r9, str._08lX
mov rcx, rbx
call fcn.140066600
mov r8, qword [rsp + 0x120]
mov edx, dword [rsp + 0x94]
mov rcx, rbx
call fcn.140066648
mov r8, qword [rsp + 0x108]
mov edx, dword [rsp + 0xa0]
lea r9, str.0x_lX
mov rcx, rbx
call fcn.140066600
mov rdx, qword [rsp + 0x110]
mov r8, r15
mov rcx, rbx
call fcn.140062600
lea rcx, [rsp + 0x128]
call fcn.14005aef8
lea rcx, [rsp + 0x108]
call fcn.14005aef8
lea rcx, [rsp + 0x110]
call fcn.14005aef8
lea rcx, [rsp + 0x120]
call fcn.14005aef8
lea rcx, [rsp + 0x118]
call fcn.14005aef8
lea rcx, [rsp + 0xf0]
call fcn.14005aef8
lea rcx, [rsp + 0xb8]
call fcn.14005aef8
lea rcx, [rsp + 0xc0]
call fcn.14005aef8
lea rcx, [rsp + 0xe0]
call fcn.14005aef8
lea rcx, [rsp + 0x98]
call fcn.14005aef8
movsxd rax, dword [rsp + 0x11d8]
jmp 0x14009692a
mov qword [rsp + 0x11c8], rbp
cmp word [rbp], r13w
jne 0x1400967a2
mov al, 0x7c
jmp 0x1400967d2
lea rcx, [0x140127dec]
mov rdx, rbp
call fcn.14005c518
cmp al, r13b
jne 0x1400967cd
lea rcx, [0x1401215fc]
mov rdx, rbp
call fcn.14005c518
cmp al, r13b
je 0x140096818
mov r12b, r13b
mov eax, 0x20
or r14d, dword [rsp + 0xa8]
mov r9d, dword [rsp + 0x11d8]
movsx edx, al
mov rax, qword [rsp + 0xf0]
or r14d, dword [rsp + 0xa0]
lea rcx, [rsp + 0xc0]
mov qword [rsp + 0x28], rax
movsx r8d, r12b
mov dword [rsp + 0x20], r14d
call fcn.140078414
mov rbp, rax
jmp 0x1400968dc
mov r12d, 0x3a
cmp word [rbp + 2], r12w
je 0x1400968d7
lea rdx, [rdi + 0x61c]
mov ecx, 0x208
mov word [rdi + 0x61c], r13w
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov rax, qword [rsp + 0x11c8]
lea r14d, [r12 + 0x22]
cmp r14w, word [rax]
jne 0x1400968ab
cmp r14w, word [rax + 2]
jne 0x1400968ab
mov ecx, esi
cmp cx, word [rax + 4]
jne 0x1400968ab
cmp r14w, word [rax + 6]
jne 0x1400968ab
mov rbp, rax
add rax, 8
mov qword [rsp + 0x11c8], rax
movzx ecx, word [rax]
cmp cx, r13w
je 0x1400968dc
cmp r14w, cx
je 0x14009689f
add rax, 2
mov qword [rsp + 0x11c8], rax
mov cx, word [rax]
cmp cx, r13w
jne 0x140096884
cmp word [rax], r13w
je 0x1400968dc
mov word [rax], r13w
jmp 0x1400968dc
lea rcx, [rsp + 0xc0]
mov edx, 5
call fcn.1400633a0
mov rbp, qword [rsp + 0xc0]
movzx r11d, word [rdi + 0x61c]
mov word [rbp], r11w
mov word [rbp + 2], r12w
mov word [rbp + 4], r13w
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x11c0]
mov r8, rbp
call fcn.140062600
lea rcx, [rsp + 0xb8]
call fcn.14005aef8
lea rcx, [rsp + 0xc0]
call fcn.14005aef8
lea rcx, [rsp + 0xe0]
call fcn.14005aef8
lea rcx, [rsp + 0x98]
call fcn.14005aef8
xor eax, eax
mov rbx, qword [rsp + 0x11d0]
add rsp, 0x1180
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret