Function at 0x140061c90
Capabilities:
Enumerate files on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1f98
call fcn.1400ea040
sub rsp, rax
mov qword [rsp + 0xc0], 0xfffffffffffffffe
mov rax, qword [0x14012df80]
xor rax, rsp
mov qword [rsp + 0x1f80], rax
mov rdi, r9
mov rsi, r8
mov r13, rdx
mov qword [rsp + 0xa0], rdx
mov r12, rcx
mov qword [rsp + 0xa8], rcx
mov ebx, dword [rsp + 0x2000]
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], r9
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rdx
lea r9, str.pAryUninstFiles_x__lpszKeyName_s__lpszUninstKey_s__bApp_d
lea r8, str.GetUninstallFiles
lea rdx, str.CRegistryIF
mov rcx, qword [rcx]
call fcn.140080c70
xor ebp, ebp
test rdi, rdi
je 0x14006263d
lea rax, str.Applications
lea r9, str.PrinterDrivers
test ebx, ebx
cmovne r9, rax
mov ebx, 0x400
mov dword [rsp + 0x20], ebx
mov r8, rdi
lea rdx, [rsp + 0xd50]
mov rcx, qword [r12 + 8]
call fcn.140013060
mov r9d, ebx
mov r8, rsi
lea rdx, [rsp + 0xd50]
mov rcx, qword [r12 + 8]
call fcn.140012f30
lea edx, [rbx + 0x10]
lea rcx, [rsp + 0x530]
mov r9d, ebp
lea r8, [rsp + 0xd50]
lea rax, [rsp + 0x530]
sub r8, rax
lea rax, [rdx + 0x7ffffbee]
test rax, rax
je 0x140061db6
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140061db6
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140061d91
jmp 0x140061dbb
test rdx, rdx
jne 0x140061dc5
sub rcx, 2
mov r9d, 0x8007007a
mov word [rcx], bp
test r9d, r9d
jne 0x140061e30
lea rdx, str.Files
lea rcx, [rsp + 0x530]
call fcn.14002ae40
mov r11, rbx
lea rcx, [rsp + 0xd50]
lea rdx, [rsp + 0x530]
lea rax, [rsp + 0xd50]
sub rdx, rax
nop
lea rax, [r11 + 0x7ffffbfe]
test rax, rax
je 0x140061e24
movzx eax, word [rdx + rcx]
test ax, ax
je 0x140061e24
mov word [rcx], ax
add rcx, 2
sub r11, 1
jne 0x140061e00
jmp 0x140061e29
test r11, r11
jne 0x140061e2d
sub rcx, 2
mov word [rcx], bp
mov edx, 0x410
lea rcx, [rsp + 0x530]
mov r9d, ebp
lea r8, [rsp + 0xd50]
lea rax, [rsp + 0x530]
sub r8, rax
lea rax, [rdx + 0x7ffffbee]
test rax, rax
je 0x140061e78
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140061e78
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140061e53
jmp 0x140061e7d
test rdx, rdx
jne 0x140061e87
sub rcx, 2
mov r9d, 0x8007007a
mov word [rcx], bp
test r9d, r9d
jne 0x140061ef0
lea rdx, str.Extension
lea rcx, [rsp + 0x530]
call fcn.14002ae40
lea rcx, [rsp + 0xd50]
lea rdx, [rsp + 0x530]
lea rax, [rsp + 0xd50]
sub rdx, rax
nop
lea rax, [rbx + 0x7ffffbfe]
test rax, rax
je 0x140061ee4
movzx eax, word [rdx + rcx]
test ax, ax
je 0x140061ee4
mov word [rcx], ax
add rcx, 2
sub rbx, 1
jne 0x140061ec0
jmp 0x140061ee9
test rbx, rbx
jne 0x140061eed
sub rcx, 2
mov word [rcx], bp
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xd50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0xffffffff80000002
lea r9, str.hKey_x__lpszSubKey_s__phSubKey_x
lea r8, str.OpenSubKey
lea rdx, str.CRegistryIF
mov rcx, qword [r12]
call fcn.140081070
mov ebx, ebp
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [rsp + 0xd50]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, 1
test eax, eax
jne 0x140061f6d
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov ebx, ecx
mov dword [rsp + 0x20], ebx
lea r9, [0x1400fb428]
lea r8, str.OpenSubKey
lea rdx, str.CRegistryIF
mov rcx, qword [r12]
call fcn.140081270
test ebx, ebx
je 0x14006263d
mov rdx, qword [rsp + 0x58]
mov rcx, r12
call fcn.1400672f0
mov r14, rax
mov qword [rsp + 0x98], rax
test rax, rax
je 0x14006263d
mov r15d, ebp
mov dword [rsp + 0x48], ebp
mov rcx, qword [rax + 0x10]
mov rsi, rbp
mov qword [rsp + 0x50], rbp
test rcx, rcx
jle 0x14006262e
test rsi, rsi
js 0x140062002
cmp rsi, rcx
jge 0x140062002
test rsi, rsi
js 0x14006261c
cmp rsi, rcx
jge 0x14006261c
mov rax, qword [r14 + 8]
mov r13, qword [rax + rsi*8]
mov qword [rsp + 0x90], r13
jmp 0x14006200d
mov r13, rbp
mov qword [rsp + 0x90], rbp
mov rbx, qword [rsp + 0x58]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rbx
lea r9, str.hKey_x__lpszSubKey_s__phSubKey_x
lea r8, str.OpenSubKey
lea rdx, str.CRegistryIF
mov rcx, qword [r12]
call fcn.140081070
mov edi, ebp
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, r13
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14006207e
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x40], rax
mov edi, 1
mov dword [rsp + 0x20], edi
lea r9, [0x1400fb428]
lea r8, str.OpenSubKey
lea rdx, str.CRegistryIF
mov rcx, qword [r12]
call fcn.140081270
test edi, edi
je 0x1400625f1
xor eax, eax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rax
lea r8, str.ProfilePath
mov rdx, qword [rsp + 0x40]
mov rcx, r12
call fcn.1400678e0
mov qword [rsp + 0x68], rax
lea r8, str.FileSpec
mov rdx, qword [rsp + 0x40]
mov rcx, r12
call fcn.1400678e0
mov qword [rsp + 0x70], rax
test rax, rax
je 0x1400624cd
xor r9d, r9d
mov r8w, 0x2c
mov rdx, rax
mov rcx, qword [r12 + 8]
call fcn.140010520
mov r14, rax
test rax, rax
je 0x1400624c5
mov r15d, ebp
mov r13, rbp
mov rcx, qword [rax + 0x10]
test rcx, rcx
jle 0x1400624a0
nop
test r13, r13
js 0x140062166
cmp r13, rcx
jge 0x140062166
test r13, r13
js 0x140062622
cmp r13, rcx
jge 0x140062622
mov rax, qword [r14 + 8]
mov r9, qword [rax + r13*8]
jmp 0x140062169
mov r9, rbp
mov dword [rsp + 0x20], 0x104
mov r8, qword [rsp + 0x68]
lea rdx, [rsp + 0x1550]
mov rcx, qword [r12 + 8]
call fcn.140013060
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x1550]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x14006247b
nop
nop
test byte [rsp + 0xd0], 0x10
jne 0x140062459
mov edx, 0x410
lea rcx, [rsp + 0x530]
mov r9d, ebp
lea rax, [rsp + 0x530]
mov r8, qword [rsp + 0x68]
sub r8, rax
nop
lea rax, [rdx + 0x7ffffbee]
test rax, rax
je 0x140062205
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140062205
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x1400621e0
jmp 0x14006220a
test rdx, rdx
jne 0x140062214
sub rcx, 2
mov r9d, 0x8007007a
mov word [rcx], 0
test r9d, r9d
jne 0x140062367
mov edx, 0x410
lea rcx, [rsp + 0x1760]
mov r9d, ebp
lea r8, [rsp + 0x530]
lea rax, [rsp + 0x1760]
sub r8, rax
nop
nop
nop
lea rax, [rdx + 0x7ffffbee]
test rax, rax
je 0x140062275
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140062275
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140062250
jmp 0x14006227a
test rdx, rdx
jne 0x140062284
sub rcx, 2
mov r9d, 0x8007007a
mov word [rcx], 0
test r9d, r9d
jne 0x140062367
lea rdx, [rsp + 0xfc]
lea rcx, [rsp + 0x1760]
call fcn.14002ae40
mov r11d, 0x410
lea rcx, [rsp + 0x530]
mov r8d, ebp
lea rdx, [rsp + 0x1760]
lea rax, [rsp + 0x530]
sub rdx, rax
nop
nop
lea rax, [r11 + 0x7ffffbee]
test rax, rax
je 0x1400622f4
movzx eax, word [rdx + rcx]
test ax, ax
je 0x1400622f4
mov word [rcx], ax
add rcx, 2
sub r11, 1
jne 0x1400622d0
jmp 0x1400622f9
test r11, r11
jne 0x140062303
sub rcx, 2
mov r8d, 0x8007007a
mov word [rcx], 0
mov eax, ebp
test r8d, r8d
sete al
test eax, eax
je 0x140062367
mov edx, 0x104
lea rcx, [rsp + 0x320]
lea r8, [rsp + 0x530]
lea rax, [rsp + 0x320]
sub r8, rax
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x140062359
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140062359
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140062334
jmp 0x14006235e
test rdx, rdx
jne 0x140062362
sub rcx, 2
mov word [rcx], 0
mov rdi, qword [rsp + 0x88]
test rdi, rdi
jne 0x1400623bd
lea ecx, [rdi + 0x30]
call fcn.140091360
mov rdi, rax
mov qword [rsp + 0xb8], rax
test rax, rax
je 0x1400623b2
mov rcx, rax
call fcn.1400aa430
nop
lea rax, method.CPtrArray.virtual_0
mov qword [rdi], rax
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_HeapCreate]
mov qword [rdi + 0x28], rax
jmp 0x1400623b5
mov rdi, rbp
mov qword [rsp + 0x88], rdi
mov esi, ebp
mov rbx, rbp
cmp qword [rdi + 0x10], rbx
jle 0x140062415
test esi, esi
jne 0x140062459
test rbx, rbx
js 0x1400623ee
cmp rbx, qword [rdi + 0x10]
jge 0x1400623ee
test rbx, rbx
js 0x140062628
mov rax, qword [rdi + 8]
mov rcx, qword [rax + rbx*8]
jmp 0x1400623f1
mov rcx, rbp
lea rdx, [rsp + 0x320]
call fcn.1400cdd20
test eax, eax
mov eax, 1
cmove esi, eax
add rbx, rax
cmp rbx, qword [rdi + 0x10]
jl 0x1400623c8
test esi, esi
jne 0x140062459
mov ecx, 0x3fffffff
lea rax, [rsp + 0x320]
cmp word [rax], 0
je 0x140062434
add rax, 2
sub rcx, 1
jne 0x140062422
jmp 0x140062459
test rcx, rcx
je 0x140062459
mov r8d, 0x3fffffff
sub r8, rcx
add r8, r8
add r8, 2
lea rdx, [rsp + 0x320]
mov rcx, rdi
call fcn.14005c920
lea rdx, [rsp + 0xd0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400621b0
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindClose]
add r15d, 1
add r13, 1
mov rcx, qword [r14 + 0x10]
movsxd rax, r15d
cmp rax, rcx
mov r12, qword [rsp + 0xa8]
jl 0x140062140
mov rsi, qword [rsp + 0x50]
mov rax, qword [r14]
mov edx, 1
mov rcx, r14
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r13, qword [rsp + 0x90]
mov r14, qword [rsp + 0x98]
mov r15d, dword [rsp + 0x48]
jmp 0x1400624cd
mov r14, qword [rsp + 0x98]
lea r8, str.TextSpec
mov rdx, qword [rsp + 0x40]
mov rcx, r12
call fcn.1400678e0
mov qword [rsp + 0x78], rax
lea r8, str.Flags
mov rdx, qword [rsp + 0x40]
mov rcx, r12
call fcn.1400678e0
test rax, rax
je 0x140062528
mov ecx, 4
cmp byte [rax], 0
mov edi, 8
cmove ecx, edi
mov byte [rsp + 0x60], cl
mov rcx, qword [r12 + 8]
mov r8, rax
xor edx, edx
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x140062532
mov byte [rsp + 0x60], 4
mov edi, 8
lea r8, str.Type
mov rdx, qword [rsp + 0x40]
mov rcx, r12
call fcn.1400678e0
test rax, rax
je 0x14006256e
bt dword [rax], 8
setb cl
add cl, 1
or byte [rsp + 0x60], cl
mov rcx, qword [r12 + 8]
mov r8, rax
xor edx, edx
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x140062573
mov byte [rsp + 0x60], 1
mov rdx, r13
mov rcx, qword [r12 + 8]
call fcn.140013c20
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r8d, 0x30
mov edx, edi
mov r13, qword [rsp + 0xa0]
mov rcx, qword [r13 + 0x28]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x1400625f9
mov r9d, 0x30
lea r8, [rsp + 0x60]
mov rdx, r9
mov rcx, rax
call fcn.1400cd500
test eax, eax
jne 0x1400625e0
mov r8, rbx
mov rdx, qword [r13 + 0x10]
mov rcx, r13
call fcn.1400aa678
jmp 0x1400625f9
mov r8, rbx
xor edx, edx
mov rcx, qword [r13 + 0x28]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1400625f9
mov r13, qword [rsp + 0xa0]
add r15d, 1
mov dword [rsp + 0x48], r15d
add rsi, 1
mov qword [rsp + 0x50], rsi
mov rcx, qword [r14 + 0x10]
movsxd rax, r15d
cmp rax, rcx
jge 0x14006262e
jmp 0x140061fd4
call fcn.1400a0610
int3
call fcn.1400a0610
int3
call fcn.1400a0610
int3
mov r10, qword [r14]
mov edx, 1
mov rcx, r14
call qword [r10 + reloc.OLEAUT32.dll_VariantClear]
cmp qword [r13 + 0x10], 0
setne bpl
mov dword [rsp + 0x20], ebp
lea r9, [0x1400fb428]
lea r8, str.GetUninstallFiles
lea rdx, str.CRegistryIF
mov rcx, qword [r12]
call fcn.140080e70
mov eax, ebp
mov rcx, qword [rsp + 0x1f80]
xor rcx, rsp
call fcn.1400cd6e0
add rsp, 0x1f98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret