Function at 0x140002f80
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x288
mov qword [rsp + 0xc8], 0xfffffffffffffffe
mov rax, qword [0x140276910]
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 0x1400030a4
jmp 0x1400030a9
call fcn.1401abc50
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.140009dac
mov ecx, 0x18
call fcn.140002820
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x14000320d
mov edx, 0x18
mov rcx, qword [rsp + 0x58]
call fcn.140004308
mov rcx, qword [rsp + 0x58]
call fcn.1400197d8
mov qword [rsp + 0x68], rax
jmp 0x140003216
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.140018e60
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.140004308
lea rdx, [0x1401d7e90]
lea rcx, [rsp + 0xe0]
call fcn.1400026f0
nop
mov edx, 8
lea rcx, [rsp + 0xd8]
call fcn.140004308
lea rdx, [0x1401d7e90]
lea rcx, [rsp + 0xd8]
call fcn.1400026f0
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 0x14000368f
cmp dword [rsp + 0xd0], 1
jle 0x14000368f
mov dword [rsp + 0x34], 1
jmp 0x1400032ec
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0xd0]
cmp dword [rsp + 0x34], eax
jge 0x14000368f
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 0x14000332b
jmp 0x140003330
call fcn.1401abc50
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 0x1400033af
jmp 0x1400033b4
call fcn.1401abc50
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 0x14000341e
add rax, 2
test dx, dx
jne 0x140003408
xor eax, eax
jmp 0x140003423
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14000344d
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.140002cd4
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 0x140003481
jmp 0x140003486
call fcn.1401abc50
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 0x1400034f3
add rax, 2
test dx, dx
jne 0x1400034dd
xor eax, eax
jmp 0x1400034f8
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140003522
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.140002cd4
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 0x140003556
jmp 0x14000355b
call fcn.1401abc50
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 0x1400035c8
add rax, 2
test dx, dx
jne 0x1400035b2
xor eax, eax
jmp 0x1400035cd
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1400035d6
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 0x14000360a
jmp 0x14000360f
call fcn.1401abc50
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 0x14000367c
add rax, 2
test dx, dx
jne 0x140003666
xor eax, eax
jmp 0x140003681
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14000368a
mov byte [rsp + 0x31], 1
jmp 0x1400032e2
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x140003711
mov rcx, qword [rsp + 0x290]
call fcn.140003d48
mov edx, pe_nt_image_headers64
lea rcx, [rsp + 0xf0]
call fcn.140004308
xor edx, edx
lea rcx, [rsp + 0xf0]
call fcn.1400045c0
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.140007af0
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x290]
call fcn.140003ca4
nop
lea rcx, [rsp + 0xf0]
call fcn.1400045fc
movzx eax, byte [rsp + 0x31]
test eax, eax
je 0x14000372c
mov edx, 3
mov rcx, qword [rsp + 0x290]
call fcn.1400039f8
lea rcx, [rsp + 0xe0]
call fcn.14000388c
movzx eax, al
test eax, eax
jne 0x1400037e8
lea rcx, [rsp + 0xd8]
call fcn.14000388c
movzx eax, al
test eax, eax
jne 0x1400037e8
mov dword [rsp + 0xd4], 0
lea rcx, [rsp + 0xe0]
call fcn.1400028a0
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0xd8]
call fcn.1400028a0
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 0x1400037c4
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400037e8
cmp dword [rsp + 0xd4], 0
je 0x1400037d8
mov dword [rsp + 0x40], 2
jmp 0x1400037e0
mov dword [rsp + 0x40], 1
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x44], eax
cmp qword [rsp + 0x98], 0
je 0x140003843
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 0x140003837
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 0x140003843
mov qword [rsp + 0xc0], 0
mov ecx, dword [rsp + 0x44]
call fcn.1401b211c
nop
mov dword [rsp + 0x54], 0
lea rcx, [rsp + 0xd8]
call fcn.1400027f0
lea rcx, [rsp + 0xe0]
call fcn.1400027f0
mov eax, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.1401abef0
add rsp, 0x288
ret