Function at 0x1400e5d70
Capabilities:
Get file system object information
Move file
Parse pe header
Write file on windows

Disassembly:
push rbp
push r13
push r14
lea rbp, [rsp - 0x8550]
mov eax, 0x8650
call fcn.140100e60
sub rsp, rax
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x8670], rbx
mov qword [rsp + 0x8678], rsi
mov qword [rsp + 0x8680], rdi
mov qword [rsp + 0x8688], r12
mov rax, qword [0x140191630]
xor rax, rsp
mov qword [rbp + 0x8540], rax
lea rax, [rbp + 0x1440]
mov qword [rsp + 0x20], rax
lea r9, [0x1400e6410]
mov r8, qword [0x14019a6f0]
lea rdx, str.VIRSCAN
mov rcx, qword [0x1401d4590]
call qword [sym.imp.USER32.dll_DialogBoxParamW]
xor r12d, r12d
test rax, rax
je 0x1400e63d6
lea rcx, [rsp + 0x50]
call fcn.14004147c
nop
lea esi, [r12 + 1]
mov r13d, 0x800
cmp byte [0x14019a720], r12b
je 0x1400e5e46
mov r8d, r13d
lea rdx, [rbp + 0x340]
lea rcx, [0x1401c30e0]
call fcn.14000655c
lea rdx, [rbp + 0x340]
lea rcx, [rsp + 0x50]
call fcn.140041aa0
jmp 0x1400e5ea1
lea rcx, [rbp - 0x40]
call fcn.140096db4
nop
mov r8b, sil
lea rdx, [rbp - 0x40]
lea rcx, [0x1401c5f50]
call fcn.140044c78
mov qword [rsp + 0x28], r12
mov byte [rsp + 0x20], r12b
mov r9d, 0xa
lea r8, [rsp + 0x50]
lea edx, [r9 - 7]
lea rcx, [rbp - 0x40]
call fcn.1400acdac
nop
test al, al
jne 0x1400e5e98
lea rcx, [rbp - 0x40]
call fcn.140004e58
jmp 0x1400e63cc
lea rcx, [rbp - 0x40]
call fcn.140004e58
cmp qword [rsp + 0x58], r12
jne 0x1400e5edc
mov ecx, 0x35f
call fcn.140090bf0
mov rbx, rax
mov ecx, 0x35e
call fcn.140090bf0
mov rdx, rax
mov r9d, 0x30
mov r8, rbx
mov rcx, qword [0x14019a6f0]
call fcn.1400d1204
jmp 0x1400e63cc
xor r9d, r9d
mov r8, r13
lea rdx, [rbp + 0x4540]
lea rcx, str.Rar_VR
call fcn.1400cfdd0
test al, al
je 0x1400e63cc
mov rdx, r13
lea rcx, [rbp + 0x5540]
call fcn.1400d0e98
mov r14b, r12b
mov rdi, r12
cmp qword [rsp + 0x58], r12
jbe 0x1400e60b0
cmp byte [0x14019a722], r12b
jne 0x1400e60b0
lea rcx, [rbp + 0x4540]
call fcn.1400d1734
mov r8, rdi
lea rdx, [rbp + 0x340]
lea rcx, [rsp + 0x50]
call fcn.14004166c
mov rcx, rax
call fcn.140081020
mov rdx, rax
mov r8, r13
lea rcx, [rbp + 0x3540]
call fcn.140096d80
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x3540]
call fcn.14007079c
test eax, eax
je 0x1400e5fc7
mov dl, sil
lea rcx, [rbp + 0x3540]
call fcn.140080d24
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x3540]
call fcn.14007079c
test eax, eax
je 0x1400e5fc7
mov ecx, 0x1f7
call fcn.140090bf0
mov rcx, rax
lea rdx, [rbp + 0x3540]
call fcn.1400d5c14
lea rcx, [0x1401d4778]
call fcn.140069f20
jmp 0x1400e60a2
lea rcx, [rbp + 0x3540]
call fcn.1400d1734
mov cl, sil
call fcn.1400cad4c
mov r8, rdi
lea rdx, [rbp + 0x340]
lea rcx, [rsp + 0x50]
call fcn.14004166c
mov rcx, rax
mov r8, r13
lea rdx, [0x1401b5732]
call fcn.14007f6d0
cmp byte [0x14019a720], r12b
jne 0x1400e6023
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1401b5732]
lea rcx, [0x1401c30e0]
call fcn.1400073c0
cmp byte [0x1401c3560], r12b
jne 0x1400e6035
cmp byte [0x1401c34ab], r12b
je 0x1400e6038
mov r14b, sil
mov eax, dword [0x1401c30e4]
mov dword [0x1401b06c8], eax
lea rcx, [0x1401b6978]
call fcn.140096fac
lea rcx, [0x1401b6738]
call fcn.140096fac
lea rdx, [0x140141bd8]
lea rcx, [0x1401b6738]
call fcn.140096df0
call fcn.1400d63e4
mov ebx, eax
mov r8b, sil
xor edx, edx
lea rcx, [0x1401c30e0]
call fcn.14000605c
call fcn.1400d63e4
movzx ecx, byte [0x14019a723]
cmp ebx, eax
cmovne ecx, esi
mov byte [0x14019a723], cl
test cl, cl
jne 0x1400e60b0
add rdi, rsi
cmp rdi, qword [rsp + 0x58]
jb 0x1400e5f1d
mov sil, r12b
cmp byte [0x14019a723], r12b
jne 0x1400e633b
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1401b5732]
lea ecx, [r9 + 0xb]
call fcn.1400d30b8
mov sil, al
lea rdx, [rbp + 0x1440]
lea rcx, [0x140156750]
call fcn.1400d17cc
mov ecx, 0x543
call fcn.140090bf0
mov rcx, rax
call fcn.1400d17cc
lea rcx, [rbp + 0x4540]
call fcn.1400d1734
lea r8, [rbp + 0x4540]
mov edx, 0x880
lea rcx, [rbp + 0x2440]
call fcn.1400df968
mov dword [rsp + 0x20], 0x2000
mov r9d, 0x2b8
lea r8, [rbp + 0x80]
xor edx, edx
lea rcx, [rbp + 0x1440]
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov rcx, rax
shr rcx, 0x10
test cx, cx
jne 0x1400e62a0
mov ecx, 0x4550
cmp ax, cx
je 0x1400e616e
mov ecx, 0x5a4d
cmp ax, cx
jne 0x1400e62a0
mov r8, r13
lea rdx, [rbp + 0x4540]
lea rcx, [rbp + 0x3540]
call fcn.140096d80
mov rdx, r13
lea rcx, [rbp + 0x3540]
call fcn.14007f660
lea rax, [rbp + 0x3540]
or rdi, 0xffffffffffffffff
mov rbx, rdi
inc rbx
cmp word [rax + rbx*2], r12w
jne 0x1400e61a1
call fcn.140126574
mov r9d, eax
mov rdx, r13
sub rdx, rbx
lea rcx, [rbp + 0x3540]
lea rcx, [rcx + rbx*2]
lea r8, str.Rar_Scan_d.bat
call fcn.140002910
lea rdx, [0x140142200]
lea rcx, [rbp + 0x3540]
call fcn.1400712cc
mov rbx, rax
test rax, rax
je 0x1400e62a0
cmp word [rbp + 0x1440], 0x22
je 0x1400e6208
mov rdx, r13
lea rcx, [rbp + 0x1440]
call fcn.1400b1690
lea rax, [rbp + 0x2440]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1440]
lea r8, str.__s__s_r_n_echo._r_n_pause
mov edx, 0x1000
lea rcx, [rbp + 0x6540]
call fcn.140002910
mov r8d, 0x1000
lea rdx, [rbp + 0x340]
lea rcx, [rbp + 0x6540]
call fcn.140099c08
mov byte [rbp + 0x133f], r12b
lea rax, [rbp + 0x340]
inc rdi
cmp byte [rax + rdi], r12b
jne 0x1400e625a
mov r8, rdi
mov r9, rbx
mov edx, 1
lea rcx, [rbp + 0x340]
call fcn.140127ca4
mov rcx, rbx
call fcn.1401278d8
mov r8, r13
lea rdx, [rbp + 0x3540]
lea rcx, [rbp + 0x1440]
call fcn.140096d80
mov word [rbp + 0x2440], r12w
mov qword [rsp + 0x30], r12
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], r12b
lea r9, [rbp + 0x2440]
lea r8, [rbp + 0x4540]
lea rdx, [rbp + 0x1440]
xor ecx, ecx
call fcn.1400ed338
test al, al
je 0x1400e6322
mov ebx, 0xc8
mov edx, ebx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea edi, [rbx + 0x3a]
jmp 0x1400e6311
cmp byte [0x14019a722], r12b
jne 0x1400e6315
mov ecx, 0x14
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14004b830
mov edx, ebx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, edi
je 0x1400e62eb
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400e633b
mov ecx, 0x201
call fcn.140090bf0
mov rcx, rax
lea rdx, [rbp + 0x1440]
call fcn.1400d5c14
lea rcx, [rbp + 0x5540]
call fcn.1400d1734
test r14b, r14b
je 0x1400e63b5
mov r8, r13
lea rdx, [rbp + 0x4540]
lea rcx, [rbp + 0x3540]
call fcn.140096d80
lea rcx, [rbp + 0x3540]
call fcn.140081020
mov ecx, SHRestricted
mov word [rax + 0xc], cx
lea rcx, [rbp + 0x3540]
call fcn.140070398
test al, al
jne 0x1400e63b5
lea rdx, [rbp + 0x3540]
lea rcx, [rbp + 0x4540]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x1400e63b5
mov r8, r13
lea rdx, [rbp + 0x3540]
lea rcx, [rbp + 0x4540]
call fcn.140096d80
lea rcx, [rbp + 0x4540]
call fcn.1400cf17c
test sil, sil
je 0x1400e63cc
call fcn.1400d383c
nop
lea rcx, [rsp + 0x50]
call fcn.14004160c
mov rcx, qword [rbp + 0x8540]
xor rcx, rsp
call fcn.140100ed0
lea r11, [rsp + 0x8650]
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