Function at 0x180002b00
Capabilities:
Enumerate files on windows
Enumerate files recursively
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0xe0
mov rax, qword [0x18004d080]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x120]
mov rsi, rcx
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x128]
mov rdi, rsi
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x60], r9
mov qword [rsp + 0x90], rax
xor eax, eax
mov qword [rsp + 0x88], r8
repne scasw ax, word [rdi]
mov rbx, rdx
not rcx
dec rcx
mov rax, rcx
mov qword [rsp + 0x58], rcx
mov ecx, 0x1f3
sub ecx, eax
mov dword [rsp + 0x68], ecx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x78], rax
cmp rax, 0xffffffffffffffff
jne 0x180002ba0
mov eax, 1
jmp 0x180002eb4
xor r9d, r9d
mov qword [rsp + 0xd8], rbp
mov dword [rsp + 0x50], r9d
cmp dword [0x180054458], r9d
je 0x180002cb5
xor eax, eax
mov edi, r9d
mov word [rsp + 0x98], r9w
mov qword [rsp + 0x9a], rax
mov qword [rsp + 0xa2], rax
mov qword [rsp + 0xaa], rax
mov qword [rsp + 0xb2], rax
mov dword [rsp + 0xba], eax
mov word [rsp + 0xbe], ax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x48], r9
lea rdx, str.SOFTWARETECOcular.3Agent
mov r9d, 0x20119
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebp, eax
test eax, eax
jne 0x180002c6d
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
lea rdx, str.tec_test
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x40], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x48]
mov edi, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x180054458], 0
je 0x180002cb2
mov dword [rsp + 0x38], edi
lea rax, [rsp + 0x98]
mov dword [rsp + 0x30], ebp
mov qword [rsp + 0x28], rax
lea r9, str.EnumPathW__lpszPath_:__s___szBuf_:__s___error1_:__d___error2_:__d_
lea r8, str.ifocms
lea rcx, [0x180054358]
or edx, 0xffffffff
mov qword [rsp + 0x20], rsi
call fcn.180004760
xor r9d, r9d
jmp 0x180002cb5
xor r9d, r9d
movsxd r8, dword [rsp + 0x58]
mov ebp, 1
mov dword [rsp + 0x40], 0x12
mov edi, ebp
mov dword [rsp + 0x48], ebp
nop dword [rax]
test byte [rbx], 0x10
je 0x180002dcd
cmp word [rbx + 0x2c], 0x2e
jne 0x180002cfe
movzx eax, word [rbx + 0x2e]
cmp ax, 0x2e
jne 0x180002cf5
cmp word [rbx + 0x30], 0
je 0x180002dfd
test ax, ax
je 0x180002dfd
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbx + 0x2c]
repne scasw ax, word [rdi]
mov eax, dword [rsp + 0x68]
not rcx
cmp rax, rcx
jb 0x180002df9
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rsi
mov word [rsi + r8*2 - 2], r9w
repne scasw ax, word [rdi]
xor ecx, ecx
nop
movzx eax, word [rbx + rcx + 0x2c]
add rcx, 2
mov word [rdi + rcx - 4], ax
test ax, ax
jne 0x180002d30
mov rbp, qword [rsp + 0x90]
test rbp, rbp
je 0x180002d5a
mov rdx, qword [rsp + 0x60]
mov rcx, rsi
call rbp
mov r9, qword [rsp + 0x60]
mov r8, qword [rsp + 0x88]
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rsi
mov qword [rsp + 0x30], rbp
repne scasw ax, word [rdi]
mov eax, dword [0x18003f6c8]
mov rdx, rbx
mov dword [rdi - 2], eax
movzx eax, word [0x18003f6cc]
mov rcx, rsi
mov word [rdi + 2], ax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x20], rax
call fcn.180002b00
movsxd r8, dword [rsp + 0x58]
mov edi, dword [rsp + 0x48]
mov ebp, eax
mov eax, 0x2a
mov word [rsi + r8*2 - 2], ax
xor eax, eax
mov word [rsi + r8*2], ax
jmp 0x180002dfd
mov word [rsi + r8*2 - 2], r9w
mov r8, qword [rsp + 0x60]
lea rdx, [rbx + 0x2c]
mov rcx, rsi
call qword [rsp + 0x88]
mov ecx, 0x2a
mov ebp, eax
movsxd rax, dword [rsp + 0x58]
mov word [rsi + rax*2 - 2], cx
jmp 0x180002dfd
mov edi, dword [rsp + 0x48]
test ebp, ebp
je 0x180002e6d
mov rcx, qword [rsp + 0x78]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
mov edi, eax
mov dword [rsp + 0x48], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [rsp + 0x50], 1
mov dword [rsp + 0x40], eax
jne 0x180002e37
test edi, edi
je 0x180002e48
movsxd r8, dword [rsp + 0x58]
xor r9d, r9d
jmp 0x180002cd0
test edi, edi
je 0x180002e4f
movsxd r8, dword [rsp + 0x58]
xor r9d, r9d
jmp 0x180002cd0
mov eax, 0x15
jmp 0x180002e54
cmp eax, 0x12
je 0x180002e71
mov r9, qword [rsp + 0x80]
mov dword [r9], 1
mov r9, qword [rsp + 0x70]
mov dword [r9], eax
jmp 0x180002e71
mov eax, dword [rsp + 0x40]
cmp dword [0x180054458], 0
je 0x180002e9f
lea r9, str.EnumPathW_dwError_:__d___bRet_:__d_
lea r8, str.ifocms
lea rcx, [0x180054358]
or edx, 0xffffffff
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], eax
call fcn.180004760
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, ebp
mov rbp, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.180021890
add rsp, 0xe0
pop rdi
pop rsi
pop rbx
ret