Function at 0x140057520
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 - 0x30]
sub rsp, 0x130
mov rax, qword [0x1400e7080]
xor rax, rsp
mov qword [rbp + 0x20], 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.140058910
mov qword [rbx + 8], rbx
mov qword [rbx], rbx
mov qword [rbx + 0x10], rbx
mov qword [rsi + 8], r15
mov rbx, qword [0x1400eaf50]
mov r8, qword [rbx + 8]
lea rdx, [0x1400eaf50]
lea rcx, [0x1400eaf50]
call fcn.140032250
mov qword [rbx + 8], rbx
mov qword [rbx], rbx
mov qword [rbx + 0x10], rbx
mov qword [0x1400eaf58], r15
lea rcx, [rsi + 0x1b8]
call fcn.14004ff80
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, [0x1400ca448]
call fcn.140021b80
mov qword [rsi + 0x288], r15
mov qword [rsi + 0x120], r15
mov rbx, qword [0x1400eaee0]
mov r8, qword [rbx + 8]
lea rdx, [0x1400eaee0]
lea rcx, [0x1400eaee0]
call fcn.140024cf0
mov qword [rbx + 8], rbx
mov qword [rbx], rbx
mov qword [rbx + 0x10], rbx
mov qword [0x1400eaee8], r15
mov rcx, qword [0x1400eb6c0]
mov rdx, qword [0x1400eb6c8]
cmp rcx, rdx
je 0x140057660
call fcn.140019db0
mov rax, qword [0x1400eb6c0]
mov qword [0x1400eb6c8], rax
mov rbx, qword [0x1400eaef0]
mov r8, qword [rbx + 8]
lea rdx, [0x1400eaef0]
lea rcx, [0x1400eaef0]
call fcn.140024cf0
mov qword [rbx + 8], rbx
mov qword [rbx], rbx
mov qword [rbx + 0x10], rbx
mov qword [0x1400eaef8], r15
mov rdx, qword [0x1400eb710]
test rdx, rdx
je 0x1400576ab
add rdx, 0x458
mov rcx, rsi
call fcn.140051700
mov rbx, qword [0x1400eb838]
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], r14b
jne 0x1400577fa
movabs r12, 0x7fffffffffffffff
lea r13, [0x1400ca648]
mov rcx, qword [rbx + 0x30]
mov rax, r12
sub rax, rcx
cmp rax, 1
jb 0x140057ed9
lea r9, [rbx + 0x20]
cmp qword [rbx + 0x38], 0xf
jbe 0x1400576f3
mov r9, qword [rbx + 0x20]
mov qword [rsp + 0x30], 1
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x20]
call fcn.140026c80
or r14d, 4
lea rdx, [rbx + 0x40]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x140057725
mov rdx, qword [rdx]
lea rcx, [rbp - 0x20]
call fcn.140022cd0
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.14004af60
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x1400577aa
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400577a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140057ed3
call fcn.14007dbe0
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x1400577d8
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1400577d3
nop
cmp rbx, qword [rax + 0x10]
jne 0x1400577d3
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1400577c0
mov rbx, rax
jmp 0x1400577f0
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x1400577f0
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1400577e4
cmp byte [rbx + 0x19], 0
je 0x1400576d0
mov rbx, qword [rsi + 0x198]
mov r8, qword [rbx + 8]
lea rdx, [rsi + 0x198]
lea rcx, [rsi + 0x198]
call fcn.14005b260
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 r13, [rbx + 0x70]
mov r8, r15
lea rdx, [rsp + 0x60]
mov rcx, r13
call fcn.14005b380
mov r12d, 7
mov r9, qword [rsp + 0x70]
cmp byte [r9 + 0x19], 0
jne 0x140057877
lea r8, [r9 + 0x20]
mov rdx, r15
call fcn.14005b490
test al, al
je 0x140057957
movabs rax, 0x1c71c71c71c71c7
cmp qword [r13 + 8], rax
je 0x140057ecd
mov rsi, qword [r13]
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], 0
mov ecx, 0x90
call fcn.14007dc14
mov rdi, rax
mov qword [rbp - 0x18], rax
lea rbx, [rax + 0x20]
mov qword [rsp + 0x58], rbx
mov rdx, r15
mov rcx, rbx
call fcn.140021ca0
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], r12
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.14007dc14
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.14005b1f0
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 - 0x20], xmm0
mov r8, rdi
lea rdx, [rbp - 0x20]
mov rcx, r13
call fcn.1400263c0
mov r9, rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
lea rcx, [r9 + 0x40]
cmp rcx, r15
je 0x140057976
mov r8, qword [r15 + 0x10]
cmp qword [r15 + 0x18], 7
jbe 0x14005796e
mov r15, qword [r15]
mov rdx, r15
call fcn.140021a80
mov byte [rbx + 0x80], 0
mov ecx, 0x10
call fcn.14007dc14
mov qword [rax], rbx
lea rcx, [0x14005adb0]
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, [0x14005b500]
xor edx, edx
xor ecx, ecx
call fcn.140090754
mov qword [rbp - 0x80], rax
test rax, rax
je 0x140057ebf
cmp dword [rbp - 0x78], edi
je 0x140057eb4
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.14007cf50
test eax, eax
jne 0x140057eb4
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.14007dc14
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x50], SafeArrayUnaccessData
mov qword [rbp - 0x48], 0x1f
movups xmm0, xmmword [str.Begin_initialization.]
movups xmmword [rax], xmm0
mov ecx, dword [0x1400cffc8]
mov dword [rax + 0x10], ecx
movzx ecx, byte [0x1400cffcc]
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 0x140057a59
mov rdx, qword [rbp - 0x60]
add r9, rdx
jmp 0x140057a60
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 0x140057a8e
mov r8, rdi
mov qword [rsp + 0x70], rdi
mov rax, r12
mov qword [rsp + 0x78], rax
mov word [rsp + 0x60], di
jmp 0x140057aa5
sub r9, rdx
lea rcx, [rsp + 0x60]
call fcn.1400276c0
mov rax, qword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
lea rdx, [rsp + 0x60]
cmp rax, 7
cmova rdx, qword [rsp + 0x60]
call fcn.1400273e0
mov rcx, rax
call fcn.140023d40
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x140057b05
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057aff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140057edf
call fcn.14007dbe0
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x140057b40
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057b3b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140057ee5
call fcn.14007dbe0
call fcn.140065c40
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], rdi
mov ecx, 0x20
call fcn.14007dc14
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x30], SafeArrayUnaccessData
mov qword [rbp - 0x28], 0x1f
movups xmm0, xmmword [str.Trainer_initialized_]
movups xmmword [rax], xmm0
mov ecx, dword [0x1400cffe0]
mov dword [rax + 0x10], ecx
mov byte [rax + 0x14], 0
lea rcx, [rbp - 0x40]
mov r9, qword [rbp - 0x30]
cmp qword [rbp - 0x28], 0xf
jbe 0x140057ba1
mov rdx, qword [rbp - 0x40]
add r9, rdx
jmp 0x140057ba8
add r9, rcx
lea rdx, [rbp - 0x40]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rdi
cmp rdx, r9
jne 0x140057bd3
mov r8, rdi
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], r12
mov word [rsp + 0x60], di
jmp 0x140057bea
sub r9, rdx
lea rcx, [rsp + 0x60]
call fcn.1400276c0
mov r12, qword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
lea rdx, [rsp + 0x60]
cmp r12, 7
cmova rdx, qword [rsp + 0x60]
call fcn.1400273e0
mov rcx, rax
call fcn.140023d40
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x140057c4a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057c44
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140057eeb
call fcn.14007dbe0
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140057c85
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057c80
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140057ef1
call fcn.14007dbe0
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rdi
xor r8d, r8d
lea rdx, [0x1400ca448]
lea rcx, [rsp + 0x60]
call fcn.140008270
lea rdx, [rsp + 0x60]
lea rcx, [rsi + 0x70]
call fcn.14005caa0
mov r8, rax
cmp rax, 0xffffffffffffffff
je 0x140057d1b
lea r9, [rbp - 0xb]
movabs r10, 0xcccccccccccccccd
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 0x140057cd0
lea r8, [rbp - 0xb]
mov rdx, r9
lea rcx, [rbp]
call fcn.140027140
or r14d, 0xc0
lea rcx, [rbp]
or r14d, 1
jmp 0x140057d48
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], 1
mov qword [rbp - 0x68], reloc.OLEAUT32.dll_SafeArrayDestroy
movzx eax, word [0x1400ca49c]
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.140021f80
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.140004100
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140057dde
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057dd9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140057ef7
call fcn.14007dbe0
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rsp + 0x60], 0
test r14b, 2
je 0x140057e46
and r14d, 0xfffffffd
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x140057e36
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057e31
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140057efd
call fcn.14007dbe0
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbp - 0x80], 0
test r14b, 1
je 0x140057e87
mov rdx, qword [rbp + 0x18]
cmp rdx, 0xf
jbe 0x140057e87
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057e82
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140057f03
call fcn.14007dbe0
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.14007dbc0
lea r11, [rsp + 0x130]
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.14007c71c
nop
mov dword [rbp - 0x78], edi
mov ecx, 6
call fcn.14007c71c
nop
call fcn.1400029e0
int3
call fcn.140084cd0
int3
call fcn.140002790
nop
call fcn.140084cd0
nop
call fcn.140084cd0
nop
call fcn.140084cd0
nop
call fcn.140084cd0
nop
call fcn.140084cd0
nop
call fcn.140084cd0
nop
call fcn.140084cd0
int3