Function at 0x140058b10
Capabilities:
Create directory

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xbc8]
sub rsp, 0xca0
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140398250]
xor rax, rsp
mov qword [rbp + 0xb90], rax
mov r12, rcx
xor r8d, r8d
lea rdx, str.CBaseFuncMgr::FN_CopyDriverSetToTemp
lea rcx, [rsp + 0x68]
call fcn.1400075a0
nop
xor ebx, ebx
mov r15d, ebx
mov dword [rsp + 0x40], ebx
mov word [rbp - 0x80], bx
xor edx, edx
mov r8d, 0x40e
lea rcx, [rbp - 0x7e]
call fcn.14024b970
mov esi, ebx
mov rcx, qword [0x1403b9750]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xf0]
mov dword [rsp + 0x50], eax
mov rcx, qword [0x1403b9750]
mov rdx, qword [rcx]
call qword [rdx + 0x18]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x28]
mov edi, eax
mov rcx, qword [0x1403b9750]
mov rdx, qword [rcx]
call qword [rdx + 0x18]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov r13d, eax
call fcn.140102a14
mov r11, rax
mov ecx, ebx
test rax, rax
setne cl
test ecx, ecx
jne 0x140058bf5
mov ecx, 0x80004005
call fcn.140005210
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x58], rbx
mov ecx, 0xac
call fcn.1401027e8
test rax, rax
je 0x140058c2e
mov r8d, 0xac
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140005b00
mov rbx, qword [rsp + 0x58]
mov rcx, qword [0x1403b9760]
mov rax, qword [rcx]
lea r8d, [r13 + rdi]
mov edx, 0x3f2
call qword [rax + 0x28]
mov rcx, qword [0x1403b9760]
mov rax, qword [rcx]
mov r8, rbx
mov edx, 0x3f2
call qword [rax + 0x38]
mov rcx, qword [0x1403b9750]
mov rax, qword [rcx]
call qword [rax + 0x48]
mov r9, qword [rax]
lea r8, [rbp + 0x390]
lea rdx, str.INSTALLDIR
mov rcx, rax
call qword [r9 + 0x18]
lea rcx, [rbp + 0x390]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x140058cba
lea r9, [rbp + 0x390]
lea r8, str._t_t_tMake_InstallDir___s.
lea edx, [rax + 7]
lea rcx, [rsp + 0x68]
call fcn.140007780
xor edx, edx
lea rcx, [rbp + 0x390]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rcx, qword [0x1403b9750]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8 + 0x58]
mov r14, rax
test rax, rax
je 0x140058e05
mov ebx, dword [rsp + 0x50]
nop word [rax + rax]
mov eax, dword [r14 + 0x3c90]
mov dword [rsp + 0x30], eax
mov eax, dword [r14]
mov dword [rsp + 0x28], eax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
lea r9, [r14 + 8]
lea r8, str._t_t_t_new_Copy_Driver_Set_is___s____s__kind_d_add_X
mov edx, 7
lea rcx, [rsp + 0x68]
call fcn.140007780
mov edi, 1
mov dword [rsp + 0x44], 0
mov rcx, qword [0x1403b9758]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x1b0]
mov r13d, eax
or r13d, dword [r14 + 0x3c90]
test edi, r13d
je 0x140058dba
mov rcx, qword [0x1403b9758]
mov rdx, qword [rcx]
call qword [rdx + 0x20]
mov r9, qword [rax]
lea r8, [rsp + 0x44]
mov edx, edi
mov rcx, rax
call qword [r9 + 0x3c0]
mov r11d, dword [rsp + 0x44]
test r11d, r11d
je 0x140058d8d
dec r11d
mov dword [rsp + 0x44], r11d
test esi, edi
jne 0x140058dba
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x20]
mov r9, qword [rax]
lea r8, [r14 + 8]
mov edx, dword [rsp + 0x44]
mov rcx, rax
call qword [r9 + 0x338]
mov dword [rsp + 0x40], eax
test ebx, ebx
jne 0x140058dba
or esi, edi
add edi, edi
cmp edi, 0x20
jbe 0x140058d55
mov rcx, qword [0x1403b9750]
mov rdx, qword [rcx]
call qword [rdx + 0x18]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x60]
mov r14, rax
mov rcx, qword [0x1403b9760]
mov rax, qword [rcx]
mov edx, 0x3f2
mov r8d, 1
call qword [rax + 0x30]
test r14, r14
jne 0x140058cf0
mov rbx, qword [rsp + 0x58]
mov r15d, dword [rsp + 0x40]
mov rcx, qword [0x1403b9750]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov dword [rsp + 0x60], eax
xor edi, edi
mov dword [rsp + 0x48], edi
test eax, eax
jle 0x140058f83
mov ebx, dword [rsp + 0x50]
mov rcx, qword [0x1403b9750]
mov rdx, qword [rcx]
call qword [rdx + 0x18]
mov r8, qword [rax]
mov edx, edi
mov rcx, rax
call qword [r8 + WSAStartup]
mov r14, rax
mov rcx, qword [0x1403b9750]
mov rdx, qword [rcx]
call qword [rdx + 0x20]
lea rdi, [r14 + 8]
mov qword [rsp + 0x50], rdi
mov r9, qword [rax]
mov r8, rdi
lea rdx, [rbp - 0x80]
mov rcx, rax
call qword [r9 + 0x48]
mov ecx, dword [r14 + 0x3c90]
mov dword [rsp + 0x30], ecx
mov eax, dword [r14]
mov dword [rsp + 0x28], eax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9, rdi
lea r8, str._t_t_t_Update_Copy_Driver_Set_is___s____s__kind_d_add_X
mov edx, 7
lea rcx, [rsp + 0x68]
call fcn.140007780
cmp dword [r14 + 4], 3
jne 0x140058f52
mov edi, 1
mov dword [rsp + 0x40], 0
mov rcx, qword [0x1403b9758]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x1b0]
mov r13d, eax
or r13d, dword [r14 + 0x3c90]
mov r14, qword [rsp + 0x50]
test edi, r13d
je 0x140058f4b
mov rcx, qword [0x1403b9758]
mov rdx, qword [rcx]
call qword [rdx + 0x20]
mov r9, qword [rax]
lea r8, [rsp + 0x40]
mov edx, edi
mov rcx, rax
call qword [r9 + 0x3c0]
mov r11d, dword [rsp + 0x40]
test r11d, r11d
je 0x140058f20
dec r11d
mov dword [rsp + 0x40], r11d
test esi, edi
jne 0x140058f4b
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x20]
mov r9, qword [rax]
mov r8, r14
mov edx, dword [rsp + 0x40]
mov rcx, rax
call qword [r9 + 0x338]
mov r15d, eax
test ebx, ebx
jne 0x140058f4b
or esi, edi
add edi, edi
cmp edi, 0x20
jbe 0x140058ee8
mov rcx, qword [0x1403b9760]
mov rax, qword [rcx]
mov edx, 0x3f2
mov r8d, 1
call qword [rax + 0x30]
mov edi, dword [rsp + 0x48]
inc edi
mov dword [rsp + 0x48], edi
cmp edi, dword [rsp + 0x60]
jl 0x140058e31
mov rbx, qword [rsp + 0x58]
mov rcx, qword [0x1403b9758]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x120]
mov r9d, r15d
lea r8, str.return__08x
mov edx, 2
lea rcx, [rsp + 0x68]
call fcn.140007780
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140058fd2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rsp + 0x68]
call fcn.140007730
mov eax, r15d
mov rcx, qword [rbp + 0xb90]
xor rcx, rsp
call fcn.140245660
lea r11, [rsp + 0xca0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret