Function at 0x140002f40
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x288
mov qword [rsp + 0xc8], 0xfffffffffffffffe
mov rax, qword [0x140276930]
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 0x140003064
jmp 0x140003069
call fcn.1401abc1c
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.140009d6c
mov ecx, 0x18
call fcn.1400027e0
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x1400031cd
mov edx, 0x18
mov rcx, qword [rsp + 0x58]
call fcn.1400042c8
mov rcx, qword [rsp + 0x58]
call fcn.140019798
mov qword [rsp + 0x68], rax
jmp 0x1400031d6
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.140018e20
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.1400042c8
lea rdx, [0x1401d7e70]
lea rcx, [rsp + 0xe0]
call fcn.1400026b0
nop
mov edx, 8
lea rcx, [rsp + 0xd8]
call fcn.1400042c8
lea rdx, [0x1401d7e70]
lea rcx, [rsp + 0xd8]
call fcn.1400026b0
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 0x14000364f
cmp dword [rsp + 0xd0], 1
jle 0x14000364f
mov dword [rsp + 0x34], 1
jmp 0x1400032ac
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0xd0]
cmp dword [rsp + 0x34], eax
jge 0x14000364f
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 0x1400032eb
jmp 0x1400032f0
call fcn.1401abc1c
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 0x14000336f
jmp 0x140003374
call fcn.1401abc1c
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 0x1400033de
add rax, 2
test dx, dx
jne 0x1400033c8
xor eax, eax
jmp 0x1400033e3
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14000340d
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.140002c94
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 0x140003441
jmp 0x140003446
call fcn.1401abc1c
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 0x1400034b3
add rax, 2
test dx, dx
jne 0x14000349d
xor eax, eax
jmp 0x1400034b8
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1400034e2
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.140002c94
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 0x140003516
jmp 0x14000351b
call fcn.1401abc1c
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 0x140003588
add rax, 2
test dx, dx
jne 0x140003572
xor eax, eax
jmp 0x14000358d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140003596
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 0x1400035ca
jmp 0x1400035cf
call fcn.1401abc1c
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 0x14000363c
add rax, 2
test dx, dx
jne 0x140003626
xor eax, eax
jmp 0x140003641
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14000364a
mov byte [rsp + 0x31], 1
jmp 0x1400032a2
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x1400036d1
mov rcx, qword [rsp + 0x290]
call fcn.140003d08
mov edx, pe_nt_image_headers64
lea rcx, [rsp + 0xf0]
call fcn.1400042c8
xor edx, edx
lea rcx, [rsp + 0xf0]
call fcn.140004580
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.140007ab0
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x290]
call fcn.140003c64
nop
lea rcx, [rsp + 0xf0]
call fcn.1400045bc
movzx eax, byte [rsp + 0x31]
test eax, eax
je 0x1400036ec
mov edx, 3
mov rcx, qword [rsp + 0x290]
call fcn.1400039b8
lea rcx, [rsp + 0xe0]
call fcn.14000384c
movzx eax, al
test eax, eax
jne 0x1400037a8
lea rcx, [rsp + 0xd8]
call fcn.14000384c
movzx eax, al
test eax, eax
jne 0x1400037a8
mov dword [rsp + 0xd4], 0
lea rcx, [rsp + 0xe0]
call fcn.140002860
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0xd8]
call fcn.140002860
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 0x140003784
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400037a8
cmp dword [rsp + 0xd4], 0
je 0x140003798
mov dword [rsp + 0x40], 2
jmp 0x1400037a0
mov dword [rsp + 0x40], 1
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x44], eax
cmp qword [rsp + 0x98], 0
je 0x140003803
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 0x1400037f7
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 0x140003803
mov qword [rsp + 0xc0], 0
mov ecx, dword [rsp + 0x44]
call fcn.1401b210c
nop
mov dword [rsp + 0x54], 0
lea rcx, [rsp + 0xd8]
call fcn.1400027b0
lea rcx, [rsp + 0xe0]
call fcn.1400027b0
mov eax, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.1401abec0
add rsp, 0x288
ret