Function at 0x140035e30
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x140054040]
xor rax, rsp
mov qword [rbp + 0x60], rax
xor esi, esi
cmp qword [0x140d4d3f0], rsi
je 0x140035e6e
cmp byte [0x140d4d318], sil
jne 0x140035e80
call qword [sym.imp.KERNEL32.dll_DebugBreak]
lea rcx, str.___Unable_To_Connect_To_FPGA_Device_
call fcn.140001230
call fcn.14003a500
test eax, eax
jne 0x140036057
xor edx, edx
lea rcx, str.___Game_Isnt_Open_
call fcn.140001230
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x70]
call fcn.140039940
mov rdi, rax
mov ecx, dword [rax]
mov dword [0x140d4d2e0], ecx
lea rdx, [rax + 8]
lea rcx, [0x140d4d2e8]
call fcn.140036500
mov rcx, qword [rdi + 0x28]
mov qword [0x140d4d308], rcx
mov rcx, qword [rdi + 0x30]
mov qword [0x140d4d310], rcx
movzx ecx, byte [rdi + 0x38]
mov byte [0x140d4d318], cl
lea rdx, [rdi + 0x40]
lea rcx, [0x140d4d320]
call fcn.140036500
lea rbx, [rdi + 0x60]
lea rax, [0x140d4d340]
cmp rax, rbx
je 0x140035f92
mov rdx, qword [0x140d4d358]
cmp rdx, 7
jbe 0x140035f55
mov rcx, qword [0x140d4d340]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140035f50
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140036096
mov rcx, r8
call fcn.14004130c
mov qword [0x140d4d350], rsi
mov qword [0x140d4d358], 7
mov word [0x140d4d340], si
movups xmm0, xmmword [rbx]
movaps xmmword [0x140d4d340], xmm0
movups xmm1, xmmword [rbx + 0x10]
movaps xmmword [0x140d4d350], xmm1
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov word [rbx], si
sub rdi, 0xffffffffffffff80
lea rcx, [0x140d4d360]
cmp rcx, rdi
je 0x14003604d
call fcn.1400366f0
mov eax, dword [rdi]
mov dword [0x140d4d360], eax
mov rcx, qword [0x140d4d368]
mov rax, qword [rdi + 8]
mov qword [0x140d4d368], rax
mov qword [rdi + 8], rcx
mov rcx, qword [0x140d4d370]
mov rax, qword [rdi + 0x10]
mov qword [0x140d4d370], rax
mov qword [rdi + 0x10], rcx
mov rcx, qword [0x140d4d378]
mov rax, qword [rdi + 0x18]
mov qword [0x140d4d378], rax
mov qword [rdi + 0x18], rcx
mov rcx, qword [0x140d4d380]
mov rax, qword [rdi + 0x20]
mov qword [0x140d4d380], rax
mov qword [rdi + 0x20], rcx
mov rcx, qword [0x140d4d388]
mov rax, qword [rdi + 0x28]
mov qword [0x140d4d388], rax
mov qword [rdi + 0x28], rcx
mov rcx, qword [0x140d4d390]
mov rax, qword [rdi + 0x30]
mov qword [0x140d4d390], rax
mov qword [rdi + 0x30], rcx
mov rcx, qword [0x140d4d398]
mov rax, qword [rdi + 0x38]
mov qword [0x140d4d398], rax
mov qword [rdi + 0x38], rcx
lea rcx, [rsp + 0x70]
call fcn.1400339f0
call fcn.140038df0
test al, al
jne 0x14003609d
lea rcx, str.___Failed_to_initilize_Keyboard
call fcn.140001230
mov eax, 1
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.140041170
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov ecx, 0x20
call fcn.14004167c
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], 0x1a
mov qword [rsp + 0x48], 0x1f
movups xmm0, xmmword [str.xxx____xxxx_xxx_____x_xxxx]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x14004ad70]
movsd qword [rax + 0x10], xmm0
movzx ecx, word [0x14004ad78]
mov word [rax + 0x18], cx
mov byte [rax + 0x1a], sil
lea rdx, str.GameHunt.dll
lea rcx, [rsp + 0x50]
call fcn.1400363b0
lea r9, [rsp + 0x30]
mov rdx, rax
call fcn.14003a900
mov qword [0x140d4d530], rax
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140036158
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003614c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003614c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004130c
mov rax, qword [0x140d4d530]
mov rdx, rax
lea rcx, str.___SSystemGlobalEnvironment:__p_n
call fcn.140001230
mov ecx, 8
call fcn.14004167c
lea rcx, [0x140033c00]
mov qword [rax], rcx
mov qword [rbp + 0x30], rax
lea rcx, [rbp + 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x140038170]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x50], rax
test rax, rax
je 0x14003629f
cmp dword [rbp + 0x58], 0
je 0x140036293
movaps xmm0, xmmword [rbp + 0x50]
movdqa xmmword [rbp + 0x30], xmm0
lea rcx, [rbp + 0x30]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140036293
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x50], xmm0
lea ecx, [rax + 8]
call fcn.14004167c
lea rcx, [0x14003ed60]
mov qword [rax], rcx
mov qword [rbp + 0x30], rax
lea rcx, [rbp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x140038170]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x40], rax
test rax, rax
je 0x140036284
cmp dword [rbp + 0x48], 0
jne 0x14003622c
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp + 0x48], eax
jne 0x140036243
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rbp + 0x40]
movdqa xmmword [rbp + 0x30], xmm0
xor edx, edx
lea rcx, [rbp + 0x30]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
je 0x140036268
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x40], xmm0
cmp dword [rbp + 0x58], 0
je 0x14003627d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
xor eax, eax
jmp 0x140036071
mov dword [rbp + 0x48], esi
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 + 0x58], esi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3