Function at 0x1400829b0
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, 0x300
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
or rsi, 0xffffffffffffffff
xor r12d, r12d
mov rdi, r9
mov ebp, r8d
mov r14d, edx
mov r15, rcx
cmp r8d, edx
jne 0x140082a5a
mov rax, rsi
inc rax
cmp byte [r9 + rax], r12b
jne 0x1400829f4
imul eax, ebp
mov ebx, edx
sub ebx, eax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea r8, [0x140001b00]
movsxd r9, ebx
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rcx, [rsp + 0xa0]
xor edx, edx
mov r8d, 0x140
call fcn.1400e27d0
lea rdx, [rsp + 0xa0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, 0xffff
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorCount]
lea rcx, [rsp + 0x1e0]
mov edx, 0x104
mov dword [rsp + 0x64], eax
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov qword [rsp + 0x88], rax
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorGroupCount]
mov ecx, dword [rsp + 0x88]
lea r13d, [rcx*2 - 4]
movzx eax, ax
lea rcx, [rsp + 0xa0]
mov edx, 0x104
mov dword [rsp + 0x60], eax
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov qword [rsp + 0x68], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rcx, [rsp + 0xa0]
mov edx, 0x104
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov qword [rsp + 0x78], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
movzx ecx, r13b
add cl, cl
movzx ebx, r14b
mov r12, rax
sub bl, cl
add bl, byte [rsp + 0x70]
cmp bl, bpl
jb 0x140082b3b
xor eax, eax
movzx ecx, bl
movzx edx, bl
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], edx
lea r8, [0x1400ed4fc]
mov rdx, rdi
mov r9d, ebp
mov ecx, ebp
call qword [sym.imp.USER32.dll_CreateWindowExA]
movzx ebx, bl
mov rcx, rsi
inc rcx
cmp byte [rdi + rcx], 0
jne 0x140082b41
mov rdx, qword [rsp + 0x68]
mov r8d, dword [rsp + 0x60]
lea eax, [r12 - 3]
add ecx, eax
mov eax, ebp
imul eax, r14d
lea ecx, [rax + rcx*2]
mov eax, edx
imul eax, r13d
add ecx, eax
mov rax, rsi
sub ecx, ebx
add ecx, r8d
mov dword [r15], ecx
inc rax
cmp byte [rdi + rax], 0
jne 0x140082b77
imul eax, ebp
mov ecx, 5
add r8d, 0xfffffffc
sub ecx, ebx
imul eax, r14d
imul ecx, r12d
add eax, edx
mov edx, 0x104
add ecx, r13d
lea ecx, [rax + rcx*2]
add ecx, r8d
mov dword [r15 + 4], ecx
lea rcx, [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov qword [r15 + 8], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
xor ecx, ecx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rbp
mov dword [rsp + 0x38], ebp
mov dword [rsp + 0x30], ebx
lea r8, [0x1400ed4fc]
lea rdx, [0x1400ed4fc]
mov r9d, ebp
mov ecx, r14d
mov dword [rsp + 0x28], r13d
mov qword [r15 + 0x10], rax
mov dword [rsp + 0x20], ebp
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [r15 + 0x18], rax
nop dword [rax + rax]
inc rsi
cmp byte [rdi + rsi], 0
jne 0x140082c10
lea eax, [r12*2 + 8]
imul esi, ebp
xor r8d, r8d
sub eax, dword [rsp + 0x78]
mov edx, 0x3ab
xor ecx, ecx
sub eax, dword [rsp + 0x64]
add eax, eax
sub eax, esi
sub eax, ebx
sub eax, dword [rsp + 0x70]
sub eax, r13d
add eax, r14d
add eax, dword [rsp + 0x68]
add eax, r12d
mov dword [r15 + 0x20], eax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [r15 + 0x28], rax
mov rax, r15
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.1400dd340
mov rbx, qword [rsp + 0x340]
add rsp, 0x300
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret