Function at 0x1400a4fe0
Capabilities:
Create thread

Disassembly:
mov r11, rsp
push rsi
push rdi
sub rsp, 0x578
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x540], rax
mov rdi, rdx
mov esi, ecx
cmp ecx, 1
jg 0x1400a5259
mov qword [r11 + 0x18], rbx
mov qword [r11 - 0x18], rbp
mov qword [r11 - 0x20], r12
mov qword [r11 - 0x28], r13
mov qword [r11 - 0x30], r14
mov qword [r11 - 0x38], r15
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, 1
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea rcx, [rsp + 0x430]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
xor ecx, ecx
mov edx, 0x1e1
lea r8d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rcx, [rsp + 0x70]
xor edx, edx
mov r8d, 0x140
mov r14, rax
call fcn.1400e27d0
lea rdx, [rsp + 0x70]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea rcx, [rsp + 0x1b0]
xor edx, edx
imul r13d, ebx, 0xfffffffb
mov r8d, 0x140
mov rbp, rax
call fcn.1400e27d0
lea rdx, [rsp + 0x1b0]
lea rcx, str.c1ret
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea rcx, [rsp + 0x2f0]
xor edx, edx
mov r8d, 0x140
mov r15, rax
call fcn.1400e27d0
lea rdx, [rsp + 0x2f0]
lea rcx, [0x1400ed3f4]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ecx, esi
lea r12d, [rbp - 0x43]
sub ecx, r13d
mov qword [rsp + 0x60], rax
add r12d, ecx
call qword [sym.imp.KERNEL32.dll_GetLastError]
or rbx, 0xffffffffffffffff
mov rcx, rbx
nop dword [rax]
inc rcx
cmp byte [rdi + rcx], 0
jne 0x1400a5110
movzx eax, bpl
imul cl
movzx ecx, al
movzx eax, r15b
imul byte [rsp + 0x60]
movzx ebp, al
sub bpl, cl
add bpl, sil
add bpl, r13b
call qword [sym.imp.USER32.dll_GetActiveWindow]
movsx rdx, bpl
mov r15, rax
xor eax, eax
lea r8, str.genetics
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rdx
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], 1
lea rdx, [0x1400ed3f4]
mov r9d, esi
mov ecx, r13d
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], esi
call qword [sym.imp.USER32.dll_CreateWindowExA]
xor r13d, r13d
mov eax, r12d
lea r8, [0x1400ed3f4]
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], 1
lea rdx, str.c2a4
mov r9d, r12d
mov ecx, esi
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], r12d
call qword [sym.imp.USER32.dll_CreateWindowExA]
lea r8d, [r13 + 1]
mov edx, 0x160
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov r12, qword [rsp + 0x568]
inc rbx
cmp byte [rdi + rbx], r13b
jne 0x1400a51f1
mov al, 0xe4
shl r14b, 6
sub r15b, 0xb
lea r8, [0x140001b00]
xor edx, edx
xor ecx, ecx
imul bpl
sub al, r14b
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r13d
add al, sil
add al, r15b
add bl, al
movsx r9, bl
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r15, qword [rsp + 0x550]
mov r14, qword [rsp + 0x558]
mov r13, qword [rsp + 0x560]
mov rbp, qword [rsp + 0x570]
mov rbx, qword [rsp + 0x5a0]
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rcx, qword [rsp + 0x540]
xor rcx, rsp
call fcn.1400dd340
add rsp, 0x578
pop rdi
pop rsi
ret