Function at 0x140045520
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov r12, qword [rbp + 0x228]
mov rbx, rcx
mov qword [rsp + 0x78], rcx
xor ecx, ecx
mov qword [rbp - 0x78], rdx
mov edx, 0x2a7
lea r8d, [rcx + 1]
mov rdi, r9
mov qword [rbp - 0x50], r9
mov qword [rbp - 0x70], r12
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rcx, rax
mov qword [rbp + 0x18], rax
call fcn.140098790
xor r14d, r14d
mov rsi, rax
mov qword [rbp + 0x20], rax
mov dword [rbp + 0x30], r14d
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov qword [rbp + 0x40], r14
mov qword [rbp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov ecx, ebx
mov qword [rbp + 0x48], rax
lea eax, [rdi*4]
mov qword [rbp + 0x50], r14
sub ecx, eax
mov dword [rbp + 0x5c], r14d
sub ecx, r12d
sub ecx, esi
mov dword [rbp + 0x58], ecx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r13d, ebx
movups xmm0, xmmword [rbp + 0x30]
movups xmm1, xmmword [rbp + 0x40]
mov edi, eax
mov dword [rsp + 0x68], eax
lea eax, [r12*4]
movaps xmmword [rbp - 0x30], xmm0
movaps xmmword [rbp - 0x20], xmm1
movups xmm0, xmmword [rbp + 0x50]
sub r13d, eax
lea rax, str.angora
mov qword [rsp + 0x28], rax
lea r9, str.clove
lea rdx, [0x1400ed3b4]
movaps xmmword [rbp - 0x10], xmm0
lea rcx, [rbp - 0x30]
sub r13d, esi
mov r8d, edi
mov dword [rsp + 0x20], r13d
call fcn.14007f8c0
movsx rsi, al
mov byte [rsp + 0x60], sil
call fcn.14009ec70
mov qword [rbp - 0x68], rax
call fcn.1400bc8a0
lea rcx, [0x1400ed3b4]
mov r14, rax
call fcn.140064470
mov dword [rsp + 0x64], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x2c], 0x20
mov dword [rbp - 0x30], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor ecx, ecx
mov qword [rbp - 0x28], rax
lea rax, str.bench
lea r8d, [rcx + 4]
mov qword [rbp - 0x20], rax
lea rax, str.alcove
mov edx, 0x1a3
mov qword [rbp - 0x18], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov r15, rsi
or rsi, 0xffffffffffffffff
mov qword [rbp - 8], r12
mov qword [rbp - 0x10], rax
mov rdx, rsi
nop dword [rax]
inc rdx
cmp byte [r14 + rdx], 0
jne 0x1400456b0
movups xmm0, xmmword [rbp - 0x30]
movups xmm1, xmmword [rbp - 0x20]
mov ecx, dword [rbp - 0x78]
mov eax, r13d
imul ecx, ebx
imul eax, edi
movaps xmmword [rbp + 0x30], xmm0
movaps xmmword [rbp + 0x40], xmm1
movups xmm0, xmmword [rbp - 0x10]
sub ecx, eax
sub ecx, r15d
sub ecx, r12d
lea eax, [rcx + 2]
lea rcx, [rbp + 0x30]
add eax, edx
mov dword [rbp], eax
movaps xmmword [rbp + 0x50], xmm0
movsd xmm1, qword [rbp]
movsd qword [rbp + 0x60], xmm1
call fcn.1400d4f30
xor ecx, ecx
lea r12d, [rbx + 0xa]
lea r8d, [rcx + 0x19]
mov edx, 0x2bb
mov qword [rsp + 0x70], rax
add r12d, eax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdi, rax
mov qword [rbp - 0x80], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [rbp - 0x60], rax
xor eax, eax
mov edx, 0xe05
lea r9d, [rax + 4]
xor ecx, ecx
mov r8d, 0x3000
mov qword [rbp - 0x58], rax
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
xor edx, edx
mov rcx, rax
mov r8d, 0x8000
mov qword [rbp - 0x48], rax
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, qword [rbp - 0x48]
lea r9, str.c1a5
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x60], xmm0
mov r8, rdi
mov rdx, rbx
mov ecx, r12d
mov qword [rsp + 0x28], rax
call fcn.1400a9af0
mov qword [rbp - 0x40], rax
cmp r13d, dword [rsp + 0x64]
jle 0x140045933
xor ecx, ecx
mov edx, 0x1ab
lea r8d, [rcx + 0x19]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rcx, [rbp + 0x70]
xor edx, edx
mov r8d, 0x140
call fcn.1400e27d0
lea rdx, [rbp + 0x70]
lea rcx, str.clove
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
xor ebx, ebx
movsx ecx, r15b
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rbx
mov rdi, rax
movsxd rax, r12d
lea r8, str.clove
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], ecx
lea rdx, [0x1400ed3b4]
mov ecx, r13d
mov r9d, r12d
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea edx, [rbx + 0x5e]
lea r8d, [rbx + 0x11]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea r9d, [rbx + 0x20]
lea r8, [0x140001b00]
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rbx
mov qword [rbp + 0x10], rax
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor eax, eax
mov qword [rsp + 0x28], rax
lea r8, [0x140001b00]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.USER32.dll_GetActiveWindow]
shl edi, 5
mov qword [rbp - 0x60], rax
sub ebx, edi
add ebx, 2
cmp ebx, 0x20
jg 0x1400458a7
xor ecx, ecx
mov edx, 0x235
lea r8d, [rcx + 0x18]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov rdx, rsi
inc rdx
cmp byte [r14 + rdx], 0
jne 0x1400458b4
mov r8, qword [rsp + 0x78]
mov rcx, qword [rbp + 0x10]
mov r11, qword [rbp - 0x70]
mov r10, qword [rbp + 0x18]
mov r9, qword [rbp + 0x20]
mov eax, r8d
sub eax, dword [rbp - 0x80]
add r9d, 0xfffffff8
lea eax, [rcx + rax*2]
lea ecx, [rax*2 + 2]
mov eax, r11d
imul eax, r10d
imul eax, dword [rsp + 0x68]
sub ecx, eax
mov eax, r13d
add ecx, dword [rbp - 0x60]
add ecx, dword [rbp - 0x68]
imul eax, dword [rsp + 0x68]
add ecx, dword [rsp + 0x70]
lea eax, [rax + rax*4]
sub r15d, eax
sub ecx, edx
sub r15d, r11d
mov dword [rsp + 0x20], ecx
sub r15d, dword [rbp - 0x48]
sub r15d, r10d
add r15d, r8d
mov r8, qword [rbp - 0x50]
add r15d, dword [rbp - 0x10]
add r15d, r12d
add r9d, r15d
call fcn.140069ca0
xor ecx, ecx
mov edx, 0x28a
lea r8d, [rcx + 0x13]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rcx, rax
mov r15, rax
call fcn.1400ac620
mov ecx, dword [rsp + 0x64]
mov rdi, rax
cmp byte [rsp + 0x60], cl
jle 0x1400459bc
mov rbx, rsi
nop
inc rbx
cmp byte [r14 + rbx], 0
jne 0x140045960
mov r14, qword [rsp + 0x78]
lea eax, [rcx + rcx]
sub eax, dword [rbp - 0x40]
sub eax, dword [rsp + 0x70]
sub eax, dword [rsp + 0x68]
add eax, 0xfffffffd
add eax, r14d
add eax, r15d
add eax, dword [rbp - 0x80]
add eax, r13d
add ebx, eax
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea r9, [0x1400ed4fc]
lea rdx, str.c1a1
lea rcx, str.lake
mov r8d, ebx
mov qword [rsp + 0x20], rax
call fcn.1400c9e70
mov ecx, dword [rsp + 0x64]
jmp 0x1400459c1
mov r14, qword [rsp + 0x78]
inc rsi
cmp byte [rdi + rsi], 0
jne 0x1400459c1
movzx eax, byte [rbp - 0x40]
mov edx, 0x104
imul r15b
sub r12b, al
sub r12b, r14b
sub r12b, byte [rsp + 0x70]
add r12b, byte [rbp - 0x68]
add r12b, cl
lea rcx, [rbp + 0x70]
sub r12b, sil
dec r12b
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov r9d, dword [rsp + 0x64]
mov rbx, rax
xor eax, eax
lea r8, [0x140001b00]
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r10, qword [rbp - 0x80]
mov r9, rax
movzx eax, r14b
lea ecx, [r10 + 1]
imul byte [rbp - 0x78]
lea r8d, [rax + 1]
movzx eax, byte [rbp - 0x70]
add r8b, r8b
imul cl
add r8b, al
mov eax, dword [rsp + 0x68]
movzx edx, al
movzx ecx, r12b
add dl, dl
add al, dl
mov rdx, r10
add r8b, al
add r8b, r8b
sub r8b, byte [rsp + 0x60]
mov byte [rsp + 0x28], r8b
mov qword [rsp + 0x20], r9
lea r8, str.spinach
mov r9, rbx
call fcn.1400b9a70
mov rax, qword [rbp - 0x50]
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.1400dd340
mov rbx, qword [rsp + 0x310]
add rsp, 0x2c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret