Function at 0x140003a50
Capabilities:
Accept command line arguments
Create thread

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x470
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x14025ab40]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov rdi, rcx
call fcn.140019bf4
mov r9, qword [rdi + 0x160]
mov edx, 0x80
lea r8d, [rdx - 0x7f]
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9, qword [rdi + 0x160]
xor r8d, r8d
mov edx, 0x80
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
call fcn.14001e0d0
mov rdx, rax
xor esi, esi
mov ecx, esi
test rax, rax
setne cl
test ecx, ecx
jne 0x140003ade
mov ecx, 0x80004005
call fcn.140005320
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x40], rbx
mov word [rsp + 0x250], si
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x252]
call fcn.1401925c0
mov dword [rsp + 0x3c], esi
mov dword [rsp + 0x38], 0x800
lea rcx, [0x14021b5b0]
call fcn.140002620
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rsp + 0x250]
sub rdx, rax
nop word [rax + rax]
movzx ecx, word [rax]
mov word [rdx + rax], cx
lea rax, [rax + 2]
test cx, cx
jne 0x140003b40
lea rdx, [rsp + 0x3c]
lea rcx, [rsp + 0x250]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rbp, rax
mov eax, dword [rsp + 0x3c]
cmp eax, 1
jle 0x140003d3b
mov rdx, qword [rbp + 8]
movzx ecx, word [0x14021b5d4]
cmp cx, word [rdx]
jne 0x140003ba7
movzx ecx, word [0x14021b5d6]
cmp cx, word [rdx + 2]
jne 0x140003ba7
movzx ecx, word [0x14021b5d8]
cmp cx, word [rdx + 4]
jne 0x140003ba7
mov dword [rdi + 0x31c], 1
cmp eax, 3
jne 0x140003d3b
lea rcx, str.Silent_r_n
call fcn.140002620
mov dword [rdi + 0x320], 1
mov rcx, qword [rbp + 0x10]
movzx eax, word [0x14021b5f4]
cmp ax, word [rcx]
jne 0x140003da1
movzx eax, word [0x14021b5f6]
cmp ax, word [rcx + 2]
jne 0x140003da1
movzx eax, word [0x14021b5f8]
cmp ax, word [rcx + 4]
jne 0x140003da1
xor edx, edx
call fcn.140004330
lea rcx, str.DpHost
call fcn.140002f40
lea rcx, str.WbioSrvc
call fcn.140002f40
lea r8, [rsp + 0x38]
xor edx, edx
call fcn.140004440
test eax, eax
jne 0x140003c3c
lea rcx, str.Failed_to_set_config_value_to_0__r_n
call fcn.140002620
jmp 0x140003da1
lea rcx, str.WbioSrvc
call fcn.140002ab0
lea rcx, str.DpHost
call fcn.140002ab0
call fcn.140003f40
movsx esi, ax
mov r8d, esi
lea rdx, str.nEnrolledUserCount___d__r_n
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0x50]
call fcn.140002620
cmp esi, 0xffffffff
jne 0x140003cdf
lea rcx, str.OnInitDialog_:_Failed_in_getting_the_Enrolled_user_count.._r_n
call fcn.140002620
cmp dword [rsp + 0x38], 0
je 0x140003da1
lea rcx, str.OnInitDialog:_Old_configuration_was_not__0__Restoring_to_old_value__r_n
call fcn.140002620
lea r8, [rsp + 0x38]
mov edx, dword [rsp + 0x38]
call fcn.140004440
test eax, eax
jne 0x140003da1
mov r8d, dword [rsp + 0x38]
lea rdx, str.Failed_to_restore_configue_Old_config___d_r_n_r_n
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0x50]
call fcn.140002620
jmp 0x140003da1
test esi, esi
jne 0x140003da1
lea rcx, str.DpHost
call fcn.140002f40
lea rcx, str.WbioSrvc
call fcn.140002f40
lea r8, [rsp + 0x38]
lea edx, [rsi + 1]
call fcn.140004440
test eax, eax
jne 0x140003d21
lea rcx, str.Failed_to_set_config_value_to_1__r_n
call fcn.140002620
jmp 0x140003da1
lea rcx, str.WbioSrvc
call fcn.140002ab0
lea rcx, str.DpHost
call fcn.140002ab0
jmp 0x140003da1
mov ecx, 0x82
call fcn.14001f004
test rax, rax
je 0x140003d62
mov r8d, 0x82
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400051c0
mov rbx, qword [rsp + 0x40]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
mov r9, rdi
lea r8, [0x140003350]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
jne 0x140003d92
lea rcx, str.Failed_in_creating_thread
call fcn.140002620
jmp 0x140003dc5
lea rcx, [rdi + 0x168]
mov rdx, rbx
call fcn.14001accc
cmp dword [rdi + 0x320], 0
je 0x140003db4
xor edx, edx
mov rcx, rdi
call fcn.140019a00
lea rcx, str.__OnInitDialog__r_n
call fcn.140002620
mov esi, 1
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140003dda
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, esi
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.140190940
lea r11, [rsp + 0x470]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret