Function at 0x1400890c0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x260
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov edi, r8d
mov dword [rsp + 0x60], r8d
mov rsi, rdx
mov qword [rsp + 0x88], rdx
mov r15, rcx
mov qword [rsp + 0xb8], rcx
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea ecx, [rsi + rdi]
mov ebx, esi
mov dword [rsp + 0xc8], ecx
imul ebx, edi
mov ecx, esi
sub ecx, edi
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x70], ebx
mov dword [rsp + 0xcc], ecx
mov r12, qword [rsp + 0xc8]
mov dword [rsp + 0x6c], ecx
shr r12, 0x20
mov ecx, esi
imul ecx, r12d
imul r12d, eax
sub ecx, ebx
add ecx, 6
imul r12d, ebx
add ecx, eax
mov dword [rsp + 0x74], ecx
lea ecx, [rsi + rsi*2]
add ecx, ecx
mov dword [rsp + 0x64], ecx
add r12d, ecx
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rsp + 0xf8], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov ecx, esi
mov r13, rax
mov qword [rsp + 0x90], rax
mov qword [rsp + 0xb0], rcx
mov eax, ebx
lea rdx, str.agenda
mov r9d, ebx
mov r8d, esi
xor ecx, ecx
mov qword [rsp + 0xa8], rax
call qword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
mov ebp, eax
mov dword [rsp + 0x78], ebp
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov edx, 2
mov r14, rax
mov qword [rsp + 0x98], rax
sub edx, eax
mov rax, qword [rsp + 0x80]
lea r13d, [r13 + r13*2]
add r13d, r13d
mov ecx, r13d
imul ecx, ebp
add ecx, eax
lea eax, [rcx + rdx*2]
mov dword [rsp + 0x68], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [r14 + r14*2]
add ecx, ecx
sub r13d, ecx
add r13d, 8
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov qword [rsp + 0xa0], rax
xor eax, eax
cmp ebp, ebx
jne 0x140089400
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rbp
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], esi
lea r8, str.course
lea rdx, [0x1400ed3b8]
mov r9d, edi
mov ecx, edi
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebp
call qword [sym.imp.USER32.dll_CreateWindowExA]
lea ecx, [rdi - 1]
movzx eax, sil
mov edx, 0x8d
imul cl
movzx ecx, r14b
shl cl, 2
lea r8d, [rdx - 0x70]
lea r15d, [rcx + rax]
xor ecx, ecx
sub r15b, bl
sub r15b, byte [rsp + 0xa0]
sub r15b, 0x11
add r15b, r13b
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov ecx, edi
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rsi, rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov edx, 0x1a
lea r8d, [rdx - 0x17]
xor ecx, ecx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov r9, qword [rsp + 0xb0]
xor eax, eax
mov qword [rsp + 0x28], rax
lea r8, [0x140001b00]
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rdx, str.c1a3
movsxd r9, r13d
mov r8d, ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
xor ecx, ecx
mov edx, 0xb8
lea r8d, [rcx + 0xa]
mov r14d, eax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov edx, 0x18c
lea r8d, [rcx + 0x19]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov edx, 0x316
lea r8d, [rcx + 2]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.USER32.dll_GetActiveWindow]
movzx eax, byte [rsp + 0x80]
mov edx, 1
mov ecx, edx
sub dl, dil
imul byte [rsp + 0x60]
add al, al
sub cl, al
movzx eax, byte [rsp + 0x88]
imul cl
movzx ebx, al
movzx eax, byte [rsp + 0x90]
imul dl
add bl, al
movzx eax, sil
imul r13b
movzx ecx, al
movzx eax, bpl
imul cl
movzx ecx, al
shl cl, 3
add al, cl
add al, al
sub al, 0x1e
add bl, al
add bl, byte [rsp + 0x98]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, dword [rsp + 0x60]
xor ecx, ecx
movzx eax, bl
movsx r9d, r15b
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rcx
mov rcx, qword [rsp + 0xa8]
lea r8, str.agenda
lea rdx, str.c3ret
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x38], r9d
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], eax
mov ecx, r14d
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov ebx, dword [rsp + 0x70]
mov rsi, qword [rsp + 0x88]
mov ebp, dword [rsp + 0x78]
mov r14, qword [rsp + 0x98]
mov r15, qword [rsp + 0xb8]
cmp esi, ebx
ja 0x140089466
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea rcx, [rsp + 0x110]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
xor ecx, ecx
mov edx, 0x1fd
lea r8d, [rcx + 0x15]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rcx, [rsp + 0x110]
xor edx, edx
mov r8d, 0x140
call fcn.1400e27d0
lea rdx, [rsp + 0x110]
lea rcx, [0x1400ed4d4]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov r8, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0x90]
imul edi, dword [rsp + 0x80]
mov r9d, dword [rsp + 0xc8]
mov eax, r8d
imul r12d, edx
imul eax, r13d
add r12d, eax
mov eax, r14d
imul eax, ebp
add r12d, eax
lea eax, [r9 + 0x17]
sub r12d, dword [rsp + 0x64]
sub r12d, dword [rsp + 0x68]
sub r12d, ebx
add r12d, esi
add r12d, edi
add eax, r12d
mov dword [r15], eax
xor eax, eax
imul edi, dword [rsp + 0x6c]
mov qword [r15 + 8], rax
mov eax, dword [rsp + 0xf8]
imul edi, ebx
imul eax, edx
imul ecx, eax, 0xfffffffa
lea eax, [r13*4]
sub ecx, edi
add eax, r13d
add eax, ecx
lea ecx, [r14 + r14]
imul r13d, dword [rsp + 0x68]
sub ecx, dword [rsp + 0x74]
sub eax, ebp
add eax, 0x25
add eax, r8d
add eax, r14d
mov dword [r15 + 0x10], eax
lea eax, [rsi + rcx*2]
add ecx, eax
lea ecx, [rcx*2 + 2]
sub ecx, r13d
sub ecx, ebp
add ecx, r8d
add ecx, edx
add ecx, r9d
mov dword [r15 + 0x14], ecx
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [r15 + 0x18], rax
mov rax, r15
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400dd340
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x260
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret