Function at 0x140008540
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
movaps xmmword [rsp + 0x170], xmm6
mov r14, r9
mov r13, r8
mov rsi, rdx
mov r12, rcx
mov qword [rsp + 0x70], 0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x78], eax
mov eax, r13d
sub eax, dword [rsi + 8]
add eax, r12d
mov dword [rsp + 0x7c], eax
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm0
call fcn.1400161a0
mov edx, 0x16
xor ecx, ecx
lea r8d, [rdx + 4]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov r8, qword [rbp + 0xe0]
or rbx, 0xffffffffffffffff
mov qword [rsp + 0x70], rax
mov rcx, rbx
inc rcx
cmp byte [r8 + rcx], 0
jne 0x1400085d1
imul ecx, r13d
mov rdx, rbx
sub ecx, dword [rsi + 8]
inc rdx
cmp byte [rdi + rdx], 0
jne 0x1400085e5
lea eax, [r12 + rcx]
add edx, eax
mov rax, rbx
mov dword [rsp + 0x78], edx
nop dword [rax + rax]
inc rax
cmp byte [r8 + rax], 0
jne 0x140008600
mov ecx, r12d
sub ecx, eax
mov rax, rbx
inc rax
cmp byte [rdi + rax], 0
jne 0x140008612
add ecx, eax
mov dword [rsp + 0x7c], ecx
lea rcx, [rbp - 0x40]
movaps xmm6, xmmword [rsp + 0x70]
movdqa xmmword [rbp - 0x40], xmm6
call fcn.1400161a0
mov r15, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessorNumber]
mov dword [rbp + 0xc0], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
mov dword [rbp + 0xd0], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov ecx, 0xffff
mov qword [rbp - 0x80], rax
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorCount]
mov rdx, qword [rbp + 0xc8]
mov ecx, r13d
imul ecx, r12d
imul ecx, dword [rdx + 8]
mov dword [rbp - 0x78], eax
mov edx, 0xa0
movd eax, xmm6
sub ecx, eax
mov dword [rsp + 0x60], eax
mov dword [rbp - 0x74], ecx
xor ecx, ecx
lea rax, str.boot
lea r8d, [rcx + 3]
mov qword [rbp - 0x70], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov edx, 0x37d
lea r8d, [rcx + 0x1a]
mov qword [rbp - 0x68], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rbp - 0x60], rax
mov rax, rbx
inc rax
cmp byte [r14 + rax], 0
jne 0x1400086c0
imul eax, r13d
mov rcx, rbx
add eax, dword [rsp + 0x60]
add eax, r12d
nop dword [rax + rax]
inc rcx
cmp byte [r15 + rcx], 0
jne 0x1400086e0
sub eax, ecx
mov dword [rbp - 0x58], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
movzx ecx, byte [rbp + 0xc0]
movups xmm0, xmmword [rbp - 0x80]
movups xmm1, xmmword [rbp - 0x70]
mov qword [rbp - 0x50], rax
lea r8, [rbp]
mov edx, esi
movaps xmmword [rbp], xmm0
movaps xmmword [rbp + 0x10], xmm1
movups xmm0, xmmword [rbp - 0x60]
movsd xmm1, qword [rbp - 0x50]
movaps xmmword [rbp + 0x20], xmm0
movsd qword [rbp + 0x30], xmm1
call fcn.140012d80
mov byte [rbp + 0xc8], al
call fcn.140009320
mov rcx, rbx
nop dword [rax + rax]
inc rcx
cmp byte [rax + rcx], 0
jne 0x140008740
movzx eax, byte [rbp + 0xc0]
imul sil
movzx esi, byte [rbp - 0x68]
sub sil, al
mov rax, rbx
sub sil, r13b
sub sil, byte [rbp + 0xc8]
add sil, r12b
sub sil, cl
nop dword [rax]
inc rax
cmp byte [r15 + rax], 0
jne 0x140008770
add sil, al
lea rdx, [0x1400ed3b4]
movzx ecx, sil
call fcn.140013de0
xor ecx, ecx
mov edx, 0x9e
lea r8d, [rcx + 0xb]
mov qword [rbp - 0x40], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
movsx r9, byte [rbp + 0xc0]
xor ecx, ecx
mov qword [rsp + 0x60], rax
lea rax, str.pencil
mov qword [rsp + 0x28], rcx
lea r8, [0x140001b00]
xor edx, edx
mov dword [rsp + 0x20], ecx
mov qword [rbp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorGroupCount]
lea r8, [0x140001b00]
movzx ecx, ax
mov rax, qword [rbp - 0x40]
movzx r9d, sil
mov qword [rbp + 0x60], rax
lea rax, str.c1ret
mov dword [rbp + 0x50], ecx
mov qword [rbp + 0x68], rax
xor eax, eax
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov qword [rbp + 0x58], r13
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp - 0x30], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [rbp - 0x20], 8
mov qword [rbp - 0x28], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rdx, qword [rsp + 0x60]
movups xmm0, xmmword [rbp - 0x30]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], r13
mov dword [rbp - 8], 4
movaps xmmword [rbp], xmm0
movups xmm0, xmmword [rbp - 0x10]
movups xmm1, xmmword [rbp - 0x20]
lea r9, [rbp]
lea r8, [rbp - 0x80]
lea rcx, str.c1ret
movaps xmmword [rbp + 0x20], xmm0
movaps xmmword [rbp + 0x10], xmm1
movups xmm0, xmmword [rbp + 0x40]
movups xmm1, xmmword [rbp + 0x50]
movaps xmmword [rbp - 0x80], xmm0
movaps xmmword [rbp - 0x70], xmm1
movups xmm0, xmmword [rbp + 0x60]
movaps xmmword [rbp - 0x60], xmm0
call fcn.1400174f0
movzx edx, byte [rbp + 0xc8]
cmp dl, byte [rbp + 0xd0]
jg 0x1400089d7
mov rcx, rbx
inc rcx
cmp byte [r14 + rcx], 0
jne 0x1400088a4
movzx eax, r12b
mov r12d, dword [rbp + 0xd0]
imul cl
movzx r14d, al
movzx eax, dl
imul byte [rbp - 0x40]
inc al
movzx ecx, al
shl cl, 2
add al, cl
sub r14b, al
sub r14b, byte [rsp + 0x7c]
sub r14b, byte [rbp - 0x28]
sub r14b, byte [rsp + 0x60]
sub r14b, r12b
sub r14b, byte [rbp + 0xc0]
nop word [rax + rax]
inc rbx
cmp byte [rdi + rbx], 0
jne 0x1400088f0
xor ecx, ecx
sub r14b, bl
lea rbx, str.c3ret
lea r8d, [rcx + 0x10]
mov edx, 0x254
mov qword [rbp - 0x80], rbx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov ecx, 0xffff
mov qword [rbp - 0x78], rax
mov rax, qword [rsp + 0x60]
mov qword [rbp - 0x70], rax
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorCount]
movsx rdx, byte [rbp + 0xc0]
movzx ecx, sil
xor esi, esi
mov dword [rbp - 0x68], eax
movsx eax, byte [rbp + 0xc8]
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rdx
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], ecx
mov r9d, r12d
mov r8, r15
mov rdx, rdi
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x50], rsi
movaps xmm0, xmmword [rbp - 0x80]
movaps xmm1, xmmword [rbp - 0x70]
mov qword [rbp - 0x60], rax
lea rax, [0x1400ed988]
mov dword [rbp - 0x48], 0x20
movaps xmmword [rbp], xmm0
movaps xmmword [rbp + 0x10], xmm1
movaps xmm0, xmmword [rbp - 0x60]
movaps xmm1, xmmword [rbp - 0x50]
lea rdx, str.c5ret
lea ecx, [rsi + 8]
movzx r9d, r14b
movaps xmmword [rbp + 0x20], xmm0
movaps xmmword [rbp + 0x30], xmm1
mov r8, r13
mov qword [rsp + 0x20], rax
call fcn.1400096e0
mov rax, rbx
jmp 0x1400089de
lea rax, str.c3ret
mov rbx, qword [rsp + 0x1d8]
movaps xmm6, xmmword [rsp + 0x170]
add rsp, 0x180
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret