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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x10173500]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x1c]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp + 0x20]
mov dword [ebp - 0x54], eax
mov eax, ebx
mov dword [ebp - 0x4c], edx
push edi
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x68], ecx
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10002d40
sub eax, edx
sar eax, 1
mov edi, eax
mov eax, 0x1f3
push esi
sub eax, edi
push ebx
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x64], eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x60], eax
cmp eax, 0xffffffff
jne 0x10002d84
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.101026e9
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 0x50], eax
cmp dword [0x1017be54], eax
je 0x10002e40
lea ecx, [ebp - 0x34]
push ecx
push 0x20119
push eax
push str.SOFTWARETECOcular.3Agent
xor edx, edx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x38], eax
mov word [ebp - 0x30], dx
mov dword [ebp - 0x2e], eax
mov dword [ebp - 0x2a], eax
mov dword [ebp - 0x26], eax
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x16], eax
mov dword [ebp - 0x12], eax
mov dword [ebp - 0xe], eax
mov word [ebp - 0xa], ax
mov dword [ebp - 0x34], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x48], eax
test eax, eax
jne 0x10002e13
mov ecx, dword [ebp - 0x34]
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0x50]
push eax
push 0
push 0
push str.tec_test
push ecx
mov dword [ebp - 0x3c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0x34]
push edx
mov dword [ebp - 0x38], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x48]
cmp dword [0x1017be54], 0
je 0x10002e40
mov ecx, dword [ebp - 0x38]
push ecx
push eax
lea edx, [ebp - 0x30]
push edx
push ebx
push str.EnumPathW__lpszPath_:__s___szBuf_:__s___error1_:__d___error2_:__d_
push str.ifocms
or ecx, 0xffffffff
mov edx, 0x1017bdc4
call fcn.10005f70
add esp, 0x18
mov eax, 1
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 0x12
test byte [esi], 0x10
je 0x10002f40
cmp word [esi + 0x2c], 0x2e
lea eax, [esi + 0x2c]
jne 0x10002e82
movzx ecx, word [esi + 0x2e]
cmp ecx, 0x2e
jne 0x10002e79
cmp word [esi + 0x30], 0
je 0x10002f60
test cx, cx
je 0x10002f60
mov ecx, eax
lea edx, [ecx + 2]
mov dword [ebp - 0x48], edx
lea ebx, [ebx]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x10002e90
sub ecx, dword [ebp - 0x48]
sar ecx, 1
inc ecx
cmp dword [ebp - 0x64], ecx
jb 0x10002f60
xor ecx, ecx
mov word [ebx + edi*2 - 2], cx
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10002eb3
sub eax, edx
lea edi, [ebx - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x10002ec3
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x68]
test esi, esi
je 0x10002eed
mov edx, dword [ebp - 0x44]
push edx
push ebx
call esi
lea eax, [ebx - 2]
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x10002ef0
mov ecx, dword [0x10152750]
mov dword [eax], ecx
mov dx, word [0x10152754]
mov ecx, dword [ebp - 0x4c]
push esi
mov word [eax + 4], dx
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x58]
push ecx
mov ecx, dword [ebp - 0x5c]
push edx
push eax
push ecx
push ebx
call fcn.10002d00
mov esi, dword [ebp - 0x5c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x40]
add esp, 0x1c
mov dword [ebx + eax*2 - 2], 0x2a
jmp 0x10002f60
mov eax, dword [ebp - 0x44]
push eax
lea ecx, [esi + 0x2c]
push ecx
xor edx, edx
push ebx
mov word [ebx + edi*2 - 2], dx
call dword [ebp - 0x58]
mov edx, 0x2a
mov dword [ebp - 0x34], eax
mov word [ebx + edi*2 - 2], dx
cmp dword [ebp - 0x34], 0
je 0x10002fbc
mov eax, dword [ebp - 0x60]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov edi, eax
mov dword [ebp - 0x3c], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x50], 1
mov dword [ebp - 0x38], eax
jne 0x10002f91
test edi, edi
je 0x10002f9d
mov edi, dword [ebp - 0x40]
jmp 0x10002e52
test edi, edi
je 0x10002fa6
mov edi, dword [ebp - 0x40]
jmp 0x10002e52
mov dword [ebp - 0x38], 0x15
jmp 0x10002fab
cmp eax, 0x12
je 0x10002fbc
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x38]
mov dword [ecx], 1
mov dword [edx], eax
cmp dword [0x1017be54], 0
je 0x10002fe7
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
push ecx
push edx
push str.EnumPathW_dwError_:__d___bRet_:__d_
push str.ifocms
or ecx, 0xffffffff
mov edx, 0x1017bdc4
call fcn.10005f70
add esp, 0x10
mov eax, dword [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x34]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101026e9
mov esp, ebp
pop ebp
ret