Function at 0x140098850
Capabilities:
Get graphical window text

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xf8]
sub rsp, 0x1f8
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x1403ad830]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov rbx, r9
mov r15, r8
mov rdi, rdx
mov rsi, rcx
mov r14, qword [rbp + 0x160]
mov r13, qword [rbp + 0x168]
mov qword [rsp + 0x48], r13
mov byte [rdx], 1
lea rdx, str.get_text
mov rcx, r9
call fcn.14001d8d0
test al, al
je 0x14009899d
mov edx, 2
mov rcx, r14
call fcn.14006e150
mov rax, qword [r14 + 0x40]
mov ebx, dword [rax + 0x80]
lea rcx, [rbp - 0x78]
call fcn.14001cac0
nop
mov edx, ebx
mov rcx, qword [r15 + 0xd0]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov r14, rax
test rax, rax
je 0x140098967
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
lea ecx, [rax + 0xa]
movsxd rdx, ecx
mov eax, 2
mul rdx
mov rbx, 0xffffffffffffffff
cmovo rax, rbx
mov rcx, rax
call fcn.140283754
mov rsi, rax
xor ebx, ebx
mov word [rax], bx
lea r8d, [rdi + 1]
mov rdx, rax
mov rcx, r14
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rdx, rsi
lea rcx, [rbp - 0x50]
call fcn.14001c950
nop
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x78]
call fcn.14001d690
nop
lea rcx, [rbp - 0x50]
call fcn.14001d440
mov rcx, rsi
call fcn.140283144
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x60]
call fcn.14001c050
nop
lea rcx, [rbp - 0x78]
call fcn.14001d440
nop
lea rdx, [rsp + 0x60]
mov rcx, r13
call fcn.1400428b0
nop
lea rcx, [rsp + 0x60]
call fcn.14001d440
jmp 0x1400996ed
lea rdx, str.create
mov rcx, rbx
call fcn.14001d8d0
test al, al
je 0x140098a57
mov edx, 3
mov rcx, r14
call fcn.14006dca0
lea rdx, [0x1402dbf10]
lea rcx, [rbp - 0x50]
call fcn.14001c950
nop
lea r8, [rbp - 0x50]
xor edx, edx
mov rcx, r14
call fcn.14006e4d0
nop
lea rcx, [rbp - 0x50]
call fcn.14001d440
mov edx, 1
lea r8d, [rdx + 1]
mov rcx, r14
call fcn.14006dea0
mov edx, 2
mov r8d, edx
mov rcx, r14
call fcn.14006dea0
xor ebx, ebx
mov qword [r15 + 0xd8], rbx
mov rcx, qword [r14 + 0x40]
call fcn.1400455a0
test rax, rax
je 0x140098a30
mov rax, qword [rax + 0xd0]
mov qword [r15 + 0xd8], rax
mov rax, qword [r14 + 0x40]
mov ecx, dword [rax + 0x118]
mov dword [r15 + 0xbc], ecx
mov rax, qword [r14 + 0x40]
mov ecx, dword [rax + 0x1b0]
mov dword [r15 + 0xc0], ecx
jmp 0x1400996ed
lea rdx, str.get_hwnd
mov rcx, rbx
call fcn.14001d8d0
test al, al
je 0x140098a88
xor edx, edx
mov rcx, r14
call fcn.14006dca0
mov rdx, qword [r15 + 0xd0]
mov rcx, r13
call fcn.1400427c0
jmp 0x1400996ed
lea rdx, str.add_button
mov rcx, rbx
call fcn.14001d8d0
test al, al
je 0x140098b50
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], 2
mov edx, 2
mov r9d, edx
mov r8d, edx
mov rcx, r14
call fcn.14006e350
mov ecx, 0x60
call fcn.14028314c
mov qword [rsp + 0x48], rax
test rax, rax
je 0x140098aeb
mov rcx, rax
call fcn.1400979d0
mov rbx, rax
jmp 0x140098aed
xor ebx, ebx
mov rax, qword [r14 + 0x40]
mov ecx, dword [rax + 0x80]
mov dword [rbx + 0x40], ecx
mov rdx, qword [r14 + 0x40]
add rdx, 0x350
lea rcx, [rbx + 8]
call fcn.14001d690
mov rax, qword [r14 + 0x40]
mov ecx, dword [rax + 0x2e0]
mov dword [rbx + 0x3c], ecx
mov rax, qword [r14 + 0x40]
mov ecx, dword [rax + 0x248]
mov dword [rbx + 0x38], ecx
mov rax, qword [r14 + 0x40]
mov ecx, dword [rax + 0x118]
mov dword [rbx + 0x30], ecx
mov rax, qword [r14 + 0x40]
mov ecx, dword [rax + 0x1b0]
mov dword [rbx + 0x34], ecx
mov dword [rbx], 1
mov rdx, rbx
jmp 0x1400992e1
lea rdx, str.add_listctrl
mov rcx, rbx
call fcn.14001d8d0
test al, al
je 0x140098c4b
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], 2
mov edx, 2
mov r9d, edx
mov r8d, edx
mov rcx, r14
call fcn.14006e2c0
mov ecx, SQLGetTypeInfoW
call fcn.14028314c
mov rdi, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x140098bfe
lea rcx, [rax + 8]
call fcn.14001cac0
xor ebx, ebx
mov qword [rdi + 0x30], rbx
mov dword [rdi + 0x38], 0x64
mov dword [rdi + 0x3c], reloc.ODBC32.dll_SQLFetchScroll
mov qword [rdi + 0x40], 1
mov qword [rdi + 0x48], rbx
mov dword [rdi + 0x50], 0x505050
mov dword [rdi + 0x54], 0xf8f8f8
mov qword [rdi + 0x60], rbx
mov qword [rdi + 0x68], rbx
mov qword [rdi + 0x70], rbx
mov qword [rdi + 0x78], rbx
mov qword [rdi + 0x80], rbx
mov qword [rdi + 0x88], rbx
mov dword [rdi], 4
jmp 0x140098c02
xor ebx, ebx
mov edi, ebx
mov rax, qword [r14 + 0x40]
mov ecx, dword [rax + 0x80]
mov dword [rdi + 0x40], ecx
mov rax, qword [r14 + 0x40]
mov ecx, dword [rax + 0x2e0]
mov dword [rdi + 0x3c], ecx
mov rax, qword [r14 + 0x40]
mov ecx, dword [rax + 0x248]
mov dword [rdi + 0x38], ecx
mov rax, qword [r14 + 0x40]
mov ecx, dword [rax + 0x118]
mov dword [rdi + 0x30], ecx
mov rax, qword [r14 + 0x40]
mov ecx, dword [rax + 0x1b0]
mov dword [rdi], 4
jmp 0x1400992db
lea rdx, str.set_lc_head
mov rcx, rbx
call fcn.14001d8d0
test al, al
je 0x140098e42
mov edx, 2
lea r8d, [rdx + 7]
mov rcx, r14
call fcn.14006e180
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
xor ebx, ebx
mov qword [rsp + 0x70], rbx
mov rax, qword [r14 + 0x40]
mov rcx, qword [rax + 0x118]
mov rax, qword [rcx + 8]
sub rax, qword [rcx]
sar rax, 3
mov r12d, ebx
test rax, rax
je 0x140098d92
mov r13, rax
nop dword [rax + rax]
lea rdx, [0x1402d65e8]
lea rcx, [rbp - 0x78]
call fcn.14001c950
nop
lea rdx, str.name
lea rcx, [rbp - 0x50]
call fcn.14001c950
nop
mov rcx, qword [r14 + 0x40]
add rcx, 0x98
lea r9, [rbp - 0x50]
mov r8, r12
lea rdx, [rbp + 8]
call fcn.1400453d0
mov rsi, rax
mov rcx, qword [r14 + 0x40]
add rcx, 0x98
lea r8, [rbp - 0x78]
mov rdx, r12
call fcn.1400453a0
mov rdi, rax
lea rcx, [rbp - 0x28]
call fcn.14001cac0
nop
mov rdx, rsi
lea rcx, [rbp - 0x28]
call fcn.14001d690
mov dword [rbp], edi
lea rcx, [rbp + 8]
call fcn.14001d440
nop
lea rcx, [rbp - 0x50]
call fcn.14001d440
nop
lea rcx, [rbp - 0x78]
call fcn.14001d440
mov rdi, qword [rsp + 0x68]
cmp qword [rsp + 0x70], rdi
je 0x140098d66
lea rdx, [rbp - 0x28]
mov rcx, rdi
call fcn.14001c0d0
mov eax, dword [rbp]
mov dword [rdi + 0x28], eax
add qword [rsp + 0x68], 0x30
jmp 0x140098d78
lea r8, [rbp - 0x28]
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.140097450
nop
lea rcx, [rbp - 0x28]
call fcn.14001d440
inc r12
cmp r12, r13
jb 0x140098cb0
mov r13, qword [rsp + 0x48]
mov rax, qword [r14 + 0x40]
mov r8d, dword [rax + 0x80]
cmp byte [r15 + 0xe0], 0
je 0x140098dc9
mov edx, r8d
mov rcx, qword [r15 + 0xd0]
call qword [sym.imp.USER32.dll_GetDlgItem]
lea r8, [rsp + 0x60]
mov rdx, rax
mov rcx, r15
call fcn.140099710
jmp 0x140098e28
mov r9, qword [r15 + 0x60]
mov rdx, qword [r15 + 0x68]
sub rdx, r9
sar rdx, 3
test rdx, rdx
je 0x140098e28
mov rcx, r9
mov rax, qword [rcx]
cmp dword [rax], 4
jne 0x140098dee
cmp dword [rax + 0x40], r8d
je 0x140098dfe
inc ebx
add rcx, 8
movsxd rax, ebx
cmp rax, rdx
jae 0x140098e28
jmp 0x140098de0
movsxd rax, ebx
mov rcx, qword [r9 + rax*8]
add rcx, 0x60
lea rax, [rsp + 0x60]
cmp rcx, rax
je 0x140098e28
movzx r9d, byte [rsp + 0x40]
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
call fcn.1400971f0
xor edx, edx
mov rcx, r13
call fcn.1400427c0
nop
lea rcx, [rsp + 0x60]
call fcn.14003d660
jmp 0x1400996ed
lea rdx, str.get_selected_index
mov rcx, rbx
call fcn.14001d8d0
test al, al
je 0x140098ec5
mov edx, 2
mov rcx, r14
call fcn.14006e150
mov rax, qword [r14 + 0x40]
cmp byte [r15 + 0xe0], 0
je 0x140098eae
mov edx, dword [rax + 0x80]
mov rcx, qword [r15 + 0xd0]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov edx, 0x100c
mov r9d, 2
lea r8, [r9 - 3]
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
movsxd rdx, ebx
mov rcx, r13
call fcn.1400427c0
jmp 0x1400996ed
mov rbx, 0xffffffffffffffff
movsxd rdx, ebx
mov rcx, r13
call fcn.1400427c0
jmp 0x1400996ed
lea rdx, str.add_lc
mov rcx, rbx
call fcn.14001d8d0
test al, al
je 0x140098fe9
mov edx, 2
lea r8d, [rdx + 7]
mov rcx, r14
call fcn.14006e180
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
xor ebx, ebx
mov qword [rbp - 0x68], rbx
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rbx
mov rcx, qword [r14 + 0x40]
add rcx, 0x98
lea rdx, [rsp + 0x60]
call fcn.1400463a0
mov rax, qword [r14 + 0x40]
mov r8d, dword [rax + 0x80]
cmp byte [r15 + 0xe0], bl
je 0x140098f51
mov edx, r8d
mov rcx, qword [r15 + 0xd0]
call qword [sym.imp.USER32.dll_GetDlgItem]
lea r8, [rsp + 0x60]
mov rdx, rax
mov rcx, r15
call fcn.140098070
jmp 0x140098fc5
mov r9, qword [r15 + 0x60]
mov rdx, qword [r15 + 0x68]
sub rdx, r9
sar rdx, 3
test rdx, rdx
je 0x140098fc5
mov rcx, r9
mov rax, qword [rcx]
cmp dword [rax], 4
jne 0x140098f76
cmp dword [rax + 0x40], r8d
je 0x140098f86
inc ebx
add rcx, 8
movsxd rax, ebx
cmp rax, rdx
jae 0x140098fc5
jmp 0x140098f68
movsxd rax, ebx
mov rbx, qword [r9 + rax*8]
mov rax, qword [rbx + 0x80]
cmp qword [rbx + 0x88], rax
je 0x140098fb4
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.14000d040
add qword [rbx + 0x80], 0x18
jmp 0x140098fc5
lea r8, [rsp + 0x60]
mov rdx, rax
lea rcx, [rbx + 0x78]
call fcn.140097680
xor edx, edx
mov rcx, r13
call fcn.1400427c0
nop
lea rcx, [rsp + 0x60]
call fcn.140002df0
nop
lea rcx, [rbp - 0x78]
call fcn.14003d660
jmp 0x1400996ed
lea rdx, str.add_static
mov rcx, rbx
call fcn.14001d8d0
test al, al
je 0x1400990b1
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], 2
mov edx, 2
mov r9d, edx
mov r8d, edx
mov rcx, r14
call fcn.14006e350
mov ecx, 0x60
call fcn.14028314c
mov qword [rsp + 0x48], rax
test rax, rax
je 0x14009904c
mov rcx, rax
call fcn.1400979d0
mov rbx, rax
jmp 0x14009904e
xor ebx, ebx
mov rax, qword [r14 + 0x40]
mov ecx, dword [rax + 0x80]
mov dword [rbx + 0x40], ecx
mov rdx, qword [r14 + 0x40]
add rdx, 0x350
lea rcx, [rbx + 8]
call fcn.14001d690
mov rax, qword [r14 + 0x40]
mov ecx, dword [rax + 0x2e0]
mov dword [rbx + 0x3c], ecx
mov rax, qword [r14 + 0x40]
mov ecx, dword [rax + 0x248]
mov dword [rbx + 0x38], ecx
mov rax, qword [r14 + 0x40]
mov ecx, dword [rax + 0x118]
mov dword [rbx + 0x30], ecx
mov rax, qword [r14 + 0x40]
mov ecx, dword [rax + 0x1b0]
mov dword [rbx + 0x34], ecx
mov dword [rbx], 3
mov rdx, rbx
jmp 0x1400992e1
lea rdx, str.set_title
mov rcx, rbx
call fcn.14001d8d0
test al, al
je 0x14009911a
mov edx, 1
mov rcx, r14
call fcn.14006e150
mov rdx, qword [r14 + 0x40]
add rdx, 0x58
lea rcx, [r15 + 0x90]
call fcn.14001d690
cmp byte [r15 + 0xe0], 0
je 0x14009910b
lea rcx, [r15 + 0x90]
call fcn.14002aa20
mov rdx, rax
mov rcx, qword [r15 + 0xd0]
call qword [sym.imp.USER32.dll_SetWindowTextW]
xor edx, edx
mov rcx, r13
call fcn.1400427c0
jmp 0x1400996ed
lea rdx, str.set_text
mov rcx, rbx
call fcn.14001d8d0
test al, al
je 0x1400991e7
mov edx, 2
lea r8d, [rdx - 1]
mov rcx, r14
call fcn.14006e180
mov rax, qword [r14 + 0x40]
lea r9, [rax + 0xf0]
mov edi, dword [rax + 0x80]
cmp byte [r15 + 0xe0], 0
je 0x140099186
mov rcx, r9
call fcn.14002aa20
mov r8, rax
mov edx, edi
mov rcx, qword [r15 + 0xd0]
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
xor edx, edx
mov rcx, r13
call fcn.1400427c0
jmp 0x1400996ed
xor ebx, ebx
mov r8, qword [r15 + 0x60]
mov rdx, qword [r15 + 0x68]
sub rdx, r8
sar rdx, 3
test rdx, rdx
je 0x1400991d8
mov rcx, r8
nop
mov rax, qword [rcx]
cmp dword [rax + 0x40], edi
je 0x1400991c5
inc ebx
add rcx, 8
movsxd rax, ebx
cmp rax, rdx
jb 0x1400991a0
xor edx, edx
mov rcx, r13
call fcn.1400427c0
jmp 0x1400996ed
movsxd rax, ebx
mov rcx, qword [r8 + rax*8]
add rcx, 8
mov rdx, r9
call fcn.14001d690
xor edx, edx
mov rcx, r13
call fcn.1400427c0
jmp 0x1400996ed
lea rdx, str.add_edit
mov rcx, rbx
call fcn.14001d8d0
test al, al
je 0x1400992f8
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], 2
mov edx, 2
mov r9d, edx
mov r8d, edx
mov rcx, r14
call fcn.14006e350
mov ecx, SQLDescribeColW
call fcn.14028314c
mov rdi, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x140099285
lea rcx, [rax + 8]
call fcn.14001cac0
xor ebx, ebx
mov qword [rdi + 0x30], rbx
mov dword [rdi + 0x38], 0x64
mov dword [rdi + 0x3c], reloc.ODBC32.dll_SQLFetchScroll
mov qword [rdi + 0x40], 1
mov qword [rdi + 0x48], rbx
mov dword [rdi + 0x50], 0x505050
mov dword [rdi + 0x54], 0xf8f8f8
mov word [rdi + 0x60], 1
mov dword [rdi], 2
jmp 0x140099289
xor ebx, ebx
mov edi, ebx
mov rax, qword [r14 + 0x40]
mov ecx, dword [rax + 0x80]
mov dword [rdi + 0x40], ecx
mov rax, qword [r14 + 0x40]
movzx ecx, byte [rax + 0x378]
mov byte [rdi + 0x60], cl
mov rax, qword [r14 + 0x40]
mov ecx, dword [rax + 0x2e0]
mov dword [rdi + 0x3c], ecx
mov rax, qword [r14 + 0x40]
mov ecx, dword [rax + 0x248]
mov dword [rdi + 0x38], ecx
mov rax, qword [r14 + 0x40]
mov ecx, dword [rax + 0x118]
mov dword [rdi + 0x30], ecx
mov rax, qword [r14 + 0x40]
mov ecx, dword [rax + 0x1b0]
mov dword [rdi], 2
mov dword [rdi + 0x34], ecx
mov rdx, rdi
mov rcx, r15
call fcn.140098030
xor edx, edx
mov rcx, r13
call fcn.1400427c0
jmp 0x1400996ed
lea rdx, str.add_callback
mov rcx, rbx
call fcn.14001d8d0
test al, al
je 0x1400994bb
mov edx, 8
mov rcx, r14
call fcn.14006e150
mov rdx, qword [r14 + 0x40]
mov rdx, qword [rdx + 0x80]
lea rcx, [rbp - 0x78]
call fcn.14001c0d0
nop
lea rcx, [rbp + 0x30]
call fcn.14003d620
nop
lea r9, [rbp + 0x30]
mov r8d, 2
lea rdx, [rbp - 0x78]
mov rcx, rsi
call fcn.140010ba0
test al, al
je 0x14009944a
mov ecx, 0xc8
call fcn.14028314c
mov rbx, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x140099397
xor edx, edx
mov r8d, 0xc8
mov rcx, rax
call fcn.140285450
nop
lea rax, vtable.BraWndDlgCallbackReal.0
mov qword [rbx], rax
lea rcx, [rbx + 0x10]
call fcn.14003d620
nop
jmp 0x140099399
xor ebx, ebx
lea rdx, [rbp + 0x30]
lea rcx, [rbx + 0x10]
call fcn.14001d690
lea rcx, [rbx + 0x38]
lea rax, [rbp + 0x58]
cmp rcx, rax
je 0x1400993c6
movzx r9d, byte [rsp + 0x40]
mov r8, qword [rbp + 0x60]
mov rdx, qword [rbp + 0x58]
call fcn.140009350
mov rax, qword [rbp + 0x70]
mov qword [rbx + 0x50], rax
lea rcx, [rbx + 0x58]
lea rdx, [rbp + 0x78]
call fcn.14001d690
mov rax, qword [rbp + 0xa0]
mov qword [rbx + 0x80], rax
lea rcx, [rbx + 0x88]
lea rdx, [rbp + 0xa8]
call fcn.14001d690
mov eax, dword [rbp + 0xd0]
mov dword [rbx + 0xb0], eax
mov rax, qword [rbp + 0xd8]
mov qword [rbx + 0xb8], rax
mov qword [rbx + 0xc0], rsi
mov qword [rsp + 0x48], rbx
mov qword [rbx + 8], r15
lea rcx, [r15 + 0x78]
mov rdx, qword [rcx + 8]
cmp qword [rcx + 0x10], rdx
je 0x14009943e
mov qword [rdx], rbx
add qword [rcx + 8], 8
jmp 0x140099498
lea r8, [rsp + 0x48]
call fcn.140009c50
jmp 0x140099498
lea rdx, str.cannot_find_function:
lea rcx, [rbp - 0x50]
call fcn.14001c950
nop
lea r8, [rbp - 0x78]
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 8]
call fcn.14001da00
nop
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140030e70
nop
lea rcx, [rbp + 8]
call fcn.14001d440
nop
lea rcx, [rbp - 0x50]
call fcn.14001d440
lea rcx, [rsp + 0x40]
call fcn.140031120
xor edx, edx
mov rcx, r13
call fcn.1400427c0
nop
lea rcx, [rbp + 0x30]
call fcn.14003d720
nop
lea rcx, [rbp - 0x78]
call fcn.14001d440
jmp 0x1400996ed
lea rdx, str.do_model
mov rcx, rbx
call fcn.14001d8d0
test al, al
je 0x1400995c8
xor edx, edx
mov rcx, r14
call fcn.14006dca0
mov edx, 0x400
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
jne 0x14009950b
mov rbx, 0xffffffffffffffff
movsxd rdx, ebx
mov rcx, r13
call fcn.1400427c0
jmp 0x1400996ed
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rcx, rax
mov eax, 0x90c808c8
mov dword [rcx], eax
mov dword [rcx + 4], 0x40000
cmp byte [r15 + 0xb8], 0
je 0x140099536
mov eax, 0x90c908c8
mov dword [rcx], eax
cmp byte [r15 + 0xb9], 0
je 0x140099546
bts eax, 0x11
mov dword [rcx], eax
xor ebx, ebx
mov word [rcx + 8], bx
movzx eax, word [r15 + 0xc4]
mov word [rcx + 0xa], ax
movzx eax, word [r15 + 0xc8]
mov word [rcx + 0xc], ax
movzx eax, word [r15 + 0xbc]
mov word [rcx + 0xe], ax
movzx eax, word [r15 + 0xc0]
mov word [rcx + 0x10], ax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rbx, qword [r15 + 0xd8]
call fcn.140153090
mov qword [rsp + 0x20], r15
lea r9, [0x140097dd0]
mov r8, rbx
mov rdx, rdi
mov rcx, qword [rax]
call qword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
mov rbx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
movsxd rdx, ebx
mov rcx, r13
call fcn.1400427c0
jmp 0x1400996ed
lea rdx, [0x1402e23f0]
mov rcx, rbx
call fcn.14001d8d0
test al, al
je 0x1400995f9
xor edx, edx
mov rcx, r14
call fcn.14006dca0
xor edx, edx
mov rcx, qword [r15 + 0xd0]
call qword [sym.imp.USER32.dll_EndDialog]
jmp 0x1400996ed
lea rdx, str.set_topmost
mov rcx, rbx
call fcn.14001d8d0
test al, al
je 0x14009967a
mov edx, 3
mov rcx, r14
call fcn.14006e150
mov rax, qword [r14 + 0x40]
movzx ecx, byte [rax + 0x80]
mov byte [r15 + 0xe1], cl
cmp byte [r15 + 0xe0], 0
je 0x1400996ed
mov dword [rsp + 0x30], 3
xor ebx, ebx
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
test cl, cl
mov rcx, qword [r15 + 0xd0]
je 0x14009966b
lea rdx, [rbx - 1]
call qword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x1400996ed
mov rdx, 0xfffffffffffffffe
call qword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x1400996ed
lea rdx, str.move
mov rcx, rbx
call fcn.14001d8d0
test al, al
je 0x1400996ea
mov edx, 2
mov r8d, edx
mov rcx, r14
call fcn.14006e180
mov rax, qword [r14 + 0x40]
mov r9d, dword [rax + 0x118]
mov r8d, dword [rax + 0x80]
mov dword [r15 + 0xc4], r8d
mov dword [r15 + 0xc8], r9d
cmp byte [r15 + 0xe0], 0
je 0x1400996ed
mov dword [rsp + 0x30], 5
xor ebx, ebx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
xor edx, edx
mov rcx, qword [r15 + 0xd0]
call qword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x1400996ed
mov byte [rdi], 0
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.140283120
add rsp, 0x1f8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret