Function at 0x140047168
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 0x1400471a1
mov rdx, qword [rsi + 0x118]
test rdx, rdx
je 0x1400471a1
mov rax, qword [rcx]
xor r8d, r8d
call qword [rax + 0x50]
mov dl, 1
mov rcx, rsi
call fcn.140048950
mov edx, 0x198
lea rcx, [rbp - 0x50]
call fcn.1400442f8
mov r8, qword [rax]
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.14005bd4c
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.1400029b0
nop
lea rcx, [rbp - 0x30]
call fcn.1400029b0
nop
lea rax, [rbp - 0x20]
mov qword [rbp + 0x20], rax
lea rcx, [rbp - 0x20]
call fcn.1400029b0
nop
lea rcx, [rbp - 0x10]
call fcn.1400029b0
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.140002ad0
lea rdx, [rdi + 0x10]
lea rcx, [rbp - 0x30]
call fcn.140002ad0
lea rdx, [rdi + 0x20]
lea rcx, [rbp - 0x20]
call fcn.140002ad0
lea rdx, [rdi + 0x30]
lea rcx, [rbp - 0x10]
call fcn.140002ad0
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [rbp - 0x28], 0
je 0x140047308
mov byte [rsi + 0x2ab], 1
cmp dword [rbp - 0x38], 0
jne 0x1400472ef
lea rdx, [0x140074d74]
lea rcx, [rbp - 0x40]
call fcn.140002b58
cmp byte [0x14008c8b8], 0
jne 0x140047376
mov r9d, InitCommonControls
mov r8, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x30]
jmp 0x140047344
test r14d, r14d
jne 0x14004734e
mov byte [rsi + 0x2ab], 1
cmp dword [rbp - 8], r14d
je 0x14004734e
cmp dword [rbp - 0x18], r14d
jne 0x140047330
lea rdx, [0x140074d74]
lea rcx, [rbp - 0x20]
call fcn.140002b58
cmp byte [0x14008c8b8], 0
jne 0x140047376
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 [0x14008c8b8], 0
jne 0x140047376
test r14d, r14d
je 0x140047376
cmp byte [rsi + 0x1ae], 0
jne 0x140047376
mov byte [rsi + 0x1ad], 1
mov rcx, rsi
call fcn.14004879c
jmp 0x140047383
xor edx, edx
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_EndDialog]
nop
mov rcx, qword [rbp - 0x10]
call fcn.14005bd4c
mov rcx, qword [rbp - 0x20]
call fcn.14005bd4c
mov rcx, qword [rbp - 0x30]
call fcn.14005bd4c
mov rcx, qword [rbp - 0x40]
call fcn.14005bd4c
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