Function at 0x140067d40
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1e0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov rbx, rdx
mov r14d, ecx
cmp ecx, 2
jle 0x140067dac
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorGroupCount]
lea rcx, [rsp + 0x90]
xor edx, edx
mov r8d, 0x140
call fcn.1400e27d0
lea rdx, [rsp + 0x90]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
or rdi, 0xffffffffffffffff
lea r15d, [r14 - 2]
mov rsi, rdi
inc rsi
cmp byte [rbx + rsi], 0
jne 0x140067db7
xor eax, eax
lea r8, [0x140001b00]
xor edx, edx
mov qword [rsp + 0x28], rax
lea r9d, [rax + 2]
xor ecx, ecx
add esi, r14d
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r13, rax
mov qword [rsp + 0x70], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov qword [rsp + 0x78], rax
mov rbp, rdi
nop dword [rax]
inc rbp
cmp byte [rbx + rbp], 0
jne 0x140067e00
lea eax, [r14 - 2]
add bpl, al
mov rax, rdi
inc rax
cmp byte [rbx + rax], 0
jne 0x140067e13
lea r12d, [r14 + r13]
xor r8d, r8d
mov edx, 0x128
add r12b, r15b
xor ecx, ecx
sub r12b, al
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rsp + 0x68], rax
cmp r12b, r15b
jae 0x140067eb1
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
xor ecx, ecx
mov edx, 0xc3
lea r8d, [rcx + 0x19]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rcx, [rsp + 0x90]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
xor eax, eax
lea r8, [0x140001b00]
mov qword [rsp + 0x28], rax
movzx r9d, r15b
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rcx, [rsp + 0x90]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov rax, qword [rsp + 0x68]
movzx r13d, r15b
mov rdx, rdi
nop dword [rax + rax]
inc rdx
cmp byte [rbx + rdx], 0
jne 0x140067ec0
lea eax, [rax + rax*4]
imul edx, r14d
mov ecx, 3
sub ecx, eax
mov eax, dword [rsp + 0x78]
mov r8d, 0x140
sub ecx, r13d
imul eax, esi
lea r15d, [rdx + rcx*2]
lea rcx, [rsp + 0x90]
xor edx, edx
add r15d, eax
call fcn.1400e27d0
lea rdx, [rsp + 0x90]
lea rcx, str.ocelot
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
movzx edx, r12b
movsx r9, bpl
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x60], edx
mov qword [rsp + 0x80], r9
mov r8, rdi
inc r8
cmp byte [rbx + r8], 0
jne 0x140067f31
mov r10, qword [rsp + 0x70]
mov r12, qword [rsp + 0x68]
mov ecx, r15d
imul r8d, r14d
imul ecx, edx
mov ebp, r14d
sub ebp, r10d
imul ecx, r12d
lea eax, [rsi + rcx*2]
add ebp, 4
add ecx, eax
add ebp, edx
lea eax, [r9 + r8]
add ebp, r13d
mov edx, 0x104
imul ecx, r10d
lea ecx, [rcx + rcx*2]
add ebp, esi
lea eax, [rax + rcx*4]
lea rcx, [rsp + 0x90]
add eax, 0xfffffff6
mov dword [rsp + 0x68], eax
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x60]
mov qword [rsp + 0x40], 2
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x30], esi
lea rdx, str.agenda
mov r9d, esi
mov r8, rbx
mov ecx, r13d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov rdx, rax
nop dword [rax]
inc rdi
cmp byte [rbx + rdi], 0
jne 0x140067fe0
imul ebp, dword [rsp + 0x68]
mov rax, qword [rsp + 0x78]
imul edi, r14d
mov ecx, 1
shl ebp, 2
imul eax, dword [rsp + 0x80]
imul eax, eax, 0x3c
sub ecx, eax
imul eax, dword [rsp + 0x88], 0xe
imul ecx, dword [rsp + 0x70]
sub ecx, ebp
sub ecx, eax
lea eax, [rsi + rsi*2]
add edi, ecx
lea ecx, [rdi + rax*2]
mov eax, dword [rsp + 0x60]
sub ecx, edx
add eax, 0xffffffc5
sub ecx, r15d
sub ecx, r13d
sub ecx, r12d
add eax, ecx
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.1400dd340
mov rbx, qword [rsp + 0x230]
add rsp, 0x1e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret