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

Disassembly:
push r12
push r13
push r14
mov eax, 0x8650
call fcn.1400d8110
sub rsp, rax
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x8670], rbx
mov qword [rsp + 0x8678], rbp
mov qword [rsp + 0x8680], rsi
mov qword [rsp + 0x8688], rdi
mov rax, qword [0x1401006f0]
xor rax, rsp
mov qword [rsp + 0x8640], rax
lea rax, [rsp + 0x4e0]
mov qword [rsp + 0x20], rax
lea r9, [0x1400b0c9c]
mov r8, qword [0x14014aae0]
lea rdx, str.VIRSCAN
mov rcx, qword [0x140134b88]
call qword [sym.imp.USER32.dll_DialogBoxParamW]
xor r12d, r12d
cmp rax, r12
je 0x1400b4f9f
lea rcx, [rsp + 0x50]
call fcn.14004b5f8
nop
mov r14d, 0x800
lea rbp, [0x1401575c0]
lea r13d, [r12 + 1]
cmp byte [0x140148965], r12b
je 0x1400b4933
mov r8, r14
lea rdx, [rsp + 0x45e0]
mov rcx, rbp
call fcn.140014e94
lea rdx, [rsp + 0x45e0]
lea rcx, [rsp + 0x50]
call fcn.14004b304
lea rcx, [rsp + 0x50]
call fcn.14004b4a4
jmp 0x1400b49ed
lea rcx, [rsp + 0x160]
call fcn.140080d68
nop
mov r8b, r13b
lea rdx, [rsp + 0x160]
lea rcx, [0x140155380]
call fcn.14004d0b4
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], r13d
mov byte [rsp + 0x28], r12b
mov byte [rsp + 0x20], r13b
xor r9d, r9d
lea r8, [rsp + 0x50]
lea edx, [r9 + 3]
lea rcx, [rsp + 0x160]
call fcn.140078b44
cmp al, r12b
jne 0x1400b49db
mov rcx, qword [rsp + 0x160]
cmp rcx, r12
je 0x1400b499d
call fcn.1400c7040
nop
mov rcx, qword [rsp + 0x130]
cmp rcx, r12
je 0x1400b49b0
call fcn.1400c7040
nop
mov rcx, qword [rsp + 0x108]
cmp rcx, r12
je 0x1400b49c3
call fcn.1400c7040
nop
mov rcx, qword [rsp + 0x50]
cmp rcx, r12
je 0x1400b4f9f
call fcn.1400c7040
jmp 0x1400b4f9f
mov rcx, qword [rsp + 0x160]
cmp rcx, r12
je 0x1400b49ed
call fcn.1400c7040
xor r9d, r9d
mov r8, r14
lea rdx, [rsp + 0x35e0]
lea rcx, str.Rar_VR
call fcn.1400a287c
cmp al, r12b
jne 0x1400b4a4a
mov rcx, qword [rsp + 0x130]
cmp rcx, r12
je 0x1400b4a1f
call fcn.1400c7040
nop
mov rcx, qword [rsp + 0x108]
cmp rcx, r12
je 0x1400b4a32
call fcn.1400c7040
nop
mov rcx, qword [rsp + 0x50]
cmp rcx, r12
je 0x1400b4f9f
call fcn.1400c7040
jmp 0x1400b4f9f
mov rdx, r14
lea rcx, [rsp + 0x7640]
call fcn.1400a3348
mov sil, r12b
mov rbx, r12
cmp qword [rsp + 0x128], r12
jbe 0x1400b4c10
cmp byte [0x14014aa58], r12b
jne 0x1400b4c10
lea rcx, [rsp + 0x35e0]
call fcn.1400a32e4
mov r8, rbx
lea rdx, [rsp + 0x45e0]
lea rcx, [rsp + 0x50]
call fcn.14004b388
mov rcx, rax
call fcn.1400615e8
lea rdx, [rsp + 0x25e0]
movzx ecx, word [rax]
mov word [rdx], cx
add rax, 2
add rdx, 2
cmp cx, r12w
jne 0x1400b4aad
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x25e0]
call fcn.14003ca1c
cmp eax, r12d
je 0x1400b4b2a
mov dl, r13b
lea rcx, [rsp + 0x25e0]
call fcn.1400612fc
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x25e0]
call fcn.14003ca1c
cmp eax, r12d
je 0x1400b4b2a
mov ecx, 0x1f7
call fcn.140076080
mov rcx, rax
lea rdx, [rsp + 0x25e0]
call fcn.1400b189c
lea rcx, [0x140134b90]
call fcn.1400330fc
jmp 0x1400b4bff
lea rcx, [rsp + 0x25e0]
call fcn.1400a32e4
mov cl, r13b
call fcn.14009e044
mov r8, rbx
lea rdx, [rsp + 0x45e0]
lea rcx, [rsp + 0x50]
call fcn.14004b388
mov rcx, rax
mov r8, r14
lea rdx, [0x140166802]
call fcn.140062b0c
cmp byte [0x140148965], r12b
jne 0x1400b4b84
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140166802]
mov rcx, rbp
call fcn.140018388
cmp dword [0x140157c40], r12d
jne 0x1400b4b96
cmp byte [0x140157c4a], r12b
je 0x1400b4b99
mov sil, r13b
mov eax, dword [0x1401579d4]
mov dword [0x140163790], eax
lea rcx, [0x140167a30]
call fcn.140080b98
lea rcx, [0x140167808]
call fcn.140080b98
lea rdx, [0x1400e0250]
lea rcx, [0x140167808]
call fcn.140080bc0
mov edi, dword [0x14018bf30]
mov r8b, r13b
xor edx, edx
mov rcx, rbp
call fcn.140019868
movzx edx, byte [0x140148964]
cmp edi, dword [0x14018bf30]
cmovne edx, r13d
mov byte [0x140148964], dl
cmp dl, r12b
jne 0x1400b4c10
add rbx, r13
cmp rbx, qword [rsp + 0x128]
jb 0x1400b4a6e
mov bl, r12b
cmp byte [0x140148964], r12b
jne 0x1400b4ebb
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140166802]
lea ecx, [r9 + 9]
call fcn.1400a5f90
mov bl, al
lea rdx, [rsp + 0x4e0]
lea rcx, [0x1400e0d40]
call fcn.1400a3744
mov ecx, 0x543
call fcn.140076080
mov rcx, rax
call fcn.1400a3744
lea rcx, [rsp + 0x35e0]
call fcn.1400a32e4
lea rdx, [rsp + 0x35e0]
lea rcx, [rsp + 0x14e0]
call fcn.1400aa68c
mov dword [rsp + 0x20], 0x2000
mov r9d, 0x2b8
lea r8, [rsp + 0x220]
xor edx, edx
lea rcx, [rsp + 0x4e0]
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov rcx, rax
shr rcx, 0x10
cmp cx, r12w
jne 0x1400b4e19
mov ecx, 0x5a4d
cmp ax, cx
je 0x1400b4ccf
mov ecx, 0x4550
cmp ax, cx
jne 0x1400b4e19
mov rcx, r12
movzx eax, word [rsp + rcx + 0x35e0]
mov word [rsp + rcx + 0x25e0], ax
add rcx, 2
cmp ax, r12w
jne 0x1400b4cd2
mov rdx, r14
lea rcx, [rsp + 0x25e0]
call fcn.14006119c
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x25e0]
repne scasw ax, word [rdi]
not rcx
sub rcx, r13
mov rdi, rcx
call fcn.1400c7b74
mov r9d, eax
mov rdx, r14
sub rdx, rdi
lea rcx, [rsp + rdi*2 + 0x25e0]
lea r8, str.Rar_Scan_d.bat
call fcn.140022b7c
lea rdx, [0x1400e1c4c]
lea rcx, [rsp + 0x25e0]
call fcn.14003c204
mov rbp, rax
cmp rax, r12
je 0x1400b4e19
cmp word [rsp + 0x4e0], 0x22
je 0x1400b4d73
mov rdx, r14
lea rcx, [rsp + 0x4e0]
call fcn.140080a74
lea rax, [rsp + 0x14e0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x4e0]
lea r8, str.__s__s_r_n_echo._r_n_pause
mov edi, 0x1000
mov rdx, rdi
lea rcx, [rsp + 0x5640]
call fcn.140022b7c
mov r8, rdi
lea rdx, [rsp + 0x45e0]
lea rcx, [rsp + 0x5640]
call fcn.140087f80
mov byte [rsp + 0x55df], r12b
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x45e0]
repne scasb al, byte [rdi]
not rcx
sub rcx, r13
mov r8, rcx
mov r9, rbp
mov rdx, r13
lea rcx, [rsp + 0x45e0]
call fcn.1400c8f54
mov rcx, rbp
call fcn.1400c8d40
mov r8, r14
lea rdx, [rsp + 0x25e0]
lea rcx, [rsp + 0x4e0]
call fcn.1400805a0
mov word [rsp + 0x14e0], r12w
mov qword [rsp + 0x30], r12
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], r12b
lea r9, [rsp + 0x14e0]
lea r8, [rsp + 0x35e0]
lea rdx, [rsp + 0x4e0]
xor ecx, ecx
call fcn.1400b8f3c
cmp al, r12b
je 0x1400b4ea1
mov edi, 0xc8
mov edx, edi
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ebp, [rdi + 0x3a]
cmp eax, ebp
jne 0x1400b4e94
cmp byte [0x14014aa58], r12b
jne 0x1400b4e94
mov ecx, 0x14
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140053a58
mov edx, edi
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, ebp
je 0x1400b4e6a
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400b4ebb
mov ecx, 0x201
call fcn.140076080
mov rcx, rax
lea rdx, [rsp + 0x4e0]
call fcn.1400b189c
lea rcx, [rsp + 0x7640]
call fcn.1400a32e4
cmp sil, r12b
je 0x1400b4f4a
mov rcx, r12
movzx eax, word [rsp + rcx + 0x35e0]
mov word [rsp + rcx + 0x25e0], ax
add rcx, 2
cmp ax, r12w
jne 0x1400b4ed0
lea rcx, [rsp + 0x25e0]
call fcn.1400615e8
mov ecx, SHRestricted
mov word [rax + 0xc], cx
lea rcx, [rsp + 0x25e0]
call fcn.14003c3d4
cmp al, r12b
jne 0x1400b4f4a
lea rdx, [rsp + 0x25e0]
lea rcx, [rsp + 0x35e0]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
cmp eax, r12d
je 0x1400b4f4a
mov rcx, r12
movzx eax, word [rsp + rcx + 0x25e0]
mov word [rsp + rcx + 0x35e0], ax
add rcx, 2
cmp ax, r12w
jne 0x1400b4f30
lea rcx, [rsp + 0x35e0]
call fcn.1400a2f40
cmp bl, r12b
je 0x1400b4f6a
mov rcx, qword [0x140148968]
call qword [sym.imp.USER32.dll_DestroyWindow]
nop
mov rcx, qword [rsp + 0x130]
cmp rcx, r12
je 0x1400b4f7d
call fcn.1400c7040
nop
mov rcx, qword [rsp + 0x108]
cmp rcx, r12
je 0x1400b4f90
call fcn.1400c7040
nop
mov rcx, qword [rsp + 0x50]
cmp rcx, r12
je 0x1400b4f9f
call fcn.1400c7040
mov rcx, qword [rsp + 0x8640]
xor rcx, rsp
call fcn.1400c6350
lea r11, [rsp + 0x8650]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop r12
ret