Function at 0x140058630
Capabilities:
Create directory

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xbb8]
sub rsp, 0xc90
mov qword [rsp + 0x68], 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 + 0xb80], rax
mov r12, rcx
xor r8d, r8d
lea rdx, str.CBaseFuncMgr::FN_CopyDriverToTemp
lea rcx, [rsp + 0x58]
call fcn.1400075a0
nop
xor r15d, r15d
mov esi, r15d
mov word [rsp + 0x70], r15w
xor edx, edx
mov r8d, 0x40e
lea rcx, [rsp + 0x72]
call fcn.14024b970
mov dword [rsp + 0x48], r15d
mov rcx, qword [0x1403b9750]
mov rax, qword [rcx]
call qword [rax + 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, r15d
test rax, rax
setne cl
test ecx, ecx
jne 0x1400586fc
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 + 0x50], rbx
mov ecx, 0xac
call fcn.1401027e8
test rax, rax
je 0x140058735
mov r8d, 0xac
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140005b00
mov rbx, qword [rsp + 0x50]
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 + 0x380]
lea rdx, str.INSTALLDIR
mov rcx, rax
call qword [r9 + 0x18]
lea rcx, [rbp + 0x380]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x1400587c1
lea r9, [rbp + 0x380]
lea r8, str._t_t_tMake_InstallDir___s.
lea edx, [rax + 7]
lea rcx, [rsp + 0x58]
call fcn.140007780
xor edx, edx
lea rcx, [rbp + 0x380]
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 r13, rax
test rax, rax
je 0x1400588fa
nop dword [rax]
lea r14, [r13 + 8]
mov eax, dword [r13 + 0x3c90]
mov dword [rsp + 0x30], eax
mov eax, dword [r13]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9, r14
lea r8, str._t_t_t_new_Copy_Driver_Set_is___s____s__kind_d_add_X
mov edx, 7
lea rcx, [rsp + 0x58]
call fcn.140007780
mov edi, 1
mov dword [rsp + 0x44], r15d
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, dword [r13 + 0x3c90]
or r13d, eax
test edi, r13d
je 0x1400588b8
mov rcx, qword [0x1403b9758]
mov rax, qword [rcx]
call qword [rax + 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 0x14005888f
dec r11d
mov dword [rsp + 0x44], r11d
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x20]
mov r10, qword [rax]
lea r9, [rsp + 0x48]
mov r8, r14
mov edx, dword [rsp + 0x44]
mov rcx, rax
call qword [r10 + 0x330]
mov esi, eax
test eax, eax
js 0x1400588bf
add edi, edi
cmp edi, 0x20
jbe 0x140058857
mov rcx, qword [0x1403b9760]
mov r9, qword [rcx]
mov edx, 0x3f2
mov r8d, 1
call qword [r9 + gethostbyaddr]
mov rcx, qword [0x1403b9750]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x60]
mov r13, rax
test rax, rax
jne 0x1400587f0
mov rcx, qword [0x1403b9750]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov r14d, r15d
test eax, eax
jle 0x140058a62
mov ebx, eax
nop dword [rax]
mov rcx, qword [0x1403b9750]
mov rdx, qword [rcx]
call qword [rdx + 0x18]
mov r8, qword [rax]
mov edx, r14d
mov rcx, rax
call qword [r8 + WSAStartup]
mov r13, rax
mov rcx, qword [0x1403b9750]
mov rdx, qword [rcx]
call qword [rdx + 0x20]
lea r15, [r13 + 8]
mov r9, qword [rax]
mov r8, r15
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [r9 + 0x48]
mov ecx, dword [r13 + 0x3c90]
mov dword [rsp + 0x30], ecx
mov eax, dword [r13]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9, r15
lea r8, str._t_t_t_Update_Copy_Driver_Set_is___s____s__kind_d_add_X
mov edx, 7
lea rcx, [rsp + 0x58]
call fcn.140007780
cmp dword [r13 + 4], 3
jne 0x140058a39
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, dword [r13 + 0x3c90]
or r13d, eax
test edi, r13d
je 0x140058a32
mov rcx, qword [0x1403b9758]
mov rax, qword [rcx]
call qword [rax + 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 0x140058a09
dec r11d
mov dword [rsp + 0x40], r11d
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x20]
mov r10, qword [rax]
lea r9, [rsp + 0x48]
mov r8, r15
mov edx, dword [rsp + 0x40]
mov rcx, rax
call qword [r10 + 0x330]
mov esi, eax
test eax, eax
js 0x140058a39
add edi, edi
cmp edi, 0x20
jbe 0x1400589d1
mov rcx, qword [0x1403b9760]
mov rax, qword [rcx]
mov edx, 0x3f2
mov r8d, 1
call qword [rax + 0x30]
inc r14d
cmp r14d, ebx
jl 0x140058920
mov rbx, qword [rsp + 0x50]
mov rcx, qword [0x1403b9758]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov r9, qword [rax]
mov rcx, rax
call qword [r9 + 0x120]
mov rcx, qword [0x1403b9760]
mov rax, qword [rcx]
mov edx, 0x3f2
mov r8d, 1
call qword [rax + 0x30]
mov r9d, esi
lea r8, str.return__08x
mov edx, 2
lea rcx, [rsp + 0x58]
call fcn.140007780
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140058aca
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rsp + 0x58]
call fcn.140007730
mov eax, esi
mov rcx, qword [rbp + 0xb80]
xor rcx, rsp
call fcn.140245660
lea r11, [rsp + 0xc90]
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