Function at 0x1400dedf0
Capabilities:
Create directory
Enumerate files on windows
Get common file path

Disassembly:
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xff0]
mov eax, 0x10f0
call fcn.14024c240
sub rsp, rax
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x1120], rbx
mov qword [rsp + 0x1130], rsi
mov qword [rsp + 0x1138], rdi
mov rax, qword [0x140398250]
xor rax, rsp
mov qword [rbp + 0xfe0], rax
mov esi, edx
mov dword [rsp + 0x40], edx
xor r8d, r8d
lea rdx, str.CBaseOSSpecTypeWin2K::MoveINFFileToPnP
lea rcx, [rsp + 0x48]
call fcn.1400075a0
nop
mov r9d, esi
lea r8, str.iMode___d
mov edx, 1
lea rcx, [rsp + 0x48]
call fcn.140007780
xor edi, edi
mov ebx, edi
mov rcx, qword [0x1403b9750]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xf0]
mov r14d, eax
lea r15d, [rdi + 2]
mov r12d, edi
lea r13d, [rdi + 1]
test eax, eax
je 0x1400def03
mov word [rbp + 0x7e0], di
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rbp + 0x7e2]
call fcn.14024b970
mov rcx, qword [0x1403b9750]
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rdi, qword [rax]
lea r8, [rbp + 0x7e0]
lea rdx, str.PDL_TYPE
mov rcx, rax
call qword [rdi + 0x18]
lea rsi, [rbp + 0x7e0]
lea rdi, [0x1402ddbb8]
mov eax, 4
mov ecx, eax
repe cmpsw word [rsi], word [rdi]
cmove r15d, eax
mov esi, dword [rsp + 0x40]
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1b0]
call fcn.14024b970
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x3c0]
call fcn.14024b970
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x5d0]
call fcn.14024b970
test r15d, r15d
jle 0x1400df2ff
nop dword [rax + rax]
mov rcx, qword [0x1403b9758]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rdi, qword [rax]
lea rdx, [rbp + 0x1b0]
mov rcx, rax
call qword [rdi + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
cmp word [rbp + 0x1b0], 0
je 0x1400df2e3
test r14d, r14d
je 0x1400defc8
test r14d, r13d
je 0x1400df2b6
mov rcx, qword [0x1403b9750]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rdi, qword [rax]
mov edx, r12d
mov rcx, rax
call qword [rdi + pe_nt_image_headers64]
mov rdi, rax
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
mov rdx, rdi
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov edx, 0x104
lea rcx, [rbp + 0x3c0]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x1400df2c7
lea rcx, [rbp + 0x3c0]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
cmp word [rbp + rcx*2 + 0x3be], 0x5c
je 0x1400df011
lea rdx, [0x1402e5094]
lea rcx, [rbp + 0x3c0]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, [0x1402e1620]
lea rcx, [rbp + 0x3c0]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea r8, [rbp + 0x1b0]
lea rdx, str._sINF
lea rcx, [rbp + 0x5d0]
call qword [sym.imp.USER32.dll_wsprintfW]
mov r9d, esi
lea r8, str._t_t_t_MODE_CODE__d_
mov edx, 7
lea rcx, [rsp + 0x48]
call fcn.140007780
lea r9, [rbp + 0x1b0]
lea r8, str._t_t_tTempDir__s
mov edx, 7
lea rcx, [rsp + 0x48]
call fcn.140007780
lea r9, [rbp + 0x3c0]
lea r8, str._t_t_tINFDir___s
mov edx, 7
lea rcx, [rsp + 0x48]
call fcn.140007780
lea r9, [rbp + 0x5d0]
lea r8, str._t_t_tTempINF__s
mov edx, 7
lea rcx, [rsp + 0x48]
call fcn.140007780
test esi, esi
jne 0x1400df17c
xor edx, edx
lea rcx, [rbp + 0x5d0]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1400df130
mov rcx, qword [0x1403b9758]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rdi, qword [rax]
lea r9, [rbp + 0x5d0]
lea r8, [rbp + 0x3c0]
lea rdx, [rbp + 0x1b0]
mov rcx, rax
call qword [rdi + 0x310]
mov ebx, eax
mov rcx, qword [0x1403b9758]
mov rdx, qword [rcx]
call qword [rdx + 0x20]
mov rdi, qword [rax]
lea r9, [rbp + 0x5d0]
lea r8, [rbp + 0x3c0]
lea rdx, [rbp + 0x1b0]
mov rcx, rax
call qword [rdi + 0x4b8]
or ebx, eax
jmp 0x1400df2b6
xor ebx, ebx
mov qword [rsp + 0x40], rbx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x409
mov r8d, edi
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
test eax, eax
je 0x1400df2a6
lea r9, str._t_t_tCreateDirectory
jmp 0x1400df282
lea r8, [rbp + 0x5d0]
lea rdx, str._s.
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r9, [rbp + 0x1b0]
lea r8, str._t_t_tSearch_TempFile__s
mov edx, 7
lea rcx, [rsp + 0x48]
call fcn.140007780
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400df23f
mov ebx, 1
lea rdx, [0x1402e3994]
lea rcx, [rbp - 0x74]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1400df222
lea rdx, [0x1402e3998]
lea rcx, [rbp - 0x74]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1400df222
mov rcx, qword [0x1403b9768]
mov rax, qword [rcx]
lea r9, [rbp - 0x74]
lea r8, [rbp + 0x3c0]
lea rdx, [rbp + 0x5d0]
call qword [rax + 0xd0]
mov ebx, eax
lea rdx, [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400df1d4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x1400df2b6
xor ebx, ebx
mov qword [rsp + 0x40], rbx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x409
mov r8d, edi
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
test eax, eax
je 0x1400df2a6
lea r9, str._t_t_tFindFirstFile
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
lea r8, str.ApiName:__s__ErrorCode:__d_:__s
mov edx, 6
lea rcx, [rsp + 0x48]
call fcn.140007780
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400df2b6
call qword [sym.imp.KERNEL32.dll_LocalFree]
add r13d, r13d
inc r12d
cmp r12d, r15d
jl 0x1400def50
jmp 0x1400df2ff
mov r9d, ebx
lea r8, str.return___08x
mov edx, 2
lea rcx, [rsp + 0x48]
call fcn.140007780
nop
jmp 0x1400df319
mov r9d, ebx
lea r8, str.return___08x
mov edx, 2
lea rcx, [rsp + 0x48]
call fcn.140007780
nop
jmp 0x1400df319
mov r9d, ebx
lea r8, str.return___08x
mov edx, 2
lea rcx, [rsp + 0x48]
call fcn.140007780
nop
lea rcx, [rsp + 0x48]
call fcn.140007730
mov eax, ebx
mov rcx, qword [rbp + 0xfe0]
xor rcx, rsp
call fcn.140245660
lea r11, [rsp + 0x10f0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret