Function at 0x14006d510
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x4c0]
sub rsp, 0x5d0
mov rax, qword [0x1401f7280]
xor rax, rsp
mov qword [rbp + 0x4b0], rax
xor r12d, r12d
mov rbx, r8
mov r14, rdx
mov rdi, rcx
lea r13, [0x140209940]
xor edx, edx
mov r8d, 0x418
mov rcx, r13
mov r15d, r12d
mov dword [rbp - 0x78], r12d
lea esi, [r12 + 5]
mov dword [0x140209d60], 0x720049
mov dword [0x140209d64], 0x610066
mov dword [0x140209d68], 0x56006e
mov dword [0x140209d6c], 0x650069
mov dword [0x140209d70], 0x77
call fcn.1400f9ab0
lea rcx, [0x140208ca0]
xor edx, edx
mov r8d, 0x210
call fcn.1400f9ab0
lea rcx, [0x140209500]
xor edx, edx
mov word [0x140209720], r12w
call fcn.1400ebbc0
lea r8, [0x140209500]
lea rdx, str._si_view64.ini
lea rcx, [0x140208860]
call fcn.1400f98c8
lea edx, [rsi - 4]
xor ecx, ecx
call fcn.14005fad0
mov dword [0x140208f80], 0xffffffff
cmp word [rbx], r12w
je 0x14006d6c3
mov dword [rbp - 0x7c], r12d
mov dword [0x1401fbc80], 1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], r12w
jne 0x14006d615
inc rax
mov r8d, 0xfff
cmp rax, r8
ja 0x14006d63e
or r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], r12w
jne 0x14006d631
inc r8
lea rcx, [0x140209da0]
mov rdx, rbx
call fcn.1400fb86c
lea rax, [rbp - 0x7c]
lea r9, [0x140209500]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x78]
lea rdx, [0x140209da0]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x260]
mov r8, r13
mov rcx, rdi
mov qword [0x1401fbba0], rdi
mov qword [rsp + 0x20], rax
call fcn.14001f1f0
mov dword [0x1401f7180], eax
test al, 1
je 0x14006d6c3
mov rcx, qword [0x1401fbae0]
test rcx, rcx
je 0x14006d6bb
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, qword [0x1401fbae0]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov qword [0x1401fbae0], r12
mov eax, dword [rbp - 0x7c]
jmp 0x14006e305
lea r9, [0x140208860]
lea rdx, str.FullScreen
lea rcx, str.Viewing
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x14006d6ec
or dword [0x1401f7180], 0x40
call fcn.140057300
movzx ecx, byte [0x1402094a1]
movzx eax, byte [0x1402094a2]
shl ecx, 8
shl eax, 0x10
or ecx, eax
movzx eax, byte [0x1402094a0]
or ecx, eax
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov qword [0x1401fbad8], rdi
mov qword [0x1401fbc50], rax
test r14, r14
jne 0x14006d782
lea rax, [0x140060580]
mov edx, 0x3e8
mov rcx, rdi
mov dword [rbp - 0x70], r12d
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x68], rax
call qword [sym.imp.USER32.dll_LoadIconW]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rbp - 0x50], rax
call qword [sym.imp.USER32.dll_LoadCursorW]
lea r14, [0x140209d60]
lea rcx, [rbp - 0x70]
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x48], rax
call qword [sym.imp.USER32.dll_RegisterClassW]
jmp 0x14006d789
lea r14, [0x140209d60]
lea rax, str.IrfanViewerClass
mov edx, 0x7f00
xor ecx, ecx
mov qword [rbp - 0x30], rax
lea rax, [0x1400f63e0]
mov dword [rbp - 0x70], InitCommonControls
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x58], rdi
call qword [sym.imp.USER32.dll_LoadCursorW]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rbp - 0x48], rax
call qword [sym.imp.USER32.dll_LoadIconW]
lea rcx, [rbp - 0x70]
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x50], rax
mov rax, qword [0x1401fbc50]
mov qword [rbp - 0x40], rax
call qword [sym.imp.USER32.dll_RegisterClassW]
mov edx, 1
mov ecx, edx
call fcn.14005b610
mov ecx, 1
call fcn.1400ebf90
mov ecx, dword [0x1402094cc]
cmp ecx, eax
cmovge ecx, r12d
mov dword [0x1402094cc], ecx
mov ecx, 1
call fcn.1400ebf50
mov ecx, dword [0x1402094c8]
mov qword [rsp + 0x40], r12
cmp ecx, eax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
cmovge ecx, r12d
xor r9d, r9d
xor r8d, r8d
mov dword [0x1402094c8], ecx
lea rcx, [rbp - 0x80]
xor edx, edx
mov qword [rsp + 0x28], r12
mov dword [rbp - 0x80], 0xfffffc19
mov qword [rsp + 0x20], r12
call fcn.1400d5c90
mov r8d, eax
mov dword [0x1402094c0], eax
mov dword [0x1402094c4], eax
mov dword [rbp - 0x80], eax
cdq
mov ebx, r8d
and edx, 3
add eax, edx
sar eax, 2
sub ebx, eax
cmp ebx, r8d
cmovg ebx, r8d
cmp dword [0x1401f7140], r12d
je 0x14006d96d
lea r9, [0x140208860]
lea rdx, [0x140188bf8]
lea rcx, str.WinPosition
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea r9, [0x140208860]
lea rdx, [0x140188c08]
lea rcx, str.WinPosition
mov r8d, ebx
mov dword [rbp - 0x80], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [rbp - 0x80]
cmp ecx, dword [0x1402094c4]
mov ebx, eax
cmovl ecx, dword [0x1402094c4]
mov dword [rbp - 0x80], ecx
mov ecx, 1
call fcn.1400ebf90
sub eax, dword [0x1402094cc]
cmp dword [rbp - 0x80], eax
jle 0x14006d907
mov ecx, 1
call fcn.1400ebf90
sub eax, dword [0x1402094cc]
mov dword [rbp - 0x80], eax
mov ecx, dword [0x1402094c4]
mov eax, ecx
cdq
and edx, 3
add eax, edx
sar eax, 2
sub ecx, eax
cmp ebx, ecx
cmovl ebx, ecx
mov ecx, 1
call fcn.1400ebf50
sub eax, dword [0x1402094c8]
cmp ebx, eax
jle 0x14006d945
mov ecx, 1
call fcn.1400ebf50
mov ebx, eax
sub ebx, dword [0x1402094c8]
lea r9, [0x140208860]
lea rdx, str.Maximized
lea rcx, str.WinPosition
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
mov eax, 3
cmovne esi, eax
test dword [0x1401f7180], 0x200
je 0x14006d992
lea rdx, [0x1402094c8]
lea rcx, [0x1402094cc]
mov r8d, 1
call fcn.14001edd0
mov eax, dword [rbp - 0x80]
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], eax
mov eax, dword [0x1402094c8]
mov r9d, 0x4cf0000
mov dword [rsp + 0x28], eax
mov eax, dword [0x1402094cc]
mov r8, r14
mov rdx, r14
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [0x1401fbb00], rax
test rax, rax
jne 0x14006da0b
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea rdx, str.Cant_start_IrfanView_
mov r9d, 0x2040
mov rcx, rax
mov r8, r14
call qword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
jmp 0x14006e305
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
lea rcx, str.commdlg_FileNameOK
mov qword [0x1401fbaf8], rax
call qword [sym.imp.USER32.dll_RegisterWindowMessageW]
mov dword [0x1401fbab4], eax
mov eax, dword [0x1401fbc84]
test al, 1
je 0x14006da50
mov rcx, qword [0x1401fbb28]
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x1401fbc84]
test al, 2
je 0x14006da69
mov rcx, qword [0x1401fbb40]
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x1401fbc84]
test al, 4
je 0x14006da78
call fcn.14005b300
mov eax, dword [0x1401fbc84]
test al, 8
je 0x14006da81
call fcn.14005b2b0
mov eax, dword [0x1401f7180]
test al, 8
je 0x14006da97
mov word [0x140209940], r12w
xor edx, edx
jmp 0x14006dadc
test al, 0x20
je 0x14006dad6
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp word [0x140209940], r12w
je 0x14006dabe
cmp eax, 0xffffffff
je 0x14006dab7
test al, 0x10
jne 0x14006dabe
mov edx, 5
jmp 0x14006dadc
cmp esi, 3
jne 0x14006dad2
mov rcx, qword [0x1401fbb00]
mov edx, esi
call qword [sym.imp.USER32.dll_ShowWindow]
xor edx, edx
jmp 0x14006dadc
test al, 0x40
jne 0x14006dae9
mov edx, esi
mov rcx, qword [0x1401fbb00]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1401fbb00]
call qword [sym.imp.USER32.dll_UpdateWindow]
call qword [sym.imp.COMCTL32.dll_InitCommonControls]
lea rax, [0x140046360]
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x50], xmm0
mov ecx, 4
mov qword [rbp - 0x68], rax
mov dword [rbp - 0x70], 8
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], rdi
call qword [sym.imp.GDI32.dll_GetStockObject]
mov qword [rbp - 0x40], rax
lea rax, str.FullScreenClass
lea rcx, [rbp - 0x70]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x38], r12
call qword [sym.imp.USER32.dll_RegisterClassW]
cmp word [0x140209940], r12w
mov r8d, dword [0x1401f7180]
je 0x14006ddb4
test r8b, 2
je 0x14006ddb4
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14006dbc4
test al, 0x10
je 0x14006dbc4
mov rcx, r13
call fcn.1400fbb0c
mov edx, 1
xor r8d, r8d
mov ecx, edx
call fcn.1400589f0
test byte [0x1401f7180], 0x20
mov rcx, qword [0x1401fbb00]
je 0x14006dbab
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x14006dcb9
xor r9d, r9d
mov edx, 0x111
mov r8d, 0x43e
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x14006dcb9
mov rcx, qword [0x1401fbae0]
test rcx, rcx
je 0x14006dbea
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, qword [0x1401fbae0]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov qword [0x1401fbae0], r12
lea rdx, [0x14018399c]
mov rcx, r13
call fcn.1400f9d68
test rax, rax
je 0x14006dc3d
lea rdx, [rbp + 0x10]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x14006dc3d
mov rdx, r12
nop dword [rax]
nop dword [rax + rax]
movzx ecx, word [rbp + rdx + 0x3c]
lea rdx, [rdx + 2]
mov word [rdx + r13 - 2], cx
test cx, cx
jne 0x14006dc20
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
mov r9d, dword [rbp - 0x78]
mov dword [rsp + 0x80], r12d
mov dword [rsp + 0x78], 1
mov dword [rsp + 0x70], r12d
lea rax, [0x1401fbbdc]
xor r8d, r8d
mov qword [rsp + 0x68], rax
lea rax, [0x1401fbbec]
lea edx, [r8 + 1]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], r12
lea rax, [0x1401f7120]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], 1
mov rcx, r13
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 1
call fcn.1400a0d70
mov qword [0x1401fbae0], rax
mov ebx, dword [0x1401f7144]
mov ecx, 1
call fcn.14005d3c0
test ebx, ebx
jne 0x14006dd06
cmp dword [0x1402094e4], r12d
jne 0x14006dce2
cmp dword [0x1402094e0], r12d
mov r8d, r12d
je 0x14006dce8
mov r8d, 1
mov edx, dword [0x1401fbc30]
mov rcx, qword [0x1401fbae0]
movsd xmm3, qword [0x1401f7170]
call fcn.140060500
test eax, eax
je 0x14006dd0b
call fcn.140056fd0
mov rcx, qword [0x1401fbb08]
xor edx, edx
lea r8d, [rdx + 1]
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rcx, qword [0x1401fbb08]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, 1
call fcn.1400d8990
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
mov r9d, dword [0x1401fbc34]
mov r8d, dword [0x1401f7180]
mov r15d, 1
test r9d, r9d
je 0x14006ddb4
bt r8d, 0xa
jb 0x14006ddb4
bt r8d, 0xf
jb 0x14006ddb4
bt r8d, 0x14
jb 0x14006ddb4
bt r8d, 0x12
jb 0x14006ddb4
test r8b, 0x10
jne 0x14006ddb4
test r8b, 0x40
jne 0x14006ddb4
mov rax, qword [0x1401fbb00]
mov r8d, dword [0x1401fbbe4]
mov edx, dword [0x1401fbbe0]
mov rcx, r13
mov qword [rsp + 0x20], rax
call fcn.1400dee80
mov r8d, dword [0x1401f7180]
test r8b, 4
je 0x14006de5f
test r15d, r15d
jne 0x14006de5f
mov ebx, dword [0x1401f7144]
lea ecx, [r15 + 1]
call fcn.14005d3c0
test ebx, ebx
jne 0x14006de13
cmp dword [0x1402094e4], r12d
jne 0x14006ddef
cmp dword [0x1402094e0], r12d
mov r8d, r12d
je 0x14006ddf5
mov r8d, 1
mov edx, dword [0x1401fbc30]
mov rcx, qword [0x1401fbae0]
movsd xmm3, qword [0x1401f7170]
call fcn.140060500
test eax, eax
je 0x14006de18
call fcn.140056fd0
mov rcx, qword [0x1401fbb08]
xor edx, edx
lea r8d, [rdx + 1]
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rcx, qword [0x1401fbb08]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, 1
call fcn.1400d8990
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
mov r8d, dword [0x1401f7180]
test r8b, 0x40
je 0x14006df9a
test r8b, 8
jne 0x14006df9a
test r8b, 0x10
jne 0x14006df9a
and r8d, 0xffffffbf
mov dword [0x1401f7180], r8d
bt r8d, 0x12
jae 0x14006decb
lea rcx, [rbp + 0x260]
call fcn.14005bd00
and dword [0x1401f7180], 0xfffbffff
cmp qword [0x1401fbae0], r12
jne 0x14006deeb
mov rcx, qword [0x1401fbb00]
xor r9d, r9d
mov edx, 0x111
mov r8d, 0x43e
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x14006deeb
cmp dword [0x1401f7120], 0xffffffff
jne 0x14006dede
cmp word [0x140209940], r12w
je 0x14006df11
xor edx, edx
xor r8d, r8d
lea ecx, [rdx + 1]
call fcn.1400589f0
mov eax, dword [0x1401f7120]
cmp eax, 1
je 0x14006df00
cmp eax, 0x11
je 0x14006df00
cmp eax, 0x6e
jne 0x14006df11
cmp dword [0x1401fbbec], 1
jle 0x14006df11
mov r9d, 0x65
jmp 0x14006df14
xor r9d, r9d
mov rcx, qword [0x1401fbb00]
mov r8d, 0x448
mov edx, 0x111
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [0x1401fbb00]
mov edx, esi
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1401fbb00]
call qword [sym.imp.USER32.dll_UpdateWindow]
cmp qword [0x1401fbae0], r12
je 0x14006df75
cmp dword [0x1401fbbdc], r12d
je 0x14006df75
mov rcx, qword [0x1401fbb00]
xor r9d, r9d
mov edx, 0x111
mov r8d, 0x472
call qword [sym.imp.USER32.dll_PostMessageW]
mov rcx, qword [0x1401fbb10]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14006df93
mov rcx, qword [0x1401fbb10]
call qword [sym.imp.USER32.dll_SetFocus]
mov r8d, dword [0x1401f7180]
cmp dword [0x1401fbc28], r12d
je 0x14006e005
mov rcx, qword [0x1401fbb00]
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x14006dffe
mov rcx, qword [0x1401fbb00]
mov dword [rsp + 0x30], 0x43
xor r9d, r9d
xor r8d, r8d
or rdx, 0xffffffffffffffff
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x1401fbb00]
call qword [sym.imp.USER32.dll_GetMenu]
mov edx, 0x412
mov r8d, 8
mov rcx, rax
call qword [sym.imp.USER32.dll_CheckMenuItem]
mov r8d, dword [0x1401f7180]
bt r8d, 0xa
jb 0x14006e013
bt r8d, 0xf
jae 0x14006e038
mov rcx, qword [0x1401fbb00]
mov edx, 0x111
mov r9d, 0x65
mov r8d, 0x411
call qword [sym.imp.USER32.dll_PostMessageW]
mov r8d, dword [0x1401f7180]
bt r8d, 0x14
jae 0x14006e064
mov rcx, qword [0x1401fbb00]
mov edx, 0x111
mov r9d, 6
mov r8d, 0x417
call qword [sym.imp.USER32.dll_PostMessageW]
mov r8d, dword [0x1401f7180]
bt r8d, 0x19
jae 0x14006e090
mov rcx, qword [0x1401fbb00]
mov edx, 0x111
mov r9d, 0x3e7
mov r8d, 0x90
call qword [sym.imp.USER32.dll_PostMessageW]
mov r8d, dword [0x1401f7180]
bt r8d, 0x12
jae 0x14006e0d2
lea rcx, [rbp + 0x260]
call fcn.14005bd00
mov r8d, dword [0x1401f7180]
test r8b, 0x20
jne 0x14006e0d8
mov rcx, qword [0x1401fbb00]
xor r9d, r9d
mov edx, 0x111
mov r8d, 0x43e
call qword [sym.imp.USER32.dll_PostMessageW]
mov r8d, dword [0x1401f7180]
test r8b, 0x20
je 0x14006e113
mov rcx, qword [0x1401fbb00]
xor r9d, r9d
mov edx, 0x111
mov r8d, 0x49a
call qword [sym.imp.USER32.dll_PostMessageW]
cmp word [0x140209940], r12w
jne 0x14006e10c
mov rcx, qword [0x1401fbb00]
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov r8d, dword [0x1401f7180]
test r8b, 0x10
je 0x14006e139
and r8d, 0xffffffbf
lea rcx, [rbp + 0x260]
xor edx, edx
mov dword [0x1401f7180], r8d
and r8d, 0x1000
call fcn.1400b5e10
mov rcx, qword [0x1401fbb00]
call fcn.1400716f0
lea rcx, [rbp - 0x20]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x14006e2cc
nop
cmp eax, 0xffffffff
je 0x14006e2cc
cmp dword [0x1401fbc5c], r12d
lea rcx, [rbp - 0x20]
jne 0x14006e2a2
mov rdx, qword [0x1401fbb00]
call fcn.1400d9050
test eax, eax
jne 0x14006e2b2
mov rcx, qword [0x1401fbb90]
test rcx, rcx
je 0x14006e1ac
lea rdx, [rbp - 0x20]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x14006e2b2
mov rcx, qword [0x1401fbb10]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14006e1e8
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rcx, qword [0x1401fbb10]
cmp rax, rcx
jne 0x14006e1e8
mov rdx, qword [0x1401fbaf8]
lea r8, [rbp - 0x20]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x14006e2b2
mov rcx, qword [0x1401fbb18]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14006e219
mov rdx, qword [0x1401fbaf8]
mov rcx, qword [0x1401fbb18]
lea r8, [rbp - 0x20]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x14006e2b2
mov rcx, qword [0x1401fbb48]
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x14006e282
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rcx, qword [0x1401fbb48]
cmp rax, rcx
jne 0x14006e282
mov rdx, qword [0x1401fbaf8]
lea r8, [rbp - 0x20]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
je 0x14006e282
cmp dword [rbp - 0x18], 0x100
jne 0x14006e2b2
mov r8, qword [rbp - 0x10]
cmp r8, 0xd
je 0x14006e26a
cmp r8, 0x20
jne 0x14006e2b2
mov r9, qword [rbp - 8]
mov rcx, qword [0x1401fbb48]
mov edx, 0x100
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x14006e2b2
mov rdx, qword [0x1401fbaf8]
mov rcx, qword [0x1401fbb00]
lea r8, [rbp - 0x20]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x14006e2b2
lea rcx, [rbp - 0x20]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x20]
call qword [sym.imp.USER32.dll_DispatchMessageW]
lea rcx, [rbp - 0x20]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x14006e160
mov rcx, qword [0x1401fbc78]
test rcx, rcx
je 0x14006e2e4
call fcn.1400f97e8
mov qword [0x1401fbc78], r12
mov rcx, qword [0x1401fbcd0]
test rcx, rcx
je 0x14006e302
call fcn.1400dcd50
mov rcx, qword [0x1401fbcd0]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [rbp - 0x10]
mov rcx, qword [rbp + 0x4b0]
xor rcx, rsp
call fcn.1400f9a80
mov rbx, qword [rsp + 0x618]
add rsp, 0x5d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret