Function at 0x140051dd0
Capabilities:
Delete file
Enumerate files on windows
Get common file path
Set file attributes

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1310
call fcn.1400dab40
sub rsp, rax
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x1368], rbx
mov rax, qword [0x14012ce40]
xor rax, rsp
mov qword [rsp + 0x1300], rax
mov qword [rsp + 0x60], r8
mov r15, rdx
mov r13, rcx
mov r12, qword [rsp + 0x1370]
mov qword [rsp + 0x40], r12
mov word [rsp + 0x6e0], 0
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x6e2]
call fcn.1400b57e0
mov word [rsp + 0xcf0], 0
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0xcf2]
call fcn.1400b57e0
mov word [rsp + 0x4d0], 0
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x4d2]
call fcn.1400b57e0
mov word [rsp + 0x2c0], 0
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x2c2]
call fcn.1400b57e0
mov word [rsp + 0x8f0], 0
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rsp + 0x8f2]
call fcn.1400b57e0
call fcn.140087bd0
mov rdx, rax
xor ebp, ebp
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x140051ee0
mov ecx, 0x80004005
call fcn.140006300
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x58], rax
mov rax, qword [0x1401370f0]
test rax, rax
jne 0x140051f26
mov ecx, 0x310
call fcn.140084d88
mov qword [rsp + 0x50], rax
test rax, rax
je 0x140051f1c
mov rcx, rax
call fcn.140050830
jmp 0x140051f1f
mov rax, rbp
mov qword [0x1401370f0], rax
mov r8, r15
lea rdx, str.DeleteOEMInfPnf__s_
mov rcx, rax
call fcn.140050c00
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x4d0]
call fcn.1400b57e0
mov edx, 0x104
lea rcx, [rsp + 0xcf0]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea rdx, str.infoem.inf
lea rcx, [rsp + 0xcf0]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov edi, 1
mov dword [rsp + 0x48], edi
mov eax, ebp
mov dword [rsp + 0x4c], eax
or r14, 0xffffffffffffffff
test eax, eax
jne 0x140051fa9
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0xcf0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
mov qword [rsp + 0x50], rax
jmp 0x140051fc2
lea rdx, [rsp + 0x70]
mov rsi, qword [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
mov edi, eax
mov dword [rsp + 0x48], eax
test edi, edi
je 0x140052b2c
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x6e0]
call fcn.1400b57e0
mov edx, 0x104
lea rcx, [rsp + 0x6e0]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea r8, str.inf_
mov edx, 0x104
lea rcx, [rsp + 0x6e0]
call fcn.1400b2160
lea r8, [rsp + 0x9c]
mov edx, 0x104
lea rcx, [rsp + 0x6e0]
call fcn.1400b2160
mov esi, ebp
test esi, esi
jne 0x140052082
mov word [rsp + 0x1100], si
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rsp + 0x1102]
call fcn.1400b57e0
mov dword [rsp + 0x28], 0x100
lea rax, [rsp + 0x8f0]
mov qword [rsp + 0x20], rax
mov r9d, 0x100
lea r8, [rsp + 0x1100]
lea rdx, [rsp + 0x6e0]
mov rcx, r13
call fcn.140051670
mov edi, eax
jmp 0x1400521b8
mov word [rsp + 0xf00], 0
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rsp + 0xf02]
call fcn.1400b57e0
mov word [rsp + 0xaf0], 0
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rsp + 0xaf2]
call fcn.1400b57e0
cmp qword [r13 + 8], 0
je 0x1400521b3
cmp qword [r13], 0
je 0x1400521b3
lea rdx, [r13 + 8]
lea rcx, [r13 + 8]
call qword [sym.imp.SETUPAPI.dll_SetupFindNextLine]
test eax, eax
jne 0x1400520f2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x140052171
mov qword [rsp + 0x20], rbp
mov r9d, 0x100
lea r8, [rsp + 0xaf0]
xor edx, edx
lea rcx, [r13 + 8]
call qword [sym.imp.SETUPAPI.dll_SetupGetStringFieldW]
test eax, eax
jne 0x14005211f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x140052171
mov word [rsp + 0xf00], 0
lea r8, [rsp + 0xaf0]
mov edx, 0x100
lea rcx, [rsp + 0xf00]
call fcn.1400b1b70
mov qword [rsp + 0x20], rbp
mov r9d, 0x100
lea r8, [rsp + 0xaf0]
mov edx, 2
lea rcx, [r13 + 8]
call qword [sym.imp.SETUPAPI.dll_SetupGetStringFieldW]
test eax, eax
jne 0x14005218b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, qword [r13]
cmp rcx, 0xffffffffffffffff
je 0x140052181
call qword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
mov qword [r13], r14
mov qword [r13 + 8], rbp
jmp 0x1400521b8
mov word [rsp + 0x8f0], 0
lea r8, [rsp + 0xaf0]
mov edx, 0x100
lea rcx, [rsp + 0x8f0]
call fcn.1400b1b70
mov edi, ebp
jmp 0x1400521b8
mov edi, 6
test edi, edi
jne 0x140052a9f
mov rdx, r15
lea rcx, [rsp + 0x8f0]
call fcn.14004e060
test eax, eax
jne 0x1400521dc
add esi, 1
jmp 0x140052027
mov rbx, qword [0x1401370f0]
test rbx, rbx
jne 0x140052295
mov ecx, 0x310
call fcn.140084d88
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14005228b
call fcn.140087bd0
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
je 0x140052ab3
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rbx], rax
mov word [rbx + 0x64], 0
xor eax, eax
mov rcx, r14
lea rdi, [0x1400f5b5c]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [0x1400f5b5c]
mov rcx, rbx
call fcn.140006070
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [rbx + 0x26c]
mov word [rcx], 0
lea r8, [0x1400f6478]
mov edx, 0x50
call fcn.1400b1b70
nop
jmp 0x14005228e
mov rbx, rbp
mov qword [0x1401370f0], rbx
lea r9, [rsp + 0x6e0]
lea r8, [rsp + 0x8f0]
lea rdx, str.found_hwid__s_in__s
mov rcx, rbx
call fcn.140050c00
mov word [rsp + 0x4d0], 0
lea r8, [rsp + 0x6e0]
mov edx, 0x104
lea rcx, [rsp + 0x4d0]
call fcn.1400b1b70
mov edx, 0x80
lea rcx, [rsp + 0x4d0]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rbx, qword [0x1401370f0]
test rbx, rbx
jne 0x140052483
mov ecx, 0x310
call fcn.140084d88
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140052479
call fcn.140087bd0
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
je 0x140052ad4
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
lea r8, [rax + 0x18]
mov qword [rbx], r8
mov word [rbx + 0x64], 0
xor eax, eax
mov rcx, r14
lea rdi, [0x1400f5b5c]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
test ecx, ecx
jne 0x1400523b9
lea rdx, [r8 - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x140052445
cmp dword [rdx + 0x10], eax
jge 0x14005238c
cmp dword [r8 - 0xc], eax
jl 0x140052abe
mov dword [r8 - 0x10], ebp
mov rax, qword [rbx]
mov word [rax], cx
jmp 0x140052445
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400523a4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx], rax
jmp 0x140052445
mov esi, dword [r8 - 0x10]
lea r12, [0x1400f5b5c]
sub r12, r8
sar r12, 1
mov ecx, 1
sub ecx, dword [r8 - 8]
mov eax, dword [r8 - 0xc]
sub eax, edi
or eax, ecx
jge 0x1400523e7
mov edx, edi
mov rcx, rbx
call fcn.140006320
mov rcx, qword [rbx]
cmp r12, rsi
ja 0x140052407
movsxd rax, edi
lea rsi, [rax + rax]
lea r8, [rcx + r12*2]
mov r9, rsi
mov rdx, rsi
call fcn.1400b0c60
jmp 0x140052420
movsxd rax, edi
lea rsi, [rax + rax]
mov r9, rsi
lea r8, [0x1400f5b5c]
mov rdx, rsi
call fcn.1400b09f0
test edi, edi
js 0x140052ac9
mov rax, qword [rbx]
cmp edi, dword [rax - 0xc]
jg 0x140052ac9
mov dword [rax - 0x10], edi
mov rax, qword [rbx]
mov word [rsi + rax], 0
mov r12, qword [rsp + 0x40]
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [rbx + 0x26c]
mov word [rcx], 0
lea r8, [0x1400f6478]
mov edx, 0x50
call fcn.1400b1b70
nop
jmp 0x14005247c
mov rbx, rbp
mov qword [0x1401370f0], rbx
lea r8, [rsp + 0x4d0]
lea rdx, str.OemInf_Delete____s
mov rcx, rbx
call fcn.140050c00
mov r8, qword [rsp + 0x60]
lea rdx, [rsp + 0x4d0]
lea rcx, [rsp + 0x38]
call fcn.1400614f0
lea rcx, [rsp + 0x4d0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400525bf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test eax, eax
je 0x140052687
cmp eax, 2
je 0x140052687
mov rbx, qword [0x1401370f0]
test rbx, rbx
jne 0x140052599
mov ecx, 0x310
call fcn.140084d88
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14005258f
call fcn.140087bd0
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
je 0x140052adf
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rbx], rax
mov word [rbx + 0x64], 0
xor eax, eax
mov rcx, r14
lea rdi, [0x1400f5b5c]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [0x1400f5b5c]
mov rcx, rbx
call fcn.140006070
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [rbx + 0x26c]
mov word [rcx], 0
lea r8, [0x1400f6478]
mov edx, 0x50
call fcn.1400b1b70
nop
jmp 0x140052592
mov rbx, rbp
mov qword [0x1401370f0], rbx
lea r8, str.OemInf_DeleteFile_failed
mov edx, esi
mov rcx, rbx
call fcn.140050e40
lea rdx, [rsp + 0x4d0]
mov rcx, r12
call fcn.14008a454
jmp 0x140052687
mov rbx, qword [0x1401370f0]
test rbx, rbx
jne 0x140052678
mov ecx, 0x310
call fcn.140084d88
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14005266e
call fcn.140087bd0
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
je 0x140052aea
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rbx], rax
mov word [rbx + 0x64], 0
xor eax, eax
mov rcx, r14
lea rdi, [0x1400f5b5c]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [0x1400f5b5c]
mov rcx, rbx
call fcn.140006070
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [rbx + 0x26c]
mov word [rcx], 0
lea r8, [0x1400f6478]
mov edx, 0x50
call fcn.1400b1b70
nop
jmp 0x140052671
mov rbx, rbp
mov qword [0x1401370f0], rbx
lea rdx, str.OemInf_successfully_deleted
mov rcx, rbx
call fcn.140050c00
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x2c0]
call fcn.1400b57e0
mov word [rsp + 0x2c0], 0
lea r8, [rsp + 0x6e0]
mov edx, 0x104
lea rcx, [rsp + 0x2c0]
call fcn.1400b1b70
xor eax, eax
mov rcx, r14
lea rdi, [rsp + 0x2c0]
repne scasw ax, word [rdi]
not rcx
mov word [rsp + rcx*2 + 0x2b8], ax
lea r8, [0x1400f68e8]
mov edx, 0x104
lea rcx, [rsp + 0x2c0]
call fcn.1400b2160
mov edx, 0x80
lea rcx, [rsp + 0x2c0]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rbx, qword [0x1401370f0]
test rbx, rbx
jne 0x14005289a
mov ecx, 0x310
call fcn.140084d88
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140052890
call fcn.140087bd0
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
je 0x140052b0b
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
lea r8, [rax + 0x18]
mov qword [rbx], r8
mov word [rbx + 0x64], 0
xor eax, eax
mov rcx, r14
lea rdi, [0x1400f5b5c]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
test ecx, ecx
jne 0x1400527d5
lea rdx, [r8 - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x14005285c
cmp dword [rdx + 0x10], eax
jge 0x1400527a8
cmp dword [r8 - 0xc], eax
jl 0x140052af5
mov dword [r8 - 0x10], ebp
mov rax, qword [rbx]
mov word [rax], cx
jmp 0x14005285c
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400527c0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx], rax
jmp 0x14005285c
mov esi, dword [r8 - 0x10]
lea r12, [0x1400f5b5c]
sub r12, r8
sar r12, 1
mov ecx, 1
sub ecx, dword [r8 - 8]
mov eax, dword [r8 - 0xc]
sub eax, edi
or eax, ecx
jge 0x140052803
mov edx, edi
mov rcx, rbx
call fcn.140006320
mov rcx, qword [rbx]
cmp r12, rsi
ja 0x140052823
movsxd rax, edi
lea rsi, [rax + rax]
lea r8, [rcx + r12*2]
mov r9, rsi
mov rdx, rsi
call fcn.1400b0c60
jmp 0x14005283c
movsxd rax, edi
lea rsi, [rax + rax]
mov r9, rsi
lea r8, [0x1400f5b5c]
mov rdx, rsi
call fcn.1400b09f0
test edi, edi
js 0x140052b00
mov rax, qword [rbx]
cmp edi, dword [rax - 0xc]
jg 0x140052b00
mov dword [rax - 0x10], edi
mov rax, qword [rbx]
mov word [rsi + rax], 0
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [rbx + 0x26c]
mov word [rcx], 0
lea r8, [0x1400f6478]
mov edx, 0x50
call fcn.1400b1b70
nop
jmp 0x140052893
mov rbx, rbp
mov qword [0x1401370f0], rbx
lea r8, [rsp + 0x2c0]
lea rdx, str.OemPnf_Delete____s
mov rcx, rbx
call fcn.140050c00
lea rcx, [rsp + 0x2c0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400529c4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test eax, eax
je 0x140052a9a
cmp eax, 2
je 0x140052a93
mov rbx, qword [0x1401370f0]
test rbx, rbx
jne 0x140052999
mov ecx, 0x310
call fcn.140084d88
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14005298f
call fcn.140087bd0
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
je 0x140052b16
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rbx], rax
mov word [rbx + 0x64], 0
xor eax, eax
mov rcx, r14
lea rdi, [0x1400f5b5c]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [0x1400f5b5c]
mov rcx, rbx
call fcn.140006070
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [rbx + 0x26c]
mov word [rcx], 0
lea r8, [0x1400f6478]
mov edx, 0x50
call fcn.1400b1b70
nop
jmp 0x140052992
mov rbx, rbp
mov qword [0x1401370f0], rbx
lea r8, str.OemPnf_DeleteFile_failed
mov edx, esi
mov rcx, rbx
call fcn.140050e40
lea rdx, [rsp + 0x2c0]
mov r12, qword [rsp + 0x40]
mov rcx, r12
call fcn.14008a454
jmp 0x140052a9f
mov rbx, qword [0x1401370f0]
test rbx, rbx
jne 0x140052a7d
mov ecx, 0x310
call fcn.140084d88
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140052a73
call fcn.140087bd0
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
je 0x140052b21
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rbx], rax
mov word [rbx + 0x64], 0
xor eax, eax
mov rcx, r14
lea rdi, [0x1400f5b5c]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [0x1400f5b5c]
mov rcx, rbx
call fcn.140006070
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [rbx + 0x26c]
mov word [rcx], 0
lea r8, [0x1400f6478]
mov edx, 0x50
call fcn.1400b1b70
nop
jmp 0x140052a76
mov rbx, rbp
mov qword [0x1401370f0], rbx
lea rdx, str.OemPnf_successfully_deleted
mov rcx, rbx
call fcn.140050c00
mov r12, qword [rsp + 0x40]
jmp 0x140052a9f
mov r12, qword [rsp + 0x40]
jmp 0x140052a9f
mov r12, qword [rsp + 0x40]
mov eax, dword [rsp + 0x4c]
add eax, 1
mov dword [rsp + 0x4c], eax
mov edi, dword [rsp + 0x48]
jmp 0x140051f88
mov ecx, 0x80004005
call fcn.140006300
nop
mov ecx, 0x80070057
call fcn.140006300
int3
mov ecx, 0x80070057
call fcn.140006300
nop
mov ecx, 0x80004005
call fcn.140006300
nop
mov ecx, 0x80004005
call fcn.140006300
nop
mov ecx, 0x80004005
call fcn.140006300
nop
mov ecx, 0x80070057
call fcn.140006300
int3
mov ecx, 0x80070057
call fcn.140006300
nop
mov ecx, 0x80004005
call fcn.140006300
nop
mov ecx, 0x80004005
call fcn.140006300
nop
mov ecx, 0x80004005
call fcn.140006300
nop
mov rbx, qword [0x1401370f0]
test rbx, rbx
jne 0x140052beb
mov ecx, 0x310
call fcn.140084d88
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140052be1
call fcn.140087bd0
mov rcx, rax
test rax, rax
setne bpl
test ebp, ebp
jne 0x140052b75
mov ecx, 0x80004005
call fcn.140006300
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx], rax
mov word [rbx + 0x64], 0
xor eax, eax
mov rcx, r14
lea rdi, [0x1400f5b5c]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [0x1400f5b5c]
mov rcx, rbx
call fcn.140006070
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [rbx + 0x26c]
mov word [rcx], 0
lea r8, [0x1400f6478]
mov edx, 0x50
call fcn.1400b1b70
nop
jmp 0x140052be4
mov rbx, rbp
mov qword [0x1401370f0], rbx
lea rdx, str.Found_no_more_Inf_files
mov rcx, rbx
call fcn.140050c00
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r14d
add r14d, 0xffffffff
test r14d, r14d
jg 0x140052c25
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, 1
mov rcx, qword [rsp + 0x1300]
xor rcx, rsp
call fcn.1400b09d0
mov rbx, qword [rsp + 0x1368]
add rsp, 0x1310
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret