Function at 0x180049aa0
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rax, qword [0x18008a300]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r14, qword [rsp + 0x100]
mov rbp, r9
imul eax, ecx, 0x7c8
mov rdi, r8
mov r15, rdx
mov r12d, ecx
mov esi, ecx
mov dword [rsp + 0x48], eax
cmp ecx, eax
ja 0x180049c34
movss xmm6, dword [0x1800821e4]
lea rdx, [0x180000000]
movsd xmm7, qword [0x180082028]
xor ebx, ebx
mov r13, qword [rsp + 0x40]
mov r8d, 0x7fff
mov r9d, 0xffff8000
cmp esi, 0x233a
ja 0x180049ce3
je 0x180049dec
lea eax, [rsi - 0x16]
cmp eax, 0xd5
ja case.0x180049b54.28
movzx eax, byte [rdx + rax + 0x49e68]
mov ecx, dword [rdx + rax*4 + 0x49e4c]
add rcx, rdx
jmp rcx
mov qword [rsp + 0x28], rbx
lea r8, [0x18000c710]
mov r9, rdi
mov dword [rsp + 0x20], ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rdi], rax
test rax, rax
je 0x180049c30
mov ecx, 0x72
mov eax, ecx
sub eax, 0x6e
je 0x180049ba4
sub eax, 1
je 0x180049bab
sub eax, 3
je 0x180049b9c
cmp eax, 4
je 0x180049bab
jmp 0x180049ba4
mov eax, 1
xchg dword [rdi + 0xc], eax
inc ecx
cmp ecx, 0x76
jb 0x180049b84
mov byte [rsp + 0x40], 1
jmp 0x180049d5e
mov ecx, ebx
cmp dword [rbp], ebx
jle case.0x180049b54.28
mov rdx, rbx
mov eax, dword [r15]
imul eax, ecx
cdqe
movss xmm0, dword [rdi + rax*4]
mulss xmm0, xmm6
cvtps2pd xmm1, xmm0
addsd xmm1, xmm7
cvttsd2si eax, xmm1
cmp eax, r8d
jle 0x180049bea
movzx eax, r8w
jmp 0x180049bf2
cmp eax, r9d
cmovl ax, r9w
mov word [rdx + r14], ax
inc ecx
add rdx, 2
cmp ecx, dword [rbp]
jl 0x180049bc3
jmp 0x180049d6a
lea rdx, [rdi + 0x48]
mov ecx, 0x120
call fcn.18001d720
lea r8, [rdi + 8]
xor r9d, r9d
xor edx, edx
mov ecx, 0x11e
call fcn.180061a40
test al, al
jne 0x180049d5e
mov byte [rsp + 0x40], bl
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.18006b180
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [rdi]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r13, rax
test rax, rax
je 0x180049d89
mov r8, qword [rdi]
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
jmp 0x180049d5e
mov r8d, 0x71
lea rdx, [rsp + 0x60]
mov rcx, r14
call fcn.1800516e0
lea r9, [rsp + 0x60]
xor r8d, r8d
mov edx, 0x106
xor ecx, ecx
call fcn.180062950
mov r8d, 0x71
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.1800516e0
mov r9d, 0x12b
lea rcx, [rsp + 0x50]
mov r8, rdi
xor edx, edx
call fcn.180020e50
jmp 0x180049d5e
cmp esi, 0x576a
je 0x180049d3c
cmp esi, 0x8f84
je 0x180049c34
cmp esi, 0x936e
je 0x180049d35
cmp esi, 0xae4e
je 0x180049d15
cmp esi, 0x125fa
je 0x180049c34
jmp case.0x180049b54.28
mov eax, 0x7e
nop word [rax + rax]
cmp eax, 0x7e
je 0x180049e2b
add eax, 0x63
cmp eax, 0xe1
jb 0x180049d20
jmp case.0x180049b54.28
mov qword [rsp + 0x40], r13
jmp case.0x180049b54.28
mov r9d, 0x18
lea rdx, [rsp + 0x60]
xor r8d, r8d
lea rcx, [rsp + 0x50]
call fcn.180035190
movss xmm0, dword [rsp + 0x50]
movss dword [rdi], xmm0
mov r8d, 0x7fff
mov r9d, 0xffff8000
lea rdx, [0x180000000]
imul eax, r12d, 0xa6
add esi, eax
cmp esi, dword [rsp + 0x48]
jbe 0x180049b22
jmp 0x180049c34
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, dword [r14]
lea rdx, str.Call_to_Create_reaper_thread_failed:__s___d_
mov r8d, dword [rdi]
mov rcx, rax
mov qword [rsp + 0x20], rbp
call fcn.18006a5b0
mov rax, rbx
jmp 0x180049c39
mov eax, dword [rdi]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x38], rbx
xor r8d, r8d
mov qword [rsp + 0x30], rbx
xor ecx, ecx
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x48], eax
lea edx, [r8 + 0x1e]
mov qword [rsp + 0x20], rbx
call fcn.18002f2a0
mov dword [rsp + 0x40], eax
jmp 0x180049c34
xor r9d, r9d
mov qword [rsp + 0x20], rbx
xor r8d, r8d
mov edx, 0x8f
xor ecx, ecx
call fcn.180066850
movsd xmm1, qword [0x180082180]
xorps xmm0, xmm0
mov ecx, eax
mov byte [rsp + 0x40], 1
cvtsi2sd xmm0, rcx
divsd xmm1, xmm0
movsd qword [rdi + 0x110], xmm1
jmp 0x180049c34
movss xmm0, dword [rsp + 0x54]
mov rax, rdi
movss xmm1, dword [rsp + 0x58]
movss dword [rdi + 4], xmm0
movss dword [rdi + 8], xmm1
jmp 0x180049c39