Function at 0x140004220
Capabilities:
Set console window title

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x1a0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xf0], 0xfffffffffffffffe
mov qword [rbp + 0xd0], rcx
lea rcx, str.Overlunky__Start_your_game_or_press_ENTER_to_launch_.._Spel2.exe_
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov qword [rbp + 0x18], 0
lea rax, [rbp - 0x48]
mov qword [rbp + 0x20], rax
lea rax, str._info__Searching_for_Spel2.exe_process..._n
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x30], 0x2a
lea rcx, [rbp + 0x28]
lea rdx, [rbp + 0x18]
call fcn.140019260
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov qword [rbp - 8], 0
lea rax, [rbp - 0x58]
mov qword [rbp], rax
lea rax, str._info__Start_your_game_or_press_ENTER_to_launch_.._Spel2.exe__n
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], 0x3e
lea rcx, [rbp + 8]
lea rdx, [rbp - 8]
call fcn.140019260
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
lea rsi, [rbp + 0x60]
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x78], 0xf
movabs r14, 0x78652e326c657053
lea rdi, [rbp + 0x98]
lea rbx, [rbp + 0x38]
mov r15, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__kbhit]
mov r12, qword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getche]
jmp 0x140004363
mov qword [rbp + 0x98], 0xc8
mov rcx, rdi
call fcn.14000b270
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x48], 9
mov qword [rbp + 0x50], 0xf
mov qword [rbp + 0x38], r14
mov byte [rbp + 0x40], 0x65
mov rcx, rdi
mov rdx, rbx
call fcn.140014610
movzx eax, byte [rbp + 0xc8]
mov byte [rbp + 0xef], al
test al, al
jne 0x1400043b3
call r15
test eax, eax
je 0x140004350
call r12
cmp eax, 0xd
jne 0x140004350
jmp 0x1400046f5
mov rax, qword [rbp + 0x98]
mov rdi, qword [rbp + 0xb0]
mov qword [rbp + 0x58], rax
cmp qword [rbp + 0xb8], 0x10
jb 0x140004401
mov r9, qword [rbp + 0xa0]
mov rax, qword [rbp + 0x78]
cmp rax, rdi
jb 0x140004411
cmp rax, 0x10
jb 0x1400043e9
mov rsi, qword [rbp + 0x60]
mov qword [rbp + 0x70], rdi
mov rcx, rsi
mov rdx, r9
mov r8, rdi
call sub.VCRUNTIME140.dll_memmove
mov byte [rsi + rdi], 0
jmp 0x14000441c
lea r9, [rbp + 0xa0]
mov rax, qword [rbp + 0x78]
cmp rax, rdi
jae 0x1400043df
mov rcx, rsi
mov rdx, rdi
call fcn.14000dab0
mov eax, dword [rbp + 0xc0]
mov dword [rbp + 0x80], eax
cmp byte [rbp + 0xc8], 0
je 0x140004476
mov rax, qword [rbp + 0xb8]
cmp rax, 0x10
jb 0x140004476
mov rcx, qword [rbp + 0xa0]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140004471
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x1400047bf
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.140031ab8
lea rcx, str.Overlunky
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov eax, dword [rbp + 0x80]
mov dword [rbp - 0x38], eax
mov qword [rbp - 0x28], 2
lea rax, [rbp - 0x38]
mov qword [rbp - 0x20], rax
lea rax, str._info__Found_Spel2.exe_PID:__n
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], 0x1f
lea rcx, [rbp - 0x18]
lea rdx, [rbp - 0x28]
call fcn.140019260
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov qword [rbp + 0xa0], 0
mov qword [rbp + 0xa8], 0xd
mov qword [rbp + 0xb0], 0xf
movabs rax, 0x6b6e756c7265764f
mov qword [rbp + 0x98], rax
movabs rax, 0x6c6c642e796b6e75
mov qword [rbp + 0x9d], rax
mov ecx, dword [rbp + 0x80]
lea rsi, [rbp + 0x98]
mov rdx, rsi
call fcn.1400137e0
mov ebx, eax
mov rax, qword [rbp + 0xb0]
cmp rax, 0x10
mov rdi, qword [rbp + 0xd0]
jb 0x14000458a
mov rcx, qword [rbp + 0x98]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140004585
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x1400047b9
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.140031ab8
test bl, bl
je 0x1400045f9
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov qword [rbp + 0xd8], 0
mov qword [rbp + 0xe0], rsi
lea rax, str._info__Already_injected__lets_not_do_that_again._If_you_want_to_inject_multiple_game_processes__use_the___launch_game_parameter._n
mov qword [rbp + 0x88], rax
mov qword [rbp + 0x90], 0x82
lea rcx, [rbp + 0x88]
lea rdx, [rbp + 0xd8]
call fcn.140019260
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
jmp 0x1400046f5
mov rax, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 8
mov rcx, rdi
jb 0x14000460a
mov rcx, qword [rdi]
mov qword [rbp + 0xd8], rcx
mov qword [rbp + 0xe0], rax
call fcn.1400322c0
lea rcx, [rbp + 0x98]
lea r8, [rbp + 0xd8]
lea r9, [rbp + 0x88]
mov edx, eax
call fcn.14000f680
lea rcx, [rbp + 0x58]
mov rdx, rsi
call fcn.140013aa0
mov rax, qword [rbp + 0xb0]
cmp rax, 0x10
jb 0x14000468a
mov rcx, qword [rbp + 0x98]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140004685
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x1400047c5
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.140031ab8
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov qword [rbp + 0xd8], 0
mov qword [rbp + 0xe0], rsi
lea rax, str._info__DLL_injected_n
mov qword [rbp + 0x88], rax
mov qword [rbp + 0x90], 0x14
lea rcx, [rbp + 0x88]
lea rdx, [rbp + 0xd8]
call fcn.140019260
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
call fcn.140003fe0
mov rax, qword [rbp + 0x78]
cmp rax, 0x10
mov rsi, qword [rbp + 0xd0]
jb 0x14000473b
mov rcx, qword [rbp + 0x60]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140004736
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x1400047ad
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.140031ab8
mov rax, qword [rsi + 0x18]
cmp rax, 8
jb 0x14000477c
mov rcx, qword [rsi]
lea rdx, [rax*2 + 2]
cmp rdx, 0x1000
jb 0x140004777
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x1400047b3
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, r8
call fcn.140031ab8
cmp byte [rbp + 0xef], 0
sete al
mov qword [rsi + 0x10], 0
mov qword [rsi + 0x18], 7
mov word [rsi], 0
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3