Function at 0x140008b80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
sub rsp, 0x78
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax - 8], r12
mov qword [rax - 0x10], r13
xor r13d, r13d
test r9, r9
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
mov dword [rcx + 0x44], 0xffffffff
mov r12d, r13d
mov dword [rcx + 0x3c], 1
mov dword [rcx + 0x38], 1
mov dword [rcx + 0x40], 1
je 0x140008c86
test rdx, rdx
je 0x140008c3d
mov rcx, r9
call fcn.1400088c0
test rax, rax
mov rsi, rax
je 0x140008d07
mov dword [rbx + 0x1c], 1
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x140008c0c
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140008c0c
mov rdi, qword [rbp + 0x28]
jmp 0x140008c0f
mov rdi, r13
call fcn.140005980
lea r9, [0x140006ed0]
mov r8, rdi
mov rdx, rsi
mov rcx, rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.USER32.dll_CreateDialogIndirectParamA]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x140008d07
mov rcx, r9
call fcn.1400088c0
test rax, rax
mov rdi, rax
je 0x140008d07
mov dword [rbx + 0x1c], 1
call fcn.140005980
lea r9, [0x140006ed0]
xor r8d, r8d
mov rdx, rdi
mov rcx, rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.USER32.dll_CreateDialogIndirectParamA]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x140008d07
test rdx, rdx
je 0x140008cd8
mov rcx, qword [rdx + 0x28]
test rcx, rcx
je 0x140008ca4
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140008ca4
mov rdi, qword [rbp + 0x28]
jmp 0x140008ca7
mov rdi, r13
call fcn.140005980
lea r9, [0x140006ed0]
mov r8, rdi
mov rdx, rsi
mov rcx, rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.USER32.dll_CreateDialogParamA]
test rax, rax
je 0x140008d07
cmp dword [rbx + 0x3c], r12d
jne 0x140008d07
mov dword [rbx + 0x38], r13d
jmp 0x140008d07
call fcn.140005980
lea r9, [0x140006ed0]
xor r8d, r8d
mov rdx, rsi
mov rcx, rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.USER32.dll_CreateDialogParamA]
test rax, rax
je 0x140008d07
cmp dword [rbx + 0x3c], r12d
jne 0x140008d07
mov dword [rbx + 0x38], r13d
mov rcx, qword [rbx + 0x28]
mov rdi, qword [rsp + 0x98]
mov rsi, qword [rsp + 0x90]
test rcx, rcx
je 0x140008e87
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140008e87
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x140008e87
cmp dword [rbx + 0x40], r12d
je 0x140008e87
mov edx, 1
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.USER32.dll_UpdateWindow]
test rbp, rbp
je 0x140008d83
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x140008d83
mov rcx, qword [rbp + 0x28]
xor edx, edx
call qword [sym.imp.USER32.dll_EnableWindow]
mov r12d, 1
cmp dword [rbx + 0x40], r13d
je 0x140008e60
nop
lea rcx, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
js 0x140008e46
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x140008e46
cmp dword [rsp + 0x38], 0x12
je 0x140008e52
lea rcx, [0x140028d68]
call fcn.140006ce0
test rax, rax
mov rcx, rax
jne 0x140008e0d
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x140008e1c
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetParent]
lea rcx, [0x140028d68]
mov rdx, rax
call fcn.140006ce0
test rax, rax
mov rcx, rax
je 0x140008e1c
mov rax, qword [rcx]
lea rdx, [rsp + 0x30]
call qword [rax + 0x28]
test eax, eax
jne 0x140008e32
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_DispatchMessageA]
call fcn.14000b7d0
call fcn.14000b3c0
call fcn.14000bc00
call fcn.140007b90
cmp dword [rbx + 0x40], r13d
jne 0x140008d90
jmp 0x140008e60
mov ecx, dword [rsp + 0x40]
mov dword [rbx + 0x40], r13d
call qword [sym.imp.USER32.dll_PostQuitMessage]
test r12d, r12d
je 0x140008e7e
mov rcx, qword [rbp + 0x28]
mov edx, 1
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x18]
mov eax, dword [rbx + 0x44]
mov r12, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x88]
mov dword [rbx + 0x3c], r13d
mov dword [rbx + 0x38], r13d
mov r13, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x80]
add rsp, 0x78
ret