Function at 0x140097c90
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
sub rsp, 0x4b0
mov rax, qword [0x14042d950]
xor rax, rsp
mov qword [rsp + Ordinal_1189], rax
mov r12, rdx
mov ebp, ecx
call fcn.140028250
mov rsi, rax
call fcn.14002bfe0
xor ebx, ebx
mov rdi, rax
xor eax, eax
mov dword [rsp + 0x80], ebx
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x34], ebx
mov dword [rsp + 0x84], eax
mov dword [rsp + 0x88], eax
mov dword [rsp + 0x8c], eax
mov rax, qword [rdi]
mov edx, ebp
mov rcx, rdi
call qword [rax + 8]
test al, al
jne 0x140097e07
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx]
call fcn.140049470
lea rcx, [0x140434120]
xor edx, edx
mov r8d, 0x80
mov rsi, rax
call sub.ntdll.dll_memset
lea edx, [rbx + 0x5c]
lea rcx, str...corehelp.cpp
call qword [sym.imp.ntdll.dll_strrchr]
test rax, rax
mov rdi, rax
je 0x140097de7
xor eax, eax
lea rdx, [0x1402dfd08]
lea rcx, [rsp + 0x90]
mov r8d, 0x3eb
mov byte [rsp + 0x90], bl
mov qword [rsp + 0x91], rax
mov word [rsp + 0x99], ax
mov byte [rsp + 0x9b], al
call qword [sym.imp.ntdll.dll_sprintf]
lea rdx, [rdi + 1]
lea rcx, [0x140434120]
sub rcx, rdx
nop
nop
movzx eax, byte [rdx]
add rdx, 1
test al, al
mov byte [rcx + rdx - 1], al
jne 0x140097da0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [0x140434120]
repne scasb al, byte [rdi]
xor ecx, ecx
lea rdx, [rsp + 0x90]
nop
nop
movzx eax, byte [rdx + rcx]
add rcx, 1
test al, al
mov byte [rdi + rcx - 2], al
jne 0x140097dd0
lea rbx, [0x140434120]
mov rax, qword [rsi]
lea rdx, str._s_DiskIndex:_d__BootStartSector:_d
mov r9d, ebp
mov r8, rbx
mov rcx, rsi
mov qword [rsp + 0x20], r12
call qword [rax + 0x10]
jmp 0x14009804a
mov rax, qword [rdi]
lea rdx, [rsp + 0x38]
mov rcx, rdi
call qword [rax + 0x28]
mov rcx, rdi
test al, al
mov rax, qword [rdi]
jne 0x140097e6e
call qword [rax + 0x90]
mov rdx, qword [rsi]
mov rcx, rsi
call qword [rdx]
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx]
call fcn.140049470
lea rcx, str...corehelp.cpp
mov rbx, qword [rax]
mov edx, reloc.MFC80U.DLL_Ordinal_1013
mov rdi, rax
call fcn.1400958d0
lea rdx, str._s_DiskIndex:_d_BootStartSector:_d
mov r9d, ebp
mov rcx, rdi
mov r8, rax
mov qword [rsp + 0x20], r12
call qword [rbx + 0x10]
jmp 0x14009804a
lea rdx, [rsp + 0x34]
call qword [rax + 0x78]
mov rcx, rdi
test al, al
jne 0x140097ecf
mov rax, qword [rdi]
call qword [rax + 0x90]
mov rdx, qword [rsi]
mov rcx, rsi
call qword [rdx]
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx]
call fcn.140049470
lea rcx, str...corehelp.cpp
mov rbx, qword [rax]
mov edx, reloc.MFC80U.DLL_Ordinal_1022
mov rdi, rax
call fcn.1400958d0
lea rdx, str._s_DiskIndex:_d_BootStartSector:_d
mov r9d, ebp
mov rcx, rdi
mov r8, rax
mov qword [rsp + 0x20], r12
call qword [rbx + 0x10]
jmp 0x14009804a
xor eax, eax
cmp dword [rsp + 0x38], eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov rax, qword [rdi]
jne 0x140097f04
lea rdx, [rsp + 0x30]
call qword [rax + 0x48]
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x50], eax
jmp 0x140097f32
lea rdx, [rsp + 0x80]
call qword [rax + 0x50]
lea rcx, [rsp + 0x80]
lea rdx, [rsp + 0x50]
mov rax, qword [rcx]
mov dword [rsp + 0x40], 1
mov qword [rdx], rax
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x90]
lea rcx, [rsp + 0xa2]
xor edx, edx
mov r8d, 0xfe
mov word [rsp + 0xa0], bx
call sub.ntdll.dll_memset
mov edx, dword [rsp + 0x34]
lea rcx, [rsp + 0x40]
imul rdx, r12
mov qword [rsp + 0x48], rdx
mov rax, qword [rcx]
lea rdx, [rsp + 0x60]
lea r8, [rsp + 0xa0]
mov r9d, 0x100
mov qword [rdx], rax
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
mov rax, qword [rcx + 0x10]
mov qword [rdx + 0x10], rax
mov rax, qword [rcx + 0x18]
mov rcx, rsi
mov qword [rdx + 0x18], rax
mov rax, qword [rsi]
lea rdx, [rsp + 0x60]
call qword [rax + 0xb0]
lea rcx, [rsp + reloc.MFC80U.DLL_Ordinal_418]
xor edx, edx
mov r8d, 0xfe
mov word [rsp + 0x1a0], bx
call sub.ntdll.dll_memset
mov rax, qword [rsi]
lea r8, [rsp + 0x1a0]
lea rdx, [rsp + 0xa0]
mov r9d, 0x100
mov rcx, rsi
call qword [rax + 0x80]
lea rcx, [rsp + 0x2a2]
xor edx, edx
mov r8d, Ordinal_512
mov word [rsp + reloc.MFC80U.DLL_Ordinal_672], bx
call sub.ntdll.dll_memset
lea r8, [rsp + 0x1a0]
lea rdx, str.___sAMTAG.BIN
lea rcx, [rsp + reloc.MFC80U.DLL_Ordinal_672]
call fcn.140002b60
lea rcx, [rsp + reloc.MFC80U.DLL_Ordinal_672]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.140097b30
mov rdx, qword [rsi]
mov rcx, rsi
call qword [rdx]
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx]
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.140161080
lea r11, [rsp + 0x4b0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret