Function at 0x1400064e4
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0xd78]
sub rsp, 0xe60
mov r14d, r8d
mov rdi, rdx
mov rbx, rcx
xor r15d, r15d
xor edx, edx
lea rcx, [rbp + 0x560]
mov r8d, 0x800
mov esi, r15d
call fcn.140015a00
mov r9, rbx
lea rdx, [0x1400318a0]
mov r8, rdi
lea rcx, [rbp + 0x560]
call qword [sym.imp.USER32.dll_wsprintfW]
xor r8d, r8d
lea rdx, [rbp + 0x360]
lea rcx, [rbp + 0x560]
call fcn.1400026c0
lea edx, [r15 + 0x2e]
lea rcx, [rbp + 0x560]
call fcn.140015e24
lea rdx, str..inf
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140006663
cmp byte [0x140045cd6], 0x36
jne 0x140006596
xor ecx, ecx
call fcn.140006890
mov esi, eax
mov r8d, 0x104
lea rdx, [rbp + 0x150]
lea rcx, [rbp + 0x560]
call qword [sym.imp.KERNEL32.dll_GetShortPathNameW]
lea r8, [rbp + 0x150]
lea rdx, str.rundll32.exe_setupapi_InstallHinfSection_DefaultInstall_132__s
lea rcx, [rbp + 0x560]
call qword [sym.imp.USER32.dll_wsprintfW]
mov ebx, 0x68
lea rcx, [rbp - 0x20]
mov r8d, ebx
xor edx, edx
call fcn.140015a00
lea rax, [rsp + 0x50]
mov dword [rbp - 0x20], ebx
mov qword [rsp + 0x48], rax
lea rdx, [rbp + 0x560]
lea rax, [rbp - 0x20]
xor r9d, r9d
mov qword [rsp + 0x40], rax
xor r8d, r8d
lea rax, [rbp + 0x360]
xor ecx, ecx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14000664c
mov rcx, qword [rsp + 0x50]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x140006870
mov ecx, 1
call fcn.140006890
jmp 0x140006870
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 4
jl 0x1400066a8
movzx eax, word [rbx + 2]
mov ecx, 0xffdf
sub ax, 0x45
test cx, ax
jne 0x1400066a8
movzx eax, word [rbx + 4]
sub ax, 0x58
test cx, ax
jne 0x1400066a8
movzx eax, word [rbx + 6]
sub ax, 0x45
test cx, ax
jne 0x1400066a8
mov word [rbx + 8], r15w
add rbx, 0xa
jmp 0x1400066ab
mov rbx, r15
mov edi, VarBstrFromDisp
lea rcx, [rsp + 0x70]
mov r8d, edi
xor edx, edx
call fcn.140015a00
lea rax, [rbp + 0x560]
mov dword [rsp + 0x70], edi
mov qword [rbp - 0x78], rax
lea rcx, [rsp + 0x70]
lea rax, [rbp + 0x360]
mov dword [rsp + 0x74], 0x40
mov qword [rbp - 0x68], rax
mov rax, qword [0x140045cc0]
mov qword [rbp - 0x58], rax
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x70], rbx
mov dword [rbp - 0x60], 5
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x140006870
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x140006870
mov edi, 0x103
or edx, 0xffffffff
mov dword [rbp + 0xd98], edi
mov ebx, r15d
call qword [sym.imp.USER32.dll_WaitForInputIdle]
mov esi, 0x64
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rbp - 0x28]
lea rdx, [rbp + 0xd98]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x140006866
test r14d, r14d
je 0x140006866
cmp dword [rbp + 0xd98], edi
jne 0x14000679c
mov rcx, qword [rbp - 0x28]
lea ebx, [rsi - 0x63]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, 0x102
jmp 0x140006798
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rbp - 0x28]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, edi
je 0x140006784
mov edi, 0x100
lea rcx, [rbp + 0x150]
mov r8d, edi
xor edx, edx
call fcn.140015a00
mov r8d, edi
lea rcx, [rbp + 0x50]
xor edx, edx
call fcn.140015a00
mov rcx, qword [rbp - 0x28]
neg ebx
sbb ebx, ebx
and ebx, 0xfffff510
add ebx, 0xbb8
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edi, r15d
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rbp + 0x50]
mov word [rbp + 0x150], r15w
lea rcx, [rbp + 0x150]
mov word [rbp + 0x50], r15w
call fcn.140005a84
test rax, rax
jne 0x14000681d
inc edi
cmp edi, ebx
jl 0x1400067e8
jmp 0x140006870
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
movzx eax, word [rbp + 0x50]
neg ax
lea rax, [rbp + 0x50]
sbb rdx, rdx
and rdx, rax
movzx eax, word [rbp + 0x150]
neg ax
lea rax, [rbp + 0x150]
sbb rcx, rcx
and rcx, rax
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
jne 0x14000681d
xor ecx, ecx
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140006870
jmp 0x14000681d
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r11, [rsp + 0xe60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret