Function at 0x140047384
Capabilities:
Get disk information
Read file via mapping

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x240
mov qword [rsp + 0x150], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x140197b10]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov r14, rcx
mov qword [rsp + 0x118], rcx
mov qword [rsp + 0x40], rdx
xor r13d, r13d
mov dword [rsp + 0xa0], r13d
lea rcx, [rsp + 0x40]
call fcn.140029d28
mov dword [rsp + 0x68], r13d
mov qword [rsp + 0xe8], r13
mov qword [rsp + 0xf0], r13
lea rcx, [rsp + 0xe0]
call fcn.140063500
nop
mov sil, r13b
mov byte [rsp + 0x49], r13b
mov bpl, r13b
mov byte [rsp + 0x48], r13b
mov ebx, r13d
mov dword [rsp + 0x64], ebx
mov r15d, r13d
mov al, 0x2a
mov rcx, qword [rsp + 0x40]
lea edx, [r13 + 0x2d]
cmp dx, word [rcx]
cmove eax, edx
movsx edi, al
movzx eax, word [rcx]
lea r12d, [r13 + 1]
cmp edi, eax
jne 0x140047670
add rcx, 2
mov qword [rsp + 0x40], rcx
mov r8d, 3
lea rdx, [rsp + 0x40]
lea rcx, [0x14014962c]
call fcn.140065780
cmp al, r13b
je 0x14004746e
or r15d, 8
jmp 0x14004764e
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [0x14013f310]
call fcn.140065780
cmp al, r13b
je 0x140047490
or r15d, 4
jmp 0x14004764e
mov r8d, 7
lea rdx, [rsp + 0x40]
lea rcx, str.sysinit
call fcn.140065780
cmp al, r13b
jne 0x14004764e
mov rcx, qword [rsp + 0x40]
movzx eax, word [rcx]
cmp edi, eax
jne 0x140047667
add rcx, 2
mov qword [rsp + 0x40], rcx
mov r8d, 3
lea rdx, [rsp + 0x40]
lea rcx, [0x14014713c]
call fcn.140065780
cmp al, r13b
je 0x1400474f2
or sil, r12b
mov byte [rsp + 0x49], sil
jmp 0x14004764e
mov r8d, r12d
lea rdx, [rsp + 0x40]
lea rcx, [0x14014a390]
call fcn.140065780
cmp al, r13b
je 0x140047518
or bpl, r12b
mov byte [rsp + 0x48], bpl
jmp 0x14004764e
mov r8d, 5
lea rdx, [rsp + 0x40]
lea rcx, str.local
call fcn.140065780
cmp al, r13b
je 0x140047544
or r15d, 0x10
or ebx, 0x10
mov dword [rsp + 0x64], ebx
jmp 0x14004764e
mov r8d, 8
lea rdx, [rsp + 0x40]
lea rcx, str.EnviMode
call fcn.140065780
cmp al, r13b
je 0x140047573
mov eax, 0x20
or r15d, eax
or ebx, eax
mov dword [rsp + 0x64], ebx
jmp 0x14004764e
mov r8d, 3
lea rdx, [rsp + 0x40]
lea rcx, [0x14014a3d4]
call fcn.140065780
cmp al, r13b
je 0x140047598
or r15d, 0x40
jmp 0x14004764e
mov r8d, 5
mov rdx, qword [rsp + 0x40]
lea rcx, str.logs:
call fcn.14005c510
cmp al, r13b
je 0x14004765f
mov rax, qword [rsp + 0x40]
add rax, 0xa
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x138], rax
mov dword [rsp + 0xc8], r13d
mov r8d, r12d
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x138]
call fcn.140036bcc
mov qword [rsp + 0x40], rax
mov r8d, dword [rsp + 0xc8]
cmp r8d, r13d
jle 0x140047644
mov rdx, qword [rsp + 0x138]
lea rcx, [rsp + 0x100]
call fcn.1400712b0
nop
mov byte [rsp + 0x20], r12b
xor r9d, r9d
lea r8, [rsp + 0xe0]
mov rdx, qword [rsp + 0x100]
mov rcx, r14
call fcn.14006bc40
nop
lea rcx, [rsp + 0x100]
call fcn.14005b520
lea rcx, [rsp + 0x40]
call fcn.140029d28
mov rcx, qword [rsp + 0x40]
movzx eax, word [rcx]
cmp edi, eax
jne 0x140047670
jmp 0x140047440
sub qword [rsp + 0x40], 4
jmp 0x140047670
sub rcx, 2
mov qword [rsp + 0x40], rcx
mov rcx, r14
call fcn.14002d610
mov ebp, 0x22
mov rdi, qword [rsp + 0x40]
cmp bp, word [rdi]
sete byte [rsp + 0x60]
mov word [rsp + 0x80], r13w
mov dword [rsp + 0xa4], r13d
mov r8d, r12d
lea rdx, [rsp + 0xa4]
lea rcx, [rsp + 0x40]
call fcn.140036bcc
mov rbx, rax
mov rax, qword [rsp + 0x40]
cmp bp, word [rax]
jne 0x1400476c1
add rax, 2
mov ecx, 0x5c
cmp cx, word [rax]
jne 0x1400476d8
cmp cx, word [rax + 2]
je 0x1400476d8
mov byte [rsp + 0x58], r12b
jmp 0x1400476dd
mov byte [rsp + 0x58], r13b
lea rcx, [rsp + 0x50]
call fcn.140063500
nop
mov r8, rbx
sub r8, rdi
sar r8, 1
mov rdx, rdi
lea rcx, [rsp + 0xd0]
call fcn.1400712b0
nop
mov rdx, qword [rsp + 0xd0]
mov rax, rdx
mov edi, 0x2c
cmp bp, word [rdx]
jne 0x140047737
mov ecx, ebp
cmp bp, cx
je 0x14004772b
add rax, 2
mov cx, word [rax]
cmp cx, r13w
jne 0x140047719
cmp word [rax], r13w
je 0x140047752
add rax, 2
jmp 0x140047752
cmp word [rdx], r13w
je 0x140047752
mov cx, word [rdx]
cmp di, cx
je 0x140047752
add rax, 2
mov cx, word [rax]
cmp cx, r13w
jne 0x140047740
cmp di, word [rax]
jne 0x140047777
mov word [rax], r13w
movzx esi, word [rax + 2]
mov eax, 0xffdf
and si, ax
mov word [rsp + 0x80], si
mov rdx, qword [rsp + 0xd0]
mov byte [rsp + 0x20], r12b
xor r9d, r9d
lea r8, [rsp + 0x50]
mov rcx, r14
call fcn.14006d870
mov rdx, qword [rsp + 0x50]
movzx eax, word [rdx]
mov edi, 9
cmp bp, ax
je 0x14004783c
mov rcx, rdx
cmp ax, r13w
je 0x1400477cf
lea r8d, [rdi + 0x17]
cmp di, ax
ja 0x1400477ba
cmp ax, 0xd
jbe 0x1400477cf
cmp r8w, ax
je 0x1400477cf
add rcx, 2
mov ax, word [rcx]
cmp ax, r13w
je 0x14004783c
jmp 0x1400477af
cmp word [rcx], r13w
je 0x14004783c
lea rcx, [rsp + 0xd0]
call fcn.140071360
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rdi, eax
lea edx, [rdi + 3]
lea rcx, [rsp + 0x50]
call fcn.1400635c0
mov rax, qword [rsp + 0x50]
mov word [rax + rdi*2 + 4], r13w
mov rcx, qword [rsp + 0x50]
add rcx, 2
lea r8, [rdi + rdi]
mov rdx, qword [rsp + 0xd0]
call fcn.14010cd30
mov rax, qword [rsp + 0x50]
mov word [rax + rdi*2 + 2], bp
mov rax, qword [rsp + 0x50]
mov word [rax], bp
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x40], rdx
xor r8d, r8d
lea rdx, [rsp + 0xa4]
lea rcx, [rsp + 0x40]
call fcn.140036bcc
mov rdi, qword [rsp + 0x40]
sub rdi, qword [rsp + 0x50]
sar rdi, 1
mov byte [rsp + 0x20], r12b
xor r9d, r9d
lea r8, [rsp + 0xd0]
mov rdx, rbx
mov rcx, r14
call fcn.14006d870
mov rdx, qword [rsp + 0xd0]
lea rcx, [rsp + 0x50]
call fcn.140063600
mov r13, qword [rsp + 0x50]
mov qword [rsp + 0x128], r13
movsxd rax, edi
lea rcx, [r13 + rax*2]
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0xd0]
call fcn.14005b520
mov rsi, qword [rsp + 0x40]
mov r8d, 5
mov rdx, rsi
lea rcx, str.map:
call fcn.14005c510
xor ebx, ebx
cmp al, bl
je 0x1400478e9
mov rdi, rsi
mov qword [rsp + 0xe8], rsi
mov qword [rsp + 0x40], rsi
jmp 0x1400478f1
mov rsi, qword [rsp + 0x40]
mov rdi, rbx
movsxd rbp, dword [rsp + 0xa4]
mov qword [rsp + 0x140], rbp
movzx eax, word [rsi + rbp*2]
mov word [rsp + 0x5c], ax
mov word [rsi + rbp*2], bx
cmp rdi, rbx
je 0x140047a14
mov rax, qword [rsp + 0x40]
mov word [rax + rbp*2], bx
lea rax, [rdi + 0xa]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x108], ebx
lea rdx, [rsp + 0x108]
lea rcx, [rsp + 0x40]
call fcn.140066e40
movsxd rdx, dword [rsp + 0x108]
cmp edx, ebx
jg 0x140047964
lea rcx, [rsp + 0x50]
call fcn.14005b520
nop
mov r12d, 0x80070057
jmp 0x140048902
mov rdi, rdx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
lea ebp, [r9 + 6]
mov edx, ebp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rcx, rax
cmp rax, rbx
jne 0x140047999
lea rcx, [rsp + 0x50]
call fcn.14005b520
nop
jmp 0x140048902
mov eax, dword [rax]
mov dword [rsp + 0x68], eax
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
movsxd rcx, dword [rsp + 0x68]
mov dword [rsp + 0x68], ecx
cmp ecx, ebx
jg 0x1400479c2
lea rcx, [rsp + 0x50]
call fcn.14005b520
nop
jmp 0x140048902
lea rax, [rcx + 4]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, ebp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsp + 0xe8], rax
cmp rax, rbx
jne 0x1400479f9
lea rcx, [rsp + 0x50]
call fcn.14005b520
nop
jmp 0x140048902
add rax, 4
mov qword [rsp + 0xf0], rax
mov r13, qword [rsp + 0x128]
mov ebp, dword [rsp + 0xa4]
lea rcx, [rsp + 0x78]
call fcn.140063500
nop
mov rcx, rsi
mov eax, 0x2a
cmp word [rsi], ax
jne 0x140047a30
lea rcx, [rsi + 2]
mov edx, eax
call qword [sym.imp.SHLWAPI.dll_StrChrW]
mov rbx, rax
xor ecx, ecx
cmp rax, rcx
je 0x140047b24
lea eax, [rcx + 0x2a]
cmp ax, word [rbx + 2]
cmove rbx, rcx
cmp rbx, rcx
je 0x140047b24
mov rbp, rbx
sub rbp, rsi
sar rbp, 1
movsxd rax, ebp
lea edx, [rcx + 0x22]
cmp word [rsi + rax*2 - 2], dx
jne 0x140047a73
sub ebp, r12d
add rbx, 2
mov rdi, rbx
cmp word [rbx], cx
je 0x140047b09
mov eax, 0x20
lea r8d, [rax - 0x17]
cmp r8w, word [rbx]
ja 0x140047a98
cmp word [rbx], 0xd
jbe 0x140047aab
cmp ax, word [rbx]
je 0x140047aab
cmp dx, word [rbx]
je 0x140047aab
add rbx, 2
cmp word [rbx], cx
jne 0x140047a8c
cmp rbx, rdi
je 0x140047b09
cmp byte [rsp + 0x60], cl
je 0x140047ac3
cmp dx, word [rbx]
jne 0x140047ac3
mov r14b, r12b
mov word [rbx], ax
jmp 0x140047ac6
mov r14b, cl
mov rdx, rdi
lea rcx, [rsp + 0x78]
call fcn.140071480
sub rdi, 2
xor eax, eax
cmp r14b, al
je 0x140047aea
mov eax, 0x22
mov word [rdi], ax
add rdi, 2
cmp rdi, rbx
jae 0x140047b24
sub rbx, rdi
sub rbx, r12
shr rbx, 1
lea rcx, [r12 + rbx]
mov eax, 0x20
movzx eax, ax
rep stosw word [rdi], ax
jmp 0x140047b24
lea rcx, [rsp + 0x78]
call fcn.14005b520
nop
lea rcx, [rsp + 0x50]
call fcn.14005b520
nop
jmp 0x140048902
mov rax, qword [rsp + 0x140]
mov cx, word [rsp + 0x5c]
mov word [rsi + rax*2], cx
mov r8d, ebp
mov rdx, rsi
lea rcx, [rsp + 0x98]
call fcn.1400712b0
nop
movsxd rcx, ebp
mov rax, qword [rsp + 0x98]
xor esi, esi
mov word [rax + rcx*2], si
mov r10, qword [rsp + 0x98]
mov qword [rsp + 0x40], r10
mov rbx, r10
mov qword [rsp + 0x100], r10
mov eax, esi
lea ecx, [rsi + 0x2a]
cmp cx, word [r10]
sete al
lea r9d, [rsi + 0x23]
cmp eax, esi
je 0x140047bc7
lea rsi, [r10 + 2]
mov qword [rsp + 0x100], rsi
xor edx, edx
lea r8d, [rcx + 0x32]
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_StrRChrW]
xor ecx, ecx
cmp rax, rcx
cmove rax, rsi
xor edx, edx
lea r8d, [rcx + 0x23]
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_StrRChrW]
mov rbx, rax
mov r10, qword [rsp + 0x40]
xor esi, esi
lea r9d, [rsi + 0x23]
lea rdi, [0x14014f7a8]
cmp rbx, rsi
je 0x140047bd9
cmp r9w, word [rbx]
je 0x140047bdc
mov rbx, rdi
mov edx, esi
mov r8d, 0x7c
cmp word [rbx], si
je 0x140047c1e
lea rax, [rbx + 2]
cmp r9w, word [rax]
jne 0x140047c03
mov rbx, rax
add edx, r12d
add rax, 2
cmp r9w, word [rax]
je 0x140047bf3
cmp word [rbx], si
je 0x140047c2a
movzx eax, word [rbx + 2]
sub ax, 0x30
mov r11d, 9
cmp ax, r11w
ja 0x140047c6b
jmp 0x140047c36
mov r11d, 9
lea r14d, [r11 + 0x31]
jmp 0x140047c3c
mov r11d, 9
lea r14d, [r11 + 0x31]
jmp 0x140047c3c
mov r14d, 0x3a
cmp word [rbx], si
je 0x140047c78
lea rcx, [rbx + 2]
movzx eax, word [rcx]
sub ax, 0x30
cmp ax, r11w
ja 0x140047c58
add rcx, 2
jmp 0x140047c45
cmp word [rcx], si
je 0x140047c78
cmp word [rcx], r8w
je 0x140047c78
cmp word [rcx], r14w
je 0x140047c78
jmp 0x140047c71
mov r14d, 0x3a
mov rbx, rdi
mov edx, esi
jmp 0x140047c3c
cmp edx, esi
mov r14, qword [rsp + 0x118]
jle 0x140047ccf
movzx eax, word [r13]
cmp ax, si
je 0x140047cba
mov ecx, 0x20
cmp r11w, ax
ja 0x140047c9f
cmp ax, 0xd
jbe 0x140047cb2
cmp cx, ax
je 0x140047cb2
add r13, 2
mov ax, word [r13]
cmp ax, si
jne 0x140047c93
mov qword [rsp + 0x128], r13
lea rcx, [rsp + 0x128]
call fcn.140029d28
mov r13, qword [rsp + 0x128]
cmp byte [rsp + 0x49], sil
je 0x140047fa8
lea rcx, [rsp + 0x88]
call fcn.140063230
mov dword [rsp + 0x90], esi
mov dword [rsp + 0x94], esi
mov rdx, qword [rsp + 0x40]
mov rax, rdx
movzx ecx, word [rdx]
cmp cx, si
je 0x140047d2b
mov edi, 0x20
lea r8d, [rdi - 0x17]
cmp r8w, cx
ja 0x140047d1a
cmp cx, 0xd
jbe 0x140047d2b
cmp di, cx
je 0x140047d2b
add rax, 2
mov cx, word [rax]
cmp cx, si
jne 0x140047d0e
sub rax, rdx
sar rax, 1
mov r8d, eax
lea rcx, [rsp + 0x120]
call fcn.1400712b0
nop
mov rcx, qword [rsp + 0x120]
cmp word [rcx], 0x26
je 0x140047d86
cmp byte [r14 + 0xf], sil
jne 0x140047d86
lea rdx, [rsp + 0x88]
call fcn.14006ebf0
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
mov dword [rsp + 0x94], eax
mov dword [rsp + 0x90], eax
jmp 0x140047e6c
lea rbp, [0x14019cf50]
mov qword [rsp + 0xe8], rbp
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
or r9d, 0xffffffff
xor r8d, r8d
mov rdx, qword [rsp + 0x120]
mov rcx, r14
call fcn.14002b14c
mov rbx, rax
cmp rax, rsi
jne 0x140047e0d
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
lea rcx, [rsp + 0x120]
call fcn.14005b520
nop
lea rcx, [rsp + 0x88]
call fcn.14005b520
nop
lea rcx, [rsp + 0x98]
call fcn.14005b520
nop
lea rcx, [rsp + 0x78]
call fcn.14005b520
nop
lea rcx, [rsp + 0x50]
call fcn.14005b520
nop
jmp 0x140048902
mov edi, dword [rax + 0x18]
and edi, 0x3fffffff
mov dword [rsp + 0x94], edi
mov dword [rsp + 0x90], edi
lea edx, [rdi + 0x10]
lea rcx, [rsp + 0x88]
call fcn.1400632e0
movsxd rdi, edi
mov r8, rdi
mov rdx, qword [rbx + 8]
mov rcx, qword [rsp + 0x88]
call fcn.14010cd30
mov rdx, qword [rsp + 0x88]
lea rcx, [rdi + rdx]
xor edx, edx
lea r8d, [rdx + 0x10]
call fcn.14010c6c0
nop
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
movzx eax, byte [0x1401958a8]
mov ecx, eax
cmp al, sil
cmovl ecx, r12d
mov byte [0x1401958a8], cl
mov edx, r12d
lea rcx, [rsp + 0x88]
call fcn.140081dc0
call fcn.14002d394
movzx ebx, ax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x88]
call fcn.14002d430
xor r8d, r8d
mov rdx, r14
lea rcx, [rsp + 0x88]
call fcn.140046bb8
xor edx, edx
mov rcx, qword [rsp + 0x88]
call fcn.14002d37c
lea r8d, [rax + 2]
mov edx, ebx
mov rcx, qword [rsp + 0x88]
call fcn.14002d430
mov dword [rsp + 0x20], esi
mov r9d, dword [rsp + 0x64]
mov r8, qword [rsp + 0xe0]
lea rdx, [rsp + 0x88]
mov ecx, ebx
call fcn.14002d488
shl ebx, 0x10
mov rdi, qword [rsp + 0x88]
mov qword [rsp + 0x88], rsi
or r8d, 0xffffffff
lea rdx, str.mem
lea rcx, [rsp + 0x110]
call fcn.1400712d0
nop
or ebx, r15d
or ebx, 0x40
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], ebx
mov r9, qword [rax]
mov r8, r13
mov rdx, rdi
mov rcx, r14
call fcn.1400c0c10
mov r12d, eax
lea rcx, [rsp + 0x110]
call fcn.14005b520
nop
lea rcx, [rsp + 0x120]
call fcn.14005b520
nop
lea rcx, [rsp + 0x88]
call fcn.14005b520
nop
lea rcx, [rsp + 0x98]
call fcn.14005b520
nop
lea rcx, [rsp + 0x78]
call fcn.14005b520
nop
lea rcx, [rsp + 0x50]
call fcn.14005b520
nop
jmp 0x140048902
movsxd rsi, dword [rsp + 0x68]
xor edx, edx
cmp esi, edx
jle 0x14004819a
lea rcx, [rsp + 0xb8]
call fcn.140063230
xor eax, eax
mov dword [rsp + 0xc0], eax
mov dword [rsp + 0xc4], eax
lea edx, [rsi + 0x14]
lea rcx, [rsp + 0xb8]
call fcn.1400632e0
mov dword [rsp + 0xc4], esi
mov dword [rsp + 0xc0], esi
mov r8, rsi
mov rdx, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xb8]
call fcn.14010cd30
mov rdx, qword [rsp + 0xb8]
lea rcx, [rsi + rdx]
xor edx, edx
lea r8d, [rdx + 0x14]
call fcn.14010c6c0
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov edx, r12d
lea rcx, [rsp + 0xb8]
call fcn.140081dc0
call fcn.14002d394
mov ebp, eax
movzx esi, word [rsp + 0x5c]
shl si, 8
movzx eax, byte [rsp + 0x5c]
or si, ax
movzx ebx, si
xor r8d, r8d
mov edx, ebx
mov rcx, qword [rsp + 0xb8]
call fcn.14002d430
mov r8d, ebx
mov rdx, r14
lea rcx, [rsp + 0xb8]
call fcn.140046bb8
movzx edx, si
mov rdi, qword [rsp + 0xb8]
mov rcx, rdi
call fcn.14002d37c
movsxd r8, eax
xor dx, 0xa
movzx ecx, si
xor cx, 0xd
mov word [rdi + r8*2], cx
add r8d, r12d
movsxd rcx, r8d
mov rax, qword [rsp + 0xb8]
mov word [rax + rcx*2], dx
add r8d, r12d
movsxd rcx, r8d
mov rax, qword [rsp + 0xb8]
mov word [rax + rcx*2 + 2], si
mov rax, qword [rsp + 0xb8]
mov word [rax + rcx*2 + 4], si
movzx edi, bp
add r8d, 2
mov edx, edi
xor edx, ebx
mov rcx, qword [rsp + 0xb8]
call fcn.14002d430
movzx edx, byte [0x1401958a8]
mov eax, edx
xor ebx, ebx
cmp dl, bl
cmovl eax, r12d
mov byte [0x1401958a8], al
mov dword [rsp + 0x20], ebx
mov r9d, dword [rsp + 0x64]
mov r8, qword [rsp + 0xe0]
lea rdx, [rsp + 0xb8]
mov ecx, edi
call fcn.14002d488
shl edi, 0x10
mov rdx, qword [rsp + 0xb8]
mov qword [rsp + 0xb8], rbx
or edi, r15d
or edi, 0x40
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], edi
mov r9, qword [rsp + 0x98]
mov r8, r13
mov rcx, r14
call fcn.1400c0c10
mov r12d, eax
lea rcx, [rsp + 0xb8]
call fcn.14005b520
nop
lea rcx, [rsp + 0x98]
call fcn.14005b520
nop
lea rcx, [rsp + 0x78]
call fcn.14005b520
nop
lea rcx, [rsp + 0x50]
call fcn.14005b520
nop
jmp 0x140048902
cmp byte [rsp + 0x58], dl
je 0x14004831c
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [rax + rdi + 0x92a]
lea rcx, [rsp + 0xf8]
call fcn.140063580
nop
mov rbx, qword [rsp + 0xf8]
lea rdi, [rbx + 0xbca]
mov rdx, rdi
mov ecx, 0x324
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
lea r12, [rdi + 0x64a]
movzx eax, word [r13]
mov word [r12], ax
xor ecx, ecx
mov eax, ecx
lea edx, [rcx + 0x22]
cmp word [r13], dx
sete al
cdqe
lea r13, [r13 + rax*2 + 2]
lea rax, [r12 + rax*2]
mov qword [rsp + 0x110], rax
mov eax, ecx
mov r9, qword [rsp + 0x40]
cmp word [r9], dx
sete al
cmp eax, ecx
je 0x14004823a
add r9, 2
mov qword [rsp + 0x40], r9
mov eax, 0x5c
cmp word [r9], ax
jne 0x14004824e
add r9, 2
mov qword [rsp + 0x40], r9
mov eax, ecx
mov esi, 0x5dc
sub esi, ebp
cmp word [rdi], cx
je 0x14004830a
mov rbp, qword [rsp + 0x110]
mov cx, word [rsp + 0x80]
cmp word [rdi], cx
jb 0x1400482e7
cmp eax, esi
jge 0x1400482e7
mov r8, rdi
lea rdx, str._s_s
mov rcx, rbx
call fcn.140029bc4
mov rcx, rbx
call fcn.1400cf470
xor ecx, ecx
cmp eax, ecx
je 0x1400482e7
mov r9, r13
mov r8, rdi
lea rdx, str._s_s
mov rcx, rbp
call fcn.140029bc4
mov r9d, r15d
or r9d, dword [rsp + 0x64]
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x28], rax
xor eax, eax
mov qword [rsp + 0x20], rax
mov r8, r12
mov rdx, rbx
mov rcx, r14
call fcn.140046dc4
mov dword [rsp + 0xa0], eax
xor eax, eax
cmp byte [rsp + 0x48], al
je 0x14004830a
mov rcx, rdi
call fcn.14010d9c8
lea ecx, [rax + 1]
movsxd rdx, ecx
lea rdi, [rdi + rdx*2]
xor ecx, ecx
cmp word [rdi], cx
je 0x14004830a
mov r9, qword [rsp + 0x40]
jmp 0x140048268
lea rcx, [rsp + 0xf8]
call fcn.14005b520
jmp 0x1400488cb
cmp word [rbx], dx
je 0x140048897
mov qword [rsp + 0x110], rbx
lea rsi, str.SCRIPT
mov rbp, rbx
cmp r9w, word [rbx]
jne 0x140048350
lea rcx, [rbx + 2]
movzx eax, word [rcx]
sub ax, 0x30
cmp ax, r11w
cmova rbx, rcx
mov qword [rsp + 0x70], rdx
mov r14, rbx
movzx eax, word [rbx]
mov ecx, 0x27
cmp ax, dx
je 0x140048443
lea r9d, [rcx + 0x13]
cmp r9w, ax
je 0x1400483fd
cmp r8w, ax
je 0x140048395
add r14, 2
mov ax, word [r14]
cmp ax, dx
jne 0x14004836d
mov r14d, 0x22
jmp 0x140048451
lea rax, [r14 + 2]
cmp word [rax], dx
je 0x14004843b
mov qword [rsp + 0xf0], rax
lea rdx, [rsp + 0x148]
lea rcx, [rsp + 0xf0]
call fcn.140066e40
mov rdx, qword [rsp + 0xf0]
xor eax, eax
cmp word [rdx], ax
je 0x1400483ed
mov rax, qword [rsp + 0x70]
mov r8d, 0x7c
cmp r8w, word [rdx]
cmovne rax, r14
mov qword [rsp + 0x70], rax
xor edx, edx
lea ecx, [rdx + 0x27]
jmp 0x140048405
mov rax, qword [rsp + 0x70]
xor edx, edx
lea ecx, [rdx + 0x27]
lea r8d, [rdx + 0x7c]
jmp 0x140048405
mov rax, r14
mov qword [rsp + 0x70], rax
cmp rax, rdx
je 0x14004844b
mov word [rax], dx
mov rbp, qword [rsp + 0x70]
add rbp, 2
mov qword [rsp + 0x70], rbp
cmp word [rbp], r8w
cmovne rsi, rbp
mov r14d, 0x22
cmp r14w, word [rsi]
je 0x140048435
cmp cx, word [rsi]
jne 0x140048451
add rsi, 2
jmp 0x140048451
mov r14d, 0x22
jmp 0x140048451
mov r14d, 0x22
jmp 0x140048451
mov r14d, 0x22
mov edx, r8d
mov rcx, rbp
call qword [sym.imp.SHLWAPI.dll_StrChrW]
mov qword [rsp + 0x70], rax
xor ebp, ebp
cmp rax, rbp
jne 0x140048470
mov qword [rsp + 0x70], rdi
jmp 0x140048481
mov word [rax], bp
mov rdi, qword [rsp + 0x70]
add rdi, 2
mov qword [rsp + 0x70], rdi
mov rax, rsi
cmp word [rsi], bp
je 0x1400484ac
mov ecx, 0x27
cmp r14w, word [rax]
je 0x1400484a4
cmp cx, word [rax]
je 0x1400484a4
add rax, 2
cmp word [rax], bp
jne 0x14004848e
jmp 0x1400484ac
mov word [rax], bp
mov rdi, qword [rsp + 0x70]
mov dword [rsp + 0xd8], ebp
mov dword [rsp + 0x84], 0x7fffffff
cmp word [rdi], bp
je 0x1400484e0
mov r8d, 0x7c
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x70]
call fcn.140066b30
mov rdi, qword [rsp + 0x70]
mov eax, 0x2c
cmp ax, word [rdi]
jne 0x1400484fc
lea rdx, [rsp + 0x84]
lea rcx, [rsp + 0x70]
call fcn.140066e40
cmp dword [rsp + 0x84], ebp
jle 0x14004886b
cmp dword [rsp + 0xd8], ebp
jl 0x14004886b
mov r14, qword [0x14019c040]
mov qword [rsp + 0xf8], rbp
mov rdi, qword [rsp + 0x110]
movzx ebp, word [rdi]
xor ecx, ecx
mov word [rdi], cx
mov rax, qword [rsp + 0x100]
cmp word [rax], cx
je 0x14004858c
xor edx, edx
lea r8d, [rcx + 2]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov r14, rax
mov qword [rsp + 0xf8], rax
xor eax, eax
cmp r14, rax
jne 0x14004858c
lea rcx, [rsp + 0x98]
call fcn.14005b520
nop
lea rcx, [rsp + 0x78]
call fcn.14005b520
nop
lea rcx, [rsp + 0x50]
call fcn.14005b520
nop
jmp 0x140048902
mov word [rdi], bp
call fcn.14002d394
mov dword [rsp + 0xc8], eax
movzx ebp, ax
shl bp, 8
movzx ecx, al
or bp, cx
movzx edi, bp
shl edi, 0x10
mov dword [rsp + 0x68], edi
lea rcx, [rsp + 0xa8]
call fcn.140063230
xor eax, eax
mov dword [rsp + 0xb0], eax
mov dword [rsp + 0xb4], eax
mov rdx, rbx
lea rcx, [rsp + 0x130]
call fcn.140071240
nop
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xa8]
mov r8, rsi
mov rdx, qword [rsp + 0x130]
mov rcx, r14
call fcn.140030854
nop
lea rcx, [rsp + 0x130]
call fcn.14005b520
mov esi, dword [rsp + 0x68]
or esi, edi
mov rax, qword [rsp + 0xf8]
xor ebx, ebx
cmp rax, rbx
je 0x140048631
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [rsp + 0xb0]
movsxd rdx, dword [rsp + 0xd8]
sub eax, edx
cmovs eax, ebx
mov ecx, dword [rsp + 0x84]
cmp ecx, eax
cmovg ecx, eax
mov dword [rsp + 0x84], ecx
cmp ecx, ebx
jg 0x140048699
lea rcx, [rsp + 0xa8]
call fcn.14005b520
nop
lea rcx, [rsp + 0x98]
call fcn.14005b520
nop
lea rcx, [rsp + 0x78]
call fcn.14005b520
nop
lea rcx, [rsp + 0x50]
call fcn.14005b520
nop
mov r12d, 0x80070057
jmp 0x140048902
mov rdi, qword [rsp + 0xa8]
cmp edx, ebx
je 0x1400486ba
movsxd r8, ecx
add rdx, rdi
mov rcx, rdi
call fcn.14010cd30
mov ecx, dword [rsp + 0x84]
mov dword [rsp + 0xb4], ecx
mov dword [rsp + 0xb0], ecx
movzx edx, bpl
movsxd rcx, ecx
add rcx, rdi
mov r8d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
call fcn.14010c6c0
mov edx, esi
or edx, r12d
lea rcx, [rsp + 0xa8]
call fcn.140081dc0
mov r14, qword [rsp + 0x118]
mov rdx, r14
lea rcx, [rsp + 0x160]
call fcn.14002a68c
mov rdx, r14
lea rcx, [rsp + 0x160]
call fcn.14002af60
mov qword [rsp + 0x1a0], rbx
mov word [rsp + 0x16c], bp
movzx edi, bp
mov edx, edi
lea rcx, [rsp + 0x160]
call fcn.1400602b0
mov r8d, esi
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0xa8]
call fcn.140046bb8
or esi, eax
movzx ebp, word [rsp + 0xc8]
movsxd r8, dword [rsp + 0xb0]
shr r8, 1
xor edi, ebp
add r8d, 2
mov edx, edi
mov rcx, qword [rsp + 0xa8]
call fcn.14002d430
mov ebx, ebp
shl ebx, 0x10
movzx eax, si
or ebx, eax
movzx eax, byte [0x1401958a8]
mov ecx, eax
xor esi, esi
cmp al, sil
cmovl ecx, r12d
mov byte [0x1401958a8], cl
mov rax, qword [rsp + 0xa8]
mov rdi, rax
mov r8, qword [rsp + 0x78]
cmp word [r8], si
je 0x1400487d0
mov r9, r13
lea rdx, [rsp + 0xa8]
mov ecx, ebp
call fcn.140043ed8
mov rdi, rax
mov rax, qword [rsp + 0xa8]
mov r8, qword [rsp + 0xe0]
cmp word [r8], si
je 0x1400487ff
sub rdi, rax
sar rdi, 1
mov dword [rsp + 0x20], edi
mov r9d, dword [rsp + 0x64]
lea rdx, [rsp + 0xa8]
mov ecx, ebp
call fcn.14002d488
mov rdi, rax
xor edx, edx
lea rcx, [rsp + 0x160]
call fcn.140045e0c
nop
lea rcx, [rsp + 0x1b8]
call fcn.14005b520
mov rdx, qword [rsp + 0xa8]
mov qword [rsp + 0xa8], rsi
cmp rdx, rsi
je 0x14004885c
or ebx, r15d
or ebx, 0x40
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], ebx
mov r9, qword [rsp + 0x40]
mov r8, r13
mov rcx, r14
call fcn.1400c0c10
mov dword [rsp + 0xa0], eax
lea rcx, [rsp + 0xa8]
call fcn.14005b520
jmp 0x1400488cb
lea rcx, [rsp + 0x98]
call fcn.14005b520
nop
lea rcx, [rsp + 0x78]
call fcn.14005b520
nop
lea rcx, [rsp + 0x50]
call fcn.14005b520
nop
mov r12d, 0x80070057
jmp 0x140048902
or r15d, dword [rsp + 0x64]
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, r15d
mov r8, r13
mov rdx, r10
mov rcx, r14
call fcn.140046dc4
mov dword [rsp + 0xa0], eax
xor edx, edx
mov rcx, r14
call fcn.14009aae0
nop
lea rcx, [rsp + 0x98]
call fcn.14005b520
nop
lea rcx, [rsp + 0x78]
call fcn.14005b520
nop
lea rcx, [rsp + 0x50]
call fcn.14005b520
nop
mov r12d, dword [rsp + 0xa0]
lea rcx, [rsp + 0xe0]
call fcn.14005b520
mov eax, r12d
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14010bcc0
mov rbx, qword [rsp + 0x290]
add rsp, 0x240
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret