Function at 0x1400ebe48
Capabilities:
Get file system object information
Move file
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r13
push r14
lea rbp, [rax - 0x91d8]
mov eax, 0x92c0
call fcn.140105bf0
sub rsp, rax
mov rax, qword [0x14016a900]
xor rax, rsp
mov qword [rbp + 0x91b0], rax
lea rax, [rbp + 0x10b0]
mov qword [rsp + 0x20], rax
lea r9, [0x1400ec4d0]
mov r8, qword [0x140172470]
lea rdx, str.VIRSCAN
mov rcx, qword [0x1401af2d0]
call qword [sym.imp.USER32.dll_DialogBoxParamW]
xor r12d, r12d
test rax, rax
je 0x1400ec491
lea rcx, [rsp + 0x50]
call fcn.140049238
nop
lea esi, [r12 + 1]
mov r13d, 0x800
cmp byte [0x1401724a0], r12b
je 0x1400ebf01
mov r8d, r13d
lea rdx, [rbp - 0x50]
lea rcx, [0x14019de40]
call fcn.140006578
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x50]
call fcn.140049698
jmp 0x1400ebf6b
lea rcx, [rbp + 0x31b0]
call fcn.14009ccfc
nop
mov r8b, sil
lea rdx, [rbp + 0x31b0]
lea rcx, [0x1401a0cb0]
call fcn.14004c40c
mov qword [rsp + 0x28], r12
mov byte [rsp + 0x20], r12b
mov r9d, 0xa
lea r8, [rsp + 0x50]
lea edx, [r9 - 7]
lea rcx, [rbp + 0x31b0]
call fcn.1400b2534
nop
test al, al
jne 0x1400ebf5f
lea rcx, [rbp + 0x31b0]
call fcn.140004d3c
jmp 0x1400ec487
lea rcx, [rbp + 0x31b0]
call fcn.140004d3c
cmp qword [rsp + 0x58], r12
jne 0x1400ebfa6
mov ecx, 0x35f
call fcn.140096d58
mov rbx, rax
mov ecx, 0x35e
call fcn.140096d58
mov r9d, 0x30
mov r8, rbx
mov rdx, rax
mov rcx, qword [0x140172470]
call fcn.1400d7004
jmp 0x1400ec487
xor r9d, r9d
mov r8, r13
lea rdx, [rbp + 0x41b0]
lea rcx, str.Rar_VR
call fcn.1400d5c80
test al, al
je 0x1400ec487
mov rdx, r13
lea rcx, [rbp + 0x61b0]
call fcn.1400d6b60
mov r14b, r12b
mov rdi, r12
cmp qword [rsp + 0x58], r12
jbe 0x1400ec174
cmp byte [0x1401724a2], r12b
jne 0x1400ec174
lea rcx, [rbp + 0x41b0]
call fcn.1400d74c4
mov r8, rdi
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x50]
call fcn.140049308
mov rcx, rax
call fcn.1400876ec
mov rdx, rax
mov r8, r13
lea rcx, [rbp + 0x31b0]
call fcn.14009ccc8
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x31b0]
call fcn.140076afc
test eax, eax
je 0x1400ec08e
mov dl, sil
lea rcx, [rbp + 0x31b0]
call fcn.1400873bc
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x31b0]
call fcn.140076afc
test eax, eax
je 0x1400ec08e
mov ecx, 0x1f7
call fcn.140096d58
mov rcx, rax
lea rdx, [rbp + 0x31b0]
call fcn.1400dba04
lea rcx, [0x1401af488]
call fcn.14007029c
jmp 0x1400ec166
lea rcx, [rbp + 0x31b0]
call fcn.1400d74c4
mov cl, sil
call fcn.1400d0bbc
mov r8, rdi
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x50]
call fcn.140049308
mov rcx, rax
mov r8, r13
lea rdx, [0x14018f49a]
call fcn.140085b44
cmp byte [0x1401724a0], r12b
jne 0x1400ec0e7
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14018f49a]
lea rcx, [0x14019de40]
call fcn.140007458
cmp byte [0x14019e2c0], r12b
jne 0x1400ec0f9
cmp byte [0x14019e20b], r12b
je 0x1400ec0fc
mov r14b, sil
mov eax, dword [0x14019de44]
mov dword [0x14018a430], eax
lea rcx, [0x1401906e0]
call fcn.14009cee8
lea rcx, [0x1401904a0]
call fcn.14009cee8
lea rdx, [0x14012b2c0]
lea rcx, [0x1401904a0]
call fcn.14009cd2c
call fcn.1400dc1bc
mov ebx, eax
mov r8b, sil
xor edx, edx
lea rcx, [0x14019de40]
call fcn.14000602c
call fcn.1400dc1bc
movzx ecx, byte [0x1401724a3]
cmp ebx, eax
cmovne ecx, esi
mov byte [0x1401724a3], cl
test cl, cl
jne 0x1400ec174
add rdi, rsi
cmp rdi, qword [rsp + 0x58]
jb 0x1400ebfe7
mov sil, r12b
cmp byte [0x1401724a3], r12b
jne 0x1400ec3f6
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14018f49a]
lea ecx, [r9 + 0xb]
call fcn.1400d8f70
mov sil, al
lea rdx, [rbp + 0x10b0]
lea rcx, [0x14013ce00]
call fcn.1400d7624
mov ecx, 0x543
call fcn.140096d58
mov rcx, rax
call fcn.1400d7624
lea rcx, [rbp + 0x41b0]
call fcn.1400d74c4
lea r8, [rbp + 0x41b0]
mov edx, 0x880
lea rcx, [rbp + 0x20b0]
call fcn.1400e58a4
mov dword [rsp + 0x20], 0x2000
mov r9d, 0x2b8
lea r8, [rbp + 0x31b0]
xor edx, edx
lea rcx, [rbp + 0x10b0]
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov rcx, rax
shr rcx, 0x10
test cx, cx
jne 0x1400ec35b
mov ecx, 0x5a4d
cmp ax, cx
je 0x1400ec232
mov ecx, 0x4550
cmp ax, cx
jne 0x1400ec35b
mov r8, r13
lea rdx, [rbp + 0x41b0]
lea rcx, [rbp + 0x51b0]
call fcn.14009ccc8
mov rdx, r13
lea rcx, [rbp + 0x51b0]
call fcn.140085ac8
lea rax, [rbp + 0x51b0]
or rdi, 0xffffffffffffffff
mov rbx, rdi
inc rbx
cmp word [rax + rbx*2], r12w
jne 0x1400ec265
call fcn.1401109e4
mov r9d, eax
mov rdx, r13
sub rdx, rbx
lea rcx, [rbp + 0x51b0]
lea rcx, [rcx + rbx*2]
lea r8, str.Rar_Scan_d.bat
call fcn.1400027fc
lea rdx, [0x14012b540]
lea rcx, [rbp + 0x51b0]
call fcn.140077628
mov rbx, rax
test rax, rax
je 0x1400ec35b
cmp word [rbp + 0x10b0], 0x22
je 0x1400ec2cc
mov rdx, r13
lea rcx, [rbp + 0x10b0]
call fcn.1400b6db8
lea rax, [rbp + 0x20b0]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x10b0]
lea r8, str.__s__s_r_n_echo._r_n_pause
mov edx, 0x1000
lea rcx, [rbp + 0x71b0]
call fcn.1400027fc
mov r8d, 0x1000
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x71b0]
call fcn.14009fad8
mov byte [rbp + 0xfaf], r12b
lea rax, [rbp - 0x50]
inc rdi
cmp byte [rax + rdi], r12b
jne 0x1400ec318
mov r8, rdi
mov r9, rbx
mov edx, 1
lea rcx, [rbp - 0x50]
call fcn.140112590
mov rcx, rbx
call fcn.140111fa8
mov r8, r13
lea rdx, [rbp + 0x51b0]
lea rcx, [rbp + 0x10b0]
call fcn.14009ccc8
mov word [rbp + 0x20b0], r12w
mov qword [rsp + 0x30], r12
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], r12b
lea r9, [rbp + 0x20b0]
lea r8, [rbp + 0x41b0]
lea rdx, [rbp + 0x10b0]
xor ecx, ecx
call fcn.1400f323c
test al, al
je 0x1400ec3dd
mov ebx, 0xc8
mov edx, ebx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea edi, [rbx + 0x3a]
jmp 0x1400ec3cc
cmp byte [0x1401724a2], r12b
jne 0x1400ec3d0
mov ecx, 0x14
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140052998
mov edx, ebx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, edi
je 0x1400ec3a6
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400ec3f6
mov ecx, 0x201
call fcn.140096d58
mov rcx, rax
lea rdx, [rbp + 0x10b0]
call fcn.1400dba04
lea rcx, [rbp + 0x61b0]
call fcn.1400d74c4
test r14b, r14b
je 0x1400ec470
mov r8, r13
lea rdx, [rbp + 0x41b0]
lea rcx, [rbp + 0x51b0]
call fcn.14009ccc8
lea rcx, [rbp + 0x51b0]
call fcn.1400876ec
mov ecx, SHRestricted
mov word [rax + 0xc], cx
lea rcx, [rbp + 0x51b0]
call fcn.140076738
test al, al
jne 0x1400ec470
lea rdx, [rbp + 0x51b0]
lea rcx, [rbp + 0x41b0]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x1400ec470
mov r8, r13
lea rdx, [rbp + 0x51b0]
lea rcx, [rbp + 0x41b0]
call fcn.14009ccc8
lea rcx, [rbp + 0x41b0]
call fcn.1400d5040
test sil, sil
je 0x1400ec487
call fcn.1400d970c
nop
lea rcx, [rsp + 0x50]
call fcn.1400492dc
mov rcx, qword [rbp + 0x91b0]
xor rcx, rsp
call fcn.140105c50
lea r11, [rsp + 0x92c0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop rbp
ret