Function at 0x14001cc10
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 - 0x1c8]
sub rsp, 0x2a0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x140205040]
xor rax, rsp
mov qword [rbp + 0x178], rax
xor ebx, ebx
mov edi, ebx
mov dword [rbp - 0x80], ebx
mov r13b, 1
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rbp + 0x30]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x30]
call fcn.14003f190
nop
lea rcx, [0x140208938]
call fcn.140016d00
lea rcx, [0x140208938]
call fcn.140019a60
mov rcx, qword [0x140208768]
test rcx, rcx
jne 0x14001d12d
lea rcx, [0x1401df428]
call fcn.140002310
lea rdx, str.fpga:__algo0
lea rcx, str._device
lea rax, [0x1401ddcc6]
nop dword [rax]
mov qword [rbp + 0x140], rax
mov qword [rbp + 0x148], rcx
mov qword [rbp + 0x150], rdx
mov qword [rbp + 0x158], rax
mov qword [rbp + 0x160], rax
mov qword [rbp + 0x168], rax
mov qword [rbp + 0x170], rax
mov r12d, 3
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], rbx
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.140042590
nop
test r13b, r13b
je 0x14001cffa
lea rcx, [rbp + 8]
call fcn.14001c460
nop
lea r14, [rbp + 8]
cmp qword [rbp + 0x20], 7
cmova r14, qword [rbp + 8]
mov rsi, qword [rbp + 0x18]
call fcn.1400c5670
mov r15d, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x40], 0
or edi, 0x20
mov dword [rbp - 0x80], edi
test rsi, rsi
je 0x14001cddf
cmp rsi, 0x7fffffff
ja 0x14001d570
mov dword [rsp + 0x20], ebx
xor r9d, r9d
mov r8d, esi
mov rdx, r14
mov ecx, eax
call fcn.1400c56e0
mov rbx, rax
mov qword [rbp - 0x70], rax
shr rax, 0x20
test eax, eax
jne 0x14001d567
movsxd rdx, ebx
lea rcx, [rsp + 0x40]
call fcn.14003f780
lea r9, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova r9, qword [rsp + 0x40]
mov dword [rsp + 0x20], ebx
mov r8d, esi
mov rdx, r14
mov ecx, r15d
call fcn.1400c56e0
mov qword [rbp - 0x70], rax
shr rax, 0x20
test eax, eax
jne 0x14001d55e
xor ebx, ebx
and edi, 0xffffffdf
or edi, 0x1c
mov r8d, 9
lea rdx, str.mmap.txt
lea rcx, [rsp + 0x40]
call fcn.14003f980
movups xmm6, xmmword [rax]
movups xmmword [rbp - 0x18], xmm6
movups xmm7, xmmword [rax + 0x10]
movups xmmword [rbp - 8], xmm7
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
or edi, 0x40
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x14001ce58
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ce53
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001d051
call fcn.1400c44a0
movups xmmword [rbp - 0x40], xmm6
movups xmmword [rbp - 0x30], xmm7
mov qword [rbp - 8], rbx
mov qword [rbp], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x18], 0
lea rcx, [rbp - 0x18]
call fcn.140040580
nop
lea rcx, [rsp + 0x40]
call fcn.140040580
lea rax, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rax, qword [rbp - 0x40]
mov qword [rsp + 0x70], rax
mov rax, qword [rbp - 0x30]
mov qword [rsp + 0x78], rax
call fcn.1400c5670
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rbp - 0x70], xmm0
lea r8, [rbp - 0x70]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.14001bc40
or edi, 3
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rcx, qword [rsp + 0x40]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp - 0x18]
call fcn.1400c58d0
mov edx, eax
test eax, eax
jne 0x14001cf24
mov ecx, dword [rbp - 8]
mov eax, ecx
shr eax, 0xa
test al, 1
je 0x14001cf19
mov eax, dword [rbp - 4]
cmp eax, 0xa000000c
jne 0x14001cf0b
mov ecx, 4
jmp 0x14001cf41
cmp eax, 0xa0000003
jne 0x14001cf19
mov ecx, 0xa
jmp 0x14001cf41
shr ecx, 4
and ecx, 1
add ecx, 2
jmp 0x14001cf41
sub eax, 2
je 0x14001cf3c
sub eax, 1
je 0x14001cf3c
sub eax, 0x32
je 0x14001cf3c
cmp eax, 0x46
je 0x14001cf3c
xor al, al
jmp 0x14001cf3e
mov al, 1
movzx ecx, al
mov dword [rbp - 0x60], edx
lea rax, [0x140205250]
mov qword [rbp - 0x58], rax
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x70], xmm0
test ecx, ecx
je 0x14001cf64
cmp ecx, 1
sete bl
jmp 0x14001cf6e
mov bl, 1
test edx, edx
jne 0x14001d548
lea rcx, [rsp + 0x40]
call fcn.14003f660
test bl, bl
je 0x14001cfae
call fcn.14001c610
movzx ebx, al
lea rcx, str.dumping_memory_map_to_file..._n
call fcn.140002310
test bl, bl
jne 0x14001cfba
lea rcx, str.____ERROR:_Could_not_dump_memory_map__n
call fcn.140002310
lea rcx, str.Defaulting_to_no_memory_map__n
call fcn.140002310
jmp 0x14001cfef
lea rcx, str.dumping_memory_map_to_file..._n
call fcn.140002310
lea rcx, str.Dumped_memory_map__n
call fcn.140002310
lea rax, str._memmap
mov qword [rbp + 0x158], rax
lea rax, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rax, qword [rbp - 0x40]
mov qword [rbp + 0x160], rax
mov r12d, 5
lea rcx, [rbp + 8]
call fcn.14003f660
xor ebx, ebx
mov eax, r12d
lea rcx, str._norefresh
mov qword [rbp + rax*8 + 0x140], rcx
lea ecx, [r12 + 1]
lea rdx, [rbp + 0x140]
call qword [sym.imp.VMM.dll_VMMDLL_Initialize]
mov qword [0x140208768], rax
test rax, rax
jne 0x14001d0bc
test r13b, r13b
je 0x14001d058
xor r13b, r13b
lea rcx, str.____Initialization_failed_with_Memory_map__Try_without_MMap_n
call fcn.140002310
nop
lea rcx, [rbp - 0x40]
call fcn.140040580
jmp 0x14001cca8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, str.____Initialization_failed__Is_the_DMA_in_use_or_disconnected__n
call fcn.140002310
nop
lea rcx, [rbp - 0x40]
call fcn.140040580
nop
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x30], rax
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x2c], edx
lea rcx, [rbp + 0x40]
call fcn.14003f120
lea rcx, [rbp + 0x48]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0xe0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
xor al, al
jmp 0x14001d50e
lea r8, [rbp - 0x20]
movabs rdx, 0x300008100000000
mov rcx, rax
call qword [sym.imp.VMM.dll_VMMDLL_ConfigGet]
lea r8, [rsp + 0x60]
movabs rdx, 0x300008000000000
mov rcx, qword [0x140208768]
call qword [sym.imp.VMM.dll_VMMDLL_ConfigGet]
mov rdx, qword [rbp - 0x20]
lea rcx, str.FPGA_ID:__llu_n
call fcn.140002310
mov rdx, qword [rsp + 0x60]
lea rcx, str.DEVICE_ID:__llu_n
call fcn.140002310
lea rcx, str.success__n
call fcn.140002310
nop
lea rcx, [rbp - 0x40]
call fcn.140040580
mov rcx, qword [0x140208768]
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
mov r14, rbx
mov qword [rbp - 0x50], rbx
bts edi, 7
mov dword [rbp - 0x80], edi
mov qword [rsp + 0x70], rbx
lea r8, [rsp + 0x70]
xor edx, edx
call qword [sym.imp.VMM.dll_VMMDLL_PidList]
test eax, eax
je 0x14001d1f7
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14001d1f7
mov eax, 4
mul rcx
mov rcx, 0xffffffffffffffff
cmovb rax, rcx
mov rcx, rax
call fcn.1400c4bb4
mov r15, rax
lea r8, [rsp + 0x70]
mov rdx, rax
mov rcx, qword [0x140208768]
call qword [sym.imp.VMM.dll_VMMDLL_PidList]
mov esi, ebx
mov rdi, qword [rbp - 0x58]
cmp qword [rsp + 0x70], 0
jbe 0x14001d1ec
mov rbx, r15
nop
cmp rdi, r14
je 0x14001d1c3
mov eax, dword [rbx]
mov dword [rdi], eax
add rdi, 4
mov qword [rbp - 0x58], rdi
jmp 0x14001d1da
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x60]
call fcn.140044550
mov r14, qword [rbp - 0x50]
mov rdi, qword [rbp - 0x58]
inc esi
add rbx, 4
movsxd rax, esi
cmp rax, qword [rsp + 0x70]
jb 0x14001d1b0
xor ebx, ebx
mov rcx, r15
call fcn.1400c44a0
nop
jmp 0x14001d1fb
mov rdi, qword [rbp - 0x58]
mov rsi, rbx
mov r15, qword [rbp - 0x60]
sub rdi, r15
sar rdi, 2
test rdi, rdi
je 0x14001d31f
lea r13, [r15 + rsi*4]
mov r8d, 1
mov edx, dword [r13]
mov rcx, qword [0x140208768]
call qword [sym.imp.VMM.dll_VMMDLL_ProcessGetInformationString]
mov r12, rax
lea rdx, str.TslGame.exe
mov rcx, rax
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
je 0x14001d30a
mov ecx, dword [r13]
mov dword [0x140208760], ecx
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
mov r8d, reloc.WS2_32.dll_inet_addr
lea rdx, str.TslGame.exe
lea rcx, [rsp + 0x40]
call fcn.140042590
lea r8, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova r8, qword [rsp + 0x40]
mov dword [rsp + 0x20], ebx
lea r9, [rsp + 0x60]
mov edx, dword [0x140208760]
mov rcx, qword [0x140208768]
call qword [sym.imp.VMM.dll_VMMDLL_Map_GetModuleFromNameU]
mov rax, qword [rsp + 0x60]
mov rbx, qword [rax]
lea rcx, [rsp + 0x40]
call fcn.140040580
mov qword [0x140208758], rbx
lea r8, [rbx + 0x1016ca18]
xor ebx, ebx
mov qword [rbp - 0x70], rbx
mov qword [rsp + 0x30], 0x33
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 8
lea r9, [rbp - 0x70]
mov edx, dword [0x140208760]
mov rcx, qword [0x140208768]
call qword [sym.imp.VMM.dll_VMMDLL_MemReadEx]
cmp qword [rbp - 0x70], rbx
ja 0x14001d4ad
mov rcx, r12
call qword [sym.imp.VMM.dll_VMMDLL_MemFree]
inc rsi
cmp rsi, rdi
jb 0x14001d212
mov edx, dword [0x140208760]
lea rcx, [0x1401df598]
call fcn.140002310
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
mov r8d, reloc.WS2_32.dll_inet_addr
lea rdx, str.TslGame.exe
lea rcx, [rsp + 0x40]
call fcn.140042590
lea r8, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova r8, qword [rsp + 0x40]
mov dword [rsp + 0x20], ebx
lea r9, [rsp + 0x60]
mov edx, dword [0x140208760]
mov rcx, qword [0x140208768]
call qword [sym.imp.VMM.dll_VMMDLL_Map_GetModuleFromNameU]
mov rax, qword [rsp + 0x60]
mov rbx, qword [rax]
lea rcx, [rsp + 0x40]
call fcn.140040580
mov qword [0x140208758], rbx
mov r8d, 1
mov edx, dword [0x140208760]
mov rcx, qword [0x140208768]
call qword [sym.imp.VMM.dll_VMMDLL_Scatter_Initialize]
mov r8, qword [0x140208758]
add r8, 0xe6a1c28
xor ebx, ebx
mov qword [rbp - 0x70], rbx
mov dword [rsp + 0x20], 8
lea r9, [rbp - 0x70]
mov edx, dword [0x140208760]
mov rcx, qword [0x140208768]
call qword [sym.imp.VMM.dll_VMMDLL_MemRead]
mov rax, qword [rbp - 0x70]
mov qword [0x1402087f0], rax
call fcn.140026e30
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
lea r8, [0x14001d580]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
lea r8, [0x14001dd40]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
lea r8, [0x140020960]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
lea r8, [0x14001fe30]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
test r15, r15
je 0x14001d4c5
sub r14, r15
sar r14, 2
lea rdx, [r14*4]
mov rax, r15
cmp rdx, 0x1000
jb 0x14001d4bc
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001d4bc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov edx, dword [r13]
mov dword [0x140208760], edx
jmp 0x14001d325
mov rcx, r15
call fcn.1400c44a0
nop
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x30], rax
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov rax, rcx
mov dword [rbp + rcx + 0x2c], edx
lea rcx, [rbp + 0x40]
call fcn.14003f120
lea rcx, [rbp + 0x48]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0xe0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rcx, qword [rbp + 0x178]
xor rcx, rsp
call fcn.1400c4480
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x70]
lea rcx, str.exists
call fcn.14001c400
nop
mov ecx, dword [rbp - 0x6c]
call fcn.140002a50
int3
mov ecx, dword [rbp - 0x6c]
call fcn.140002a50
int3
call fcn.140002770
int3