Function at 0x140003e70
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 + 0x98], 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 dword [rbp - 0x38], 0
mov qword [rbp + 0x18], 0
lea rax, [rbp - 0x38]
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.1400194f0
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 dword [rbp - 0x48], 0
mov qword [rbp - 8], 0
lea rax, [rbp - 0x48]
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.1400194f0
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 + 0xa0]
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 0x140003fc3
mov qword [rbp + 0xa0], 0xc8
mov rcx, rdi
call fcn.14000b110
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.140013ff0
movzx eax, byte [rbp + 0xd0]
mov byte [rbp + 0xef], al
test al, al
jne 0x140004013
call r15
test eax, eax
je 0x140003fb0
call r12
cmp eax, 0xd
jne 0x140003fb0
jmp 0x140004369
mov rax, qword [rbp + 0xa0]
mov rdi, qword [rbp + 0xb8]
mov qword [rbp + 0x58], rax
cmp qword [rbp + 0xc0], 0x10
jb 0x140004061
mov r9, qword [rbp + 0xa8]
mov rax, qword [rbp + 0x78]
cmp rax, rdi
jb 0x140004071
cmp rax, 0x10
jb 0x140004049
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 0x14000407c
lea r9, [rbp + 0xa8]
mov rax, qword [rbp + 0x78]
cmp rax, rdi
jae 0x14000403f
mov rcx, rsi
mov rdx, rdi
call fcn.14000d6f0
mov eax, dword [rbp + 0xc8]
mov dword [rbp + 0x80], eax
cmp byte [rbp + 0xd0], 0
je 0x1400040d6
mov rax, qword [rbp + 0xc0]
cmp rax, 0x10
jb 0x1400040d6
mov rcx, qword [rbp + 0xa8]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x1400040d1
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x140004433
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 - 0x58], eax
mov qword [rbp - 0x28], 2
lea rax, [rbp - 0x58]
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.1400194f0
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 + 0xa8], 0
mov qword [rbp + 0xb0], 0xd
mov qword [rbp + 0xb8], 0xf
movabs rax, 0x6b6e756c7265764f
mov qword [rbp + 0xa0], rax
movabs rax, 0x6c6c642e796b6e75
mov qword [rbp + 0xa5], rax
mov ecx, dword [rbp + 0x80]
lea rsi, [rbp + 0xa0]
mov rdx, rsi
call fcn.1400131f0
mov ebx, eax
mov rax, qword [rbp + 0xb8]
cmp rax, 0x10
mov rdi, qword [rbp + 0x98]
jb 0x1400041ea
mov rcx, qword [rbp + 0xa0]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x1400041e5
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14000442d
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.140031ab8
test bl, bl
je 0x140004263
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 dword [rbp + 0xa0], 0
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.1400194f0
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 0x140004369
mov rax, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 8
mov rcx, rdi
jb 0x140004274
mov rcx, qword [rdi]
mov qword [rbp + 0xd8], rcx
mov qword [rbp + 0xe0], rax
call fcn.1400322c0
lea rcx, [rbp + 0xa0]
lea r8, [rbp + 0xd8]
lea r9, [rbp + 0x88]
mov edx, eax
call fcn.14000f240
lea rcx, [rbp + 0x58]
mov rdx, rsi
call fcn.1400134b0
mov rax, qword [rbp + 0xb8]
cmp rax, 0x10
jb 0x1400042f4
mov rcx, qword [rbp + 0xa0]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x1400042ef
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x140004439
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 dword [rbp + 0xa0], 0
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.1400194f0
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.140003c30
mov rax, qword [rbp + 0x78]
cmp rax, 0x10
mov rsi, qword [rbp + 0x98]
jb 0x1400043af
mov rcx, qword [rbp + 0x60]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x1400043aa
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x140004421
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.140031ab8
mov rax, qword [rsi + 0x18]
cmp rax, 8
jb 0x1400043f0
mov rcx, qword [rsi]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x1400043eb
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x140004427
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