Function at 0x1400885b4
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.1400f6fb0
sub rsp, rax
mov rbp, rcx
lea rcx, [rsp + 0x11c8]
call fcn.140052130
lea rcx, [rsp + 0x90]
mov edx, 5
call fcn.14005a1c4
lea rcx, [rsp + 0xe0]
mov edx, 0x14
call fcn.14005a1c4
lea rcx, [rsp + 0xb8]
call fcn.14005a150
mov rcx, qword [rsp + 0x11c8]
xor r13d, r13d
lea edx, [r13 + 0x2d]
mov dword [rsp + 0xf0], 2
mov edi, r13d
mov dword [rsp + 0x98], r13d
mov dword [rsp + 0x9c], r13d
mov dword [rsp + 0xd0], r13d
mov r14d, r13d
mov dword [rsp + 0x11d8], r13d
mov esi, r13d
mov al, 0x2a
cmp dx, word [rcx]
jne 0x140088668
mov al, byte [rcx]
movsx ebx, al
movzx eax, word [rcx]
mov r15d, 1
lea r12d, [r15 + 0x1f]
cmp ebx, eax
jne 0x14008887e
lea ebp, [r15 + 0xc]
add rcx, 2
lea rdx, [rsp + 0x11c8]
mov r8d, 3
mov qword [rsp + 0x11c8], rcx
lea rcx, [0x1401043b0]
call fcn.1400521b4
cmp eax, r13d
je 0x1400886b7
mov edi, r15d
jmp 0x140088855
lea rdx, [rsp + 0x11c8]
lea rcx, [0x1401043a0]
mov r8d, 6
call fcn.1400521b4
cmp eax, r13d
je 0x1400886e2
mov edi, dword [rsp + 0xf0]
jmp 0x140088855
lea rdx, [rsp + 0x11c8]
lea rcx, [0x140104390]
mov r8d, 4
call fcn.1400521b4
cmp eax, r13d
je 0x14008870e
mov dword [rsp + 0x9c], r15d
jmp 0x140088855
lea rdx, [rsp + 0x11c8]
lea rcx, [0x140104380]
mov r8d, 5
call fcn.1400521b4
cmp eax, r13d
je 0x14008873d
mov dword [rsp + 0x9c], 2
jmp 0x140088855
lea rdx, [rsp + 0x11c8]
lea rcx, [0x140104370]
mov r8d, 5
call fcn.1400521b4
cmp eax, r13d
je 0x140088769
mov dword [rsp + 0xd0], r15d
jmp 0x140088855
lea rdx, [rsp + 0x11c8]
lea rcx, [0x140104368]
mov r8d, 2
call fcn.1400521b4
cmp eax, r13d
je 0x140088793
mov r14d, 0x100
jmp 0x140088855
lea rdx, [rsp + 0x11c8]
lea rcx, [0x140104360]
mov r8d, 3
call fcn.1400521b4
cmp eax, r13d
je 0x1400887bf
mov dword [rsp + 0x11d8], r15d
jmp 0x140088855
lea rdx, [rsp + 0x11c8]
lea rcx, [0x140104350]
mov r8d, 4
call fcn.1400521b4
cmp eax, r13d
je 0x1400887eb
mov dword [rsp + 0x11d8], 2
jmp 0x140088855
lea rdx, [rsp + 0x11c8]
lea rcx, [0x140104348]
or r8d, 0xffffffff
call fcn.14005c928
cmp al, r13b
je 0x14008880d
mov esi, r15d
jmp 0x140088855
mov rcx, qword [rsp + 0x11c8]
movzx eax, word [rcx]
cmp ax, r13w
je 0x140088848
mov edx, 9
cmp dx, ax
ja 0x14008882d
cmp ax, bp
jbe 0x140088848
cmp r12w, ax
je 0x140088848
add rcx, 2
mov qword [rsp + 0x11c8], rcx
mov ax, word [rcx]
cmp ax, r13w
jne 0x140088823
lea rcx, [rsp + 0x11c8]
call fcn.140052130
mov rcx, qword [rsp + 0x11c8]
movzx eax, word [rcx]
cmp ebx, eax
je 0x140088684
mov rbp, qword [rsp + 0x11c0]
mov dword [rsp + 0x98], edi
mov dword [rsp + 0x98], edi
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x11c8]
mov r8d, 0x3d
call fcn.14005dc90
lea rdx, [rsp + 0x90]
xor r8d, r8d
mov rcx, rbp
call fcn.14000397c
mov rbx, qword [rsp + 0x11c8]
mov eax, 0x3d
cmp ax, word [rbx]
jne 0x1400888e2
add rbx, 2
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x11c8]
xor r8d, r8d
mov qword [rsp + 0x11c8], rbx
call fcn.14005dc90
mov rax, qword [rsp + 0x90]
cmp word [rax], r13w
jne 0x140088923
lea rcx, [rsp + 0xb8]
call fcn.140052160
lea rcx, [rsp + 0xe0]
call fcn.140052160
lea rcx, [rsp + 0x90]
call fcn.140052160
mov rax, 0xffffffff80070057
jmp 0x1400899ba
lea rcx, [rsp + 0xf0]
call fcn.140059b58
cmp dword [rax], edi
jne 0x1400889a7
lea rcx, [rsp + 0x90]
mov edx, 2
call fcn.14005a250
mov rax, qword [rsp + 0x90]
mov r12d, 0x3a
mov word [rax + 2], r12w
mov rcx, qword [rsp + 0x90]
mov rdx, rbx
call qword [sym.imp.KERNEL32.DLL_SetVolumeLabelW]
cmp eax, r13d
jne 0x140088978
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov r13d, eax
lea rcx, [rsp + 0xb8]
call fcn.140052160
lea rcx, [rsp + 0xe0]
call fcn.140052160
lea rcx, [rsp + 0x90]
call fcn.140052160
movsxd rax, r13d
jmp 0x1400899ba
mov rcx, qword [rsp + 0xe0]
mov edi, 0x3f
cmp di, word [rcx]
jne 0x140088a8a
lea rcx, [rsp + 0x11d8]
mov edx, 0x400010
call fcn.14005a1c4
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]
movsxd rbp, eax
cmp ebp, r13d
mov rcx, rbp
lea rax, [rdi + rbp*2]
jle 0x140088a4e
cmp rdi, rax
jae 0x140088a4e
mov ebx, 0xd
lea r9d, [rbx - 3]
jmp 0x140088a22
mov word [rsi], cx
add rsi, 2
add rdi, 2
movzx ecx, word [rdi]
cmp cx, r13w
jne 0x140088a17
add rdi, 2
cmp word [rdi], r13w
je 0x140088a46
mov word [rsi], bx
mov word [rsi + 2], r9w
add rsi, 4
cmp rdi, rax
jb 0x140088a22
mov rbx, qword [rsp + 0x11d8]
mov rcx, qword [rsp + 0x11c0]
mov word [rsi], r13w
mov rdx, qword [rsp + 0x90]
mov r8, rbx
call fcn.1400596c4
cmp ebp, r13d
jg 0x140088a78
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov r13d, eax
lea rcx, [rsp + 0x11d8]
call fcn.140052160
jmp 0x140088978
call fcn.140019d38
mov rbx, rax
cmp esi, r13d
je 0x140088cba
cmp word [rax], r13w
je 0x140088b09
mov r12d, 0x3a
cmp word [rax + 2], r13w
je 0x140088abc
cmp word [rax + 2], r12w
jne 0x140088b09
cmp word [rax + 4], r13w
jne 0x140088b09
mov r14d, 0x5c
mov word [rsp + 0xc2], di
mov word [rsp + 0xc4], di
mov word [rsp + 0xc0], r14w
mov word [rsp + 0xc6], r14w
movzx eax, word [rax]
mov word [rsp + 0xca], r12w
mov word [rsp + 0xcc], r13w
lea rbx, [rsp + 0xc0]
mov word [rsp + 0xc8], ax
mov rax, qword [rsp + 0x90]
lea rcx, [rsp + 0xa0]
mov qword [rsp + 0x11c8], rax
call fcn.14005a150
lea rcx, [rsp + 0xb0]
call fcn.14005a150
lea rcx, [rsp + 0x11d8]
call fcn.14005a150
xor r9d, r9d
lea rdx, [rsp + 0xa0]
lea esi, [r9 + 0x2c]
lea rcx, [rsp + 0x11c8]
mov r8d, esi
call fcn.14004bc74
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x11c8]
xor r9d, r9d
mov r8d, esi
call fcn.14004bc74
lea rdx, [rsp + 0x11d8]
lea rcx, [rsp + 0x11c8]
xor r9d, r9d
mov r8d, esi
call fcn.14004bc74
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xd0], r13
mov qword [rsp + 0xa8], r13
mov qword [rsp + 0xe8], r13
movzx edx, word [rax]
mov rax, qword [rsp + 0x11d8]
movzx ecx, word [rax]
lea rax, [rsp + 0xe8]
neg cx
mov rcx, rbx
sbb r9, r9
and r9, rax
movzx eax, dx
neg ax
lea rax, [rsp + 0xa8]
sbb r8, r8
and r8, rax
neg dx
lea rax, [rsp + 0xd0]
sbb rdx, rdx
and rdx, rax
call fcn.14001b8e4
mov rdx, qword [rsp + 0xa0]
mov rbx, rax
cmp word [rdx], r13w
je 0x140088c22
mov r8, qword [rsp + 0xd0]
mov rcx, rbp
call fcn.1400596c4
mov rdx, qword [rsp + 0xb0]
cmp word [rdx], r13w
je 0x140088c40
mov r8, qword [rsp + 0xa8]
mov rcx, rbp
call fcn.1400596c4
mov rdx, qword [rsp + 0x11d8]
cmp word [rdx], r13w
je 0x140088c5e
mov r8, qword [rsp + 0xe8]
mov rcx, rbp
call fcn.1400596c4
cmp rbx, r13
je 0x140088c6c
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov r13d, eax
lea rcx, [rsp + 0xe8]
call fcn.140052160
lea rcx, [rsp + 0xa8]
call fcn.140052160
lea rcx, [rsp + 0xd0]
call fcn.140052160
lea rcx, [rsp + 0x11d8]
call fcn.140052160
lea rcx, [rsp + 0xb0]
call fcn.140052160
lea rcx, [rsp + 0xa0]
jmp 0x140088a80
mov rcx, rax
call fcn.14006061c
lea rcx, [rsp + 0xb0]
mov edx, 0x517
mov rbp, rax
call fcn.14005a1c4
mov rdi, qword [rsp + 0xb0]
lea rsi, [rdi + 0x412]
cmp dword [rsp + 0x11d8], r13d
je 0x140088e21
mov r12d, 0x517
mov rdx, rdi
mov rcx, rbp
mov r8d, r12d
mov word [rdi], r13w
call qword [sym.imp.KERNEL32.DLL_QueryDosDeviceW]
cmp dword [rsp + 0x11d8], 2
mov r8, rdi
mov ebp, eax
jl 0x140088df1
mov rbx, rdi
mov rsi, r13
mov qword [rsp + 0x11c8], rbx
cmp word [rdi], r13w
je 0x140088df1
movzx eax, word [rbx]
add rbx, 2
mov qword [rsp + 0x11c8], rbx
cmp ax, r13w
jne 0x140088d38
add rsi, r15
cmp word [rbx], r13w
jne 0x140088d38
cmp rsi, r15
jle 0x140088df1
sub rbx, rdi
sar rbx, 1
lea rdx, [rbx + rsi]
cmp rdx, r12
jle 0x140088d82
lea rcx, [rsp + 0xb0]
add rdx, 2
call fcn.14005a250
mov r8, rax
lea rcx, [r8 + rbx*2 - 4]
mov qword [rsp + 0x11c8], rcx
lea rdx, [rcx + rsi*2]
mov word [rdx], r13w
mov rcx, qword [rsp + 0x11c8]
cmp rdx, rcx
jbe 0x140088df1
mov r9d, 0xa
cmp rdx, rcx
jbe 0x140088dd3
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 0x140088daa
mov word [rdx + 2], r9w
mov eax, 0xd
mov word [rdx], ax
mov rcx, qword [rsp + 0x11c8]
sub rdx, 2
cmp rdx, rcx
ja 0x140088daf
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x11c0]
call fcn.1400596c4
cmp ebp, r13d
jne 0x140088e14
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov r13d, eax
lea rcx, [rsp + 0xb0]
jmp 0x140088a80
test byte [rsp + 0x98], r15b
je 0x140089834
mov qword [rdi], r13
mov qword [rsi], r13
movzx eax, word [rbp]
mov r12d, 0x3a
lea r14d, [r12 + 0x22]
cmp ax, r13w
je 0x140088e8a
cmp word [rbp + 2], r13w
je 0x140088e5f
cmp word [rbp + 2], r12w
jne 0x140088e8a
cmp word [rbp + 4], r13w
jne 0x140088e8a
lea rbp, [rsp + 0xc0]
mov word [rsp + 0xc0], ax
mov word [rsp + 0xc2], r12w
mov word [rsp + 0xc4], r14w
mov word [rsp + 0xc6], r13w
lea rdx, [0x140104320]
mov r8d, 0xc
mov rcx, rbp
mov qword [rsp + 0xe8], r13
mov dword [rsp + 0x9c], r13d
mov dword [rsp + 0x98], r13d
mov dword [rsp + 0x11d8], r15d
call qword [sym.imp.SHLWAPI.DLL_StrCmpNIW]
cmp eax, r13d
je 0x140088f2e
mov dword [rsp + 0x38], 0x104
lea rax, [rsp + 0x98]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x9c]
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 0x140088f18
mov dword [rsp + 0x11d8], r13d
jmp 0x140089027
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [rsp + 0x11d8], eax
cmp eax, r13d
je 0x140089027
lea r8, [0x1401181c0]
lea rdx, [0x1401034f8]
lea rcx, [0x140104300]
xor r9d, r9d
mov qword [rsi], r13
mov dword [rsp + 0x98], r13d
mov dword [rsp + 0x9c], r13d
mov qword [rsp + 0xe8], r13
call fcn.1400536e0
cmp qword [0x1401181c0], r13
je 0x140089027
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.1400037e4
mov rbx, qword [rsp + 0x11d8]
mov dword [rsp + 0x38], 0x104
lea rax, [rsp + 0x98]
mov qword [rsp + 0x30], rsi
lea r9, [rsp + 0xe8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x9c]
mov r8d, 0x208
mov rdx, rdi
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [0x1401181c0]
cmp eax, r13d
je 0x140089006
mov dword [rsp + 0x11d8], r13d
jmp 0x140089013
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [rsp + 0x11d8], eax
cmp rbx, r13
je 0x140089027
cmp rbx, 0xffffffffffffffff
je 0x140089027
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov rax, qword [rsp + 0x90]
lea rcx, [rsp + 0x100]
mov qword [rsp + 0x11c8], rax
call fcn.14005a150
lea rcx, [rsp + 0x120]
call fcn.14005a150
lea rcx, [rsp + 0x110]
call fcn.14005a150
lea rcx, [rsp + 0x108]
call fcn.14005a150
lea rcx, [rsp + 0xf8]
call fcn.14005a150
lea rcx, [rsp + 0x118]
call fcn.14005a150
mov esi, 0x2c
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x11c8]
mov r8d, esi
call fcn.14005dc90
mov r11, qword [rsp + 0x11c8]
cmp word [r11], r13w
je 0x1400891a8
add r11, 2
lea rdx, [rsp + 0x108]
lea rcx, [rsp + 0x11c8]
mov r8d, esi
mov qword [rsp + 0x11c8], r11
call fcn.14005dc90
mov r11, qword [rsp + 0x11c8]
cmp word [r11], r13w
je 0x1400891a8
add r11, 2
lea rdx, [rsp + 0x120]
lea rcx, [rsp + 0x11c8]
mov r8d, esi
mov qword [rsp + 0x11c8], r11
call fcn.14005dc90
mov r11, qword [rsp + 0x11c8]
cmp word [r11], r13w
je 0x1400891a8
add r11, 2
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x11c8]
mov r8d, esi
mov qword [rsp + 0x11c8], r11
call fcn.14005dc90
mov r11, qword [rsp + 0x11c8]
cmp word [r11], r13w
je 0x1400891a8
add r11, 2
lea rdx, [rsp + 0xf8]
lea rcx, [rsp + 0x11c8]
mov r8d, esi
mov qword [rsp + 0x11c8], r11
call fcn.14005dc90
mov r11, qword [rsp + 0x11c8]
cmp word [r11], r13w
je 0x1400891a8
add r11, 2
lea rdx, [rsp + 0x118]
lea rcx, [rsp + 0x11c8]
mov r8d, esi
mov qword [rsp + 0x11c8], r11
call fcn.14005dc90
mov rsi, qword [rsp + 0x118]
cmp word [rsi], r13w
je 0x140089720
mov eax, 0x200
or r15d, 0xffffffff
lea rdx, [rdi + 0x412]
mov dword [rsp + 0xa0], eax
lea rax, [0x1401042d8]
lea ebx, [r15 + 2]
lea rcx, [0x1400ffca0]
mov dword [rsp + 0xd0], r13d
mov word [rsp + 0x130], r13w
mov dword [rsp + 0xd8], ebx
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0x17c], r13
call qword [sym.imp.KERNEL32.DLL_lstrcmpW]
cmp eax, r13d
je 0x140089383
lea rdx, [rdi + 0x412]
lea rcx, [0x1401042c8]
call qword [sym.imp.KERNEL32.DLL_lstrcmpW]
cmp eax, r13d
je 0x140089383
lea rdx, [rdi + 0x412]
lea rcx, [0x1400ffc90]
call qword [sym.imp.KERNEL32.DLL_lstrcmpW]
cmp eax, r13d
jne 0x140089259
lea r15d, [rbx + 0x42]
jmp 0x140089389
lea rdx, [rdi + 0x412]
lea rcx, [0x1401042b8]
call qword [sym.imp.KERNEL32.DLL_lstrcmpiW]
cmp eax, r13d
jne 0x14008927d
mov r15d, 0x64
jmp 0x140089389
lea rdx, [rdi + 0x412]
lea rcx, [0x1400ffc70]
call qword [sym.imp.KERNEL32.DLL_lstrcmpW]
cmp eax, r13d
jne 0x1400892b0
mov r15d, 0x48
mov dword [rsp + 0xd8], 2
lea rax, [0x140104270]
jmp 0x1400892fc
lea rdx, [rdi + 0x412]
lea rcx, [0x140104260]
mov r8d, 3
call qword [sym.imp.SHLWAPI.DLL_StrCmpNIW]
cmp eax, r13d
jne 0x140089309
movzx eax, word [rdi + 0x418]
mov ecx, 9
sub ax, 0x30
cmp ax, cx
ja 0x140089309
mov r15d, 0x468
mov dword [rsp + 0xd8], 3
lea rax, [0x1401041d0]
mov qword [rsp + 0xa8], rax
jmp 0x140089389
lea rdx, [rdi + 0x412]
lea rcx, [0x1400ffc60]
call qword [sym.imp.KERNEL32.DLL_lstrcmpW]
cmp eax, r13d
je 0x14008935a
lea rdx, [rdi + 0x412]
lea rcx, [0x1401041c0]
call qword [sym.imp.KERNEL32.DLL_lstrcmpW]
cmp eax, r13d
je 0x14008935a
lea rdx, [rdi + 0x412]
lea rcx, [0x1401041b0]
mov r8d, 3
call qword [sym.imp.SHLWAPI.DLL_StrCmpNIW]
cmp eax, r13d
jne 0x140089389
mov eax, 0x800
mov r15d, 0x833e
mov dword [rsp + 0xd8], 4
mov dword [rsp + 0xa0], eax
lea rax, [0x140104160]
jmp 0x1400892fc
mov r15d, 0x27
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_lstrlenW]
sub eax, ebx
cmp eax, r13d
jle 0x140089406
movsxd rcx, eax
cmp r14w, word [rbp + rcx*2]
jne 0x1400893ac
mov word [rbp + rcx*2], r13w
sub eax, ebx
cmp eax, r13d
jle 0x140089406
cmp r12w, word [rbp + 2]
jne 0x140089406
movzx eax, word [rbp]
mov ecx, 0x2e
lea rbp, [rsp + 0xc0]
mov word [rsp + 0xc6], r14w
mov word [rsp + 0xc2], r14w
mov word [rsp + 0xc0], r14w
mov word [rsp + 0xc8], ax
mov word [rsp + 0xc4], cx
mov word [rsp + 0xca], r12w
mov word [rsp + 0xcc], r13w
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x30], 0x80
lea rcx, [rsp + 0x128]
mov r9d, 7
mov r8d, 0x80000000
mov rdx, rbp
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x128], r13
mov qword [rsp + 0x20], r13
call fcn.1400037e4
mov ebp, dword [rsp + 0xa0]
mov rbx, qword [rsp + 0x128]
cmp r15d, ebp
jl 0x14008946f
mov eax, r15d
xor r8d, r8d
mov rcx, rbx
cdq
idiv ebp
imul eax, ebp
movsxd rdx, eax
call fcn.140053560
lea r9, [rsp + 0xd0]
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 + 0xd0], r13d
je 0x1400896ef
mov r12d, dword [rsp + 0xd8]
mov eax, r15d
cdq
idiv ebp
movsxd rax, edx
lea r9, [rsp + rax + 0x17c]
mov qword [rsp + 0xa0], r9
cmp r12d, 4
jne 0x14008950e
lea r8, [rsp + 0x168]
lea rcx, [rsp + 0x168]
xor edx, edx
mov qword [rsp + 0xa0], r8
lea r8d, [r12 + 4]
mov rbp, r9
mov byte [r9 + 0x10], r13b
call fcn.1400dd9e0
lea rdx, [rsp + 0x168]
mov rcx, rbp
call fcn.140060700
lea r9, [rsp + 0x168]
cmp r12d, 1
jg 0x140089552
movzx ecx, byte [r9 + 1]
movzx eax, byte [r9]
mov r8, qword [rsp + 0xa0]
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 0x1400896ef
cmp r12d, 2
jne 0x1400895bc
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 + 0xa0]
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 0x1400896ef
cmp r12d, 3
jne 0x140089680
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 + 0xa0]
movzx r9d, byte [r9 + 1]
movzx r8d, byte [r8]
mov dword [rsp + 0x88], eax
mov dword [rsp + 0x80], ecx
mov rcx, qword [rsp + 0xa0]
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 0x1400896ef
cmp r12d, 4
jne 0x1400896ef
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 + 0xa0]
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 rdx, rsi
mov rsi, qword [rsp + 0x11c0]
lea r8, [rsp + 0x130]
mov rcx, rsi
call fcn.1400596c4
cmp rbx, r13
je 0x140089728
cmp rbx, 0xffffffffffffffff
je 0x140089728
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x140089728
mov rsi, qword [rsp + 0x11c0]
mov rdx, qword [rsp + 0x100]
mov r8, rdi
mov rcx, rsi
call fcn.1400596c4
mov r8, qword [rsp + 0x120]
mov edx, dword [rsp + 0xe8]
lea r9, [0x140103aa8]
mov rcx, rsi
call fcn.14005d144
mov r8, qword [rsp + 0x110]
mov edx, dword [rsp + 0x9c]
mov rcx, rsi
call fcn.14005d18c
mov r8, qword [rsp + 0xf8]
mov edx, dword [rsp + 0x98]
lea r9, [0x1400fd5e8]
mov rcx, rsi
call fcn.14005d144
mov rdx, qword [rsp + 0x108]
lea r8, [rdi + 0x412]
mov rcx, rsi
call fcn.1400596c4
lea rcx, [rsp + 0x118]
call fcn.140052160
lea rcx, [rsp + 0xf8]
call fcn.140052160
lea rcx, [rsp + 0x108]
call fcn.140052160
lea rcx, [rsp + 0x110]
call fcn.140052160
lea rcx, [rsp + 0x120]
call fcn.140052160
lea rcx, [rsp + 0x100]
call fcn.140052160
lea rcx, [rsp + 0xb0]
call fcn.140052160
lea rcx, [rsp + 0xb8]
call fcn.140052160
lea rcx, [rsp + 0xe0]
call fcn.140052160
lea rcx, [rsp + 0x90]
call fcn.140052160
movsxd rax, dword [rsp + 0x11d8]
jmp 0x1400899ba
mov qword [rsp + 0x11c8], rbp
cmp word [rbp], r13w
jne 0x140089848
mov r12b, 0x7c
jmp 0x140089873
lea rcx, [0x14010415c]
mov rdx, rbp
call fcn.1400536b0
cmp al, r13b
jne 0x140089873
lea rcx, [0x1400ff7c4]
mov rdx, rbp
call fcn.1400536b0
cmp al, r13b
je 0x1400898a5
mov r15b, r13b
or r14d, dword [rsp + 0xd0]
mov r9d, dword [rsp + 0x9c]
lea rcx, [rsp + 0xb8]
movsx r8d, r15b
movsx edx, r12b
mov dword [rsp + 0x20], r14d
call fcn.14006ba20
mov rbp, rax
jmp 0x14008996c
mov r12d, 0x3a
cmp word [rbp + 2], r12w
je 0x140089967
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 0x14008993b
cmp r14w, word [rax + 2]
jne 0x14008993b
lea ecx, [r12 + 5]
cmp cx, word [rax + 4]
jne 0x14008993b
cmp r14w, word [rax + 6]
jne 0x14008993b
mov rbp, rax
add rax, 8
mov qword [rsp + 0x11c8], rax
movzx ecx, word [rax]
cmp cx, r13w
je 0x14008996c
cmp r14w, cx
je 0x14008992f
add rax, 2
mov qword [rsp + 0x11c8], rax
mov cx, word [rax]
cmp cx, r13w
jne 0x140089914
cmp word [rax], r13w
je 0x14008996c
mov word [rax], r13w
jmp 0x14008996c
lea rcx, [rsp + 0xb8]
mov edx, 5
call fcn.14005a250
mov rbp, qword [rsp + 0xb8]
movzx r11d, word [rdi + 0x61c]
mov word [rbp], r11w
mov word [rbp + 2], r12w
mov word [rbp + 4], r13w
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x11c0]
mov r8, rbp
call fcn.1400596c4
lea rcx, [rsp + 0xb0]
call fcn.140052160
lea rcx, [rsp + 0xb8]
call fcn.140052160
lea rcx, [rsp + 0xe0]
call fcn.140052160
lea rcx, [rsp + 0x90]
call fcn.140052160
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