Function at 0x140053960
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 [0x1400dc0c0]
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.1400548e0
mov qword [rbx + 8], rbx
mov qword [rbx], rbx
mov qword [rbx + 0x10], rbx
mov qword [rsi + 8], r15
mov rbx, qword [0x1400dfdd0]
mov r8, qword [rbx + 8]
lea rdx, [0x1400dfdd0]
lea rcx, [0x1400dfdd0]
call fcn.14002d600
mov qword [rbx + 8], rbx
mov qword [rbx], rbx
mov qword [rbx + 0x10], rbx
mov qword [0x1400dfdd8], r15
lea rcx, [rsi + 0x1b8]
call fcn.14004be70
lea rcx, [rsi + 0x268]
call fcn.140059970
mov qword [rsi + 0x120], r15
mov rbx, qword [0x1400dfd60]
mov r8, qword [rbx + 8]
lea rdx, [0x1400dfd60]
lea rcx, [0x1400dfd60]
call fcn.140020f90
mov qword [rbx + 8], rbx
mov qword [rbx], rbx
mov qword [rbx + 0x10], rbx
mov qword [0x1400dfd68], r15
mov rcx, qword [0x1400e04e8]
mov rdx, qword [0x1400e04f0]
cmp rcx, rdx
je 0x140053a68
call fcn.140016610
mov rax, qword [0x1400e04e8]
mov qword [0x1400e04f0], rax
mov rbx, qword [0x1400dfd70]
mov r8, qword [rbx + 8]
lea rdx, [0x1400dfd70]
lea rcx, [0x1400dfd70]
call fcn.140020f90
mov qword [rbx + 8], rbx
mov qword [rbx], rbx
mov qword [rbx + 0x10], rbx
mov qword [0x1400dfd78], r15
mov rdx, qword [0x1400dfc30]
test rdx, rdx
je 0x140053ab3
add rdx, 0x458
mov rcx, rsi
call fcn.14004d9b0
mov rbx, qword [0x1400e02a0]
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], r14b
jne 0x140053c0a
movabs r12, 0x7fffffffffffffff
lea r13, [0x1400c3518]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x30]
mov rax, r12
sub rax, rcx
cmp rax, 1
jb 0x140054355
lea r9, [rbx + 0x20]
cmp qword [rbx + 0x38], 0xf
jbe 0x140053b03
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.140022330
or r14d, 4
lea rdx, [rbx + 0x40]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x140053b35
mov rdx, qword [rdx]
lea rcx, [rbp - 0x20]
call fcn.14001f4a0
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.140046340
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x140053bba
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140053bb5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005434f
call fcn.140077e40
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x140053be8
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x140053be3
nop
cmp rbx, qword [rax + 0x10]
jne 0x140053be3
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140053bd0
mov rbx, rax
jmp 0x140053c00
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x140053c00
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140053bf4
cmp byte [rbx + 0x19], 0
je 0x140053ae0
mov rbx, qword [rsi + 0x198]
mov r8, qword [rbx + 8]
lea rdx, [rsi + 0x198]
lea rcx, [rsi + 0x198]
call fcn.1400566e0
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.140056800
mov r12d, 7
mov r9, qword [rsp + 0x70]
cmp byte [r9 + 0x19], 0
jne 0x140053c87
lea r8, [r9 + 0x20]
mov rdx, r15
call fcn.140056910
test al, al
je 0x140053d67
movabs rax, 0x1c71c71c71c71c7
cmp qword [r13 + 8], rax
je 0x140054349
mov rsi, qword [r13]
mov qword [rbp], r13
mov qword [rbp + 8], 0
mov ecx, 0x90
call fcn.140077e74
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.14001e410
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.140077e74
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.140056670
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.140021ff0
mov r9, rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
lea rcx, [r9 + 0x40]
cmp rcx, r15
je 0x140053d86
mov r8, qword [r15 + 0x10]
cmp qword [r15 + 0x18], 7
jbe 0x140053d7e
mov r15, qword [r15]
mov rdx, r15
call fcn.14001e210
mov byte [rbx + 0x80], 0
mov ecx, 0x10
call fcn.140077e74
mov qword [rax], rbx
lea rcx, [0x140056230]
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, [0x140056980]
xor edx, edx
xor ecx, ecx
call fcn.14008a9b4
mov qword [rbp - 0x80], rax
test rax, rax
je 0x14005433b
cmp dword [rbp - 0x78], edi
je 0x140054330
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp], xmm0
lea rcx, [rbp]
call fcn.1400771b0
test eax, eax
jne 0x140054330
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x80], xmm0
lea ecx, [rdi + 0x10]
call fcn.140077e74
lea rcx, [rsi + 0x268]
mov qword [rax], rcx
lea rcx, [0x140059d80]
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, [0x140056980]
xor edx, edx
xor ecx, ecx
call fcn.14008a9b4
mov qword [rbp - 0x80], rax
test rax, rax
je 0x14005438a
cmp dword [rbp - 0x78], edi
je 0x14005437f
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp], xmm0
lea rcx, [rbp]
call fcn.1400771b0
test eax, eax
jne 0x14005437f
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.140077e74
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 [0x1400c8e38]
mov dword [rax + 0x10], ecx
movzx ecx, byte [0x1400c8e3c]
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 0x140053ee7
mov rdx, qword [rbp - 0x60]
add r9, rdx
jmp 0x140053eee
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 0x140053f1c
mov r8, rdi
mov qword [rsp + 0x70], rdi
mov rax, r12
mov qword [rsp + 0x78], rax
mov word [rsp + 0x60], di
jmp 0x140053f33
sub r9, rdx
lea rcx, [rsp + 0x60]
call fcn.140022970
mov rax, qword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
lea rdx, [rsp + 0x60]
cmp rax, 7
cmova rdx, qword [rsp + 0x60]
call fcn.140022690
mov rcx, rax
call fcn.1400202f0
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x140053f93
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140053f8d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005435b
call fcn.140077e40
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x140053fce
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140053fc9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140054361
call fcn.140077e40
mov rcx, rsi
call fcn.140060e30
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], rdi
mov ecx, 0x20
call fcn.140077e74
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 [0x1400c8e50]
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 0x140054032
mov rdx, qword [rbp - 0x40]
add r9, rdx
jmp 0x140054039
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 0x140054064
mov r8, rdi
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], r12
mov word [rsp + 0x60], di
jmp 0x14005407b
sub r9, rdx
lea rcx, [rsp + 0x60]
call fcn.140022970
mov r12, qword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
lea rdx, [rsp + 0x60]
cmp r12, 7
cmova rdx, qword [rsp + 0x60]
call fcn.140022690
mov rcx, rax
call fcn.1400202f0
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x1400540db
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400540d5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140054367
call fcn.140077e40
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140054116
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054111
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005436d
call fcn.140077e40
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rdi
xor r8d, r8d
lea rdx, [0x1400c33a8]
lea rcx, [rsp + 0x60]
call fcn.1400053c0
lea rdx, [rsp + 0x60]
lea rcx, [rsi + 0x70]
call fcn.140057f20
mov r8, rax
cmp rax, 0xffffffffffffffff
je 0x1400541bb
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 0x140054170
lea r8, [rbp + 0x15]
mov rdx, r9
lea rcx, [rbp - 0x20]
call fcn.140022550
or r14d, 0x180
lea rcx, [rbp - 0x20]
or r14d, 1
jmp 0x1400541e8
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], 1
mov qword [rbp - 0x68], reloc.OLEAUT32.dll_SafeArrayDestroy
movzx eax, word [0x1400c33d4]
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.14001e650
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.140003860
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x14005427e
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054279
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140054373
call fcn.140077e40
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rsp + 0x60], 0
test r14b, 2
je 0x1400542e6
and r14d, 0xfffffffd
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x1400542d6
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400542d1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140054379
call fcn.140077e40
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbp - 0x80], 0
test r14b, 1
je 0x140054303
mov r8, qword [rbp - 8]
cmp r8, 0xf
jbe 0x140054303
mov rdx, qword [rbp - 0x20]
lea rcx, [rbp - 0x20]
call fcn.14001fbf0
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140077e20
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.140076e18
nop
mov dword [rbp - 0x78], edi
mov ecx, 6
call fcn.140076e18
nop
call fcn.140002420
int3
call fcn.14007ef30
int3
call fcn.1400022b0
nop
call fcn.14007ef30
nop
call fcn.14007ef30
nop
call fcn.14007ef30
nop
call fcn.14007ef30
nop
call fcn.14007ef30
nop
call fcn.14007ef30
nop
mov ecx, 1
call fcn.140076e18
nop
mov dword [rbp - 0x78], edi
mov ecx, 6
call fcn.140076e18
int3