Function at 0x14005ca40
Capabilities:
Create thread

Disassembly:
push rbp
push r12
push r14
push r15
lea rbp, [rsp - 0x118]
sub rsp, 0x218
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x100], rax
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorGroupCount]
movzx r14d, ax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov ecx, r14d
mov rdx, rax
mov r15, rax
call fcn.1400c83e0
mov r12d, eax
cmp r14d, eax
jbe 0x14005cd80
mov qword [rsp + 0x240], rbx
mov qword [rsp + 0x248], rsi
xor ebx, ebx
mov qword [rsp + 0x250], rdi
mov qword [rsp + 0x210], r13
mov qword [rsp + 0x48], rbx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, r14d
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea r8, [0x140001b00]
mov r9d, r12d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rcx, [rbp - 0x10]
mov edx, 0x104
mov qword [rsp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov qword [rsp + 0x60], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov r13d, r15d
imul r13d, r14d
mov ecx, r12d
mov dword [rsp + 0x70], r13d
mov qword [rsp + 0x68], rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rsp + 0x78], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, r14d
movups xmm0, xmmword [rsp + 0x60]
movups xmm1, xmmword [rsp + 0x70]
mov qword [rbp - 0x80], rax
lea eax, [r15 + r14]
movaps xmmword [rbp - 0x40], xmm0
movaps xmmword [rbp - 0x30], xmm1
mov dword [rbp - 0x78], eax
lea rax, str.overcharge
movsd xmm1, qword [rsp + 0x58]
movups xmm0, xmmword [rbp - 0x80]
movsd qword [rbp - 0x60], xmm1
mov qword [rsp + 0x30], rax
movaps xmmword [rbp - 0x20], xmm0
movups xmm0, xmmword [rsp + 0x48]
movaps xmmword [rbp - 0x70], xmm0
call fcn.140088fa0
or rdi, 0xffffffffffffffff
mov rsi, rax
mov rbx, rdi
nop word [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14005cb90
movzx eax, bl
mov rcx, r15
shl al, 2
add bl, al
add bl, bl
sub bl, byte [rbp - 0x80]
add bl, r14b
mov r14, qword [rsp + 0x40]
add bl, 6
add bl, r14b
movzx r8d, bl
call fcn.1400d29c0
mov edx, 0x5d
xor ecx, ecx
lea r8d, [rdx - 0x43]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rsp + 0x40], rax
inc rdi
cmp byte [rsi + rdi], 0
jne 0x14005cbd6
imul r14d, r12d
mov ecx, 0xffff
lea eax, [r14 + r14*2]
xor r14d, r14d
add eax, eax
mov qword [rsp + 0x48], r14
sub r13d, eax
movzx eax, bl
sub r13d, eax
sub r13d, edi
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorCount]
mov rdi, qword [rsp + 0x40]
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x58], r14
lea rsi, str.c1a4
movups xmm0, xmmword [rsp + 0x48]
movsd xmm1, qword [rsp + 0x58]
lea r9, [rbp - 0x70]
lea r8d, [r13 - 9]
mov rdx, rdi
movaps xmmword [rbp - 0x70], xmm0
movsd qword [rbp - 0x60], xmm1
mov rcx, r15
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rsi
call fcn.1400cbdd0
mov ecx, 0xffff
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorCount]
lea rcx, str.cupola
mov qword [rsp + 0x30], rcx
lea rcx, str.c1a2
lea r9, str.c1ret
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rcx
lea rdx, str.c1ret
mov ecx, eax
mov r8, rsi
call fcn.1400b86d0
lea r8d, [r14 + 0x14]
mov edx, 0x144
xor ecx, ecx
mov qword [rsp + 0x60], r15
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x68], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [rbp - 0x78], rdi
movups xmm0, xmmword [rsp + 0x60]
mov qword [rsp + 0x78], rax
lea rax, str.c4a3
lea rdx, [rbp - 0x70]
movaps xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rsp + 0x70]
mov qword [rbp - 0x80], rax
mov rcx, r15
movaps xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [rbp - 0x80]
movaps xmmword [rbp - 0x50], xmm0
call fcn.14005f440
lea rcx, [rbp - 0x10]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
lea r8, str.attendant
lea rdx, str.c1ret
lea rcx, str.eight
mov r9, rax
call fcn.140089f90
call fcn.14008f500
lea rcx, [rbp - 0x10]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov qword [rsp + 0x30], r14
lea r8, str.c4a6
mov qword [rsp + 0x28], rax
lea rax, str.ticket
lea rcx, str.c1a6
mov r9, rbx
mov rdx, r15
mov qword [rsp + 0x20], rax
call fcn.1400ae870
mov r13, qword [rsp + 0x210]
mov rdi, qword [rsp + 0x250]
mov rsi, qword [rsp + 0x248]
mov rbx, qword [rsp + 0x240]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.1400dd340
add rsp, 0x218
pop r15
pop r14
pop r12
pop rbp
ret