Function at 0x140059590
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 [0x1400ec080]
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.14005a9d0
mov qword [rbx + 8], rbx
mov qword [rbx], rbx
mov qword [rbx + 0x10], rbx
mov qword [rsi + 8], r15
mov rbx, qword [0x1400eff40]
mov r8, qword [rbx + 8]
lea rdx, [0x1400eff40]
lea rcx, [0x1400eff40]
call fcn.1400335d0
mov qword [rbx + 8], rbx
mov qword [rbx], rbx
mov qword [rbx + 0x10], rbx
mov qword [0x1400eff48], r15
lea rcx, [rsi + 0x1b8]
call fcn.140051cf0
lea rcx, [rsi + 0x268]
call fcn.140060770
mov qword [rsi + 0x120], r15
mov rbx, qword [0x1400efed0]
mov r8, qword [rbx + 8]
lea rdx, [0x1400efed0]
lea rcx, [0x1400efed0]
call fcn.1400261b0
mov qword [rbx + 8], rbx
mov qword [rbx], rbx
mov qword [rbx + 0x10], rbx
mov qword [0x1400efed8], r15
mov rcx, qword [0x1400f0a30]
mov rdx, qword [0x1400f0a38]
cmp rcx, rdx
je 0x140059698
call fcn.14001b270
mov rax, qword [0x1400f0a30]
mov qword [0x1400f0a38], rax
mov rbx, qword [0x1400efee0]
mov r8, qword [rbx + 8]
lea rdx, [0x1400efee0]
lea rcx, [0x1400efee0]
call fcn.1400261b0
mov qword [rbx + 8], rbx
mov qword [rbx], rbx
mov qword [rbx + 0x10], rbx
mov qword [0x1400efee8], r15
mov rdx, qword [0x1400f0a80]
test rdx, rdx
je 0x1400596e3
add rdx, 0x458
mov rcx, rsi
call fcn.140053630
mov rbx, qword [0x1400f0ba8]
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], r14b
jne 0x14005983a
movabs r12, 0x7fffffffffffffff
lea r13, [0x1400cbc78]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x30]
mov rax, r12
sub rax, rcx
cmp rax, 1
jb 0x140059f85
lea r9, [rbx + 0x20]
cmp qword [rbx + 0x38], 0xf
jbe 0x140059733
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.140028140
or r14d, 4
lea rdx, [rbx + 0x40]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x140059765
mov rdx, qword [rdx]
lea rcx, [rbp - 0x20]
call fcn.140024190
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.14004c780
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x1400597ea
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400597e5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140059f7f
call fcn.140081630
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x140059818
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x140059813
nop
cmp rbx, qword [rax + 0x10]
jne 0x140059813
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140059800
mov rbx, rax
jmp 0x140059830
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x140059830
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140059824
cmp byte [rbx + 0x19], 0
je 0x140059710
mov rbx, qword [rsi + 0x198]
mov r8, qword [rbx + 8]
lea rdx, [rsi + 0x198]
lea rcx, [rsi + 0x198]
call fcn.14005d310
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.14005d430
mov r12d, 7
mov r9, qword [rsp + 0x70]
cmp byte [r9 + 0x19], 0
jne 0x1400598b7
lea r8, [r9 + 0x20]
mov rdx, r15
call fcn.14005d540
test al, al
je 0x140059997
movabs rax, 0x1c71c71c71c71c7
cmp qword [r13 + 8], rax
je 0x140059f79
mov rsi, qword [r13]
mov qword [rbp], r13
mov qword [rbp + 8], 0
mov ecx, 0x90
call fcn.140081664
mov rdi, rax
mov qword [rbp + 8], rax
lea rbx, [rax + 0x20]
mov qword [rsp + 0x58], rbx
mov rdx, r15
mov rcx, rbx
call fcn.140023160
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.140081664
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.14005d2a0
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], xmm0
mov r8, rdi
lea rdx, [rbp]
mov rcx, r13
call fcn.140027880
mov r9, rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
lea rcx, [r9 + 0x40]
cmp rcx, r15
je 0x1400599b6
mov r8, qword [r15 + 0x10]
cmp qword [r15 + 0x18], 7
jbe 0x1400599ae
mov r15, qword [r15]
mov rdx, r15
call fcn.140022f40
mov byte [rbx + 0x80], 0
mov ecx, 0x10
call fcn.140081664
mov qword [rax], rbx
lea rcx, [0x14005ce60]
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, [0x14005d5b0]
xor edx, edx
xor ecx, ecx
call fcn.1400919fc
mov qword [rbp - 0x80], rax
test rax, rax
je 0x140059f6b
cmp dword [rbp - 0x78], edi
je 0x140059f60
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp], xmm0
lea rcx, [rbp]
call fcn.1400809a0
test eax, eax
jne 0x140059f60
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x80], xmm0
lea ecx, [rdi + 0x10]
call fcn.140081664
lea rcx, [rsi + 0x268]
mov qword [rax], rcx
lea rcx, [0x140060b80]
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], edi
mov r9, rax
lea r8, [0x14005d5b0]
xor edx, edx
xor ecx, ecx
call fcn.1400919fc
mov qword [rbp - 0x80], rax
test rax, rax
je 0x140059fba
cmp dword [rbp - 0x78], edi
je 0x140059faf
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp], xmm0
lea rcx, [rbp]
call fcn.1400809a0
test eax, eax
jne 0x140059faf
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.140081664
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 [0x1400d1638]
mov dword [rax + 0x10], ecx
movzx ecx, byte [0x1400d163c]
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 0x140059b17
mov rdx, qword [rbp - 0x60]
add r9, rdx
jmp 0x140059b1e
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 0x140059b4c
mov r8, rdi
mov qword [rsp + 0x70], rdi
mov rax, r12
mov qword [rsp + 0x78], rax
mov word [rsp + 0x60], di
jmp 0x140059b63
sub r9, rdx
lea rcx, [rsp + 0x60]
call fcn.140028b80
mov rax, qword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
lea rdx, [rsp + 0x60]
cmp rax, 7
cmova rdx, qword [rsp + 0x60]
call fcn.1400288a0
mov rcx, rax
call fcn.140025200
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x140059bc3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059bbd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140059f8b
call fcn.140081630
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x140059bfe
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059bf9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140059f91
call fcn.140081630
mov rcx, rsi
call fcn.1400695e0
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], rdi
mov ecx, 0x20
call fcn.140081664
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 [0x1400d1650]
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 0x140059c62
mov rdx, qword [rbp - 0x40]
add r9, rdx
jmp 0x140059c69
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 0x140059c94
mov r8, rdi
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], r12
mov word [rsp + 0x60], di
jmp 0x140059cab
sub r9, rdx
lea rcx, [rsp + 0x60]
call fcn.140028b80
mov r12, qword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
lea rdx, [rsp + 0x60]
cmp r12, 7
cmova rdx, qword [rsp + 0x60]
call fcn.1400288a0
mov rcx, rax
call fcn.140025200
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x140059d0b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059d05
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140059f97
call fcn.140081630
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140059d46
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059d41
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140059f9d
call fcn.140081630
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rdi
xor r8d, r8d
lea rdx, [0x1400cba78]
lea rcx, [rsp + 0x60]
call fcn.140009680
lea rdx, [rsp + 0x60]
lea rcx, [rsi + 0x70]
call fcn.14005eb50
mov r8, rax
cmp rax, 0xffffffffffffffff
je 0x140059deb
lea r9, [rbp + 0x15]
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 0x140059da0
lea r8, [rbp + 0x15]
mov rdx, r9
lea rcx, [rbp - 0x20]
call fcn.140028600
or r14d, 0x180
lea rcx, [rbp - 0x20]
or r14d, 1
jmp 0x140059e18
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], 1
mov qword [rbp - 0x68], reloc.OLEAUT32.dll_SafeArrayDestroy
movzx eax, word [0x1400cbacc]
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.140023440
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.140005510
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140059eae
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059ea9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140059fa3
call fcn.140081630
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rsp + 0x60], 0
test r14b, 2
je 0x140059f16
and r14d, 0xfffffffd
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x140059f06
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059f01
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140059fa9
call fcn.140081630
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbp - 0x80], 0
test r14b, 1
je 0x140059f33
mov r8, qword [rbp - 8]
cmp r8, 0xf
jbe 0x140059f33
mov rdx, qword [rbp - 0x20]
lea rcx, [rbp - 0x20]
call fcn.140024c40
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140081610
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.14008016c
nop
mov dword [rbp - 0x78], edi
mov ecx, 6
call fcn.14008016c
nop
call fcn.140003df0
int3
call fcn.140088544
int3
call fcn.140003ba0
nop
call fcn.140088544
nop
call fcn.140088544
nop
call fcn.140088544
nop
call fcn.140088544
nop
call fcn.140088544
nop
call fcn.140088544
nop
mov ecx, 1
call fcn.14008016c
nop
mov dword [rbp - 0x78], edi
mov ecx, 6
call fcn.14008016c
int3