Function at 0x140050a80
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 - 0x40]
sub rsp, 0x140
mov rax, qword [0x14006d010]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov qword [rsp + 0x38], rdx
mov rbx, rcx
mov qword [rsp + 0x30], rcx
mov qword [rbp - 0x70], rcx
mov qword [rbp - 0x68], rdx
mov rax, qword [0x14006dbe8]
mov qword [rax + 0x4114], r8
mov dword [rax + 0x40f8], 1
or dword [rax + 0x40f0], 0x42
mov dword [rax + 0x4150], 0x3f800000
mov r8d, 0x12a
lea rdx, [rbp + 0xa8]
lea rcx, str.Kenemation_Launcher
call fcn.14000ee70
mov dword [rbp - 0x60], 0x42fe0000
mov dword [rbp - 0x5c], 0x41f00000
lea rax, [rbp - 0x58]
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
xor esi, esi
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x40], rsi
mov r12d, 2
mov r8d, r12d
lea rdx, [0x14006129c]
lea rcx, [rbp - 0x58]
call fcn.140056010
nop
mov rdi, qword [0x14006dc28]
mov rdx, qword [rbx]
add rdx, 0x20
cmp qword [rdx + 0x18], 0x10
jb 0x140050b5b
mov rdx, qword [rdx]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
mov r14, 0xffffffffffffffff
mov r8, r14
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140050b80
lea rcx, [rsp + 0x40]
call fcn.140056010
movss xmm2, dword [0x1400617f8]
lea rax, [rbp - 0x58]
mov qword [rsp + 0x28], rax
mov r9, rdi
lea r8, [rsp + 0x40]
movss xmm1, dword [0x140061860]
movss xmm0, dword [0x140061814]
unpcklps xmm0, xmm2
movq rcx, xmm0
call fcn.140050200
mov r9, qword [0x14006dc28]
mov rdi, r14
inc rdi
cmp byte [r9 + rdi], 0
jne 0x140050bd4
mov rax, qword [0x14006d068]
lea r15, [0x14006d050]
cmp rdi, rax
ja 0x140050c20
mov rbx, r15
cmp rax, 0x10
cmovae rbx, qword [0x14006d050]
mov qword [0x14006d060], rdi
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
mov rbx, qword [rsp + 0x30]
jmp 0x140050c2b
mov rdx, rdi
mov rcx, r15
call fcn.140056640
movss xmm1, dword [0x140061890]
xorps xmm0, xmm0
call fcn.140013330
mov rdx, qword [0x14006dbe8]
mov rax, qword [rdx + 0x3fe0]
mov byte [rax + 0xcd], 1
mov rax, qword [rdx + 0x3fe0]
movss xmm0, dword [rax + 0x4c]
subss xmm0, dword [rax + 0x9c]
addss xmm0, dword [0x140061850]
movss xmm2, dword [rax + 0x48]
subss xmm2, dword [rax + 0x98]
addss xmm2, dword [0x140061864]
movss dword [rax + 0x118], xmm2
movss dword [rax + 0x11c], xmm0
movss xmm1, dword [rax + 0x134]
maxss xmm1, xmm0
movss xmm0, dword [rax + 0x130]
maxss xmm0, xmm2
movss dword [rax + 0x130], xmm0
movss dword [rax + 0x134], xmm1
call fcn.140013560
mov edx, 0xffffffff
call fcn.140003c90
mov rcx, qword [rbx]
cmp qword [rcx + 0x18], 0x10
jb 0x140050cd5
mov rcx, qword [rcx]
xor r8d, r8d
lea rdx, [rbp - 0x60]
call fcn.14003e860
test al, al
je 0x140050d4c
xor ecx, ecx
call fcn.14002e9c0
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
movdqa xmm1, xmmword [0x1400618f0]
movdqa xmmword [rbp - 0x20], xmm1
mov byte [rbp - 0x30], 0
movups xmmword [rbp - 0x10], xmm0
movdqa xmmword [rbp], xmm1
mov byte [rbp - 0x10], 0
movups xmmword [rbp + 0x10], xmm0
movdqa xmmword [rbp + 0x20], xmm1
mov byte [rbp + 0x10], 0
lea rax, [rbp - 0x60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], esi
lea r9, [rbp - 0x30]
lea r8, [0x14004f810]
mov edx, 0x5f5e100
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rcx, [rbp - 0x30]
call fcn.14004dba0
mov rcx, qword [0x14006dbe8]
mov rax, qword [rcx + 0x3fe0]
mov byte [rax + 0xcd], 1
mov rax, qword [rcx + 0x3fe0]
movss xmm0, dword [rax + 0x4c]
subss xmm0, dword [rax + 0x9c]
addss xmm0, dword [0x1400617fc]
movss xmm2, dword [rax + 0x48]
subss xmm2, dword [rax + 0x98]
addss xmm2, dword [0x14006186c]
movss dword [rax + 0x118], xmm2
movss dword [rax + 0x11c], xmm0
movss xmm1, dword [rax + 0x134]
maxss xmm1, xmm0
movss xmm0, dword [rax + 0x130]
maxss xmm0, xmm2
movss dword [rax + 0x130], xmm0
movss dword [rax + 0x134], xmm1
mov dword [rbp - 0x60], 0x42940000
mov dword [rbp - 0x5c], 0x41f00000
mov rcx, qword [rbx]
add rcx, 0x40
cmp qword [rcx + 0x18], 0x10
jb 0x140050de9
mov rcx, qword [rcx]
xor r8d, r8d
lea rdx, [rbp - 0x60]
call fcn.14003e860
test al, al
je 0x140050fb6
lea rax, [rsp + 0x40]
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x38]
mov rdx, qword [rdx]
cmp qword [rdx + 0x18], 0x10
jb 0x140050e19
mov rdx, qword [rdx]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
nop dword [rax + rax]
inc r14
cmp byte [rdx + r14], 0
jne 0x140050e30
mov r8, r14
lea rcx, [rsp + 0x40]
call fcn.140056010
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], rsi
mov r8d, 3
lea rdx, [0x1400612a0]
lea rcx, [rsp + 0x70]
call fcn.140056010
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x58]
call fcn.14004f580
nop
lea rcx, [rbp - 0x58]
mov rdi, qword [rbp - 0x58]
mov r13, qword [rbp - 0x40]
cmp r13, 0x10
cmovae rcx, rdi
mov r14, qword [rbp - 0x48]
test r14, r14
jne 0x140050eb8
mov r8, r14
lea rdx, [0x14005bc1e]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140050f7c
lea r9, [rbp - 0x58]
cmp r13, 0x10
cmovae r9, rdi
mov rax, qword [0x14006d068]
cmp r14, rax
ja 0x140050efb
mov rbx, r15
cmp rax, 0x10
cmovae rbx, qword [0x14006d050]
mov qword [0x14006d060], r14
mov r8, r14
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [r14 + rbx], 0
jmp 0x140050f0e
mov rdx, r14
mov rcx, r15
call fcn.140056640
mov r13, qword [rbp - 0x40]
mov rdi, qword [rbp - 0x58]
mov rdx, qword [0x14006dc28]
mov rax, rdx
xorps xmm0, xmm0
nop dword [rax + rax]
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x60], xmm0
lea rax, [rax + 0x80]
movups xmmword [rax - 0x10], xmm0
sub r12, 1
jne 0x140050f20
mov rcx, rsi
nop
mov rax, r15
cmp qword [0x14006d068], 0x10
cmovae rax, qword [0x14006d050]
movzx eax, byte [rcx + rax]
mov byte [rcx + rdx], al
inc esi
lea rcx, [rcx + 1]
movsxd rax, esi
cmp rax, qword [0x14006d060]
jbe 0x140050f50
cmp r13, 0x10
jb 0x140050fb6
lea rdx, [r13 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140050fae
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050fae
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1400580a8
xor ecx, ecx
call fcn.14002e9c0
call fcn.140013690
call fcn.140011b50
movzx ebx, byte [rbp + 0xa8]
mov rcx, qword [rsp + 0x30]
call fcn.140054300
nop
mov rcx, qword [rsp + 0x38]
call fcn.140054300
movzx eax, bl
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.140057b00
mov rbx, qword [rsp + 0x190]
add rsp, 0x140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret