Function at 0x1400166e8
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov rsi, rcx
mov rcx, qword [rcx + 0x110]
test rcx, rcx
je 0x140016721
mov rdx, qword [rsi + 0x118]
test rdx, rdx
je 0x140016721
mov rax, qword [rcx]
xor r8d, r8d
call qword [rax + 0x50]
mov dl, 1
mov rcx, rsi
call fcn.140017bec
mov edx, SetWindowSubclass
lea rcx, [rbp - 0x50]
call fcn.140006f70
mov r8, qword [rbp - 0x50]
mov ebx, 2
mov edx, ebx
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
mov rcx, qword [rbp - 0x50]
call fcn.1400372fc
mov edx, ebx
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov edx, 0xf4
lea r9d, [rbx - 1]
mov r8d, r9d
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, 0x1bc
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov edx, 0x1be
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x70]
lea rax, [rbp - 0x40]
mov qword [rbp + 0x20], rax
lea rcx, [rbp - 0x40]
call fcn.1400027fc
nop
lea rcx, [rbp - 0x30]
call fcn.1400027fc
nop
lea rax, [rbp - 0x20]
mov qword [rbp + 0x20], rax
lea rcx, [rbp - 0x20]
call fcn.1400027fc
nop
lea rcx, [rbp - 0x10]
call fcn.1400027fc
nop
lea rbx, [rsi + 0x280]
mov qword [rbp + 0x20], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov r14d, dword [rsi + 0x238]
lea rdi, [rsi + 0x240]
mov rdx, rdi
lea rcx, [rbp - 0x40]
call fcn.140002834
lea rdx, [rdi + 0x10]
lea rcx, [rbp - 0x30]
call fcn.140002834
lea rdx, [rdi + 0x20]
lea rcx, [rbp - 0x20]
call fcn.140002834
lea rdx, [rdi + 0x30]
lea rcx, [rbp - 0x10]
call fcn.140002834
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [rbp - 0x28], 0
je 0x140016889
mov byte [rsi + 0x2ab], 1
cmp dword [rbp - 0x38], 0
jne 0x140016870
lea rdx, [0x14004ec30]
lea rcx, [rbp - 0x40]
call fcn.1400028bc
cmp byte [0x140064e90], 0
jne 0x1400168f7
mov r9d, 0x10
mov r8, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x30]
jmp 0x1400168c5
test r14d, r14d
jne 0x1400168cf
mov byte [rsi + 0x2ab], 1
cmp dword [rbp - 8], r14d
je 0x1400168cf
cmp dword [rbp - 0x18], r14d
jne 0x1400168b1
lea rdx, [0x14004ec30]
lea rcx, [rbp - 0x20]
call fcn.1400028bc
cmp byte [0x140064e90], 0
jne 0x1400168f7
xor r9d, r9d
mov r8, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x10]
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp byte [0x140064e90], 0
jne 0x1400168f7
test r14d, r14d
je 0x1400168f7
cmp byte [rsi + 0x1ae], 0
jne 0x1400168f7
mov byte [rsi + 0x1ad], 1
mov rcx, rsi
call fcn.140017a38
jmp 0x140016904
xor edx, edx
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_EndDialog]
nop
mov rcx, qword [rbp - 0x10]
call fcn.1400372fc
mov rcx, qword [rbp - 0x20]
call fcn.1400372fc
mov rcx, qword [rbp - 0x30]
call fcn.1400372fc
mov rcx, qword [rbp - 0x40]
call fcn.1400372fc
mov al, 1
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret