Function at 0x140052660
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 [0x1400d50c0]
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.1400534b0
mov qword [rbx + 8], rbx
mov qword [rbx], rbx
mov qword [rbx + 0x10], rbx
mov qword [rsi + 8], r15
mov rbx, qword [0x1400d8da0]
mov r8, qword [rbx + 8]
lea rdx, [0x1400d8da0]
lea rcx, [0x1400d8da0]
call fcn.14002c610
mov qword [rbx + 8], rbx
mov qword [rbx], rbx
mov qword [rbx + 0x10], rbx
mov qword [0x1400d8da8], r15
lea rcx, [rsi + 0x1b8]
call fcn.14004af20
lea rcx, [rsi + 0x268]
call fcn.1400583e0
mov qword [rsi + 0x120], r15
mov rbx, qword [0x1400d8d30]
mov r8, qword [rbx + 8]
lea rdx, [0x1400d8d30]
lea rcx, [0x1400d8d30]
call fcn.14001ff50
mov qword [rbx + 8], rbx
mov qword [rbx], rbx
mov qword [rbx + 0x10], rbx
mov qword [0x1400d8d38], r15
mov rcx, qword [0x1400d9358]
mov rdx, qword [0x1400d9360]
cmp rcx, rdx
je 0x140052768
call fcn.140015a30
mov rax, qword [0x1400d9358]
mov qword [0x1400d9360], rax
mov rbx, qword [0x1400d8d40]
mov r8, qword [rbx + 8]
lea rdx, [0x1400d8d40]
lea rcx, [0x1400d8d40]
call fcn.14001ff50
mov qword [rbx + 8], rbx
mov qword [rbx], rbx
mov qword [rbx + 0x10], rbx
mov qword [0x1400d8d48], r15
mov rdx, qword [0x1400d8c00]
test rdx, rdx
je 0x1400527b3
add rdx, 0x458
mov rcx, rsi
call fcn.14004c8f0
mov rbx, qword [0x1400d9270]
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], r14b
jne 0x14005290a
movabs r12, 0x7fffffffffffffff
lea r13, [0x1400ba4b8]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x30]
mov rax, r12
sub rax, rcx
cmp rax, 1
jb 0x140053076
lea r9, [rbx + 0x20]
cmp qword [rbx + 0x38], 0xf
jbe 0x140052803
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.1400212f0
or r14d, 4
lea rdx, [rbx + 0x40]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x140052835
mov rdx, qword [rdx]
lea rcx, [rbp - 0x40]
call fcn.14001e4c0
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.1400453f0
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x1400528ba
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400528b5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140053070
call fcn.14006f4c0
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x1400528e8
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1400528e3
nop
cmp rbx, qword [rax + 0x10]
jne 0x1400528e3
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1400528d0
mov rbx, rax
jmp 0x140052900
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x140052900
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1400528f4
cmp byte [rbx + 0x19], 0
je 0x1400527e0
mov rbx, qword [rsi + 0x198]
mov r8, qword [rbx + 8]
lea rdx, [rsi + 0x198]
lea rcx, [rsi + 0x198]
call fcn.140055150
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.140055270
mov r13d, 7
mov r9, qword [rsp + 0x70]
cmp byte [r9 + 0x19], 0
jne 0x140052987
lea r8, [r9 + 0x20]
mov rdx, r15
call fcn.140055380
test al, al
je 0x140052a68
movabs rax, 0x1c71c71c71c71c7
cmp qword [r12 + 8], rax
je 0x14005306a
mov rsi, qword [r12]
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], 0
mov ecx, 0x90
call fcn.14006f4f4
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.14001d5b0
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.14006f4f4
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.1400550e0
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, r12
call fcn.140020fb0
mov r9, rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
lea rcx, [r9 + 0x40]
cmp rcx, r15
je 0x140052a87
mov r8, qword [r15 + 0x10]
cmp qword [r15 + 0x18], 7
jbe 0x140052a7f
mov r15, qword [r15]
mov rdx, r15
call fcn.14001d3b0
mov byte [rbx + 0x80], 0
mov ecx, 0x10
call fcn.14006f4f4
mov qword [rax], rbx
lea rcx, [0x140054ca0]
mov qword [rax + 8], rcx
mov qword [rsp + 0x48], rax
or r14d, 0x10
lea rcx, [rbp - 0x78]
mov qword [rsp + 0x28], rcx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x1400553f0]
xor edx, edx
xor ecx, ecx
call fcn.140082034
mov qword [rbp - 0x80], rax
test rax, rax
je 0x14005305b
cmp dword [rbp - 0x78], r15d
je 0x140053050
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.14006e830
test eax, eax
jne 0x140053050
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x80], xmm0
lea ecx, [rax + 0x10]
call fcn.14006f4f4
lea rcx, [rsi + 0x268]
mov qword [rax], rcx
lea rcx, [0x1400587f0]
mov qword [rax + 8], rcx
mov qword [rsp + 0x48], rax
or r14d, 0x20
lea rcx, [rbp - 0x78]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x1400553f0]
xor edx, edx
xor ecx, ecx
call fcn.140082034
mov qword [rbp - 0x80], rax
test rax, rax
je 0x1400530ab
cmp dword [rbp - 0x78], r15d
je 0x1400530a0
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.14006e830
test eax, eax
jne 0x1400530a0
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], r15
lea ecx, [rax + 0x20]
call fcn.14006f4f4
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 [0x1400bfdd0]
mov dword [rax + 0x10], ecx
movzx ecx, byte [0x1400bfdd4]
mov byte [rax + 0x14], cl
mov byte [rax + 0x15], r15b
lea rcx, [rbp - 0x60]
mov r9, qword [rbp - 0x50]
cmp qword [rbp - 0x48], 0xf
jbe 0x140052bed
mov rdx, qword [rbp - 0x60]
add r9, rdx
jmp 0x140052bf4
add r9, rcx
lea rdx, [rbp - 0x60]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r15
cmp rdx, r9
jne 0x140052c20
mov r8, r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r13
mov word [rsp + 0x60], r15w
jmp 0x140052c37
sub r9, rdx
lea rcx, [rsp + 0x60]
call fcn.140021930
mov r13, qword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
lea rdx, [rsp + 0x60]
cmp r13, 7
cmova rdx, qword [rsp + 0x60]
call fcn.140021650
mov rcx, rax
call fcn.14001f310
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x140052c97
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052c91
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005307c
call fcn.14006f4c0
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x140052cd2
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052ccd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140053082
call fcn.14006f4c0
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r15
mov edi, reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rsp + 0x78], rdi
mov byte [rsp + 0x60], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
mov r8, qword [rsi + 0x3b8]
lea rcx, [rsi + 0x3a8]
cmp qword [rsi + 0x3c0], rdi
jbe 0x140052d16
mov rcx, qword [rsi + 0x3a8]
cmp r8, 0xe
jne 0x140052d5c
lea rdx, str.set_game_speed
call fcn.140096b20
test eax, eax
jne 0x140052d5c
lea r8, [rsi + 0x3a8]
lea rdx, [rbp - 0x20]
mov rcx, rsi
call fcn.140020010
mov rcx, qword [rax]
mov dword [rcx + 0x40], 5
mov dword [rcx + 0x74], 0x3e8
mov dword [rcx + 0x78], 0x3e8
mov rdi, qword [rsp + 0x78]
cmp rdi, 0xf
jbe 0x140052d95
lea rdx, [rdi + 1]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052d90
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140053088
call fcn.14006f4c0
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r15
mov qword [rsp + 0x40], 0x1f
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140015890
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x70], SafeArrayUnaccessData
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x78], rcx
movups xmm0, xmmword [str.Trainer_initialized_]
movups xmmword [rax], xmm0
mov ecx, dword [0x1400bfde8]
mov dword [rax + 0x10], ecx
mov byte [rax + 0x14], 0
lea rcx, [rsp + 0x60]
call fcn.140002d00
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140052e36
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052e31
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005308e
call fcn.14006f4c0
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r15
xor r8d, r8d
lea rdx, [0x1400ba348]
lea rcx, [rsp + 0x60]
call fcn.140004ac0
lea rdx, [rsp + 0x60]
lea rcx, [rsi + 0x70]
call fcn.140056990
mov r8, rax
cmp rax, 0xffffffffffffffff
je 0x140052edb
lea r9, [rbp - 0xb]
movabs r10, 0xcccccccccccccccd
nop dword [rax]
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 0x140052e90
lea r8, [rbp - 0xb]
mov rdx, r9
lea rcx, [rbp - 0x40]
call fcn.140021510
or r14d, 0x180
lea rcx, [rbp - 0x40]
or r14d, 1
jmp 0x140052f08
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], 1
mov qword [rbp - 0x68], reloc.OLEAUT32.dll_SafeArrayDestroy
movzx eax, word [0x1400ba374]
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.14001d7b0
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, 0x40
mov dword [rsp + 0x40], r14d
lea rcx, [rsp + 0x60]
call fcn.140002d00
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140052f9e
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052f99
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140053094
call fcn.14006f4c0
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rsp + 0x60], 0
test r14b, 2
je 0x140053006
and r14d, 0xfffffffd
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x140052ff6
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052ff1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005309a
call fcn.14006f4c0
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbp - 0x80], 0
test r14b, 1
je 0x140053023
mov r8, qword [rbp - 0x28]
cmp r8, 0xf
jbe 0x140053023
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x40]
call fcn.14001ec10
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.14006f4a0
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.14006e498
nop
mov dword [rbp - 0x78], r15d
mov ecx, 6
call fcn.14006e498
nop
call fcn.1400018c0
int3
call fcn.1400765b0
int3
call fcn.1400017e0
nop
call fcn.1400765b0
nop
call fcn.1400765b0
int3
call fcn.1400765b0
int3
call fcn.1400765b0
nop
call fcn.1400765b0
nop
call fcn.1400765b0
nop
mov ecx, 1
call fcn.14006e498
nop
mov dword [rbp - 0x78], r15d
mov ecx, 6
call fcn.14006e498
int3