Function at 0x140076300
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x428]
sub rsp, 0x500
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x14016b0c0]
xor rax, rsp
mov qword [rbp + 0x3e0], rax
xor r14d, r14d
mov rax, qword [0x1401d3b40]
mov rcx, qword [rax + 0x4010]
movss xmm0, dword [rcx + 0x30]
movss xmm6, dword [0x14014dea4]
subss xmm0, xmm6
call fcn.140016e50
lea rsi, [0x1401d3c38]
mov rdx, rsi
cmp qword [0x1401d3c50], 0xf
cmova rdx, qword [0x1401d3c38]
movabs rax, 0xe6de9d0f3e173fb6
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x10], rax
movabs rax, 0xb333677bfad6169
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x18], rax
movabs r12, 0xb49bcb5d7b441c95
mov qword [rsp + 0x40], r12
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x1e0], rax
movabs r15, 0xb336234fae1243a
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x1e8], rax
movdqa xmm0, xmmword [rbp + 0x10]
xorps xmm0, xmmword [rbp + 0x1e0]
movdqa xmmword [rbp + 0x10], xmm0
xor r8d, r8d
lea rcx, [rbp + 0x10]
call fcn.14003a5d0
test al, al
je 0x140076542
mov qword [rsp + 0x5c], r14
cmp dword [0x1401d3b88], r14d
sete dl
lea r9, [rsp + 0x5c]
lea rcx, str.Gameforge
call fcn.140042250
test al, al
je 0x14007648c
mov rax, qword [0x1401d3c50]
cmp rax, 9
jb 0x14007646b
mov rbx, rsi
cmp rax, 0xf
cmova rbx, qword [0x1401d3c38]
mov qword [0x1401d3c48], 9
lea r8d, [r14 + 9]
lea rdx, str.Gameforge
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 9], r14b
jmp 0x140076485
lea r9, str.Gameforge
movzx r8d, byte [rsp + 0x48]
mov edx, 9
mov rcx, rsi
call fcn.140082770
mov dword [0x1401d3b88], r14d
mov rbx, qword [0x1401d3fb0]
mov rbx, qword [rbx]
mov qword [rbp + 0x188], rbx
xor eax, eax
mov byte [rsp + 0x48], al
cmp byte [rbx + 0x19], al
jne 0x140076530
nop dword [rax]
mov eax, dword [rbx + 0x20]
test eax, eax
je 0x140076517
mov qword [rsp + 0x64], r14
cmp dword [0x1401d3b88], eax
sete dl
lea rdi, [rbx + 0x28]
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1400764d6
mov rcx, qword [rdi]
lea r9, [rsp + 0x64]
call fcn.140042250
test al, al
je 0x140076517
cmp rsi, rdi
je 0x140076502
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0xf
jbe 0x1400764f7
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, rsi
call fcn.14007e870
mov eax, dword [rbx + 0x20]
mov dword [0x1401d3b88], eax
mov ecx, dword [rbx + 0x20]
mov rax, qword [0x1401d3bc0]
mov dword [rax], ecx
lea rcx, [rbp + 0x188]
call fcn.14007e0b0
mov rbx, qword [rbp + 0x188]
cmp byte [rbx + 0x19], r14b
je 0x1400764b0
mov rbx, qword [0x1401d3b40]
call fcn.140018710
dec dword [rbx + 0x5e20]
mov r9, qword [0x1401d3b40]
mov rax, qword [r9 + 0x4010]
mov byte [rax + 0xcc], 1
mov r8, qword [r9 + 0x4010]
movsxd rdx, dword [r8 + 0x1e0]
mov rax, qword [r8 + 0x1e8]
mov ecx, dword [rax + rdx*4 - 4]
mov dword [r8 + 0x1d8], ecx
lea eax, [rdx - 1]
mov dword [r8 + 0x1e0], eax
mov ecx, dword [0x1401d3b84]
test ecx, ecx
jg 0x140076594
cmp byte [0x1401d3b3b], r14b
je 0x1400765a6
call fcn.1400132d0
mov ecx, dword [0x1401d3b84]
mov r9, qword [0x1401d3b40]
mov rax, qword [r9 + 0x4010]
movss xmm0, dword [rax + 0x30]
subss xmm0, xmm6
movss dword [rsp + 0x74], xmm0
mov dword [rsp + 0x78], r14d
movabs rdi, 0xb9b2d81febbbaff7
movabs rbx, 0x2aafbff6e6e58e44
cmp ecx, 1
jne 0x14007671a
movabs rax, 0xd5fceb2e0e2773f3
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x20], rax
movabs rax, 0x64570c5d8dc14157
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x28], rax
movabs rax, 0xcbc2f87b85da8f80
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x30], rax
movabs rax, 0x4fdcd19fc696fd21
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x38], rax
movabs rax, 0x7f483479cfb724fb
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x40], rax
movabs rcx, 0xe5c7a650d22341be
mov qword [rsp + 0x40], rcx
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x48], rax
mov qword [rsp + 0x40], r12
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x2a0], rax
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x2a8], rax
mov qword [rsp + 0x40], rdi
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x2b0], rax
mov qword [rsp + 0x40], rbx
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x2b8], rax
movabs rax, 0x7f483479cfb75089
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x2c0], rax
mov qword [rsp + 0x40], rcx
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x2c8], rax
movdqa xmm0, xmmword [rbp + 0x20]
xorps xmm0, xmmword [rbp + 0x2a0]
movdqa xmmword [rbp + 0x20], xmm0
movdqa xmm1, xmmword [rbp + 0x30]
xorps xmm1, xmmword [rbp + 0x2b0]
movdqa xmmword [rbp + 0x30], xmm1
movdqa xmm0, xmmword [rbp + 0x40]
xorps xmm0, xmmword [rbp + 0x2c0]
movdqa xmmword [rbp + 0x40], xmm0
lea rcx, [rbp + 0x20]
jmp 0x1400767e5
cmp ecx, 2
jne 0x140076788
movabs rax, 0xdaf2bf3e1e2e72fc
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x80], rax
movabs rax, 0xb336234d4cf0a5d
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x78], rax
mov qword [rsp + 0x40], r12
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x1f0], rax
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x1f8], rax
movdqa xmm0, xmmword [rbp - 0x80]
xorps xmm0, xmmword [rbp + 0x1f0]
movdqa xmmword [rbp - 0x80], xmm0
lea rcx, [rbp - 0x80]
jmp 0x1400767e5
movabs rax, 0xb49bbf3e1e2e72fc
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x70], rax
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x68], rax
mov qword [rsp + 0x40], r12
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x200], rax
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x208], rax
movdqa xmm0, xmmword [rbp + 0x200]
xorps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x70], xmm0
lea rcx, [rbp - 0x70]
xor r8d, r8d
lea rdx, [rsp + 0x74]
call fcn.140037900
test al, al
je 0x140076898
mov ecx, 8
cmp dword [0x1401d3b88], r14d
je 0x140077186
call fcn.140127464
lea rcx, [0x14006bfe0]
mov qword [rax], rcx
mov qword [rbp + 0x1d0], rax
lea rcx, [rbp + 0x1a8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x14008b4f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x1a0], rax
test rax, rax
je 0x140077173
mov qword [rbp + 0x1d0], r14
cmp dword [rbp + 0x1a8], 0
je 0x140077167
movaps xmm0, xmmword [rbp + 0x1a0]
movdqa xmmword [rbp + 0x50], xmm0
lea rcx, [rbp + 0x50]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140077167
xorps xmm0, xmm0
movaps xmmword [rbp + 0x70], xmm0
movdqa xmmword [rbp + 0x1a0], xmm0
cmp dword [0x1401d3b84], 0
jg 0x1400768aa
cmp byte [0x1401d3b3b], 0
je 0x1400768fa
mov rdx, qword [0x1401d3b40]
dec word [rdx + 0x5eac]
mov eax, dword [rdx + 0x4994]
shr eax, 2
test al, 1
movsxd rcx, dword [rdx + 0x4ad0]
lea eax, [rcx - 1]
mov dword [rdx + 0x4ad0], eax
mov rax, qword [rdx + 0x4ad8]
mov r8d, dword [rax + rcx*4 - 8]
mov dword [rdx + 0x4994], r8d
je 0x1400768fa
test r8b, 4
jne 0x1400768fa
mov eax, dword [rdx + 0x5ea8]
mov dword [rdx + 0x38e8], eax
call fcn.140039b20
mov r11, qword [0x1401d3b40]
mov rdx, qword [r11 + 0x4010]
cmp byte [rdx + 0xcf], 0
jne 0x140076946
mov r8d, dword [rdx + 0x1cc]
mov eax, r8d
neg eax
sbb ecx, ecx
add ecx, 2
cmp qword [rdx + 0x1c0], 0
je 0x140076939
neg r8d
sbb ecx, ecx
add ecx, 6
movss xmm1, dword [0x14014de44]
call fcn.140039bc0
call fcn.140039b20
mov r11, qword [0x1401d3b40]
mov rax, qword [r11 + 0x4010]
movss xmm0, dword [rax + 0x30]
subss xmm0, dword [0x14014dec4]
call fcn.140016e50
movabs rax, 0xe4bbbf331e2d70d6
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x60], rax
movabs rax, 0xb336234fa89505b
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x58], rax
mov qword [rsp + 0x40], r12
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x210], rax
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x218], rax
movdqa xmm0, xmmword [rbp - 0x60]
xorps xmm0, xmmword [rbp + 0x210]
movdqa xmmword [rbp - 0x60], xmm0
lea rcx, [rbp - 0x60]
call fcn.140036fa0
movabs r13, 0xf1dd84122b173fb6
mov qword [rsp + 0x40], r13
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x50], rax
movabs rax, 0xb336234fae11568
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x48], rax
mov qword [rsp + 0x40], r12
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x220], rax
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x228], rax
movdqa xmm0, xmmword [rbp - 0x50]
xorps xmm0, xmmword [rbp + 0x220]
movdqa xmmword [rbp - 0x50], xmm0
lea rsi, [0x1401d1b60]
mov qword [rbp + 0xc0], rsi
mov qword [rbp + 0xc8], r14
mov qword [rbp + 0xd0], r14
mov rax, qword [reloc.WS2_32.dll_ntohs]
lea r9, [rax + 1]
mov r8, rsi
cmp rax, 0xf
cmova r8, qword [0x1401d1b60]
mov qword [rsp + 0x4c], 0
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x38], rax
lea rax, [0x140034280]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x200000
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x20], rax
xor edx, edx
lea rcx, [rbp - 0x50]
call fcn.14003e340
mov rcx, qword [0x1401d3b40]
mov rax, qword [rcx + 0x4010]
mov byte [rax + 0xcc], 1
mov r8, qword [rcx + 0x4010]
movsxd rdx, dword [r8 + 0x1e0]
mov rax, qword [r8 + 0x1e8]
mov ecx, dword [rax + rdx*4 - 4]
mov dword [r8 + 0x1d8], ecx
lea eax, [rdx - 1]
mov dword [r8 + 0x1e0], eax
movss xmm1, dword [0x14014df08]
xorps xmm0, xmm0
call fcn.140016da0
mov qword [rsp + 0x54], 0
movabs rax, 0xb49bbf3e1e2879c6
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x40], rax
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x38], rax
mov qword [rsp + 0x40], r12
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x230], rax
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x238], rax
movdqa xmm0, xmmword [rbp - 0x40]
xorps xmm0, xmmword [rbp + 0x230]
movdqa xmmword [rbp - 0x40], xmm0
xor r8d, r8d
lea rdx, [rsp + 0x54]
lea rcx, [rbp - 0x40]
call fcn.140037900
test al, al
je 0x140076c69
mov byte [rbp + 0x2d0], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rbp + 0x2d1]
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
movups xmmword [rbp + 0x100], xmm0
movups xmmword [rbp + 0x110], xmm0
movups xmmword [rbp + 0x120], xmm0
movups xmmword [rbp + 0x130], xmm0
movups xmmword [rbp + 0x140], xmm0
movups xmmword [rbp + 0x150], xmm0
movups xmmword [rbp + 0x160], xmm0
mov qword [rbp + 0x170], rax
mov dword [rbp + 0xe0], 0x98
mov qword [rbp + 0xe8], r14
lea rax, str.Executable_Files
mov qword [rbp + 0xf8], rax
lea rax, [rbp + 0x2d0]
mov qword [rbp + 0x110], rax
mov dword [rbp + 0x118], 0x104
lea rax, str.Select_Client_Executable
mov qword [rbp + 0x138], rax
mov dword [rbp + 0x140], 0x1000
lea rcx, [rbp + 0xe0]
call qword [sym.imp.COMDLG32.dll_GetOpenFileNameA]
test eax, eax
je 0x140076c69
lea rax, [rbp + 0x2d0]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140076c50
lea rdx, [rbp + 0x2d0]
mov rcx, rsi
call fcn.14007e870
mov rax, qword [0x1401d3b40]
mov rcx, qword [rax + 0x4010]
movss xmm0, dword [rcx + 0x30]
subss xmm0, xmm6
call fcn.140016e50
movabs rax, 0xb49bcb5d08236ed4
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x30], rax
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x28], rax
mov qword [rsp + 0x40], r12
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x240], rax
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x248], rax
movdqa xmm0, xmmword [rbp - 0x30]
xorps xmm0, xmmword [rbp + 0x240]
movdqa xmmword [rbp - 0x30], xmm0
lea rcx, [rbp - 0x30]
call fcn.140036fa0
mov qword [rsp + 0x40], r13
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x20], rax
movabs rax, 0xb336234fae11668
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x18], rax
mov qword [rsp + 0x40], r12
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x250], rax
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x258], rax
movdqa xmm0, xmmword [rbp - 0x20]
xorps xmm0, xmmword [rbp + 0x250]
movdqa xmmword [rbp - 0x20], xmm0
lea r8, [0x1401d1ba0]
mov qword [rbp + 0xa0], r8
mov qword [rbp + 0xa8], r14
mov qword [rbp + 0xb0], r14
mov rax, qword [reloc.WS2_32.dll_ntohs]
lea r9, [rax + 1]
cmp rax, 0xf
cmova r8, qword [0x1401d1ba0]
mov qword [rsp + 0x6c], 0
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x38], rax
lea rax, [0x140034280]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x200000
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x20], rax
xor edx, edx
lea rcx, [rbp - 0x20]
call fcn.14003e340
movabs rax, 0xb49bcb5d1f2179c6
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x10], rax
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x40]
mov qword [rbp - 8], rax
mov qword [rsp + 0x40], r12
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x270], rax
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x278], rax
movdqa xmm0, xmmword [rbp - 0x10]
xorps xmm0, xmmword [rbp + 0x270]
movdqa xmmword [rbp - 0x10], xmm0
lea rcx, [rbp - 0x10]
call fcn.140036fa0
mov r8, qword [0x1401d3b70]
add r8, 4
mov qword [rsp + 0x40], r13
mov rax, qword [rsp + 0x40]
mov qword [rbp], rax
movabs rax, 0xb336234fae11768
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp + 8], rax
mov qword [rsp + 0x40], r12
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x260], rax
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x268], rax
movdqa xmm0, xmmword [rbp]
xorps xmm0, xmmword [rbp + 0x260]
movdqa xmmword [rbp], xmm0
mov dword [rbp + 0x90], 0x64
mov dword [rbp + 0x98], 1
lea rax, [0x14013f924]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x90]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x98]
lea rcx, [rbp]
call fcn.14003bb00
mov r9, qword [0x1401d3b40]
mov rax, qword [r9 + 0x4010]
mov byte [rax + 0xcc], 1
mov r8, qword [r9 + 0x4010]
movsxd rdx, dword [r8 + 0x1e0]
mov rax, qword [r8 + 0x1e8]
mov ecx, dword [rax + rdx*4 - 4]
mov dword [r8 + 0x1d8], ecx
lea eax, [rdx - 1]
mov dword [r8 + 0x1e0], eax
cmp dword [0x1401d3b84], 0
jg 0x140076f04
cmp byte [0x1401d3b3b], 0
je 0x140076f10
call fcn.1400132d0
mov r9, qword [0x1401d3b40]
mov rax, qword [r9 + 0x4010]
movss xmm0, dword [rax + 0x30]
subss xmm0, xmm6
movss dword [rbp + 0x190], xmm0
mov dword [rbp + 0x194], 0
movabs rax, 0xddeceb29092568c6
mov qword [rbp + 0x180], rax
mov rax, qword [rbp + 0x180]
mov qword [rbp + 0xa0], rax
movabs rax, 0x6d5c0d4489c14c4e
mov qword [rbp + 0x180], rax
mov rax, qword [rbp + 0x180]
mov qword [rbp + 0xa8], rax
movabs rax, 0xb9b2d81febbbdd92
mov qword [rbp + 0x180], rax
mov rax, qword [rbp + 0x180]
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0x180], rbx
mov rax, qword [rbp + 0x180]
mov qword [rbp + 0xb8], rax
mov qword [rbp + 0x180], r12
mov rax, qword [rbp + 0x180]
mov qword [rbp + 0x280], rax
mov qword [rbp + 0x180], r15
mov rax, qword [rbp + 0x180]
mov qword [rbp + 0x288], rax
mov qword [rbp + 0x180], rdi
mov rax, qword [rbp + 0x180]
mov qword [rbp + 0x290], rax
mov qword [rbp + 0x180], rbx
mov rax, qword [rbp + 0x180]
mov qword [rbp + 0x298], rax
movdqa xmm0, xmmword [rbp + 0xa0]
xorps xmm0, xmmword [rbp + 0x280]
movdqa xmmword [rbp + 0xa0], xmm0
movdqa xmm1, xmmword [rbp + 0xb0]
xorps xmm1, xmmword [rbp + 0x290]
movdqa xmmword [rbp + 0xb0], xmm1
xor r8d, r8d
lea rdx, [rbp + 0x190]
lea rcx, [rbp + 0xa0]
call fcn.140037900
test al, al
je 0x1400770d0
mov ecx, 8
call fcn.140127464
lea rcx, [0x140050670]
mov qword [rax], rcx
mov qword [rbp + 0x190], rax
lea rcx, [rbp + 0x1c8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x14008b4f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x1c0], rax
test rax, rax
je 0x140077239
cmp dword [rbp + 0x1c8], 0
je 0x14007722d
movaps xmm0, xmmword [rbp + 0x1c0]
movdqa xmmword [rbp + 0x190], xmm0
lea rcx, [rbp + 0x190]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14007722d
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x1c0], xmm0
cmp dword [0x1401d3b84], 0
jg 0x1400770e2
cmp byte [0x1401d3b3b], 0
je 0x140077132
mov rdx, qword [0x1401d3b40]
dec word [rdx + 0x5eac]
mov eax, dword [rdx + 0x4994]
shr eax, 2
test al, 1
movsxd rcx, dword [rdx + 0x4ad0]
lea eax, [rcx - 1]
mov dword [rdx + 0x4ad0], eax
mov rax, qword [rdx + 0x4ad8]
mov r8d, dword [rax + rcx*4 - 8]
mov dword [rdx + 0x4994], r8d
je 0x140077132
test r8b, 4
jne 0x140077132
mov eax, dword [rdx + 0x5ea8]
mov dword [rdx + 0x38e8], eax
mov rcx, qword [rbp + 0x3e0]
xor rcx, rsp
call fcn.140126e40
lea r11, [rsp + 0x500]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 0x1a8], r14d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
call fcn.140127464
lea rcx, [0x140070200]
mov qword [rax], rcx
mov qword [rbp + 0x180], rax
lea rcx, [rbp + 0x1b8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x14008b4f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x1b0], rax
test rax, rax
je 0x14007721a
mov qword [rbp + 0x180], r14
cmp dword [rbp + 0x1b8], 0
je 0x14007720e
movaps xmm0, xmmword [rbp + 0x1b0]
movdqa xmmword [rbp + 0x60], xmm0
lea rcx, [rbp + 0x60]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14007720e
xorps xmm0, xmm0
movaps xmmword [rbp + 0x80], xmm0
movdqa xmmword [rbp + 0x1b0], xmm0
jmp 0x140076898
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 0x1b8], r14d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 0x1c8], r14d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3