Function at 0x14005c2d0
Capabilities:
Check for foreground window switch
Read .ini file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x1401f7280]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor edi, edi
mov rbx, r9
mov r15d, r8d
mov esi, edx
mov r12, rcx
lea r13, [0x140208860]
test edx, edx
jns 0x14005c327
lea rdx, str.Window
lea rcx, str.Capture
mov r9, r13
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
lea rdx, str.IncludeCursor
lea rcx, str.Capture
mov r9, r13
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.CursorCircle
lea rcx, str.Capture
mov r9, r13
xor r8d, r8d
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.UseTimer
lea rcx, str.Capture
mov r9, r13
xor r8d, r8d
mov r14d, eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov r13d, eax
test esi, esi
jne 0x14005c39d
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor ecx, ecx
mov edx, ebp
mov r8d, r14d
call fcn.14004dde0
jmp 0x14005c534
cmp esi, 1
jne 0x14005c3ce
mov rcx, qword [0x1401fbb00]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14005c3c1
mov rax, qword [0x1401fbb00]
mov qword [rsp + 0x20], rax
jmp 0x14005c389
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [rsp + 0x20], rax
jmp 0x14005c389
cmp esi, 4
jne 0x14005c422
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140059d30
mov rdi, rax
test rax, rax
jne 0x14005c537
mov rcx, qword [0x1401fbb00]
call qword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
jne 0x14005c56b
test r15d, r15d
jne 0x14005c56b
mov rcx, qword [0x1401fbb00]
lea edx, [rsi + 5]
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x14005c56b
cmp esi, 5
jne 0x14005c434
lea ecx, [rsi - 4]
call fcn.14005e9b0
jmp 0x14005c537
cmp esi, 7
jne 0x14005c4f3
cmp word [rbx], di
je 0x14005c463
lea rcx, [0x140209da0]
sub rcx, rbx
nop dword [rax]
movzx eax, word [rbx]
lea rbx, [rbx + 2]
mov word [rcx + rbx - 2], ax
test ax, ax
jne 0x14005c450
jmp 0x14005c499
lea rax, [0x140208860]
lea r9, [0x140209da0]
lea r8, str.0_0_640_480_
mov qword [rsp + 0x28], rax
lea rdx, str.Rect
lea rcx, str.Capture
mov dword [rsp + 0x20], 0x104
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rax, [rsp + 0x5c]
lea r9, [rsp + 0x54]
lea r8, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x58]
lea rdx, [0x140186598]
lea rcx, [0x140209da0]
mov qword [rsp + 0x20], rax
call fcn.1400fb8b4
mov eax, dword [rsp + 0x50]
lea rcx, [rsp + 0x50]
add dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x54]
xor r9d, r9d
add dword [rsp + 0x5c], eax
mov edx, ebp
mov r8d, r14d
mov qword [rsp + 0x20], rdi
call fcn.14004dde0
jmp 0x14005c534
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
mov rbx, rax
mov qword [rsp + 0x50], rax
call qword [sym.imp.USER32.dll_SetFocus]
mov qword [rsp + 0x48], rdi
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x30], ebp
xor r9d, r9d
xor r8d, r8d
mov edx, esi
mov rcx, rbx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
call fcn.14004e4e0
mov rdi, rax
test r15d, r15d
je 0x14005c541
mov rax, rdi
jmp 0x14005c56d
mov r9, qword [rsp + 0x50]
mov r8d, r13d
mov rdx, r12
mov rcx, rdi
call fcn.14005cfd0
test rdi, rdi
je 0x14005c56b
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400f9a80
mov rbx, qword [rsp + 0xc0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret