Function at 0x14001f1a0
Capabilities:
Hide graphical window
Read .ini file

Disassembly:
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1740]
mov eax, 0x1840
call fcn.1401547f0
sub rsp, rax
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x1878], rbx
mov qword [rsp + 0x1880], rsi
mov qword [rsp + 0x1888], rdi
mov rax, qword [0x1401b5030]
xor rax, rsp
mov qword [rbp + 0x1730], rax
mov byte [rsp + 0x43], r8b
mov byte [rsp + 0x42], dl
mov rbx, rcx
movzx eax, byte [rcx + 0x5628]
test al, al
je 0x14001f211
mov r15d, dword [rcx + 0x5620]
jmp 0x14001f219
movzx r15d, word [rcx + 0x2cc]
test al, al
je 0x14001f225
mov esi, dword [rcx + 0x5624]
jmp 0x14001f22c
movzx esi, word [rcx + 0x2ce]
mov byte [rsp + 0x41], 0
mov byte [rsp + 0x40], 0
mov dword [rsp + 0x70], 0
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rbp + 0x16e8], rax
lea rcx, [rsp + 0x70]
call fcn.14003cea0
nop
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rbp + 0x16e8], rax
lea rcx, [rsp + 0x70]
call fcn.14003cea0
mov edx, 2
mov rcx, qword [rbx + 0xd760]
call qword [sym.imp.USER32.dll_MonitorFromWindow]
xor ecx, ecx
mov r8d, dword [rsp + 0x70]
test r8d, r8d
js 0x14001f2b3
lea rdx, [rbp + 0x100]
cmp qword [rdx], rax
je 0x14001f2b5
inc ecx
add rdx, 0x190
cmp ecx, r8d
jle 0x14001f2a0
xor ecx, ecx
movsxd rax, ecx
imul rcx, rax, 0x190
mov r12d, dword [rsp + rcx + 0x78]
mov edi, dword [rsp + rcx + 0x7c]
mov rcx, qword [rbx + 0xd748]
cmp byte [rcx + 0x360], 0
je 0x14001f30f
cmp byte [rcx + 0x361], 0
je 0x14001f2ea
cmp byte [rbx + 0x5614], 0
je 0x14001f30f
mov eax, dword [rcx + 0x364]
cdq
idiv dword [rcx + 0x368]
movzx edx, word [rbx + 0x2cc]
imul edx, eax
movzx r8d, word [rbx + 0x2ce]
imul r8d, eax
jmp 0x14001f31e
movzx edx, word [rbx + 0x2cc]
movzx r8d, word [rbx + 0x2ce]
cmp edx, r12d
jg 0x14001f328
cmp r8d, edi
jle 0x14001f350
cmp byte [rcx + 0x321], 0
jne 0x14001f350
cmp byte [rcx + 0x361], 0
je 0x14001f343
cmp byte [rcx + 0x362], 0
je 0x14001f350
cmp byte [rcx + 0x324], 0
jne 0x14001f350
mov al, 1
jmp 0x14001f352
xor al, al
cmp byte [rcx + 0x6d1], 0
jne 0x14001f35f
test al, al
je 0x14001f36c
cmp byte [rcx + 0x6d4], 0
jne 0x14001f36c
mov al, 1
jmp 0x14001f36e
xor al, al
test al, al
jne 0x14001f3aa
mov edx, 2
mov rcx, qword [rbx + 0xd760]
call qword [sym.imp.USER32.dll_MonitorFromWindow]
mov r8, rax
xor eax, eax
mov edx, dword [rsp + 0x70]
test edx, edx
js 0x14001f3aa
lea rcx, [rbp + 0x100]
cmp qword [rcx], r8
je 0x14001f3ac
inc eax
add rcx, 0x190
cmp eax, edx
jle 0x14001f398
xor eax, eax
cdqe
imul rcx, rax, 0x190
mov edx, dword [rbp + rcx + 0xf0]
mov dword [rsp + 0x48], edx
mov r13d, dword [rbp + rcx + 0xf4]
mov r8d, dword [rbp + rcx + 0xf8]
mov dword [rsp + 0x4c], r8d
mov r14d, dword [rbp + rcx + 0xfc]
mov rax, qword [rbx + 0xd748]
cmp byte [rax + 0x321], 0
je 0x14001f3f9
mov r13d, dword [rsp + rcx + 0x78]
mov r14d, dword [rsp + rcx + 0x7c]
jmp 0x14001f3ff
sub r13d, edx
sub r14d, r8d
mov dword [rsp + 0x20], r14d
mov r9d, r13d
lea r8, str.Screen_work_area_is__d_x__d_n
mov edx, 2
lea rcx, vtable.Log.0
call fcn.1400153f0
mov rdx, qword [rbx + 0xd748]
mov rcx, rdx
cmp byte [rdx + 0x361], 0
je 0x14001f675
cmp byte [rbx + 0x5614], 0
jne 0x14001f675
mov eax, dword [rdx + 0x364]
mov dword [rdx + 0x4a0], eax
mov rcx, qword [rbx + 0xd748]
mov eax, dword [rcx + 0x368]
mov dword [rcx + 0x4a4], eax
mov rcx, qword [rbx + 0xd748]
movzx eax, byte [rcx + 0x360]
mov byte [rcx + 0x4a8], al
mov r8, qword [rbx + 0xd748]
cmp byte [r8 + 0x321], 0
je 0x14001f49a
imul eax, r12d, 0x64
cdq
idiv r15d
mov r9d, eax
imul eax, edi, 0x64
jmp 0x14001f590
mov dword [rsp + 0x20], esi
mov r9d, r15d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x16f0]
call qword [sym.imp.USER32.dll_SetRect]
mov rcx, qword [rbx + 0xd760]
mov edx, 0xffffffec
cmp qword [rbx + 0xd738], 0
je 0x14001f509
call qword [sym.imp.USER32.dll_GetWindowLongA]
mov edi, eax
mov edx, 0xfffffff0
mov rcx, qword [rbx + 0xd760]
call qword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 0xffcfffff
mov ecx, dword [rbx + 0xd714]
mov dword [rsp + 0x20], ecx
mov r9d, edi
xor r8d, r8d
mov edx, eax
lea rcx, [rbp + 0x16f0]
call qword [rbx + 0xd738]
jmp 0x14001f53d
call qword [sym.imp.USER32.dll_GetWindowLongA]
mov edi, eax
mov edx, 0xfffffff0
mov rcx, qword [rbx + 0xd760]
call qword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 0xffcfffff
mov r9d, edi
xor r8d, r8d
mov edx, eax
lea rcx, [rbp + 0x16f0]
call qword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov edx, dword [rbp + 0x16f8]
sub edx, dword [rbp + 0x16f0]
sub edx, r15d
mov ecx, dword [rbp + 0x16fc]
sub ecx, dword [rbp + 0x16f4]
sub ecx, esi
mov r8, qword [rbx + 0xd748]
cmp byte [r8 + 0x325], 0
je 0x14001f579
mov eax, dword [rbx + 0x2c0]
sub eax, dword [rbx + 0x2b8]
add ecx, eax
mov eax, r13d
sub eax, edx
imul eax, eax, 0x64
cdq
idiv r15d
mov r9d, eax
mov eax, r14d
sub eax, ecx
imul eax, eax, 0x64
cdq
idiv esi
mov r10d, eax
mov edi, r9d
cmp eax, r9d
cmovl edi, eax
cmp byte [r8 + 0x363], 0
je 0x14001f5c1
imul ecx, dword [rbx + 0xd714], 0x64
mov eax, 0xaaaaaaab
mul ecx
shr edx, 6
cmp edi, edx
cmovl edx, edi
mov edi, edx
cmp byte [r8 + 0x362], 0
je 0x14001f61b
cmp edi, 0x12c
jl 0x14001f5da
mov edi, 0x12c
jmp 0x14001f61b
cmp edi, 0xc8
jl 0x14001f5e9
mov edi, 0xc8
jmp 0x14001f61b
cmp r9d, 0xbe
jg 0x14001f5fb
cmp r10d, 0xaa
jle 0x14001f616
cmp dword [rbx + 0xd714], 0xc0
jb 0x14001f616
cmp byte [r8 + 0x321], 0
mov edi, 0xc8
je 0x14001f61b
mov edi, WSAAsyncSelect
mov r9d, edi
lea r8, str.Autosize__d_n
mov edx, 2
lea rcx, vtable.Log.0
call fcn.1400153f0
mov rax, qword [rbx + 0xd748]
mov dword [rax + 0x364], edi
mov rax, qword [rbx + 0xd748]
mov dword [rax + 0x368], WSAAsyncSelect
cmp edi, 0x64
setne cl
mov rax, qword [rbx + 0xd748]
mov byte [rax + 0x360], cl
mov byte [rbx + 0x5614], 1
mov rcx, qword [rbx + 0xd748]
mov rax, rcx
cmp byte [rcx + 0x361], 0
jne 0x14001f6cb
cmp byte [rbx + 0x5614], 0
je 0x14001f6cb
mov eax, dword [rcx + 0x4a0]
mov dword [rcx + 0x364], eax
mov rcx, qword [rbx + 0xd748]
mov eax, dword [rcx + 0x4a4]
mov dword [rcx + 0x368], eax
mov rcx, qword [rbx + 0xd748]
movzx eax, byte [rcx + 0x4a8]
mov byte [rcx + 0x360], al
mov byte [rbx + 0x5614], 0
mov rax, qword [rbx + 0xd748]
cmp byte [rax + 0x360], 0
je 0x14001f702
mov r8d, dword [rax + 0x364]
mov r9d, dword [rax + 0x368]
mov eax, r8d
imul eax, esi
cdq
idiv r9d
mov ecx, eax
imul r8d, r15d
mov eax, r8d
cdq
idiv r9d
mov r9d, eax
mov dword [rsp + 0x20], ecx
jmp 0x14001f709
mov dword [rsp + 0x20], esi
mov r9d, r15d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_SetRect]
mov rcx, qword [rbx + 0x12b8]
mov edx, 0xffffffec
cmp qword [rbx + 0xd738], 0
je 0x14001f76d
call qword [sym.imp.USER32.dll_GetWindowLongA]
mov edi, eax
mov edx, 0xfffffff0
mov rcx, qword [rbx + 0x12b8]
call qword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 0xffcfffff
mov ecx, dword [rbx + 0xd714]
mov dword [rsp + 0x20], ecx
mov r9d, edi
xor r8d, r8d
mov edx, eax
lea rcx, [rsp + 0x58]
call qword [rbx + 0xd738]
jmp 0x14001f79f
call qword [sym.imp.USER32.dll_GetWindowLongA]
mov edi, eax
mov edx, 0xfffffff0
mov rcx, qword [rbx + 0x12b8]
call qword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 0xffcfffff
mov r9d, edi
xor r8d, r8d
mov edx, eax
lea rcx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov r8d, dword [rsp + 0x60]
sub r8d, dword [rsp + 0x58]
mov dword [rbx + 0x52a8], r8d
mov r9d, dword [rsp + 0x64]
sub r9d, dword [rsp + 0x5c]
mov dword [rbx + 0x52ac], r9d
cmp r8d, r13d
cmovge r8d, r13d
mov dword [rbx + 0x5268], r8d
cmp r9d, r14d
cmovge r9d, r14d
mov dword [rbx + 0x526c], r9d
mov rcx, qword [rbx + 0x12b8]
mov rdx, qword [rbx + 0x12d0]
mov rax, qword [rbx + 0xd748]
mov dword [rsp + 0x30], 0x40
mov dword [rsp + 0x28], r9d
mov dword [rsp + 0x20], r8d
xor r8d, r8d
cmp byte [rax + 0x325], r8b
je 0x14001f819
mov r9d, dword [rbx + 0x2c0]
jmp 0x14001f843
xor r9d, r9d
call qword [sym.imp.USER32.dll_SetWindowPos]
mov dword [rsp + 0x30], 0x80
xor eax, eax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbx + 0x12d0]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [rbx + 0xd760]
mov edx, 0xffffffec
cmp qword [rbx + 0xd738], 0
je 0x14001f89d
call qword [sym.imp.USER32.dll_GetWindowLongA]
mov edi, eax
mov edx, 0xfffffff0
mov rcx, qword [rbx + 0xd760]
call qword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 0xffcfffff
mov ecx, dword [rbx + 0xd714]
mov dword [rsp + 0x20], ecx
mov r9d, edi
xor r8d, r8d
mov edx, eax
lea rcx, [rsp + 0x58]
call qword [rbx + 0xd738]
jmp 0x14001f8cf
call qword [sym.imp.USER32.dll_GetWindowLongA]
mov edi, eax
mov edx, 0xfffffff0
mov rcx, qword [rbx + 0xd760]
call qword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 0xffcfffff
mov r9d, edi
xor r8d, r8d
mov edx, eax
lea rcx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov eax, dword [rsp + 0x60]
sub eax, dword [rsp + 0x58]
mov dword [rbx + 0x52a8], eax
mov ecx, dword [rsp + 0x64]
sub ecx, dword [rsp + 0x5c]
mov dword [rbx + 0x52ac], ecx
cmp eax, r13d
cmovge eax, r13d
mov dword [rbx + 0x5268], eax
mov rax, qword [rbx + 0xd748]
cmp byte [rax + 0x325], 0
je 0x14001f91b
mov eax, dword [rbx + 0x2c0]
add eax, dword [rbx + 0x2b8]
add eax, ecx
cmp eax, r14d
jmp 0x14001f920
mov eax, ecx
cmp ecx, r14d
cmovge eax, r14d
mov dword [rbx + 0x526c], eax
mov ecx, 0x218
call fcn.14011b0e4
mov qword [rbp + 0x16f0], rax
mov rcx, rax
call fcn.140050070
mov r12, rax
lea rdi, [rax + 0x110]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x20
lea r9, [rbp + 0x16f0]
lea r8, [0x14019581a]
lea rdx, str.xywh
lea rcx, [rbx + 0xa9]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea rcx, [rbp + 0x16f0]
call fcn.14012c458
mov dword [rsp + 0x44], eax
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x20
lea r9, [rbp + 0x16f0]
lea r8, [0x14019581a]
lea rdx, [0x140199a84]
lea rcx, [rbx + 0xa9]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea rcx, [rbp + 0x16f0]
call fcn.14012c458
mov dword [rbp + 0x16f0], eax
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x20
lea r9, [rbp + 0x1710]
lea r8, [0x14019581a]
lea rdx, [0x140199a88]
lea rcx, [rbx + 0xa9]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea rcx, [rbp + 0x1710]
call fcn.14012c458
mov r15d, eax
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x20
lea r9, [rbp + 0x1710]
lea r8, [0x14019581a]
lea rdx, [0x140199a8c]
lea rcx, [rbx + 0xa9]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea rcx, [rbp + 0x1710]
call fcn.14012c458
mov esi, eax
test r12, r12
je 0x14001fa5c
mov r8, qword [r12]
mov edx, 1
mov rcx, r12
call qword [r8]
mov rcx, qword [rbx + 0xd748]
mov edx, dword [rcx + 0x390]
test edx, edx
jne 0x14001fa85
cmp dword [rcx + 0x394], edx
jne 0x14001fa85
cmp dword [rcx + 0x388], edx
jne 0x14001fa85
cmp dword [rcx + 0x38c], edx
je 0x14001fb04
movzx eax, byte [rsp + 0x42]
test al, al
jne 0x14001fb09
test edx, edx
je 0x14001fac4
mov eax, dword [rcx + 0x394]
test eax, eax
je 0x14001fac4
mov byte [rsp + 0x41], 1
mov dword [rsp + 0x30], 0x40
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], edx
mov r9d, dword [rcx + 0x38c]
mov r8d, dword [rcx + 0x388]
jmp 0x14001fc1d
mov r8d, dword [rcx + 0x388]
test r8d, r8d
je 0x14001fc31
mov r9d, dword [rcx + 0x38c]
test r9d, r9d
je 0x14001fc31
mov byte [rsp + 0x41], 1
mov dword [rsp + 0x30], 0x41
mov eax, dword [rcx + 0x394]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], edx
jmp 0x14001fc22
movzx eax, byte [rsp + 0x42]
movzx edx, byte [rcx + 0x322]
test dl, dl
jne 0x14001fb20
cmp byte [rcx + 0x323], dl
je 0x14001fc31
test al, al
jne 0x14001fc31
mov rax, rcx
test dl, dl
je 0x14001fb7e
cmp byte [rcx + 0x323], 0
je 0x14001fb7e
test r15d, r15d
je 0x14001fb7e
mov r12d, dword [rsp + 0x44]
test esi, esi
je 0x14001fb83
mov byte [rsp + 0x41], 1
mov dword [rsp + 0x30], 0x40
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], r15d
mov r9d, dword [rbp + 0x16f0]
mov r8d, r12d
xor edx, edx
mov rcx, qword [rbx + 0xd760]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rax, qword [rbx + 0xd748]
jmp 0x14001fb83
mov r12d, dword [rsp + 0x44]
movzx edi, byte [rsp + 0x41]
mov rcx, rax
cmp byte [rax + 0x322], 0
je 0x14001fbd3
cmp byte [rax + 0x323], 0
jne 0x14001fbd3
mov byte [rsp + 0x41], 1
mov dword [rsp + 0x30], 0x41
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], r15d
mov r9d, dword [rbp + 0x16f0]
mov r8d, r12d
xor edx, edx
mov rcx, qword [rbx + 0xd760]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [rbx + 0xd748]
mov byte [rsp + 0x40], dil
cmp byte [rcx + 0x322], 0
jne 0x14001fc31
mov byte [rsp + 0x40], dil
cmp byte [rcx + 0x323], 0
je 0x14001fc31
mov byte [rsp + 0x40], dil
test r15d, r15d
je 0x14001fc31
mov byte [rsp + 0x40], dil
test esi, esi
je 0x14001fc31
mov dword [rsp + 0x30], 0x42
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], r15d
mov r9d, dword [rbp + 0x16f0]
mov r8d, r12d
mov byte [rsp + 0x40], 1
xor edx, edx
mov rcx, qword [rbx + 0xd760]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov esi, dword [rbx + 0x5268]
mov r15d, dword [rbx + 0x526c]
mov rax, qword [rbx + 0xd748]
cmp byte [rax + 0x6d1], 0
je 0x14001fd74
cmp byte [rax + 0x6d4], 0
jne 0x14001fd74
call fcn.140048680
mov ecx, 5
test eax, eax
je 0x14001fc75
call qword [0x1402bac90]
jmp 0x14001fc7b
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov r12d, eax
call fcn.140048680
mov ecx, reloc.WS2_32.dll_setsockopt
test eax, eax
je 0x14001fc94
call qword [0x1402bac90]
jmp 0x14001fc9a
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, eax
mov r11d, dword [rbp + 0x284]
mov eax, r11d
mov edi, dword [rbp + 0x280]
sub eax, edi
add eax, ecx
add eax, r12d
cmp dword [rbx + 0x52a8], eax
jg 0x14001fd74
cmp byte [rsp + 0x41], 0
jne 0x14001fd36
cmp byte [rsp + 0x42], 0
jne 0x14001fd36
mov r8d, dword [rbx + 0x526c]
mov r10d, dword [rbx + 0x5268]
mov eax, dword [rbp + 0x28c]
mov ecx, dword [rbp + 0x288]
sub eax, ecx
sub eax, r8d
cdq
sub eax, edx
sar eax, 1
lea r9d, [rcx + rax]
sub r11d, r10d
sub r11d, edi
mov eax, r11d
cdq
sub eax, edx
sar eax, 1
add eax, edi
mov dword [rsp + 0x30], 0x41
mov dword [rsp + 0x28], r8d
mov dword [rsp + 0x20], r10d
mov r8d, eax
xor edx, edx
mov rcx, qword [rbx + 0xd760]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov r11d, dword [rbp + 0x284]
mov edi, dword [rbp + 0x280]
cmp byte [rsp + 0x40], 0
jne 0x14001fe2e
cmp byte [rsp + 0x43], 0
jne 0x14001fe2e
mov eax, dword [rbp + 0x28c]
mov ecx, dword [rbp + 0x288]
sub eax, ecx
sub eax, r15d
cdq
sub eax, edx
sar eax, 1
lea r9d, [rcx + rax]
sub r11d, edi
sub r11d, esi
mov eax, r11d
jmp 0x14001fdf8
mov r12d, dword [rsp + 0x4c]
mov edi, dword [rsp + 0x48]
cmp byte [rsp + 0x41], 0
jne 0x14001fdd6
cmp byte [rsp + 0x42], 0
jne 0x14001fdd6
mov ecx, dword [rbx + 0x526c]
mov r8d, dword [rbx + 0x5268]
mov eax, r14d
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
lea r9d, [r12 + rax]
mov eax, r13d
sub eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, edi
mov dword [rsp + 0x30], 0x41
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], r8d
mov r8d, eax
xor edx, edx
mov rcx, qword [rbx + 0xd760]
call qword [sym.imp.USER32.dll_SetWindowPos]
cmp byte [rsp + 0x40], 0
jne 0x14001fe2e
cmp byte [rsp + 0x43], 0
jne 0x14001fe2e
sub r14d, r15d
mov eax, r14d
cdq
sub eax, edx
sar eax, 1
lea r9d, [r12 + rax]
mov eax, r13d
sub eax, esi
cdq
mov dword [rsp + 0x30], 0x42
sub eax, edx
mov dword [rsp + 0x28], r15d
sar eax, 1
mov dword [rsp + 0x20], esi
mov dword [rbx + 0x5268], esi
mov dword [rbx + 0x526c], r15d
lea r8d, [rdi + rax]
xor edx, edx
mov rcx, qword [rbx + 0xd760]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [rbx + 0xd760]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov rax, qword [rbx + 0xd748]
cmp byte [rax + 0x325], 0
je 0x14001fec7
mov eax, dword [rbx + 0x2c0]
sub eax, dword [rbx + 0x2b8]
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], eax
mov r9d, r13d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbx + 0x12d0]
call qword [sym.imp.USER32.dll_MoveWindow]
mov rax, qword [rbx + 0xd748]
cmp byte [rax + 0x325], 0
je 0x14001fec7
mov eax, dword [rbx + 0x2c0]
sub eax, dword [rbx + 0x2b8]
mov r9d, dword [rbx + 0x5268]
sub r9d, 0xc8
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], eax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbx + 0x12c8]
call qword [sym.imp.USER32.dll_MoveWindow]
mov rax, qword [rbx + 0xd748]
mov rcx, qword [rbx + 0x12c8]
cmp byte [rax + 0x325], 0
je 0x14001fede
mov edx, 5
jmp 0x14001fee0
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rbx + 0x12d0]
mov rax, qword [rbx + 0xd748]
cmp byte [rax + 0x325], 0
je 0x14001ff04
mov edx, 5
jmp 0x14001ff06
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
nop
mov rcx, qword [rbp + 0x16e8]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [rbp + 0x1730]
xor rcx, rsp
call fcn.14011b0c0
lea r11, [rsp + 0x1840]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret