Function at 0x1400025d0
Capabilities:
Create process on windows
Create thread
Inject dll
Inject thread
Set environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x140039080]
xor rax, rsp
mov qword [rbp + 0x90], rax
xor edi, edi
mov qword [rbp + 0x18], 0xf
xorps xmm0, xmm0
mov qword [rbp + 0x10], rdi
movups xmmword [rbp], xmm0
lea r9, [rbp - 0x60]
mov byte [rbp], dil
movups xmmword [rbp - 0x20], xmm0
lea r8, [rbp - 0x78]
mov byte [rbp - 0x20], dil
movups xmmword [rbp - 0x60], xmm0
lea rdx, [rbp - 0x20]
mov byte [rbp - 0x60], dil
lea rcx, [rbp]
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], 0xf
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], 0xf
movdqu xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rdi
call fcn.140001ce0
mov rsi, qword [rbp + 0x10]
mov r13, qword [rbp + 0x18]
mov r12, qword [rbp]
test rsi, rsi
jne 0x140002694
lea rdx, str.No_application_specified_
call fcn.140004a80
mov rcx, rax
call fcn.140004d60
lea ebx, [rdi + 1]
jmp 0x140002afd
cmp qword [rbp - 0x50], rdi
je 0x140002719
cmp qword [rbp - 0x48], 0x10
lea rdx, [rbp - 0x60]
lea rcx, str.SteamAppId
cmovae rdx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
lea rdx, [0x140033744]
lea rcx, str.STEAM_RUNTIME
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
lea rdx, [0x140033744]
lea rcx, str.STEAM_LAUNCHER
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
lea rdx, [0x140033744]
lea rcx, str.STEAM_SKIP_INITIAL_REPAIR
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
lea rdx, [0x140033784]
lea rcx, str.STEAM_UI_LANGUAGE
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
lea rdx, str.bootstrapper
lea rcx, str.SteamLaunchMode
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
xorps xmm0, xmm0
mov dword [rbp + 0x20], 0x68
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, rsi
movups xmmword [rbp + 0x28], xmm0
movups xmmword [rbp + 0x38], xmm0
movups xmmword [rbp + 0x48], xmm0
movups xmmword [rbp + 0x58], xmm0
movups xmmword [rbp + 0x68], xmm0
movups xmmword [rbp + 0x78], xmm0
cmp rax, 1
jb 0x140002c48
cmp r13, 0x10
lea r15, [rbp]
lea r14, [rsi + 1]
mov ebx, 0xf
cmovae r15, r12
lea rdi, [rsp + 0x50]
xorps xmm1, xmm1
movups xmmword [rsp + 0x50], xmm0
movdqu xmmword [rsp + 0x60], xmm1
cmp r14, rbx
jbe 0x1400027fc
mov rbx, r14
or rbx, 0xf
cmp rbx, rcx
jbe 0x1400027be
movabs rax, 0x8000000000000000
mov rbx, rcx
add rax, 0x27
mov rcx, rax
call fcn.140007548
test rax, rax
je 0x140002c4e
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400027f7
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1400027e6
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140002c42
jmp 0x14000279f
test rcx, rcx
je 0x1400027f5
call fcn.140007548
mov rdi, rax
jmp 0x1400027f7
xor edi, edi
mov qword [rsp + 0x50], rdi
mov r8, rsi
mov qword [rsp + 0x60], r14
mov rdx, r15
mov qword [rsp + 0x68], rbx
mov rcx, rdi
call fcn.140009400
cmp qword [rbp - 8], 0x10
lea rdx, [rbp - 0x20]
mov r8, qword [rbp - 0x10]
lea rcx, [rsp + 0x50]
cmovae rdx, qword [rbp - 0x20]
mov byte [rdi + rsi], 0x20
mov byte [rdi + r14], 0
call fcn.140004620
xor edi, edi
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], dil
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x1400028a5
mov rcx, qword [rsp + 0x50]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400028a0
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002c4e
call fcn.140007540
cmp qword [rbp - 0x28], 0x10
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rdx, [rbp - 0x40]
cmovae rdx, qword [rbp - 0x40]
lea rax, [rbp + 0x20]
mov qword [rsp + 0x40], rax
xor r9d, r9d
mov qword [rsp + 0x38], rdi
xor r8d, r8d
mov qword [rsp + 0x30], rdi
xor ecx, ecx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x140002908
lea rdx, str.Failed_to_start_the_application_
call fcn.140004a80
mov rcx, rax
call fcn.140004d60
mov ebx, 1
jmp 0x140002ab1
mov r15, qword [rbp - 0x70]
mov rbx, qword [rbp - 0x78]
cmp rbx, r15
je 0x140002a89
nop dword [rax]
cmp qword [rbx + 0x18], 0x10
mov rdi, rbx
jb 0x14000292d
mov rdi, qword [rbx]
mov r8d, dword [rbp - 0x80]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
jne 0x140002952
lea rdx, str.Failed_to_open_process_
jmp 0x140002a02
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdi + r8], 0
jne 0x140002960
inc r8
mov dword [rsp + 0x20], 4
xor edx, edx
mov r9d, 0x1000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r14, rax
mov r9, 0xffffffffffffffff
inc r9
cmp byte [rdi + r9], 0
jne 0x140002990
inc r9
mov qword [rsp + 0x20], 0
mov r8, rdi
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rcx, str.Kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.LoadLibraryA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ecx, ecx
xor r8d, r8d
mov qword [rsp + 0x30], rcx
mov r9, rax
mov dword [rsp + 0x28], ecx
xor edx, edx
mov rcx, rsi
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rdi, rax
test rax, rax
jne 0x140002a18
lea rdx, str.Failed_to_create_remote_thread_
call fcn.140004a80
mov rcx, rax
call fcn.140004d60
lea rdx, str.Failed_to_inject_DLL:
jmp 0x140002a54
mov edx, 0xffffffff
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.Successfully_injected_DLL:
call fcn.140004a80
cmp qword [rbx + 0x18], 0x10
mov rdx, rbx
mov r8, qword [rbx + 0x10]
jb 0x140002a6a
mov rdx, qword [rbx]
mov rcx, rax
call fcn.140005c60
mov rcx, rax
call fcn.140004d60
add rbx, 0x20
cmp rbx, r15
jne 0x140002920
xor edi, edi
mov rcx, qword [rsp + 0x70]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, edi
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x140002aec
mov rcx, qword [rbp - 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002ae7
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002c3c
call fcn.140007540
movdqa xmm0, xmmword [0x1400338b0]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], 0
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x140002b54
mov rdx, qword [rbp - 0x70]
call fcn.140005030
mov rcx, qword [rbp - 0x78]
mov rdx, qword [rbp - 0x68]
mov rax, rcx
sub rdx, rcx
and rdx, 0xffffffffffffffe0
cmp rdx, 0x1000
jb 0x140002b43
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002c3c
call fcn.140007540
xorps xmm0, xmm0
mov qword [rbp - 0x68], rdi
movdqu xmmword [rbp - 0x78], xmm0
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x140002b8f
mov rcx, qword [rbp - 0x60]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002b8a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002c3c
call fcn.140007540
mov rdx, qword [rbp - 8]
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], 0xf
mov byte [rbp - 0x60], 0
cmp rdx, 0x10
jb 0x140002bd6
mov rcx, qword [rbp - 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002bd1
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002c3c
call fcn.140007540
cmp r13, 0x10
jb 0x140002c0a
lea rdx, [r13 + 1]
mov rax, r12
cmp rdx, 0x1000
jb 0x140002c02
mov r12, qword [r12 - 8]
add rdx, 0x27
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002c3c
mov rcx, r12
call fcn.140007540
mov eax, ebx
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.140007520
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14000f834
int3
call fcn.140001250
int3
call fcn.1400012f0
int3
call fcn.14000f834
int3