Function at 0x140002fa0
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x288
mov qword [rsp + 0xc8], 0xfffffffffffffffe
mov rax, qword [0x140276900]
xor rax, rsp
mov qword [rsp + 0x278], rax
mov eax, 2
imul rax, rax, 0x10
mov ecx, VarBstrFromDisp
mov word [rsp + rax + 0x248], cx
mov eax, 2
imul rax, rax, 0xf
mov ecx, 0x48
mov word [rsp + rax + 0x248], cx
mov eax, 2
imul rax, rax, 0xe
mov ecx, 0x65
mov word [rsp + rax + 0x248], cx
mov eax, 2
imul rax, rax, 6
mov ecx, 0x65
mov word [rsp + rax + 0x248], cx
mov eax, 2
imul rax, rax, 1
mov ecx, 0x65
mov word [rsp + rax + 0x248], cx
mov eax, 2
imul rax, rax, 0xa
mov ecx, 0x65
mov word [rsp + rax + 0x248], cx
mov eax, 2
imul rax, rax, 4
mov ecx, 0x61
mov word [rsp + rax + 0x248], cx
mov eax, 2
imul rax, rax, 2
mov ecx, 0x73
mov word [rsp + rax + 0x248], cx
mov eax, 2
imul rax, rax, 8
mov ecx, VarBstrFromDisp
mov word [rsp + rax + 0x248], cx
mov eax, 2
imul rax, rax, 3
mov ecx, 0x73
mov word [rsp + rax + 0x248], cx
mov eax, 2
imul rax, rax, 0x13
mov qword [rsp + 0xa0], rax
cmp qword [rsp + 0xa0], 0x28
jae 0x1400030c4
jmp 0x1400030c9
call fcn.1401abc74
xor eax, eax
mov rcx, qword [rsp + 0xa0]
mov word [rsp + rcx + 0x248], ax
mov eax, 2
imul rax, rax, 5
mov ecx, 0x67
mov word [rsp + rax + 0x248], cx
mov eax, 2
imul rax, rax, 9
mov ecx, 0x52
mov word [rsp + rax + 0x248], cx
mov eax, 2
imul rax, rax, 7
mov ecx, 0x54
mov word [rsp + rax + 0x248], cx
mov eax, 2
imul rax, rax, 0
mov ecx, 0x4d
mov word [rsp + rax + 0x248], cx
mov eax, 2
imul rax, rax, 0xb
mov ecx, 0x6d
mov word [rsp + rax + 0x248], cx
mov eax, 2
imul rax, rax, 0xd
mov ecx, 0x76
mov word [rsp + rax + 0x248], cx
mov eax, 2
imul rax, rax, 0xc
mov ecx, VarBstrFromDisp
mov word [rsp + rax + 0x248], cx
mov eax, 2
imul rax, rax, 0x11
mov ecx, VarBstrFromDisp
mov word [rsp + rax + 0x248], cx
mov eax, 2
imul rax, rax, 0x12
mov ecx, 0x6b
mov word [rsp + rax + 0x248], cx
lea rcx, [rsp + 0x248]
call qword [sym.imp.USER32.dll_RegisterWindowMessageW]
mov rcx, qword [rsp + 0x290]
mov dword [rcx + 0x178], eax
mov dword [rsp + 0x44], 0
mov dword [rsp + 0xe8], 8
mov dword [rsp + 0xec], 0xff
lea rcx, [rsp + 0xe8]
call qword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov rcx, qword [rsp + 0x290]
call fcn.140009d68
mov ecx, 0x18
call fcn.140002840
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x14000322d
mov edx, 0x18
mov rcx, qword [rsp + 0x58]
call fcn.140004328
mov rcx, qword [rsp + 0x58]
call fcn.140019794
mov qword [rsp + 0x68], rax
jmp 0x140003236
mov qword [rsp + 0x68], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x98], rax
lea rcx, str.CMFCVisualManagerWindows
call fcn.140018e1c
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rsp + 0xd0]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov qword [rsp + 0x38], rax
mov edx, 8
lea rcx, [rsp + 0xe0]
call fcn.140004328
lea rdx, [0x1401d7e60]
lea rcx, [rsp + 0xe0]
call fcn.140002710
nop
mov edx, 8
lea rcx, [rsp + 0xd8]
call fcn.140004328
lea rdx, [0x1401d7e60]
lea rcx, [rsp + 0xd8]
call fcn.140002710
nop
mov byte [rsp + 0x30], 0
mov byte [rsp + 0x31], 0
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp qword [rsp + 0x38], 0
je 0x1400036af
cmp dword [rsp + 0xd0], 1
jle 0x1400036af
mov dword [rsp + 0x34], 1
jmp 0x14000330c
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0xd0]
cmp dword [rsp + 0x34], eax
jge 0x1400036af
mov eax, 2
imul rax, rax, 1
mov ecx, VarBstrFromDisp
mov word [rsp + rax + 0x238], cx
mov eax, 2
imul rax, rax, 5
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0xc
jae 0x14000334b
jmp 0x140003350
call fcn.1401abc74
xor eax, eax
mov rcx, qword [rsp + 0x70]
mov word [rsp + rcx + 0x238], ax
mov eax, 2
imul rax, rax, 4
mov ecx, 0x68
mov word [rsp + rax + 0x238], cx
mov eax, 2
imul rax, rax, 0
mov ecx, 0x2d
mov word [rsp + rax + 0x238], cx
mov eax, 2
imul rax, rax, 2
mov ecx, 0x61
mov word [rsp + rax + 0x238], cx
mov eax, 2
imul rax, rax, 3
mov ecx, 0x74
mov word [rsp + rax + 0x238], cx
mov eax, 2
imul rax, rax, 2
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 6
jae 0x1400033cf
jmp 0x1400033d4
call fcn.1401abc74
xor eax, eax
mov rcx, qword [rsp + 0x78]
mov word [rsp + rcx + 0x228], ax
mov eax, 2
imul rax, rax, 0
mov ecx, 0x25
mov word [rsp + rax + 0x228], cx
mov eax, 2
imul rax, rax, 1
mov ecx, 0x73
mov word [rsp + rax + 0x228], cx
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx + rax*8]
lea rcx, [rsp + 0x238]
sub rcx, rax
movzx edx, word [rax]
cmp dx, word [rax + rcx]
jne 0x14000343e
add rax, 2
test dx, dx
jne 0x140003428
xor eax, eax
jmp 0x140003443
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14000346d
mov eax, dword [rsp + 0x34]
inc eax
cdqe
mov rcx, qword [rsp + 0x38]
mov r8, qword [rcx + rax*8]
lea rdx, [rsp + 0x228]
lea rcx, [rsp + 0xe0]
call fcn.140002cf4
mov eax, 2
imul rax, rax, 0
mov ecx, 0x2d
mov word [rsp + rax + 0x220], cx
mov eax, 2
imul rax, rax, 3
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 8
jae 0x1400034a1
jmp 0x1400034a6
call fcn.1401abc74
xor eax, eax
mov rcx, qword [rsp + 0x80]
mov word [rsp + rcx + 0x220], ax
mov eax, 2
imul rax, rax, 2
mov ecx, 0x64
mov word [rsp + rax + 0x220], cx
mov eax, 2
imul rax, rax, 1
mov ecx, 0x69
mov word [rsp + rax + 0x220], cx
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx + rax*8]
lea rcx, [rsp + 0x220]
sub rcx, rax
movzx edx, word [rax]
cmp dx, word [rax + rcx]
jne 0x140003513
add rax, 2
test dx, dx
jne 0x1400034fd
xor eax, eax
jmp 0x140003518
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140003542
mov eax, dword [rsp + 0x34]
inc eax
cdqe
mov rcx, qword [rsp + 0x38]
mov r8, qword [rcx + rax*8]
lea rdx, [rsp + 0x228]
lea rcx, [rsp + 0xd8]
call fcn.140002cf4
mov eax, 2
imul rax, rax, 0
mov ecx, 0x2d
mov word [rsp + rax + 0x220], cx
mov eax, 2
imul rax, rax, 3
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 8
jae 0x140003576
jmp 0x14000357b
call fcn.1401abc74
xor eax, eax
mov rcx, qword [rsp + 0x88]
mov word [rsp + rcx + 0x220], ax
mov eax, 2
imul rax, rax, 2
mov ecx, 0x68
mov word [rsp + rax + 0x220], cx
mov eax, 2
imul rax, rax, 1
mov ecx, 0x73
mov word [rsp + rax + 0x220], cx
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx + rax*8]
lea rcx, [rsp + 0x270]
sub rcx, rax
movzx edx, word [rax]
cmp dx, word [rax + rcx]
jne 0x1400035e8
add rax, 2
test dx, dx
jne 0x1400035d2
xor eax, eax
jmp 0x1400035ed
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1400035f6
mov byte [rsp + 0x30], 1
mov eax, 2
imul rax, rax, 1
mov ecx, reloc.OLEAUT32.dll_VarBstrFromDisp
mov word [rsp + rax + 0x230], cx
mov eax, 2
imul rax, rax, 3
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 8
jae 0x14000362a
jmp 0x14000362f
call fcn.1401abc74
xor eax, eax
mov rcx, qword [rsp + 0x90]
mov word [rsp + rcx + 0x230], ax
mov eax, 2
imul rax, rax, 2
mov ecx, 0x68
mov word [rsp + rax + 0x230], cx
mov eax, 2
imul rax, rax, 0
mov ecx, 0x2d
mov word [rsp + rax + 0x230], cx
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx + rax*8]
lea rcx, [rsp + 0x230]
sub rcx, rax
movzx edx, word [rax]
cmp dx, word [rax + rcx]
jne 0x14000369c
add rax, 2
test dx, dx
jne 0x140003686
xor eax, eax
jmp 0x1400036a1
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1400036aa
mov byte [rsp + 0x31], 1
jmp 0x140003302
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x140003731
mov rcx, qword [rsp + 0x290]
call fcn.140003d68
mov edx, 0x130
lea rcx, [rsp + 0xf0]
call fcn.140004328
xor edx, edx
lea rcx, [rsp + 0xf0]
call fcn.1400045e0
nop
mov qword [rsp + 0x48], 0
mov rax, qword [rsp + 0x290]
lea rcx, [rsp + 0xf0]
mov qword [rax + 0x40], rcx
lea rcx, [rsp + 0xf0]
call fcn.140007aac
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x290]
call fcn.140003cc4
nop
lea rcx, [rsp + 0xf0]
call fcn.14000461c
movzx eax, byte [rsp + 0x31]
test eax, eax
je 0x14000374c
mov edx, 3
mov rcx, qword [rsp + 0x290]
call fcn.140003a18
lea rcx, [rsp + 0xe0]
call fcn.1400038ac
movzx eax, al
test eax, eax
jne 0x140003808
lea rcx, [rsp + 0xd8]
call fcn.1400038ac
movzx eax, al
test eax, eax
jne 0x140003808
mov dword [rsp + 0xd4], 0
lea rcx, [rsp + 0xe0]
call fcn.1400028c0
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0xd8]
call fcn.1400028c0
lea rcx, [rsp + 0xd4]
mov qword [rsp + 0x20], rcx
mov r9d, 1
mov rcx, qword [rsp + 0xb0]
mov r8, rcx
mov rdx, rax
xor ecx, ecx
call sub.newdev.dll_UpdateDriverForPlugAndPlayDevicesW
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x1400037e4
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140003808
cmp dword [rsp + 0xd4], 0
je 0x1400037f8
mov dword [rsp + 0x40], 2
jmp 0x140003800
mov dword [rsp + 0x40], 1
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x44], eax
cmp qword [rsp + 0x98], 0
je 0x140003863
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x140003857
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov edx, 1
mov rcx, qword [rsp + 0x60]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov qword [rsp + 0xc0], rax
jmp 0x140003863
mov qword [rsp + 0xc0], 0
mov ecx, dword [rsp + 0x44]
call fcn.1401b214c
nop
mov dword [rsp + 0x54], 0
lea rcx, [rsp + 0xd8]
call fcn.140002810
lea rcx, [rsp + 0xe0]
call fcn.140002810
mov eax, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.1401abf20
add rsp, 0x288
ret