Function at 0x40c4b0
Capabilities:
Enumerate files on windows

Disassembly:
mov r11, rsp
sub rsp, 0x2b8
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
mov qword [r11 - 8], r12
mov qword [r11 - 0x10], r13
mov qword [r11 - 0x18], r14
mov qword [r11 - 0x20], r15
mov rax, qword [0x00454a00]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov qword [r11 - 0x1b0], 0xf
xor edi, edi
mov qword [r11 - 0x1b8], rdi
mov byte [rsp + 0xf0], dil
lea rcx, [r11 - 0x1d0]
call fcn.00406f70
test al, al
jne 0x40c543
cmp qword [rsp + 0x108], 0x10
jb 0x40c539
mov rcx, qword [rsp + 0xf0]
call fcn.004135ec
mov eax, 0x4e2e
jmp 0x40d147
mov qword [rsp + 0xe0], 0xf
mov qword [rsp + 0xd8], rdi
mov byte [rsp + 0xc8], 0
mov qword [rsp + 0xb8], 0xf
mov qword [rsp + 0xb0], rdi
mov byte [rsp + 0xa0], 0
mov ecx, 0x7300
call fcn.00420070
mov r12, rax
test rax, rax
jne 0x40c628
lea rcx, str.Info__:_Fail_to_allocate_memory_for_UninstallSysFileList_n
call fcn.004042c0
nop
cmp qword [rsp + 0xb8], 0x10
jb 0x40c5b6
mov rcx, qword [rsp + 0xa0]
call fcn.004135ec
mov qword [rsp + 0xb8], 0xf
mov qword [rsp + 0xb0], rdi
mov byte [rsp + 0xa0], 0
cmp qword [rsp + 0xe0], 0x10
jb 0x40c5ea
mov rcx, qword [rsp + 0xc8]
call fcn.004135ec
mov qword [rsp + 0xe0], 0xf
mov qword [rsp + 0xd8], rdi
mov byte [rsp + 0xc8], 0
cmp qword [rsp + 0x108], 0x10
jb 0x40c61e
mov rcx, qword [rsp + 0xf0]
call fcn.004135ec
mov eax, 0x4e2f
jmp 0x40d147
xor edx, edx
mov r8d, 0x7300
mov rcx, rax
call fcn.00420630
mov r8d, dword [0x004565ac]
imul r8, r8, 0x1cc
lea rdx, [0x0045d8b0]
mov rcx, r12
call fcn.00420a60
mov ebp, dword [0x004565ac]
mov rcx, rbp
imul rcx, rcx, 0x1cc
add rcx, r12
lea rdx, [0x00452e50]
mov r8d, 0xac8
call fcn.00420a60
add ebp, 6
mov edx, ebp
mov rcx, r12
call fcn.00409c80
mov qword [rsp + 0x130], 0xf
mov qword [rsp + 0x128], rdi
mov byte [rsp + 0x118], 0
mov r13, rdi
lea rcx, str.Setupapi.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r15, rax
test rax, rax
jne 0x40c6c9
lea rcx, str.Info__:_Cant_find_Setupapi.dll__so_use_the_raw_delete._n
call fcn.004042c0
jmp 0x40c6e1
lea rdx, str.SetupUninstallOEMInfA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r13, rax
test rax, rax
jne 0x40c6ed
lea rcx, str.Info__:_Cant_find_SetupUninstallOEMInf_in_Setupapi.dll__so_use_the_raw_delete._n
call fcn.004042c0
lea r8, str.infoem.inf
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0x48]
call fcn.00403e10
nop
mov r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x110]
call fcn.00402c70
nop
cmp qword [rsp + 0x68], 0x10
jb 0x40c734
mov rcx, qword [rsp + 0x50]
call fcn.004135ec
lea rcx, [rsp + 0x118]
cmp qword [rsp + 0x130], 0x10
cmovae rcx, qword [rsp + 0x118]
lea rdx, [rsp + 0x140]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x40c776
lea rcx, str.Info__:_No_inf_file_should_be_delete._n
call fcn.004042c0
jmp 0x40d031
mov qword [rsp + 0x90], 0xf
mov qword [rsp + 0x88], rdi
mov byte [rsp + 0x78], 0
lea rbx, str.Inf_
mov r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0x70]
call fcn.00402c70
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0x78]
mov r10, qword [rsp + 0x90]
cmp r10, 0x10
cmovae rdx, rcx
mov r8, qword [rsp + 0x88]
cmp rbx, rdx
jb 0x40c955
lea rax, [rsp + 0x78]
cmp r10, 0x10
cmovae rax, rcx
add rax, r8
cmp rax, rbx
jbe 0x40c955
lea rax, [rsp + 0x78]
cmp r10, 0x10
cmovae rax, rcx
mov rsi, rbx
sub rsi, rax
cmp r8, rsi
jae 0x40c823
call fcn.00436d70
mov r10, qword [rsp + 0x90]
mov r8, qword [rsp + 0x88]
mov rax, r8
sub rax, rsi
mov ebx, 5
cmp rax, rbx
cmovb rbx, rax
mov rax, 0xffffffffffffffff
sub rax, r8
cmp rax, rbx
jbe 0x40c84d
lea rax, [r8 + rbx]
cmp rax, r8
jae 0x40c862
call fcn.00436ca0
mov r10, qword [rsp + 0x90]
mov r8, qword [rsp + 0x88]
test rbx, rbx
je 0x40ca52
lea rdi, [r8 + rbx]
cmp rdi, 0xfffffffffffffffe
jbe 0x40c88a
call fcn.00436ca0
mov r10, qword [rsp + 0x90]
mov r8, qword [rsp + 0x88]
cmp r10, rdi
jae 0x40c8ae
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.00402120
mov r10, qword [rsp + 0x90]
mov r8, qword [rsp + 0x88]
jmp 0x40c8e2
test rdi, rdi
jne 0x40c8e2
mov qword [rsp + 0x88], rdi
lea rax, [rsp + 0x78]
cmp r10, 0x10
cmovae rax, qword [rsp + 0x78]
mov byte [rax], dil
mov r10, qword [rsp + 0x90]
mov r8, qword [rsp + 0x88]
jmp 0x40ca52
test rdi, rdi
je 0x40ca52
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0x78]
cmp r10, 0x10
cmovae rdx, rcx
lea rax, [rsp + 0x78]
cmp r10, 0x10
cmovae rax, rcx
sub r10, r8
lea rcx, [rax + r8]
lea r8, [rdx + rsi]
mov r9, rbx
mov rdx, r10
call fcn.00421090
mov qword [rsp + 0x88], rdi
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x90], 0x10
cmovae rax, qword [rsp + 0x78]
mov byte [rax + rdi], 0
mov r10, qword [rsp + 0x90]
mov r8, qword [rsp + 0x88]
jmp 0x40ca52
mov rax, 0xffffffffffffffff
sub rax, r8
cmp rax, 5
jbe 0x40c96e
lea rax, [r8 + 5]
cmp rax, r8
jae 0x40c983
call fcn.00436ca0
mov r10, qword [rsp + 0x90]
mov r8, qword [rsp + 0x88]
lea rdi, [r8 + 5]
cmp rdi, 0xfffffffffffffffe
jbe 0x40c9a2
call fcn.00436ca0
mov r10, qword [rsp + 0x90]
mov r8, qword [rsp + 0x88]
cmp r10, rdi
jae 0x40c9c6
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.00402120
mov r10, qword [rsp + 0x90]
mov r8, qword [rsp + 0x88]
jmp 0x40c9f7
test rdi, rdi
jne 0x40c9f7
mov qword [rsp + 0x88], rdi
lea rax, [rsp + 0x78]
cmp r10, 0x10
cmovae rax, qword [rsp + 0x78]
mov byte [rax], dil
mov r10, qword [rsp + 0x90]
mov r8, qword [rsp + 0x88]
jmp 0x40ca52
test rdi, rdi
je 0x40ca52
lea rcx, [rsp + 0x78]
cmp r10, 0x10
cmovae rcx, qword [rsp + 0x78]
sub r10, r8
add rcx, r8
mov r9d, 5
mov r8, rbx
mov rdx, r10
call fcn.00421090
mov qword [rsp + 0x88], rdi
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x90], 0x10
cmovae rax, qword [rsp + 0x78]
mov byte [rax + rdi], 0
mov r10, qword [rsp + 0x90]
mov r8, qword [rsp + 0x88]
xor eax, eax
mov rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x16c]
repne scasb al, byte [rdi]
not rcx
lea rdi, [rcx - 1]
lea rax, [rsp + 0x78]
mov rcx, qword [rsp + 0x78]
cmp r10, 0x10
cmovae rax, rcx
lea rdx, [rsp + 0x16c]
cmp rdx, rax
jb 0x40cc0e
lea rax, [rsp + 0x78]
cmp r10, 0x10
cmovae rax, rcx
add rax, r8
lea rdx, [rsp + 0x16c]
cmp rax, rdx
jbe 0x40cc0e
lea rax, [rsp + 0x78]
cmp r10, 0x10
cmovae rax, rcx
lea rsi, [rsp + 0x16c]
sub rsi, rax
cmp r8, rsi
jae 0x40cae2
call fcn.00436d70
mov r10, qword [rsp + 0x90]
mov r8, qword [rsp + 0x88]
mov rax, r8
sub rax, rsi
cmp rax, rdi
cmovb rdi, rax
mov rax, 0xffffffffffffffff
sub rax, r8
cmp rax, rdi
jbe 0x40cb07
lea rax, [r8 + rdi]
cmp rax, r8
jae 0x40cb1c
call fcn.00436ca0
mov r10, qword [rsp + 0x90]
mov r8, qword [rsp + 0x88]
test rdi, rdi
je 0x40cd15
lea rbx, [r8 + rdi]
cmp rbx, 0xfffffffffffffffe
jbe 0x40cb44
call fcn.00436ca0
mov r10, qword [rsp + 0x90]
mov r8, qword [rsp + 0x88]
cmp r10, rbx
jae 0x40cb68
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.00402120
mov r10, qword [rsp + 0x90]
mov r8, qword [rsp + 0x88]
jmp 0x40cb9b
test rbx, rbx
jne 0x40cb9b
mov qword [rsp + 0x88], rbx
lea rax, [rsp + 0x78]
cmp r10, 0x10
cmovae rax, qword [rsp + 0x78]
mov byte [rax], bl
mov r10, qword [rsp + 0x90]
mov r8, qword [rsp + 0x88]
jmp 0x40cd15
test rbx, rbx
je 0x40cd15
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0x78]
cmp r10, 0x10
cmovae rdx, rcx
lea rax, [rsp + 0x78]
cmp r10, 0x10
cmovae rax, rcx
sub r10, r8
lea rcx, [r8 + rax]
lea r8, [rsi + rdx]
mov r9, rdi
mov rdx, r10
call fcn.00421090
mov qword [rsp + 0x88], rbx
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x90], 0x10
cmovae rax, qword [rsp + 0x78]
mov byte [rbx + rax], 0
mov r10, qword [rsp + 0x90]
mov r8, qword [rsp + 0x88]
jmp 0x40cd15
mov rax, 0xffffffffffffffff
sub rax, r8
cmp rax, rdi
jbe 0x40cc26
lea rax, [r8 + rdi]
cmp rax, r8
jae 0x40cc3b
call fcn.00436ca0
mov r10, qword [rsp + 0x90]
mov r8, qword [rsp + 0x88]
test rdi, rdi
je 0x40cd15
lea rbx, [r8 + rdi]
cmp rbx, 0xfffffffffffffffe
jbe 0x40cc63
call fcn.00436ca0
mov r10, qword [rsp + 0x90]
mov r8, qword [rsp + 0x88]
cmp r10, rbx
jae 0x40cc87
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.00402120
mov r10, qword [rsp + 0x90]
mov r8, qword [rsp + 0x88]
jmp 0x40ccb7
test rbx, rbx
jne 0x40ccb7
mov qword [rsp + 0x88], rbx
lea rax, [rsp + 0x78]
cmp r10, 0x10
cmovae rax, qword [rsp + 0x78]
mov byte [rax], bl
mov r10, qword [rsp + 0x90]
mov r8, qword [rsp + 0x88]
jmp 0x40cd15
test rbx, rbx
je 0x40cd15
lea rax, [rsp + 0x78]
cmp r10, 0x10
cmovae rax, qword [rsp + 0x78]
sub r10, r8
lea rcx, [r8 + rax]
mov r9, rdi
lea r8, [rsp + 0x16c]
mov rdx, r10
call fcn.00421090
mov qword [rsp + 0x88], rbx
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x90], 0x10
cmovae rax, qword [rsp + 0x78]
mov byte [rbx + rax], 0
mov r10, qword [rsp + 0x90]
mov r8, qword [rsp + 0x88]
xor edi, edi
test ebp, ebp
je 0x40cf62
lea rbx, [r12 + 0x1c8]
cmp dword [rbx], 0
je 0x40cd58
mov edx, edi
imul rdx, rdx, 0x1cc
add rdx, r12
lea rcx, [rsp + 0x78]
cmp r10, 0x10
cmovae rcx, qword [rsp + 0x78]
call fcn.00401a20
cmp al, 1
je 0x40cd6c
mov r10, qword [rsp + 0x90]
add edi, 1
add rbx, 0x1cc
cmp edi, ebp
jae 0x40cf5a
jmp 0x40cd27
lea rcx, [rsp + 0x78]
cmp qword [rsp + 0x90], 0x10
cmovae rcx, qword [rsp + 0x78]
call fcn.0040bd50
call fcn.00413cb8
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
je 0x40d007
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x78]
cmp qword [rsp + 0x90], 0x10
cmovae r8, qword [rsp + 0x78]
lea rdx, str._nInfo__:_Remove_inf_file___s__n
lea rcx, [rsp + 0x30]
call fcn.00403500
mov rcx, qword [rsp + 0x30]
call fcn.004042c0
test r13, r13
je 0x40ce7a
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rsp + 0x16c]
call r13
test eax, eax
je 0x40ce0b
lea rcx, str.Info__:_Remove_inf_file_OK._n
call fcn.004042c0
jmp 0x40cf13
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.00413cb8
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
je 0x40cffc
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
mov r8d, edi
lea rdx, str.Error_:_SetupUninstallOEMInf_error_:__d_n
lea rcx, [rsp + 0x38]
call fcn.00403500
mov rdi, qword [rsp + 0x38]
mov rcx, rdi
call fcn.004042c0
nop
lea rdx, [rdi - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x40ce7a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [rsp + 0x78]
cmp qword [rsp + 0x90], 0x10
cmovae rcx, qword [rsp + 0x78]
call fcn.00401ba0
test al, al
jne 0x40cea5
lea rcx, str.Error_:_Remove_read_only_inf_file__err._n
call fcn.004042c0
jmp 0x40ceb1
lea rcx, str.Error_:_Remove_read_only_inf_file_Succeed._n
call fcn.004042c0
mov rdx, qword [rsp + 0x88]
lea r8, [rdx - 1]
add rdx, 0xfffffffffffffffd
mov qword [rsp + 0x20], 3
lea r9, [0x0043a81c]
lea rcx, [rsp + 0x70]
call fcn.004035c0
lea rcx, [rsp + 0x78]
cmp qword [rsp + 0x90], 0x10
cmovae rcx, qword [rsp + 0x78]
call fcn.00401ba0
test al, al
jne 0x40cf06
lea rcx, str.Remove_read_only_pnf_file__err._n
call fcn.004042c0
jmp 0x40cf13
lea rcx, str.Remove_read_only_pnf_file_Succeed._n
call fcn.004042c0
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x40cf48
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r10, qword [rsp + 0x90]
mov r8, qword [rsp + 0x88]
jmp 0x40cf62
mov r10, qword [rsp + 0x90]
mov r8, qword [rsp + 0x88]
jmp 0x40cf62
mov r8, qword [rsp + 0x88]
lea rax, [rsp + 0x78]
mov rcx, qword [rsp + 0x78]
cmp r10, 0x10
cmovae rax, rcx
lea rsi, [0x0043948d]
cmp rsi, rax
jb 0x40cfbe
lea rax, [rsp + 0x78]
cmp r10, 0x10
cmovae rax, rcx
add rax, r8
cmp rax, rsi
jbe 0x40cfbe
lea rax, [rsp + 0x78]
cmp r10, 0x10
cmovae rax, rcx
mov r8, rsi
sub r8, rax
xor r9d, r9d
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x70]
call fcn.00402c70
xor edi, edi
jmp 0x40cfda
xor edi, edi
mov qword [rsp + 0x88], rdi
lea rax, [rsp + 0x78]
cmp r10, 0x10
cmovae rax, qword [rsp + 0x78]
mov byte [rax], dil
lea rdx, [rsp + 0x140]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp eax, 1
jne 0x40d012
lea rbx, str.Inf_
jmp 0x40c796
mov ecx, 0x80004005
call fcn.00401000
nop
mov ecx, 0x80004005
call fcn.00401000
int3
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
cmp qword [rsp + 0x90], 0x10
jb 0x40d031
mov rcx, qword [rsp + 0x78]
call fcn.004135ec
test r15, r15
je 0x40d03f
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, 1
lea rcx, str.hwgpssensor.dll
call fcn.00409c80
cmp byte [0x00456479], 1
jne 0x40d07c
mov edx, 1
lea rcx, str.WUDFUpdate_01009.dll
call fcn.00409c80
mov edx, dword [0x004565a4]
lea rcx, [0x004565b0]
call fcn.00409c80
lea rcx, str._nInfo__:_Remove_driver_file__OK._n
call fcn.004042c0
mov rcx, r12
call fcn.00420140
nop
cmp qword [rsp + 0x130], 0x10
jb 0x40d0a9
mov rcx, qword [rsp + 0x118]
call fcn.004135ec
mov qword [rsp + 0x130], 0xf
mov qword [rsp + 0x128], rdi
mov byte [rsp + 0x118], 0
cmp qword [rsp + 0xb8], 0x10
jb 0x40d0dd
mov rcx, qword [rsp + 0xa0]
call fcn.004135ec
mov qword [rsp + 0xb8], 0xf
mov qword [rsp + 0xb0], rdi
mov byte [rsp + 0xa0], 0
cmp qword [rsp + 0xe0], 0x10
jb 0x40d111
mov rcx, qword [rsp + 0xc8]
call fcn.004135ec
mov qword [rsp + 0xe0], 0xf
mov qword [rsp + 0xd8], rdi
mov byte [rsp + 0xc8], 0
cmp qword [rsp + 0x108], 0x10
jb 0x40d145
mov rcx, qword [rsp + 0xf0]
call fcn.004135ec
xor eax, eax
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.00420600
mov rbx, qword [rsp + 0x2c0]
mov rbp, qword [rsp + 0x2c8]
mov rsi, qword [rsp + 0x2d0]
mov rdi, qword [rsp + 0x2d8]
mov r12, qword [rsp + 0x2b0]
mov r13, qword [rsp + 0x2a8]
mov r14, qword [rsp + 0x2a0]
mov r15, qword [rsp + 0x298]
add rsp, 0x2b8
ret