Function at 0x140051350
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x1400d30c0]
xor rax, rsp
mov qword [rbp], rax
mov rsi, rcx
mov qword [rsp + 0x50], rcx
xor r15d, r15d
mov r14d, r15d
mov dword [rsp + 0x40], r15d
mov rbx, qword [rcx]
mov r8, qword [rbx + 8]
mov rdx, rcx
call fcn.140052290
mov qword [rbx + 8], rbx
mov qword [rbx], rbx
mov qword [rbx + 0x10], rbx
mov qword [rsi + 8], r15
mov rbx, qword [0x1400d6df0]
mov r8, qword [rbx + 8]
lea rdx, [0x1400d6df0]
lea rcx, [0x1400d6df0]
call fcn.14002cd50
mov qword [rbx + 8], rbx
mov qword [rbx], rbx
mov qword [rbx + 0x10], rbx
mov qword [0x1400d6df8], r15
lea rcx, [rsi + 0x1b8]
call fcn.140049d30
mov byte [rsi + 0x2f8], r14b
mov qword [rsi + 0x300], r15
mov qword [rsi + 0x308], r15
mov qword [rsi + 0x278], r15
mov qword [rsi + 0x290], r15
mov qword [rsi + 0x280], r15
lea rcx, [rsi + 0x298]
lea rdx, [0x1400bc878]
call fcn.14001db60
mov qword [rsi + 0x288], r15
mov qword [rsi + 0x120], r15
mov rbx, qword [0x1400d6d80]
mov r8, qword [rbx + 8]
lea rdx, [0x1400d6d80]
lea rcx, [0x1400d6d80]
call fcn.1400207c0
mov qword [rbx + 8], rbx
mov qword [rbx], rbx
mov qword [rbx + 0x10], rbx
mov qword [0x1400d6d88], r15
mov rcx, qword [0x1400d7448]
mov rdx, qword [0x1400d7450]
cmp rcx, rdx
je 0x140051490
call fcn.140016080
mov rax, qword [0x1400d7448]
mov qword [0x1400d7450], rax
mov rbx, qword [0x1400d6d90]
mov r8, qword [rbx + 8]
lea rdx, [0x1400d6d90]
lea rcx, [0x1400d6d90]
call fcn.1400207c0
mov qword [rbx + 8], rbx
mov qword [rbx], rbx
mov qword [rbx + 0x10], rbx
mov qword [0x1400d6d98], r15
mov rdx, qword [0x1400d6c50]
test rdx, rdx
je 0x1400514db
add rdx, 0x458
mov rcx, rsi
call fcn.14004b7a0
mov rbx, qword [0x1400d72c0]
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], r14b
jne 0x14005162a
movabs r12, 0x7fffffffffffffff
lea r13, [0x1400bc9e0]
mov rcx, qword [rbx + 0x30]
mov rax, r12
sub rax, rcx
cmp rax, 1
jb 0x140051ce5
lea r9, [rbx + 0x20]
cmp qword [rbx + 0x38], 0xf
jbe 0x140051523
mov r9, qword [rbx + 0x20]
mov qword [rsp + 0x30], 1
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x40]
call fcn.140021b60
or r14d, 4
lea rdx, [rbx + 0x40]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x140051555
mov rdx, qword [rdx]
lea rcx, [rbp - 0x40]
call fcn.14001ed80
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r15
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rax], 0
or r14d, 8
lea rcx, [rsp + 0x60]
call fcn.140044740
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x1400515da
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400515d5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140051cdf
call fcn.1400742f0
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x140051608
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x140051603
nop
cmp rbx, qword [rax + 0x10]
jne 0x140051603
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1400515f0
mov rbx, rax
jmp 0x140051620
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x140051620
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140051614
cmp byte [rbx + 0x19], 0
je 0x140051500
mov rbx, qword [rsi + 0x198]
mov r8, qword [rbx + 8]
lea rdx, [rsi + 0x198]
lea rcx, [rsi + 0x198]
call fcn.140054090
mov qword [rbx + 8], rbx
mov qword [rbx], rbx
mov qword [rbx + 0x10], rbx
mov qword [rsi + 0x1a0], r15
lea rbx, [rsi + 0x128]
mov qword [rsp + 0x40], rbx
lea r15, [rsi + 0xb0]
lea r12, [rbx + 0x70]
mov r8, r15
lea rdx, [rsp + 0x60]
mov rcx, r12
call fcn.1400541b0
mov r13d, 7
mov r9, qword [rsp + 0x70]
cmp byte [r9 + 0x19], 0
jne 0x1400516a7
lea r8, [r9 + 0x20]
mov rdx, r15
call fcn.1400542c0
test al, al
je 0x140051788
movabs rax, 0x1c71c71c71c71c7
cmp qword [r12 + 8], rax
je 0x140051cd9
mov rsi, qword [r12]
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], 0
mov ecx, 0x90
call fcn.140074324
mov rdi, rax
mov qword [rbp - 0x38], rax
lea rbx, [rax + 0x20]
mov qword [rsp + 0x58], rbx
mov rdx, r15
mov rcx, rbx
call fcn.14001dcf0
nop
add rbx, 0x20
mov qword [rbp - 0x80], rbx
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
xor eax, eax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], r13
mov word [rbx], ax
mov qword [rbx + 0x20], rax
mov qword [rbx + 0x28], rax
mov qword [rbx + 0x30], rax
mov qword [rbx + 0x38], rax
add rbx, 0x40
mov qword [rsp + 0x48], rbx
mov qword [rbx], rax
mov qword [rbx + 8], rax
lea ecx, [rax + 0x30]
call fcn.140074324
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbx], rax
mov rcx, rbx
call fcn.140054020
nop
mov qword [rdi], rsi
mov qword [rdi + 8], rsi
mov qword [rdi + 0x10], rsi
mov word [rdi + 0x18], 0
movups xmm0, xmmword [rsp + 0x60]
movaps xmmword [rbp - 0x40], xmm0
mov r8, rdi
lea rdx, [rbp - 0x40]
mov rcx, r12
call fcn.140021820
mov r9, rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
lea rcx, [r9 + 0x40]
cmp rcx, r15
je 0x1400517a7
mov r8, qword [r15 + 0x10]
cmp qword [r15 + 0x18], 7
jbe 0x14005179f
mov r15, qword [r15]
mov rdx, r15
call fcn.14001daf0
mov byte [rbx + 0x80], 0
mov ecx, 0x10
call fcn.140074324
mov qword [rax], rbx
lea rcx, [0x140053be0]
mov qword [rax + 8], rcx
mov qword [rsp + 0x48], rax
or r14d, 0x10
lea rcx, [rbp - 0x78]
mov qword [rsp + 0x28], rcx
xor edi, edi
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x140054330]
xor edx, edx
xor ecx, ecx
call fcn.1400846bc
mov qword [rbp - 0x80], rax
test rax, rax
je 0x140051ccb
cmp dword [rbp - 0x78], edi
je 0x140051cc0
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x40], xmm0
lea rcx, [rbp - 0x40]
call fcn.140073660
test eax, eax
jne 0x140051cc0
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], rdi
lea ecx, [rdi + 0x20]
call fcn.140074324
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x50], SafeArrayGetElement
mov qword [rbp - 0x48], 0x1f
movups xmm0, xmmword [str.Begin_initialization.]
movups xmmword [rax], xmm0
mov ecx, dword [0x1400c23c0]
mov dword [rax + 0x10], ecx
movzx ecx, byte [0x1400c23c4]
mov byte [rax + 0x14], cl
mov byte [rax + 0x15], dil
lea rcx, [rbp - 0x60]
mov r9, qword [rbp - 0x50]
cmp qword [rbp - 0x48], 0xf
jbe 0x14005188a
mov rdx, qword [rbp - 0x60]
add r9, rdx
jmp 0x140051891
add r9, rcx
lea rdx, [rbp - 0x60]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rdi
cmp rdx, r9
jne 0x1400518bc
mov r8, rdi
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], r13
mov word [rsp + 0x60], di
jmp 0x1400518d3
sub r9, rdx
lea rcx, [rsp + 0x60]
call fcn.1400221a0
mov r13, qword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
lea rdx, [rsp + 0x60]
cmp r13, 7
cmova rdx, qword [rsp + 0x60]
call fcn.140021ec0
mov rcx, rax
call fcn.14001fbd0
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x140051933
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005192d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140051ceb
call fcn.1400742f0
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x14005196e
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051969
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140051cf1
call fcn.1400742f0
lea rcx, [0x1400d7328]
call fcn.14005d800
lea rcx, [0x1400d7348]
call fcn.14005d800
test al, al
jne 0x140051996
lea rcx, [0x1400d7368]
call fcn.14005d800
lea rcx, [0x1400d7388]
call fcn.14005d800
test al, al
jne 0x1400519c2
lea rcx, [0x1400d73a8]
call fcn.14005d800
test al, al
jne 0x1400519c2
lea rcx, [0x1400d73c8]
call fcn.14005d800
lea rcx, [0x1400d73e8]
call fcn.14005d800
test al, al
jne 0x1400519ee
lea rcx, [0x1400d7408]
call fcn.14005d800
test al, al
jne 0x1400519ee
lea rcx, [0x1400d7428]
call fcn.14005d800
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x40], 0x1f
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140015ee0
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x70], SafeArrayGetElement
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x78], rcx
movups xmm0, xmmword [str.Trainer_initialized_]
movups xmmword [rax], xmm0
mov ecx, dword [0x1400c23d8]
mov dword [rax + 0x10], ecx
mov byte [rax + 0x14], 0
lea rcx, [rsp + 0x60]
call fcn.140003340
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140051a8f
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051a8a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140051cf7
call fcn.1400742f0
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rdi
xor r8d, r8d
lea rdx, [0x1400bc878]
lea rcx, [rsp + 0x60]
call fcn.140004f00
lea rdx, [rsp + 0x60]
lea rcx, [rsi + 0x70]
call fcn.140055720
mov r8, rax
cmp rax, 0xffffffffffffffff
je 0x140051b2b
lea r9, [rbp - 0x2b]
movabs r10, 0xcccccccccccccccd
nop word [rax + rax]
dec r9
mov rax, r10
mul r8
shr rdx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8, rdx
test rdx, rdx
jne 0x140051ae0
lea r8, [rbp - 0x2b]
mov rdx, r9
lea rcx, [rbp - 0x20]
call fcn.140021d80
or r14d, 0xc0
lea rcx, [rbp - 0x20]
or r14d, 1
jmp 0x140051b58
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], 1
mov qword [rbp - 0x68], reloc.OLEAUT32.dll_SafeArrayDestroy
movzx eax, word [0x1400bc8a4]
mov byte [rbp - 0x80], al
mov byte [rbp - 0x7f], 0
lea rcx, [rbp - 0x80]
or r14d, 2
mov dword [rsp + 0x40], r14d
lea r8, str.Game_Version:
xor edx, edx
call fcn.14001df30
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rdi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rax], 0
or r14d, 0x20
mov dword [rsp + 0x40], r14d
lea rcx, [rsp + 0x60]
call fcn.140003340
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140051bee
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051be9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140051cfd
call fcn.1400742f0
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rsp + 0x60], 0
test r14b, 2
je 0x140051c56
and r14d, 0xfffffffd
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x140051c46
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051c41
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140051d03
call fcn.1400742f0
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbp - 0x80], 0
test r14b, 1
je 0x140051c93
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x140051c93
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051c8e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140051d09
call fcn.1400742f0
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1400742d0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 1
call fcn.1400732c8
nop
mov dword [rbp - 0x78], edi
mov ecx, 6
call fcn.1400732c8
nop
call fcn.140001f00
int3
call fcn.14007b204
int3
call fcn.140001d90
nop
call fcn.14007b204
nop
call fcn.14007b204
int3
call fcn.14007b204
nop
call fcn.14007b204
nop
call fcn.14007b204
nop
call fcn.14007b204
int3