Function at 0x14009df90
Capabilities:
Enumerate files on windows
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x260]
sub rsp, 0x360
mov rax, qword [0x140138010]
xor rax, rsp
mov qword [rbp + 0x250], rax
lea rcx, [rbp - 0x68]
call fcn.14009de70
nop
cmp qword [rbp - 0x58], 0
je 0x14009e3cc
mov r8d, ntohl
lea rdx, str.infoem.inf
lea rcx, [rbp - 0x68]
call fcn.1400a3b90
lea rcx, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rcx, qword [rbp - 0x68]
lea rdx, [rbp]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r13, rax
mov rcx, qword [rbp - 0x58]
lea rdx, [rcx - 8]
xor esi, esi
cmp rdx, rcx
ja 0x14009e035
lea rcx, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rcx, qword [rbp - 0x68]
mov qword [rbp - 0x58], rdx
mov word [rcx + rdx*2], si
jmp 0x14009e041
sub rdx, rcx
lea rcx, [rbp - 0x68]
call fcn.1400a3ef0
cmp r13, 0xffffffffffffffff
je 0x14009e3cc
mov edx, 0xa
movabs rcx, 0x7ffffffffffffffe
cmp dword [rbp + 0x1c], 0
jne 0x14009e3ae
cmp dword [rbp + 0x20], 0x186a0
jae 0x14009e3ae
mov r12, qword [rbp - 0x58]
lea rax, [rbp + 0x2c]
mov rdi, 0xffffffffffffffff
inc rdi
cmp word [rax + rdi*2], 0
jne 0x14009e080
mov rax, rcx
sub rax, r12
cmp rax, rdi
jb 0x14009e5d5
lea r15, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae r15, qword [rbp - 0x68]
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], rsi
lea r14, [r12 + rdi]
mov ebx, 7
lea rsi, [rbp - 0x40]
cmp r14, rbx
jbe 0x14009e0ee
mov rbx, r14
or rbx, 7
cmp rbx, rcx
jbe 0x14009e0d6
mov rbx, rcx
jmp 0x14009e0de
cmp rbx, 0xa
cmovb rbx, rdx
lea rdx, [rbx + 1]
call fcn.1400a4070
mov rsi, rax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x28], rbx
lea rbx, [r12 + r12]
mov r8, rbx
mov rdx, r15
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbx + rsi]
lea r8, [rdi + rdi]
lea rdx, [rbp + 0x2c]
call sub.VCRUNTIME140.dll_memcpy
xor eax, eax
mov word [rsi + r14*2], ax
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rcx, qword [rbp - 0x40]
xor esi, esi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [rax + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x14009e19a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009e195
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009e514
call fcn.1400cdbac
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], si
cmp r14, 0xffffffffffffffff
je 0x14009e3ae
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x78], sil
mov ebx, dword [rbp + 0x20]
test rbx, rbx
jne 0x14009e1dc
mov qword [rbp - 0x78], rbx
mov byte [rsp + rbx + 0x78], bl
jmp 0x14009e20c
lea rcx, [rsp + 0x78]
cmp rbx, 0xf
ja 0x14009e1fc
mov qword [rbp - 0x78], rbx
mov r8, rbx
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov byte [rsp + rbx + 0x78], 0
jmp 0x14009e20c
mov byte [rsp + 0x20], 0
mov r9, rbx
mov rdx, rbx
call fcn.14003f120
mov dword [rsp + 0x40], esi
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 0x10
cmovae rdx, qword [rsp + 0x78]
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x40]
mov r8d, dword [rbp + 0x20]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14009e368
mov eax, dword [rbp + 0x20]
cmp dword [rsp + 0x40], eax
jne 0x14009e368
lea rdi, [rsp + 0x78]
cmp qword [rbp - 0x70], 0x10
cmovae rdi, qword [rsp + 0x78]
mov rax, qword [rbp - 0x78]
cmp rax, 0x10
jb 0x14009e2ce
lea rsi, [rax + rdi]
lea r8, [rsi - 0xf]
sub r8, rdi
mov edx, 0x74
mov rcx, rdi
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x14009e2cc
nop word [rax + rax]
mov r8d, 0x10
lea rdx, str.tap_pia_0901.sys
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14009e50a
inc rbx
lea r8, [rsi - 0xf]
sub r8, rbx
mov edx, 0x74
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x14009e290
xor esi, esi
mov rbx, 0xffffffffffffffff
cmp rbx, 0xffffffffffffffff
je 0x14009e368
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x10], rsi
mov qword [rbp - 8], 7
mov word [rbp - 0x20], si
lea rax, [rbp + 0x2c]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x14009e300
lea rdx, [rbp + 0x2c]
lea rcx, [rbp - 0x20]
call fcn.1400a3dc0
nop
lea r8, [rbp - 0x20]
lea rdx, [rsp + 0x48]
call fcn.1400a4320
nop
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x14009e368
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009e363
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009e51b
call fcn.1400cdbac
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x14009e3ae
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009e3a9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009e522
call fcn.1400cdbac
lea rdx, [rbp]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14009e04b
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindClose]
xor sil, sil
mov rbx, qword [0x140146e98]
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], sil
jne 0x14009e559
lea r14, str.D:_apia_desktoppia_desktopdaemon_srcwin.._.._.._extras_installer_win_tap.inl
lea r15, [0x1400fba51]
lea rdi, [rbx + 0x20]
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], r15
mov r8d, 0xfe
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x58]
call qword [sym.imp.kapps_core.dll_public:_void___cdecl_kapps::core::SourceLocation::constructor_class_kapps::core::BasicStringSlice_char__struct_std::char_traits_char___const____ptr64__int____ptr64]
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp - 0x10], xmm1
xor r9d, r9d
lea r8d, [r9 + 3]
lea rdx, [rbp - 0x20]
lea rcx, [rbp]
call qword [sym.imp.kapps_core.dll_public:_void___cdecl_kapps::core::LogWriter::constructor_class_kapps::core::SourceLocation__enum_kapps::core::LogMessage::Level__class_kapps::core::LogCategory_const____ptr64____ptr64]
nop
lea rdx, str.Uninstalling_driver_package
mov rcx, rax
call qword [sym.imp.kapps_core.dll_public:_class_kapps::core::LogWriter____ptr64___cdecl_kapps::core::LogWriter::macroParams_char_const____ptr64____ptr64]
nop
lea rcx, [rbp]
call qword [sym.imp.kapps_core.dll_public:_void___cdecl_kapps::core::LogWriter::destructor_void____ptr64]
cmp qword [rdi + 0x18], 8
jb 0x14009e45e
mov rdi, qword [rdi]
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.SETUPAPI.dll_SetupUninstallOEMInfW]
test eax, eax
jne 0x14009e4de
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r15
mov r8d, 0x101
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x58]
call qword [sym.imp.kapps_core.dll_public:_void___cdecl_kapps::core::SourceLocation::constructor_class_kapps::core::BasicStringSlice_char__struct_std::char_traits_char___const____ptr64__int____ptr64]
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp - 0x30], xmm1
xor r9d, r9d
lea r8d, [r9 + 3]
lea rdx, [rbp - 0x40]
lea rcx, [rbp]
call qword [sym.imp.kapps_core.dll_public:_void___cdecl_kapps::core::LogWriter::constructor_class_kapps::core::SourceLocation__enum_kapps::core::LogMessage::Level__class_kapps::core::LogCategory_const____ptr64____ptr64]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Unable_to_uninstall_driver_package___d_
mov rcx, rdi
call qword [sym.imp.kapps_core.dll_public:_class_kapps::core::LogWriter____ptr64___cdecl_kapps::core::LogWriter::macroParams_char_const____ptr64____ptr64]
nop
lea rcx, [rbp]
call qword [sym.imp.kapps_core.dll_public:_void___cdecl_kapps::core::LogWriter::destructor_void____ptr64]
mov sil, 1
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x14009e529
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14009e505
cmp rbx, qword [rax + 0x10]
jne 0x14009e505
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14009e4f2
mov rbx, rax
jmp 0x14009e54f
sub rbx, rdi
xor esi, esi
jmp 0x14009e2d5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x14009e54f
nop word [rax + rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x14009e540
cmp byte [rbx + 0x19], 0
je 0x14009e3f1
test sil, sil
sete bl
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x14009e5a2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009e59d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009e59d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400cdbac
movzx eax, bl
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.1400cdb50
lea r11, [rsp + 0x360]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14000ca40
nop
int3