Function at 0x140034400
Capabilities:
Create thread
Enumerate processes
Inject thread

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x2e0]
sub rsp, 0x3e0
mov rax, qword [0x14004f040]
xor rax, rsp
mov qword [rbp + 0x2d0], rax
mov r14d, r8d
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], rdx
mov rdx, qword [0x14004fd20]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140034460
lea rcx, [rsp + 0x40]
call fcn.140035cd0
nop
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.140035560
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x70]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::fail_void_const___ptr64]
test al, al
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x70], rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rbp - 0x80]
jne 0x1400344fb
call fcn.1400354f0
lea rcx, [rbp - 0x78]
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 + 0x20]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
xor sil, sil
jmp 0x140034517
call fcn.1400354f0
lea rcx, [rbp - 0x78]
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 + 0x20]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov sil, 1
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140034557
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140034552
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140034552
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003c47c
test sil, sil
je 0x140034621
xor esi, esi
mov qword [0x14004fd20], rsi
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x1400345a3
inc rdx
cmp rdx, 0x1000
mov rcx, qword [rdi]
jb 0x14003459e
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400348ee
mov rcx, r8
call fcn.14003c47c
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 7
jbe 0x1400345f1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1400345ec
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400348f5
mov rcx, r8
call fcn.14003c47c
mov word [rbx], si
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rsi
mov rcx, qword [rbp + 0x2d0]
xor rcx, rsp
call fcn.14003c2e0
add rsp, 0x3e0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
xor esi, esi
cmp qword [rbx + 0x10], rsi
je 0x140034782
mov dword [rbp + 0x90], 0x238
mov r14d, esi
xor edx, edx
lea ecx, [rsi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x140034888
lea rdx, [rbp + 0x90]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
lea rax, [rbp + 0xbc]
mov rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], si
jne 0x140034670
mov r10, qword [rbx + 0x10]
mov r9, rbx
cmp qword [rbx + 0x18], 7
jbe 0x14003468a
mov r9, qword [rbx]
mov r8, r10
cmp rcx, r10
cmovb r8, rcx
lea rdx, [rbp + 0xbc]
test r8, r8
je 0x1400346c4
lea rax, [rbp + 0xbc]
sub r9, rax
nop word [rax + rax]
movzx eax, word [r9 + rdx]
cmp ax, word [rdx]
jne 0x1400346d1
add rdx, 2
sub r8, 1
jne 0x1400346b0
cmp r10, rcx
jb 0x1400346d1
cmovbe r14d, dword [rbp + 0x98]
lea rdx, [rbp + 0x90]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x140034779
nop dword [rax]
lea rax, [rbp + 0xbc]
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp word [rax + rcx*2], si
jne 0x140034700
mov r10, qword [rbx + 0x10]
mov r9, rbx
cmp qword [rbx + 0x18], 7
jbe 0x14003471a
mov r9, qword [rbx]
mov r8, r10
cmp rcx, r10
cmovb r8, rcx
lea rdx, [rbp + 0xbc]
test r8, r8
je 0x140034754
lea rax, [rbp + 0xbc]
sub r9, rax
nop word [rax + rax]
movzx eax, word [r9 + rdx]
cmp ax, word [rdx]
jne 0x140034761
add rdx, 2
sub r8, 1
jne 0x140034740
cmp r10, rcx
jb 0x140034761
cmovbe r14d, dword [rbp + 0x98]
lea rdx, [rbp + 0x90]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400346f0
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r14d, r14d
je 0x140034888
mov r8d, r14d
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r14, rax
test rax, rax
jne 0x1400347ae
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140034569
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8, qword [rdi + 0x10]
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r15, rax
test rax, rax
je 0x140034569
mov r8, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1400347e4
mov r8, qword [rdi]
mov qword [rsp + 0x20], rsi
mov r9, qword [rdi + 0x10]
mov rdx, r15
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140034569
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r15
mov r9, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov r12, rax
test rax, rax
je 0x140034569
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rbp + 0x80], esi
lea rdx, [rbp + 0x80]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r15
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
test eax, eax
je 0x140034569
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140034569
mov rax, qword [0x14004f128]
cmp rax, 0x23
jb 0x1400348d1
lea r14, [0x14004f110]
cmp rax, 0xf
cmova r14, qword [0x14004f110]
mov qword [0x14004f120], 0x23
mov r8d, 0x23
lea rdx, str.Open_The_Game_In_Offline_Mode_First
mov rcx, r14
call sub.VCRUNTIME140.dll_memmove
mov byte [r14 + 0x23], sil
jmp 0x140034569
lea r9, str.Open_The_Game_In_Offline_Mode_First
mov edx, 0x23
lea rcx, [0x14004f110]
call fcn.140035f40
jmp 0x140034569
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3