Function at 0x1400052b0
Capabilities:
Get geographical location
Get keyboard layout
Link many functions at runtime

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x108
movaps xmmword [rsp + 0xf0], xmm7
movaps xmmword [rsp + 0xe0], xmm6
mov r15d, r9d
mov r14, r8
mov rdi, rdx
mov r13, rcx
mov rax, qword [0x14012c040]
xor rax, rsp
mov qword [rsp + 0xd8], rax
call fcn.140042840
mov qword [0x14012cef8], r13
mov qword [0x14012cef0], rdi
call fcn.14003a030
call fcn.140024620
call fcn.14002a760
call fcn.140021fc0
call fcn.140043f30
cmp dword [0x14012ea90], 4
jb 0x140005331
jne 0x140005344
cmp dword [0x14012ea98], 2
je 0x140005344
lea rcx, str.MSWHEEL_ROLLMSG
call qword [sym.imp.USER32.dll_RegisterWindowMessageA]
mov dword [0x14012c010], eax
call fcn.14000d570
lea rcx, str.user32.dll
call fcn.140042b00
mov rdi, rax
lea rcx, str.winmm.dll
call fcn.140042b00
mov rbp, rax
lea rcx, str.shcore.dll
call fcn.140042b00
mov rbx, rax
test rdi, rdi
je 0x1400053a3
lea rdx, str.FlashWindowEx
mov rsi, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rdi
call rsi
mov qword [0x14012cf48], rax
lea rdx, str.ToUnicodeEx
mov rcx, rdi
call rsi
jmp 0x1400053b0
mov qword [0x14012cf48], 0
xor eax, eax
mov qword [0x14012cf88], rax
test rbp, rbp
je 0x1400053e4
lea rdx, str.PlaySoundW
mov rsi, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbp
call rsi
mov qword [0x14012cf38], rax
lea rdx, str.PlaySoundA
mov rcx, rbp
call rsi
jmp 0x1400053f1
mov qword [0x14012cf38], 0
xor eax, eax
mov qword [0x14012cf40], rax
test rdi, rdi
je 0x140005438
lea rdx, str.GetMonitorInfoA
mov rsi, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rdi
call rsi
mov qword [0x14012cf78], rax
lea rdx, str.MonitorFromPoint
mov rcx, rdi
call rsi
mov qword [0x14012cf80], rax
lea rdx, str.MonitorFromWindow
mov rcx, rdi
call rsi
jmp 0x140005450
mov qword [0x14012cf78], 0
mov qword [0x14012cf80], 0
xor eax, eax
mov qword [0x14012cf70], rax
test rbx, rbx
je 0x14000546e
lea rdx, str.GetDpiForMonitor
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x140005470
xor eax, eax
mov qword [0x14012cf68], rax
test rdi, rdi
je 0x1400054a4
lea rdx, str.GetSystemMetricsForDpi
mov rsi, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rdi
call rsi
mov qword [0x14012cf50], rax
lea rdx, str.AdjustWindowRectExForDpi
mov rcx, rdi
call rsi
jmp 0x1400054b1
mov qword [0x14012cf50], 0
xor eax, eax
mov qword [0x14012cf58], rax
call fcn.1400428b0
mov ecx, 1
mov edx, 0x1350
xor r8d, r8d
call fcn.14003f680
mov rdi, rax
lea rbx, [rax + 0x10]
mov r8d, 0x1340
mov rcx, rbx
xor edx, edx
call fcn.1400bab50
lea rax, section..data
mov rcx, qword [0x14012c008]
mov qword [rdi + 8], rcx
mov qword [rdi], rax
mov qword [rcx], rdi
mov rax, qword [rdi]
mov qword [rax + 8], rdi
lea rax, [0x1400e8008]
mov qword [rdi + 0x10], rax
lea rax, [0x1400ee0f0]
mov qword [rdi + 0x20], rax
lea rax, [0x1400e80f0]
mov qword [rdi + 0x18], rax
mov qword [rdi + 0x60], 0xffffffffffffffff
mov dword [rdi + 0x12dc], 0
call fcn.14003cdf0
mov qword [rdi + 0xbc8], rax
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
cmp eax, 1
jbe 0x1400055c0
mov rdx, qword [0x1400e8220]
lea rcx, str._s_Fatal_Error
call fcn.14003ea20
mov rsi, rax
lea rdx, str.Failed_to_initialize_COM_subsystem
xor ecx, ecx
mov r8, rax
mov r9d, 0x30
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, rsi
call fcn.14003f720
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.1400b9230
mov eax, 1
movaps xmm6, xmmword [rsp + 0xe0]
movaps xmm7, xmmword [rsp + 0xf0]
add rsp, 0x108
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov dword [rsp + 0x6c], r15d
mov rcx, qword [rdi + 0xbc8]
mov rdx, r14
call fcn.14000cf20
lea rcx, [rdi + 0x84]
mov r8d, 0xb0c
mov qword [rsp + 0x70], rcx
xor edx, edx
call fcn.1400bab50
mov rcx, qword [rdi + 0xbc8]
mov edx, 0x74
call fcn.14003d200
mov dword [rdi + 0xbe0], eax
mov rcx, qword [rdi + 0xbc8]
mov edx, 0xac
call fcn.14003d200
mov dword [rdi + 0xbe4], eax
movaps xmm0, xmmword [0x1400e81d0]
movups xmmword [rdi + 0x30], xmm0
mov rcx, qword [rdi + 0xbc8]
mov edx, 0x83
call fcn.14003d200
lea eax, [rax + rax*4]
lea r14d, [rax + rax]
add r14d, 0x19
mov r15d, dword [rdi + 0x34]
mov esi, dword [rdi + 0x3c]
mov rcx, qword [rdi + 0xbc8]
mov edx, 0x84
call fcn.14003d200
mov ebp, eax
imul ebp, esi
add ebp, r15d
cmp qword [0x14012cf78], 0
je 0x1400056b1
mov rax, qword [0x14012cf70]
test rax, rax
je 0x1400056b1
mov rcx, qword [rdi + 0x28]
mov edx, 2
call rax
mov dword [rsp + 0xa0], 0x28
lea rdx, [rsp + 0xa0]
mov rcx, rax
call qword [0x14012cf78]
movups xmm0, xmmword [rsp + 0xa4]
movaps xmmword [rsp + 0x90], xmm0
jmp 0x1400056c8
call qword [sym.imp.USER32.dll_GetDesktopWindow]
lea rdx, [rsp + 0x90]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x98]
mov r12d, dword [rsp + 0x9c]
sub eax, dword [rsp + 0x90]
cmp r14d, eax
cmovle eax, r14d
mov dword [rsp + 0x60], eax
sub r12d, dword [rsp + 0x94]
cmp ebp, r12d
cmovle r12d, ebp
mov ecx, dword [0x1400e8228]
call fcn.1400367b0
test rax, rax
jne 0x14000570d
xor r15d, r15d
jmp 0x140005718
mov r15b, byte [rax + 0xa8]
and r15b, 1
mov rsi, qword [0x1400e8220]
xor ecx, ecx
mov rdx, rsi
call fcn.14003eb00
mov qword [rsp + 0x78], rax
xor ecx, ecx
mov rdx, rsi
call fcn.14003eb00
mov qword [rdi + 0x12e0], rax
xor ecx, ecx
mov rdx, rsi
call fcn.14003eb00
mov qword [rdi + 0x12e8], rax
mov rcx, qword [rdi + 0xbc8]
mov edx, 0x7d
call fcn.14003d140
movzx ebp, al
shl ebp, 0x15
or ebp, 0xcf0000
mov rcx, qword [rdi + 0xbc8]
mov edx, 0x7f
call fcn.14003d200
mov ecx, ebp
and ecx, 0xea0000
test r15b, r15b
cmovne ebp, ecx
cmp eax, 1
cmove ebp, ecx
mov rcx, qword [rdi + 0xbc8]
mov edx, 0x66
call fcn.14003d140
movzx esi, al
lea r14d, [rsi*8]
mov rcx, qword [rdi + 0xbc8]
mov edx, 0x8f
call fcn.14003d140
lea r15d, [rsi*8 + 0x200]
test al, al
cmove r15d, r14d
mov byte [0x14012cf08], 1
call fcn.140001080
mov qword [rsp + 0x50], r13
xorps xmm6, xmm6
movups xmmword [rsp + 0x40], xmm6
mov dword [rsp + 0x38], r12d
mov ecx, dword [rsp + 0x60]
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x28], 0x80000000
mov dword [rsp + 0x20], 0x80000000
mov ecx, r15d
mov rdx, rax
mov r8, qword [rsp + 0x78]
mov r14, r8
mov r9d, ebp
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [rdi + 0x28], rax
test rax, rax
jne 0x140005848
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140044050
lea rcx, str.Unable_to_create_terminal_window:__s
mov rdx, rax
call fcn.1400062f0
movups xmmword [rdi + 0x12a8], xmm6
mov qword [rdi + 0x12b8], 0
cmp qword [0x14012cf68], 0
je 0x1400058cb
mov rbp, qword [0x14012cf70]
test rbp, rbp
je 0x1400058cb
mov rcx, rax
mov edx, 1
call rbp
lea r8, [rsp + 0xa0]
lea r9, [rsp + 0x90]
mov rcx, rax
xor edx, edx
call qword [0x14012cf68]
test eax, eax
jne 0x1400058b5
mov eax, dword [rsp + 0xa0]
mov dword [rdi + 0x12a8], eax
mov ecx, dword [rsp + 0x90]
mov dword [rdi + 0x12ac], ecx
jmp 0x1400058be
lea rax, [rdi + 0x12a8]
mov eax, dword [rax]
test eax, eax
je 0x1400058cb
cmp dword [rdi + 0x12ac], 0
jne 0x14000590c
mov rcx, qword [rdi + 0x28]
call qword [sym.imp.USER32.dll_GetDC]
mov rsi, rax
mov rbp, qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov rcx, rax
mov edx, 0x58
call rbp
mov dword [rdi + 0x12a8], eax
mov rcx, rsi
mov edx, 0x5a
call rbp
mov dword [rdi + 0x12ac], eax
mov rcx, qword [rdi + 0x28]
mov rdx, rsi
call qword [sym.imp.USER32.dll_ReleaseDC]
lea rax, [rdi + 0x20]
mov qword [rsp + 0x60], rax
mov rsi, rdi
add rsi, 0x18
mov rcx, r14
call fcn.14003f720
mov rcx, qword [rdi + 0x28]
mov edx, 0xffffffeb
mov r8, rdi
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
xor ebp, ebp
mov rcx, rdi
xor edx, edx
xor r8d, r8d
call fcn.140006380
mov qword [rdi + 0x1290], 0
mov ecx, 1
mov edx, 8
mov r8d, 0x414
call fcn.14003f680
mov qword [rdi + 0x1298], rax
mov word [rax], 0x300
mov rax, qword [rdi + 0x1298]
mov word [rax + 2], 0x106
nop
mov rax, qword [rdi + 0x1298]
mov byte [rax + rbp*4 + 7], 4
mov rax, qword [rdi + 0x1298]
mov byte [rax + rbp*4 + 0xb], 4
add rbp, 2
cmp rbp, 0x106
jne 0x140005980
mov rcx, qword [rdi + 0xbc8]
mov rdx, qword [rsp + 0x70]
mov r8, rsi
call fcn.140010ee0
mov rsi, rax
mov qword [rdi + 0xbd8], rax
mov rbp, qword [rdi + 0xbc8]
cmp dword [rax + 0x11d8], 1
je 0x1400059ec
lea rcx, str.term__mouse_select_clipboards_0___CLIP_LOCAL
lea rdx, str._home_simon_mem_.build_workdirs_bob_qvbm9mtj_putty_windows_window.c
mov r8d, 0x3d0
call fcn.1400ca0ec
mov dword [rsi + 0x11e4], 1
mov rcx, rbp
mov edx, 0xa5
call fcn.14003d140
test al, al
je 0x140005a22
movsxd rax, dword [rsi + 0x11e4]
lea ecx, [rax + 1]
mov dword [rsi + 0x11e4], ecx
mov dword [rsi + rax*4 + 0x11d8], 2
mov rcx, rbp
mov edx, 0xa6
call fcn.14003d200
xor ecx, ecx
cmp eax, 2
sete cl
add ecx, ecx
cmp eax, 1
cmove ecx, eax
mov dword [rsi + 0x11e8], ecx
mov rdx, qword [rdi + 0xbc8]
mov rcx, qword [rsp + 0x60]
call fcn.14002bc50
mov qword [rdi + 0xbd0], rax
mov rcx, qword [rdi + 0xbd8]
mov rdx, rax
call fcn.140019e00
mov rcx, qword [rdi + 0xbc8]
mov edx, 0x70
call fcn.14003d200
mov esi, eax
mov rcx, qword [rdi + 0xbc8]
mov edx, 0x83
call fcn.14003d200
mov ebp, eax
mov rcx, qword [rdi + 0xbc8]
mov edx, 0x84
call fcn.14003d200
mov rcx, qword [rdi + 0xbd8]
mov edx, eax
mov r8d, ebp
mov r9d, esi
call fcn.1400118a0
mov rcx, qword [rdi + 0x28]
mov rsi, qword [sym.imp.USER32.dll_GetWindowRect]
lea rdx, [rsp + 0x90]
call rsi
mov rcx, qword [rdi + 0x28]
lea rdx, [rsp + 0xa0]
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [rdi + 0xbc8]
mov edx, 0x90
call fcn.14003d200
mov dword [rdi + 0x48], eax
mov dword [rdi + 0x44], eax
add eax, eax
movq xmm0, qword [rsp + 0x98]
movq xmm1, qword [rsp + 0x90]
movq xmm2, qword [rsp + 0xa8]
paddd xmm2, xmm1
movq xmm1, qword [rsp + 0xa0]
movd xmm3, eax
pshufd xmm3, xmm3, 0x50
paddd xmm3, xmm0
psubd xmm3, xmm2
paddd xmm3, xmm1
movd dword [rdi + 0x30], xmm3
pshufd xmm0, xmm3, 0x55
movd dword [rdi + 0x34], xmm0
mov rax, qword [rdi + 0xbd8]
movq xmm0, qword [rdi + 0x38]
movq xmm1, qword [rax + 0x174]
pshufd xmm2, xmm1, 0xe1
pshufd xmm4, xmm0, 0xf5
pmuludq xmm4, xmm1
pshufd xmm1, xmm4, 0xe8
pmuludq xmm2, xmm0
pshufd xmm6, xmm2, 0xe8
punpckldq xmm6, xmm1
paddd xmm6, xmm3
mov rcx, qword [rdi + 0x28]
lea rdx, [rsp + 0x90]
call rsi
movq xmm7, qword [rsp + 0x90]
cmp qword [0x14012cf78], 0
je 0x140005be3
mov rax, qword [0x14012cf70]
test rax, rax
je 0x140005be3
mov rcx, qword [rdi + 0x28]
mov edx, 2
call rax
mov dword [rsp + 0xa0], 0x28
lea rdx, [rsp + 0xa0]
mov rcx, rax
call qword [0x14012cf78]
movdqu xmm0, xmmword [rsp + 0xb4]
movdqa xmmword [rsp + 0x80], xmm0
jmp 0x140005bfe
call qword [sym.imp.USER32.dll_GetDesktopWindow]
lea rdx, [rsp + 0x80]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetClientRect]
test eax, eax
je 0x140005c40
movdqa xmm0, xmm7
paddd xmm0, xmm6
movq xmm1, qword [rsp + 0x88]
pcmpgtd xmm0, xmm1
psubd xmm1, xmm6
pand xmm1, xmm0
pandn xmm0, xmm7
por xmm0, xmm1
movq xmm1, qword [rsp + 0x80]
movdqa xmm7, xmm0
pcmpgtd xmm7, xmm1
pand xmm0, xmm7
pandn xmm7, xmm1
por xmm7, xmm0
mov rcx, qword [rdi + 0x28]
movd r8d, xmm7
pshufd xmm0, xmm7, 0x55
movd r9d, xmm0
pshufd xmm0, xmm6, 0x55
movd dword [rsp + 0x28], xmm0
movd dword [rsp + 0x20], xmm6
mov dword [rsp + 0x30], 0xc
xor edx, edx
call qword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [rdi + 0x38]
lea ecx, [rax + 0xf]
add eax, 0x1e
test ecx, ecx
cmovns eax, ecx
sar eax, 4
imul eax, dword [rdi + 0x3c]
add eax, eax
movsxd rsi, eax
mov edx, 1
mov rcx, rsi
xor r8d, r8d
call fcn.14003f680
mov rbp, rax
mov rcx, rax
xor edx, edx
mov r8, rsi
call fcn.1400bab50
mov ecx, dword [rdi + 0x38]
mov edx, dword [rdi + 0x3c]
mov qword [rsp + 0x20], rbp
mov r8d, 1
mov r9d, 1
call qword [sym.imp.GDI32.dll_CreateBitmap]
mov qword [rdi + 0x58], rax
mov rcx, rbp
call fcn.14003f720
mov r9d, dword [rdi + 0x3c]
mov r8d, dword [rdi + 0x38]
mov rdx, qword [rdi + 0x58]
mov rcx, qword [rdi + 0x28]
call qword [sym.imp.USER32.dll_CreateCaret]
movabs rax, 0x1f0000001c
mov qword [rsp + 0xa0], rax
mov dword [rsp + 0xa8], 0
mov rax, qword [rdi + 0xbd8]
mov eax, dword [rax + 0x174]
lea ecx, [rax - 1]
mov dword [rsp + 0xac], ecx
mov dword [rsp + 0xb0], eax
mov dword [rsp + 0xb4], 0
mov rcx, qword [rdi + 0x28]
lea r8, [rsp + 0xa0]
mov edx, 1
xor r9d, r9d
call qword [sym.imp.USER32.dll_SetScrollInfo]
mov qword [rdi + 0x12c8], 0
call qword [sym.imp.USER32.dll_GetDoubleClickTime]
mov dword [rdi + 0x12c0], eax
mov rcx, qword [rdi + 0x28]
xor edx, edx
call qword [sym.imp.USER32.dll_GetSystemMenu]
mov qword [rdi + 0xbb0], rax
call qword [sym.imp.USER32.dll_CreatePopupMenu]
mov qword [rdi + 0xbb8], rax
mov rsi, qword [rdi + 0xbb0]
lea r14, [0x14010488d]
mov r12, qword [sym.imp.USER32.dll_AppendMenuA]
mov r8d, 0x190
mov rcx, rsi
xor edx, edx
mov r9, r14
call r12
lea rbp, str.Paste
mov r8d, 0x1a0
mov rcx, rsi
xor edx, edx
mov r9, rbp
call r12
mov rsi, qword [rdi + 0xbb8]
mov r8d, 0x190
mov rcx, rsi
xor edx, edx
mov r9, r14
call r12
mov r8d, 0x1a0
mov rcx, rsi
xor edx, edx
mov r9, rbp
call r12
call qword [sym.imp.USER32.dll_CreateMenu]
mov qword [rdi + 0xbc0], rax
lea rcx, [0x14012cf10]
mov dl, 1
call fcn.140038690
mov rsi, qword [sym.imp.USER32.dll_DeleteMenu]
nop dword [rax]
mov rcx, qword [rdi + 0xbc0]
xor edx, edx
mov r8d, 0x400
call rsi
test eax, eax
jne 0x140005e10
cmp dword [0x14012cf10], 2
jl 0x140005e82
mov ebp, 1
mov esi, 0x1000
nop dword [rax + rax]
mov rax, qword [0x14012cf18]
mov r9, qword [rax + rbp*8]
mov rcx, qword [rdi + 0xbc0]
xor edx, edx
mov r8, rsi
call r12
add rbp, 1
mov eax, dword [0x14012cf10]
cmp eax, 0x401
mov ecx, 0x401
cmovl ecx, eax
movsxd rcx, ecx
add rsi, 0x10
cmp rbp, rcx
jl 0x140005e40
cmp eax, 1
jg 0x140005ea1
mov rcx, qword [rdi + 0xbc0]
lea r9, str._No_sessions_
mov r8d, 0x1000
mov edx, 1
call qword [sym.imp.USER32.dll_AppendMenuA]
mov bpl, 1
xor eax, eax
lea rsi, str.Full_Screen
lea r15, str.About__s
jmp 0x140005eff
mov rcx, r15
mov rdx, qword [0x1400e8220]
call fcn.14003ea20
mov r13, rax
mov r8d, 0x150
mov rcx, r14
xor edx, edx
mov r9, rax
call r12
mov rcx, r13
call fcn.14003f720
mov eax, 1
test bpl, 1
mov ebp, 0
je 0x140006057
mov r14, qword [rdi + rax*8 + 0xbb0]
mov rcx, r14
mov edx, 0x800
xor r8d, r8d
xor r9d, r9d
call r12
mov r8d, 0x10
mov rcx, r14
xor edx, edx
lea r9, str.Event_Log
call r12
mov rcx, r14
mov edx, 0x800
xor r8d, r8d
xor r9d, r9d
call r12
mov r8d, 0x20
mov rcx, r14
xor edx, edx
lea r9, str.New_Session...
call r12
mov r8d, 0x30
mov rcx, r14
xor edx, edx
lea r9, str.Duplicate_Session
call r12
mov r8, qword [rdi + 0xbc0]
mov rcx, r14
mov edx, 0x10
lea r9, str.Saved_Sessions
call r12
mov r8d, 0x50
mov rcx, r14
xor edx, edx
lea r9, str.Change_Settings...
call r12
mov rcx, r14
mov edx, 0x800
xor r8d, r8d
xor r9d, r9d
call r12
mov r8d, 0x170
mov rcx, r14
xor edx, edx
lea r9, str.Copy_All_to_Clipboard
call r12
mov r8d, 0x60
mov rcx, r14
xor edx, edx
lea r9, str.Clear_Scrollback
call r12
mov r8d, 0x70
mov rcx, r14
xor edx, edx
lea r9, str.Reset_Terminal
call r12
mov rcx, r14
mov edx, 0x800
xor r8d, r8d
xor r9d, r9d
call r12
mov rcx, qword [rdi + 0xbc8]
mov edx, 0x7f
call fcn.14003d200
xor edx, edx
cmp eax, 1
sete dl
mov r8d, 0x180
mov rcx, r14
mov r9, rsi
call r12
mov rcx, r14
mov edx, 0x800
xor r8d, r8d
xor r9d, r9d
call r12
call fcn.14000d720
test al, al
je 0x140005ec0
mov r8d, 0x140
mov rcx, r14
xor edx, edx
lea r9, [0x140108e3e]
call r12
jmp 0x140005ec0
call fcn.140043d80
test al, al
je 0x140006071
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
lea rdx, str.Running_with_restricted_process_ACL
call qword [rax]
mov rcx, qword [rdi + 0x28]
call fcn.14002bdf0
mov rcx, rdi
call fcn.140006cf0
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
movzx ecx, ax
lea rsi, [rsp + 0xa0]
mov edx, 0x1004
mov r8, rsi
mov r9d, 0x14
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov rcx, rsi
call fcn.1400cb554
mov dword [rdi + 0x68], eax
mov rcx, qword [rdi + 0x28]
mov edx, dword [rsp + 0x6c]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rdi + 0x28]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rdi + 0x28]
sete dl
mov rcx, qword [rdi + 0xbd8]
call fcn.140019e10
mov rcx, qword [rdi + 0x28]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, qword [rdi + 0x28]
mov r8, qword [rdi + 0x78]
mov rdx, rbx
call fcn.14000d480
mov r15, qword [sym.imp.USER32.dll_PeekMessageW]
mov r12, qword [sym.imp.USER32.dll_IsWindow]
mov r13, qword [sym.imp.USER32.dll_DispatchMessageW]
mov r14, qword [sym.imp.USER32.dll_IsDialogMessageA]
jmp 0x140006122
call fcn.14002c0d0
call fcn.14002c130
mov ebx, 0
test al, al
jne 0x14000616d
mov dword [rsp + 0x20], 0
xor ebx, ebx
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x14000616d
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rdi + 0x28]
sete dl
mov rcx, qword [rdi + 0xbd8]
call fcn.140019e10
mov ebx, 0xffffffff
call fcn.14002c5e0
mov rbp, rax
mov ecx, dword [rax + 0x200]
mov dword [rsp + 0x20], 0x1cff
mov rdx, rax
xor r8d, r8d
mov r9d, ebx
call qword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
cmp eax, dword [rbp + 0x200]
jae 0x1400061a4
mov rcx, rbp
mov edx, eax
call fcn.14002c6b0
mov rcx, rbp
call fcn.14002c720
jmp 0x1400061c7
mov rcx, rsi
call r13
cmp dword [rsp + 0xa8], 0x8005
jne 0x14000611d
mov dword [rsp + 0x20], 1
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call r15
test eax, eax
je 0x14000611d
cmp dword [rsp + 0xa8], 0x12
je 0x140006210
call fcn.140021dc0
mov rbx, rax
mov rcx, rax
call r12
test eax, eax
je 0x1400061b0
mov rcx, rbx
mov rdx, rsi
call r14
test eax, eax
jne 0x1400061b6
jmp 0x1400061b0
mov ecx, dword [rsp + 0xb0]
call fcn.140006ef0
int3