Function at 0x1800071b0
Capabilities:
Delete file
Terminate process

Disassembly:
push rbx
sub rsp, 0x40
mov r8d, ecx
xor edx, edx
mov ecx, 0x411
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x1800071da
add rsp, 0x40
pop rbx
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x1002
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rdi
call fcn.1800251fc
xor edi, edi
mov rsi, rax
mov r9d, edi
test rax, rax
je 0x180007208
mov r9d, 0x1000
mov word [rax + 0x1000], di
mov r8, rax
xor edx, edx
mov rcx, rbx
call fcn.180007920
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp qword [0x180033c68], rdi
jne 0x18000724e
mov ecx, 0x1994
call fcn.1800251fc
test rax, rax
je 0x180007247
mov dword [rax + 0x1990], edi
mov qword [0x180033c68], rax
jmp 0x18000724e
mov qword [0x180033c68], rdi
cmp dword [0x1800362e8], edi
je 0x180007516
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r14
mov ebx, edi
mov qword [rsp + 0x20], r15
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x180007294
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0xa
jl 0x180007275
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebp, eax
add ebp, ebp
lea ecx, [rbp + 2]
movsxd rcx, ecx
call fcn.1800251fc
mov rbx, rax
test rax, rax
je 0x1800072c7
movsxd r8, ebp
mov rdx, rsi
mov rcx, rax
mov word [r8 + rax], di
call fcn.18002525c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
test eax, eax
jle 0x1800072ea
cmp word [rbx + rcx*2], 0x5c
je 0x1800072ea
mov word [rbx + rcx*2], di
dec rcx
test rcx, rcx
jg 0x1800072d7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, str.logexts.dll
mov r12d, eax
add r12d, r12d
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [r12 + 2]
mov r14d, eax
movsxd rcx, ecx
add r14d, r14d
call fcn.1800251fc
mov r15d, edi
mov rbp, rax
test rax, rax
je 0x18000732e
movsxd rcx, r12d
mov r15d, r12d
mov word [rcx + rax], di
movsxd r8, r12d
mov rdx, rbx
mov rcx, rax
call fcn.18002525c
lea r13d, [r14 + r12]
test rbx, rbx
je 0x18000734d
mov rcx, rbx
call sub.KERNEL32.dll_LocalFree
lea eax, [r13 + 2]
movsxd rcx, eax
call fcn.1800251fc
mov r12, rax
test rax, rax
je 0x18000738c
movsxd rcx, r13d
movsxd rbx, r15d
mov rdx, rbp
mov word [rcx + rax], di
mov rcx, rax
mov r8, rbx
call fcn.18002525c
lea rcx, [rbx + r12]
lea rdx, str.logexts.dll
movsxd r8, r14d
call fcn.18002525c
test rbp, rbp
je 0x180007399
mov rcx, rbp
call sub.KERNEL32.dll_LocalFree
mov ebx, edi
nop dword [rax + rax]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1800073bf
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0xa
jl 0x1800073a0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebp, eax
add ebp, ebp
lea ecx, [rbp + 2]
movsxd rcx, ecx
call fcn.1800251fc
mov rbx, rax
test rax, rax
je 0x1800073f2
movsxd r8, ebp
mov rdx, rsi
mov rcx, rax
mov word [r8 + rax], di
call fcn.18002525c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
test eax, eax
jle 0x180007415
cmp word [rbx + rcx*2], 0x5c
je 0x180007415
mov word [rbx + rcx*2], di
dec rcx
test rcx, rcx
jg 0x180007402
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, str.Logger.dat
mov ebp, eax
add ebp, ebp
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [rbp + 2]
mov r15d, eax
movsxd rcx, ecx
add r15d, r15d
call fcn.1800251fc
mov dword [rsp + 0x58], edi
mov r13, rax
test rax, rax
je 0x180007457
movsxd rcx, ebp
mov dword [rsp + 0x58], ebp
mov word [rcx + rax], di
movsxd r8, ebp
mov rdx, rbx
mov rcx, rax
call fcn.18002525c
lea r14d, [r15 + rbp]
test rbx, rbx
je 0x180007476
mov rcx, rbx
call sub.KERNEL32.dll_LocalFree
lea eax, [r14 + 2]
movsxd rcx, eax
call fcn.1800251fc
mov rbp, rax
test rax, rax
je 0x1800074b7
movsxd rbx, dword [rsp + 0x58]
movsxd rcx, r14d
mov rdx, r13
mov word [rcx + rax], di
mov r8, rbx
mov rcx, rax
call fcn.18002525c
lea rcx, [rbx + rbp]
lea rdx, str.Logger.dat
movsxd r8, r15d
call fcn.18002525c
test r13, r13
je 0x1800074c4
mov rcx, r13
call sub.KERNEL32.dll_LocalFree
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov r13, qword [rsp + 0x30]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1800074f2
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0xa
jl 0x1800074d3
test rbp, rbp
je 0x1800074ff
mov rcx, rbp
call sub.KERNEL32.dll_LocalFree
mov rbp, qword [rsp + 0x50]
test r12, r12
je 0x180007511
mov rcx, r12
call sub.KERNEL32.dll_LocalFree
mov r12, qword [rsp + 0x38]
test rsi, rsi
je 0x180007523
mov rcx, rsi
call sub.KERNEL32.dll_LocalFree
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
xor eax, eax
add rsp, 0x40
pop rbx
ret