Function at 0x140058470
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 [0x1400e6080]
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.140059880
mov qword [rbx + 8], rbx
mov qword [rbx], rbx
mov qword [rbx + 0x10], rbx
mov qword [rsi + 8], r15
mov rbx, qword [0x1400e9f20]
mov r8, qword [rbx + 8]
lea rdx, [0x1400e9f20]
lea rcx, [0x1400e9f20]
call fcn.1400323a0
mov qword [rbx + 8], rbx
mov qword [rbx], rbx
mov qword [rbx + 0x10], rbx
mov qword [0x1400e9f28], r15
lea rcx, [rsi + 0x1b8]
call fcn.140050a70
lea rcx, [rsi + 0x268]
call fcn.14005f620
mov qword [rsi + 0x120], r15
mov rbx, qword [0x1400ea820]
mov r8, qword [rbx + 8]
lea rdx, [0x1400ea820]
lea rcx, [0x1400ea820]
call fcn.140025130
mov qword [rbx + 8], rbx
mov qword [rbx], rbx
mov qword [rbx + 0x10], rbx
mov qword [0x1400ea828], r15
mov rcx, qword [0x1400ea690]
mov rdx, qword [0x1400ea698]
cmp rcx, rdx
je 0x140058578
call fcn.140019ff0
mov rax, qword [0x1400ea690]
mov qword [0x1400ea698], rax
mov rbx, qword [0x1400e9ec0]
mov r8, qword [rbx + 8]
lea rdx, [0x1400e9ec0]
lea rcx, [0x1400e9ec0]
call fcn.140025130
mov qword [rbx + 8], rbx
mov qword [rbx], rbx
mov qword [rbx + 0x10], rbx
mov qword [0x1400e9ec8], r15
mov rdx, qword [0x1400ea6e0]
test rdx, rdx
je 0x1400585c3
add rdx, 0x458
mov rcx, rsi
call fcn.140052570
mov rbx, qword [0x1400ea808]
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], r14b
jne 0x14005871a
movabs r12, 0x7fffffffffffffff
lea r13, [0x1400cc6b8]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x30]
mov rax, r12
sub rax, rcx
cmp rax, 1
jb 0x140058e34
lea r9, [rbx + 0x20]
cmp qword [rbx + 0x38], 0xf
jbe 0x140058613
mov r9, qword [rbx + 0x20]
mov qword [rsp + 0x30], 1
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x80]
call fcn.140026f10
or r14d, 4
lea rdx, [rbx + 0x40]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x140058645
mov rdx, qword [rdx]
lea rcx, [rbp - 0x80]
call fcn.140022f60
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.14004b500
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x1400586ca
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400586c5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140058e2e
call fcn.14007f8a0
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x1400586f8
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1400586f3
nop
cmp rbx, qword [rax + 0x10]
jne 0x1400586f3
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1400586e0
mov rbx, rax
jmp 0x140058710
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x140058710
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140058704
cmp byte [rbx + 0x19], 0
je 0x1400585f0
mov rbx, qword [rsi + 0x198]
mov r8, qword [rbx + 8]
lea rdx, [rsi + 0x198]
lea rcx, [rsi + 0x198]
call fcn.14005c1c0
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.14005c2e0
mov r12d, 7
mov r9, qword [rsp + 0x70]
cmp byte [r9 + 0x19], 0
jne 0x140058797
lea r8, [r9 + 0x20]
mov rdx, r15
call fcn.14005c3f0
test al, al
je 0x140058877
movabs rax, 0x1c71c71c71c71c7
cmp qword [r13 + 8], rax
je 0x140058e28
mov rsi, qword [r13]
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], 0
mov ecx, 0x90
call fcn.14007f8d4
mov rdi, rax
mov qword [rbp - 0x78], rax
lea rbx, [rax + 0x20]
mov qword [rsp + 0x58], rbx
mov rdx, r15
mov rcx, rbx
call fcn.140021e70
nop
add rbx, 0x20
mov qword [rbp - 0x60], 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.14007f8d4
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.14005c150
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 - 0x80], xmm0
mov r8, rdi
lea rdx, [rbp - 0x80]
mov rcx, r13
call fcn.140026650
mov r9, rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
lea rcx, [r9 + 0x40]
cmp rcx, r15
je 0x140058896
mov r8, qword [r15 + 0x10]
cmp qword [r15 + 0x18], 7
jbe 0x14005888e
mov r15, qword [r15]
mov rdx, r15
call fcn.140021c50
mov byte [rbx + 0x80], 0
mov ecx, 0x10
call fcn.14007f8d4
mov qword [rax], rbx
lea rcx, [0x14005bd10]
mov qword [rax + 8], rcx
mov qword [rsp + 0x48], rax
or r14d, 0x10
lea rcx, [rbp - 0x58]
mov qword [rsp + 0x28], rcx
xor edi, edi
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x14005c460]
xor edx, edx
xor ecx, ecx
call fcn.140092414
mov qword [rbp - 0x60], rax
test rax, rax
je 0x140058e1a
cmp dword [rbp - 0x58], edi
je 0x140058e0f
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x80], xmm0
lea rcx, [rbp - 0x80]
call fcn.14007ec10
test eax, eax
jne 0x140058e0f
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x60], xmm0
lea ecx, [rdi + 0x10]
call fcn.14007f8d4
lea rcx, [rsi + 0x268]
mov qword [rax], rcx
lea rcx, [0x14005fa30]
mov qword [rax + 8], rcx
mov qword [rsp + 0x48], rax
or r14d, 0x20
lea rcx, [rbp - 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x14005c460]
xor edx, edx
xor ecx, ecx
call fcn.140092414
mov qword [rbp - 0x60], rax
test rax, rax
je 0x140058e6f
cmp dword [rbp - 0x58], edi
je 0x140058e64
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x80], xmm0
lea rcx, [rbp - 0x80]
call fcn.14007ec10
test eax, eax
jne 0x140058e64
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], rdi
lea ecx, [rdi + 0x20]
call fcn.14007f8d4
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x30], SafeArrayUnaccessData
mov qword [rbp - 0x28], 0x1f
movups xmm0, xmmword [str.Begin_initialization.]
movups xmmword [rax], xmm0
mov ecx, dword [0x1400d2088]
mov dword [rax + 0x10], ecx
movzx ecx, byte [0x1400d208c]
mov byte [rax + 0x14], cl
mov byte [rax + 0x15], dil
lea rcx, [rbp - 0x40]
mov r9, qword [rbp - 0x30]
cmp qword [rbp - 0x28], 0xf
jbe 0x1400589f7
mov rdx, qword [rbp - 0x40]
add r9, rdx
jmp 0x1400589fe
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 0x140058a2c
mov r8, rdi
mov qword [rsp + 0x70], rdi
mov rax, r12
mov qword [rsp + 0x78], rax
mov word [rsp + 0x60], di
jmp 0x140058a43
sub r9, rdx
lea rcx, [rsp + 0x60]
call fcn.140027950
mov rax, qword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
lea rdx, [rsp + 0x60]
cmp rax, 7
cmova rdx, qword [rsp + 0x60]
call fcn.140027670
mov rcx, rax
call fcn.140023fd0
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x140058aa3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058a9d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140058e3a
call fcn.14007f8a0
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140058ade
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058ad9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140058e40
call fcn.14007f8a0
mov rcx, rsi
call fcn.140068370
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], rdi
mov ecx, 0x20
call fcn.14007f8d4
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x10], SafeArrayUnaccessData
mov qword [rbp - 8], 0x1f
movups xmm0, xmmword [str.Trainer_initialized_]
movups xmmword [rax], xmm0
mov ecx, dword [0x1400d20a0]
mov dword [rax + 0x10], ecx
mov byte [rax + 0x14], 0
lea rcx, [rbp - 0x20]
mov r9, qword [rbp - 0x10]
cmp qword [rbp - 8], 0xf
jbe 0x140058b42
mov rdx, qword [rbp - 0x20]
add r9, rdx
jmp 0x140058b49
add r9, rcx
lea rdx, [rbp - 0x20]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rdi
cmp rdx, r9
jne 0x140058b74
mov r8, rdi
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], r12
mov word [rsp + 0x60], di
jmp 0x140058b8b
sub r9, rdx
lea rcx, [rsp + 0x60]
call fcn.140027950
mov r12, qword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
lea rdx, [rsp + 0x60]
cmp r12, 7
cmova rdx, qword [rsp + 0x60]
call fcn.140027670
mov rcx, rax
call fcn.140023fd0
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x140058beb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058be5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140058e46
call fcn.14007f8a0
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x140058c26
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058c21
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140058e4c
call fcn.14007f8a0
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rdi
xor r8d, r8d
lea rdx, [0x1400cc4b8]
lea rcx, [rsp + 0x60]
call fcn.140008270
lea rdx, [rsp + 0x60]
lea rcx, [rsi + 0x70]
call fcn.14005da00
cmp rax, 0xffffffffffffffff
je 0x140058c73
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.140002920
nop
or r14d, 1
jmp 0x140058ca0
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], 1
mov qword [rbp - 0x68], reloc.OLEAUT32.dll_SafeArrayDestroy
movzx eax, word [0x1400cc50c]
mov byte [rbp - 0x80], al
mov byte [rbp - 0x7f], 0
lea rax, [rbp - 0x80]
or r14d, 2
mov dword [rsp + 0x40], r14d
lea r8, str.Game_Version:
xor edx, edx
mov rcx, rax
call fcn.140022210
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, 0x40
mov dword [rsp + 0x40], r14d
lea rcx, [rsp + 0x60]
call fcn.1400041a0
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140058d39
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058d34
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140058e52
call fcn.14007f8a0
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rsp + 0x60], 0
test r14b, 2
je 0x140058da1
and r14d, 0xfffffffd
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x140058d91
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058d8c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140058e58
call fcn.14007f8a0
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbp - 0x80], 0
test r14b, 1
je 0x140058de2
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x140058de2
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058ddd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140058e5e
call fcn.14007f8a0
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.14007f880
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.14007e3dc
nop
mov dword [rbp - 0x58], edi
mov ecx, 6
call fcn.14007e3dc
nop
call fcn.140002a80
int3
call fcn.140086990
int3
call fcn.1400027b0
nop
call fcn.140086990
nop
call fcn.140086990
nop
call fcn.140086990
nop
call fcn.140086990
nop
call fcn.140086990
nop
call fcn.140086990
nop
call fcn.140086990
nop
mov ecx, 1
call fcn.14007e3dc
nop
mov dword [rbp - 0x58], edi
mov ecx, 6
call fcn.14007e3dc
int3