Function at 0x140003450
Capabilities:
Create process on windows
Enumerate processes
Enumerate threads
Inject apc

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x640
mov rax, qword [0x14000f040]
xor rax, rsp
mov qword [rsp + 0x638], rax
xor esi, esi
mov edi, esi
mov dword [rsp + 0x30], esi
call qword [sym.imp.KERNEL32.dll_FreeConsole]
xorps xmm0, xmm0
movups xmmword [rsp + 0x88], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x98], xmm1
lea r8d, [rsi + 0xa]
lea rdx, str.config.ini
lea rcx, [rsp + 0x88]
call fcn.140006c00
nop
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x240]
call fcn.140005950
nop
mov rdx, qword [rsp + 0xa0]
cmp rdx, 0xf
jbe 0x14000351d
inc rdx
mov rcx, qword [rsp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003518
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003518
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400091c4
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x260], xmm0
movups xmmword [rsp + 0x270], xmm0
movups xmmword [rsp + 0x280], xmm0
movups xmmword [rsp + 0x290], xmm0
movups xmmword [rsp + 0x2a0], xmm0
mov qword [rsp + 0x2b0], rax
lea rax, [rsp + 0x260]
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x260], 0
mov qword [rsp + 0x268], rsi
mov qword [rsp + 0x270], rsi
mov ecx, 0x38
call fcn.140009180
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rsp + 0x268], rax
mov qword [rsp + 0x278], rsi
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x280], xmm0
mov qword [rsp + 0x290], 7
mov qword [rsp + 0x298], 8
mov dword [rsp + 0x260], 0x3f800000
mov r8, rax
mov edx, 0x10
lea rcx, [rsp + 0x278]
call fcn.140006640
nop
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x2a0], xmm0
mov qword [rsp + 0x2b0], rsi
lea rdx, [rsp + 0x260]
lea rcx, [rsp + 0x240]
call fcn.1400031e0
test al, al
jne 0x140003887
xorps xmm0, xmm0
movups xmmword [rsp + 0x88], xmm0
mov qword [rsp + 0x98], rsi
mov qword [rsp + 0xa0], rsi
mov r8d, 6
lea rdx, str.Config
lea rcx, [rsp + 0x88]
call fcn.140006c00
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x260]
call fcn.140004920
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x220], xmm0
mov qword [rsp + 0x230], rsi
mov qword [rsp + 0x238], rsi
mov r8d, 0x11
lea rdx, str.InjectionDelay_ms
lea rcx, [rsp + 0x220]
call fcn.140006c00
lea rdx, [rsp + 0x220]
mov rcx, rbx
call fcn.140004720
mov rdx, qword [rax + 0x18]
mov rcx, rax
cmp rdx, 4
jb 0x1400036d0
cmp rdx, 0xf
jbe 0x1400036bc
mov rcx, qword [rax]
mov qword [rax + 0x10], 4
mov dword [rcx], 0x30303033
mov byte [rcx + 4], 0
jmp 0x1400036e1
lea r9, str.3000
mov edx, 4
call fcn.1400072c0
cmp qword [rsp + 0x250], 0
je 0x140003887
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x2c0]
call sub.VCRUNTIME140.dll_memset
lea rax, [rsp + 0x2c0]
mov qword [rsp + 0x80], rax
lea r12, [0x140000000]
lea rax, [r12 + 0xb940]
mov qword [rsp + 0x2c0], rax
lea rcx, [rsp + 0x368]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov edi, 8
mov dword [rsp + 0x30], edi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x2c8]
lea rcx, [rsp + 0x2c0]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rsp + 0x2c0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x2c0], rax
mov rax, qword [rsp + 0x2c0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x2bc], edx
lea rcx, [rsp + 0x2c8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea r15, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rsp + 0x2c8], r15
mov byte [rsp + 0x344], 0
mov byte [rsp + 0x339], 0
lea rcx, [rsp + 0x2c8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rsp + 0x348], rsi
mov rax, qword [0x14000fa18]
mov qword [rsp + 0x33c], rax
mov qword [rsp + 0x330], rsi
mov byte [rsp + 0x3c8], 0
lea rdx, [rsp + 0x240]
cmp qword [rsp + 0x258], 0xf
cmova rdx, qword [rsp + 0x240]
lea r8d, [rdi + 0x1a]
lea rcx, [rsp + 0x2c8]
call fcn.1400061b0
xor r8d, r8d
test rax, rax
mov rax, qword [rsp + 0x2c0]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x2c0]
je 0x14000384b
add rcx, rax
xor edx, edx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool____ptr64]
jmp 0x14000385a
add rcx, rax
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov byte [rsp + 0x3c8], 1
lea rdx, [rsp + 0x260]
lea rcx, [rsp + 0x2c0]
call fcn.140002a30
nop
lea rcx, [rsp + 0x2c0]
call fcn.140003010
jmp 0x140003895
lea r15, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
lea r12, [0x140000000]
xorps xmm0, xmm0
movups xmmword [rsp + 0x1c0], xmm0
mov qword [rsp + 0x1d0], rsi
mov qword [rsp + 0x1d8], rsi
mov r8d, 0xf
lea rdx, str.helldivers2.dll
lea rcx, [rsp + 0x1c0]
call fcn.140006c00
nop
mov r13d, 0xbb8
xorps xmm0, xmm0
movups xmmword [rsp + 0x220], xmm0
mov qword [rsp + 0x230], rsi
mov qword [rsp + 0x238], rsi
mov r8d, 6
lea rdx, str.Config
lea rcx, [rsp + 0x220]
call fcn.140006c00
lea rdx, [rsp + 0x220]
lea rcx, [rsp + 0x260]
call fcn.140004920
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
mov r8d, 0x11
lea rdx, str.InjectionDelay_ms
lea rcx, [rsp + 0x40]
call fcn.140006c00
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140004720
mov rdx, rax
lea rcx, [rsp + 0x1e0]
call fcn.140005950
nop
cmp qword [rsp + 0x1f0], 0
je 0x1400039fc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r14, rax
lea rbx, [rsp + 0x1e0]
cmp qword [rsp + 0x1f8], 0xf
cmova rbx, qword [rsp + 0x1e0]
mov dword [rax], esi
mov r8d, 0xa
lea rdx, [rsp + 0x80]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
mov r13d, eax
cmp rbx, qword [rsp + 0x80]
jne 0x1400039ca
lea rcx, str.invalid_stoi_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
cmp dword [r14], 0x22
jne 0x1400039de
lea rcx, str.stoi_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
nop
jmp 0x1400039fc
lea rcx, [rsp + 0x60]
call fcn.140001300
nop
mov r8d, 1
lea rdx, [0x14000b6c0]
mov rcx, rax
call fcn.140005f10
xorps xmm0, xmm0
movups xmmword [rsp + 0x88], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x98], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x88], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x98], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
or edi, 1
lea rdx, [rsp + 0x1c0]
cmp qword [rsp + 0x1d8], 0xf
cmova rdx, qword [rsp + 0x1c0]
mov r8, qword [rsp + 0x1d0]
lea rcx, [rsp + 0x88]
call fcn.140005f10
xorps xmm0, xmm0
movups xmmword [rsp + 0x200], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x210], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x200], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x210], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
or edi, 2
mov rdx, qword [rsp + 0xa0]
cmp rdx, 0xf
jbe 0x140003b11
inc rdx
mov rcx, qword [rsp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003b0c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003b0c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400091c4
movdqa xmm0, xmmword [0x14000b980]
movdqu xmmword [rsp + 0x98], xmm0
mov byte [rsp + 0x88], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140003b6a
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003b65
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003b65
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400091c4
movdqa xmm0, xmmword [0x14000b980]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0xb0]
call sub.VCRUNTIME140.dll_memset
lea rbx, [rsp + 0x1c0]
cmp qword [rsp + 0x1d8], 0xf
cmova rbx, qword [rsp + 0x1c0]
lea rax, [r12 + 0xb958]
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0x160]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
or edi, 4
mov dword [rsp + 0x30], edi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0xb0]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rsp + 0xb0]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0xb0], rdi
mov rax, qword [rsp + 0xb0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0xac], edx
lea rcx, [rsp + 0xc0]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
mov qword [rsp + 0xc0], r15
mov byte [rsp + 0x13c], 0
mov byte [rsp + 0x131], 0
lea rcx, [rsp + 0xc0]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rsp + 0x140], rsi
mov rax, qword [0x14000fa18]
mov qword [rsp + 0x134], rax
mov qword [rsp + 0x128], rsi
mov r8d, 1
mov rdx, rbx
lea rcx, [rsp + 0xc0]
call fcn.1400061b0
test rax, rax
jne 0x140003cb6
mov rax, qword [rsp + 0xb0]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0xb0]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rsp + 0xb0]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0xb0], rdi
mov rax, qword [rsp + 0xb0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0xac], edx
mov rax, qword [rsp + 0xb0]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0xb0]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
xor ecx, ecx
test al, al
je 0x140003ead
lea rdx, str.Missing_helldivers2.dll_
mov r9d, 0x40010
lea r8, str.Error
call qword [sym.imp.USER32.dll_MessageBoxW]
nop
lea rcx, [rsp + 0xb0]
call fcn.1400028b0
nop
mov rdx, qword [rsp + 0x218]
cmp rdx, 0xf
jbe 0x140003d76
inc rdx
mov rcx, qword [rsp + 0x200]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140003d71
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004538
call fcn.1400091c4
movdqa xmm0, xmmword [0x14000b980]
movdqu xmmword [rsp + 0x210], xmm0
mov byte [rsp + 0x200], 0
mov rdx, qword [rsp + 0x1f8]
cmp rdx, 0xf
jbe 0x140003dd2
mov rcx, qword [rsp + 0x1e0]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003dcd
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000459e
call fcn.1400091c4
mov byte [rsp + 0x1e0], 0
mov qword [rsp + 0x1f8], 0xf
mov qword [rsp + 0x1f0], rsi
mov rdx, qword [rsp + 0x1d8]
cmp rdx, 0xf
jbe 0x140003e31
inc rdx
mov rcx, qword [rsp + 0x1c0]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140003e2c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004600
call fcn.1400091c4
mov qword [rsp + 0x1d0], rsi
mov qword [rsp + 0x1d8], 0xf
mov byte [rsp + 0x1c0], 0
lea rcx, [rsp + 0x2a0]
call fcn.140004b70
lea rcx, [rsp + 0x260]
call fcn.140003100
nop
mov rdx, qword [rsp + 0x258]
cmp rdx, 0xf
jbe 0x140004402
inc rdx
mov rcx, qword [rsp + 0x240]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400043fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jmp 0x1400043f7
movups xmm0, xmmword [str.steam:__rungameid_553850]
movups xmmword [rsp + 0x610], xmm0
movsd xmm0, qword [0x14000b720]
movsd qword [rsp + 0x620], xmm0
movzx eax, byte [0x14000b728]
mov byte [rsp + 0x628], al
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea r8, [rsp + 0x610]
lea rdx, str.open
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r14d, esi
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140003fb4
mov dword [rsp + 0x3d0], 0x238
lea rdx, [rsp + 0x3d0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140003fb4
cmp dword [rsp + 0x3d8], 0
jne 0x140003f60
lea rdx, [rsp + 0x3d0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
nop
mov r8d, 0x104
lea rdx, [rsp + 0x3fc]
lea rcx, [rsp + 0x2c0]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstombs]
lea rdx, str.helldivers2.exe
lea rcx, [rsp + 0x2c0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140003fac
lea rdx, [rsp + 0x3d0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140003f60
jmp 0x140003fb4
mov r14d, dword [rsp + 0x3d8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r14d, r14d
jne 0x140003fd0
lea rdx, str.Unable_to_find_helldivers2_
xor ecx, ecx
jmp 0x140003d11
mov r8d, r14d
mov edx, r14d
lea rcx, str.PID:_0x_X__d_n
call fcn.140001020
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140004004
lea rdx, str.Unable_to_find_helldivers2_
xor ecx, ecx
jmp 0x140003d11
mov dword [rsp + 0x88], 0x1c
lea rdx, [rsp + 0x88]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Thread32First]
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x220], xmm1
mov qword [rsp + 0x230], rsi
lea rdx, [rsp + 0x88]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
je 0x1400040c4
nop dword [rax]
cmp dword [rsp + 0x94], r14d
jne 0x1400040af
mov r8d, dword [rsp + 0x90]
xor edx, edx
lea ecx, [rdx + 0x1a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rsp + 0x80], rax
test rax, rax
je 0x1400040af
mov rdx, qword [rsp + 0x228]
cmp rdx, qword [rsp + 0x230]
je 0x14000409a
mov qword [rdx], rax
add qword [rsp + 0x228], 8
jmp 0x1400040af
lea r8, [rsp + 0x80]
lea rcx, [rsp + 0x220]
call fcn.1400083c0
lea rdx, [rsp + 0x88]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x140004050
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x220]
mov rdi, qword [rsp + 0x230]
cmp rbx, qword [rsp + 0x228]
jne 0x14000414d
lea rdx, str.Unable_to_find_helldivers2_
mov r9d, 0x40010
lea r8, str.Error
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
test rbx, rbx
je 0x140003d25
sub rdi, rbx
sar rdi, 3
lea rdx, [rdi*8]
cmp rdx, 0x1000
jb 0x140004140
add rdx, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x14000453f
mov rbx, rcx
mov rcx, rbx
call fcn.1400091c4
jmp 0x140003d25
mov r8d, r14d
xor edx, edx
lea ecx, [rdx + 0x2a]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r12, rax
test rax, rax
jne 0x14000416c
lea rdx, str.Unable_to_attach_to_helldivers2_
jmp 0x1400040ee
mov dword [rsp + 0x20], 4
xor edx, edx
mov r9d, 0x3000
mov r8d, 0x1000
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r15, rax
test rax, rax
je 0x140004163
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x1400041e4
mov r9d, 0x40010
lea r8, str.Error
lea rdx, str.Unable_to_attach_to_helldivers2_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r15
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140004103
lea rdx, str.LoadLibraryA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r13, rax
test rax, rax
jne 0x14000440c
mov r9d, 0x40010
lea r8, str.Error
lea rdx, str.Unable_to_attach_to_helldivers2_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r15
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rbx, rbx
je 0x14000427c
sub rdi, rbx
sar rdi, 3
lea rdx, [rdi*8]
cmp rdx, 0x1000
jb 0x140004273
add rdx, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x14000453f
mov rbx, rcx
mov rcx, rbx
call fcn.1400091c4
nop
lea rcx, [rsp + 0xb0]
call fcn.1400028b0
nop
mov rdx, qword [rsp + 0x218]
cmp rdx, 0xf
jbe 0x1400042cd
inc rdx
mov rcx, qword [rsp + 0x200]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400042c8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004538
call fcn.1400091c4
movdqa xmm0, xmmword [0x14000b980]
movdqu xmmword [rsp + 0x210], xmm0
mov byte [rsp + 0x200], 0
mov rdx, qword [rsp + 0x1f8]
cmp rdx, 0xf
jbe 0x140004329
inc rdx
mov rcx, qword [rsp + 0x1e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004324
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000459e
call fcn.1400091c4
mov qword [rsp + 0x1f0], rsi
mov qword [rsp + 0x1f8], 0xf
mov byte [rsp + 0x1e0], 0
mov rdx, qword [rsp + 0x1d8]
cmp rdx, 0xf
jbe 0x140004388
inc rdx
mov rcx, qword [rsp + 0x1c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004383
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004600
call fcn.1400091c4
mov qword [rsp + 0x1d0], rsi
mov qword [rsp + 0x1d8], 0xf
mov byte [rsp + 0x1c0], 0
lea rcx, [rsp + 0x2a0]
call fcn.140004b70
lea rcx, [rsp + 0x260]
call fcn.140003100
nop
mov rdx, qword [rsp + 0x258]
cmp rdx, 0xf
jbe 0x140004402
inc rdx
mov rcx, qword [rsp + 0x240]
mov r8, rcx
cmp rdx, 0x1000
jb 0x1400043fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub r8, rcx
add r8, 0xfffffffffffffff8
cmp r8, 0x1f
ja 0x14000467d
call fcn.1400091c4
mov eax, 1
jmp 0x14000468b
lea rax, [rsp + 0x200]
mov rcx, qword [rsp + 0x200]
mov rdx, qword [rsp + 0x218]
cmp rdx, 0xf
cmova rax, rcx
mov r9, 0xffffffffffffffff
inc r9
cmp byte [rax + r9], 0
jne 0x140004433
inc r9
lea r8, [rsp + 0x200]
cmp rdx, 0xf
cmova r8, rcx
mov qword [rsp + 0x20], rsi
mov rdx, r15
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r14, rbx
nop dword [rax]
nop dword [rax + rax]
mov r8, r15
mov rdx, qword [rbx]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
add rbx, 8
cmp rbx, qword [rsp + 0x228]
jne 0x140004470
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9d, 0x40040
lea r8, str.Information
lea rdx, str.Successful
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
test r14, r14
je 0x1400044f0
sub rdi, r14
sar rdi, 3
lea rdx, [rdi*8]
cmp rdx, 0x1000
jb 0x1400044e7
add rdx, 0x27
mov rcx, qword [r14 - 8]
sub r14, rcx
lea rax, [r14 - 8]
cmp rax, 0x1f
ja 0x14000453f
mov r14, rcx
mov rcx, r14
call fcn.1400091c4
nop
lea rcx, [rsp + 0xb0]
call fcn.1400028b0
nop
mov rdx, qword [rsp + 0x218]
cmp rdx, 0xf
jbe 0x14000454b
inc rdx
mov rcx, qword [rsp + 0x200]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004546
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004546
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]
nop
call fcn.1400091c4
movdqa xmm0, xmmword [0x14000b980]
movdqu xmmword [rsp + 0x210], xmm0
mov byte [rsp + 0x200], 0
mov rdx, qword [rsp + 0x1f8]
cmp rdx, 0xf
jbe 0x1400045aa
inc rdx
mov rcx, qword [rsp + 0x1e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400045a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400045a5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400091c4
mov qword [rsp + 0x1f0], rsi
mov qword [rsp + 0x1f8], 0xf
mov byte [rsp + 0x1e0], 0
mov rdx, qword [rsp + 0x1d8]
cmp rdx, 0xf
jbe 0x14000460c
inc rdx
mov rcx, qword [rsp + 0x1c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004607
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004607
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400091c4
mov qword [rsp + 0x1d0], rsi
mov qword [rsp + 0x1d8], 0xf
mov byte [rsp + 0x1c0], 0
lea rcx, [rsp + 0x2a0]
call fcn.140004b70
lea rcx, [rsp + 0x260]
call fcn.140003100
nop
mov rdx, qword [rsp + 0x258]
cmp rdx, 0xf
jbe 0x140004689
inc rdx
mov rcx, qword [rsp + 0x240]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004684
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004684
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400091c4
xor eax, eax
mov rcx, qword [rsp + 0x638]
xor rcx, rsp
call fcn.140009160
lea r11, [rsp + 0x640]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret