Function at 0x140001800
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x7c0]
sub rsp, 0x8c0
mov rax, qword [0x140008040]
xor rax, rsp
mov qword [rbp + 0x7b0], rax
movzx esi, r8b
mov r12, rdx
mov rbx, rcx
mov edx, 0x5c
mov rcx, r12
call qword [sym.imp.VCRUNTIME140.dll_wcsrchr]
mov r15, rax
xor dil, dil
mov eax, 4
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
xor r13d, r13d
mov ecx, dword [rax + rcx]
cmp dword [0x140008784], ecx
jle 0x1400018cb
lea rcx, [0x140008784]
call fcn.140002fc0
cmp dword [0x140008784], 0xffffffff
jne 0x1400018cb
mov qword [0x140008760], r13
mov qword [0x140008768], r13
mov ecx, 0x20
call fcn.140003038
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [0x140008760], rax
lea rcx, [0x140004040]
call fcn.14000329c
nop
lea rcx, [0x140008784]
call fcn.140002f54
test r15, r15
je 0x1400018d6
add r15, 2
jmp 0x1400018e0
mov r15, r12
nop dword [rax]
mov edx, dword [rbx + 8]
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x140001923
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x18
je 0x1400018e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea rdx, [rbx + 0x2c]
mov r8d, dword [rbx + 8]
lea rcx, str._S___d_:_Unable_to_verify_if_3DMigoto_was_successfully_loaded:__d_n
call fcn.1400012d0
xor al, al
jmp 0x140001967
mov dword [rsp + 0x50], 0x438
lea rdx, [rsp + 0x50]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
jne 0x140001991
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea rdx, [rbx + 0x2c]
mov r8d, dword [rbx + 8]
lea rcx, str._S___d_:_Unable_to_verify_if_3DMigoto_was_successfully_loaded:__d_n
call fcn.1400012d0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, dil
mov rcx, qword [rbp + 0x7b0]
xor rcx, rsp
call fcn.140002ef0
mov rbx, qword [rsp + 0x910]
add rsp, 0x8c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
test sil, sil
je 0x1400019ac
lea r8, [rbp + 0x180]
mov edx, dword [rbx + 8]
lea rcx, str.Target_process_found___i_:__S_n
call fcn.1400012d0
lea r8, [rbp + 0x180]
mov edx, 0x104
lea rcx, [rbp + 0x5a0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
xor dil, dil
lea rdx, [rsp + 0x50]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
je 0x14000195a
lea rsi, [0x140008760]
mov rdx, r15
lea rcx, [rbp - 0x80]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x140001b7e
mov rdx, r12
lea rcx, [rbp + 0x180]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x140001b1f
mov rcx, qword [0x140008760]
mov rax, qword [rcx + 8]
cmp byte [rax + 0x19], 0
jne 0x140001a39
mov edx, dword [rbx + 8]
cmp dword [rax + 0x1c], edx
jae 0x140001a2d
mov rax, qword [rax + 0x10]
jmp 0x140001a33
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140001a22
cmp byte [rcx + 0x19], 0
jne 0x140001a4b
mov eax, dword [rcx + 0x1c]
cmp dword [rbx + 8], eax
jae 0x140001b1a
mov edx, dword [rbx + 8]
lea rcx, str._d:_3DMigoto_loaded_:__n
call fcn.1400012d0
mov rdi, qword [0x140008760]
mov rax, qword [rdi + 8]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], r13d
mov rcx, rdi
cmp byte [rax + 0x19], 0
jne 0x140001aa9
mov edx, dword [rbx + 8]
nop dword [rax + rax]
mov qword [rsp + 0x20], rax
cmp dword [rax + 0x1c], edx
jae 0x140001a95
mov dword [rsp + 0x28], r13d
mov rax, qword [rax + 0x10]
jmp 0x140001aa3
mov dword [rsp + 0x28], 1
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140001a80
cmp byte [rcx + 0x19], 0
jne 0x140001ab7
mov eax, dword [rcx + 0x1c]
cmp dword [rbx + 8], eax
jae 0x140001b1a
movabs rax, 0x7ffffffffffffff
cmp qword [0x140008768], rax
je 0x140001b99
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], r13
mov ecx, 0x20
call fcn.140003038
mov r8, rax
mov eax, dword [rbx + 8]
mov dword [r8 + 0x1c], eax
mov qword [r8], rdi
mov qword [r8 + 8], rdi
mov qword [r8 + 0x10], rdi
mov word [r8 + 0x18], 0
mov qword [rsp + 0x48], r13
movups xmm0, xmmword [rsp + 0x20]
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140002c60
mov dil, 1
jmp 0x140001b7e
lea r8, [rbp + 0x180]
mov edx, 0x104
lea rcx, [rbp + 0x390]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov edx, 0x5c
lea rcx, [rbp + 0x5a0]
call qword [sym.imp.VCRUNTIME140.dll_wcsrchr]
mov word [rax + 2], r13w
mov edx, 0x5c
lea rcx, [rbp + 0x390]
call qword [sym.imp.VCRUNTIME140.dll_wcsrchr]
mov word [rax + 2], r13w
lea rdx, [rbp + 0x390]
lea rcx, [rbp + 0x5a0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140001b9f
lea rdx, [rsp + 0x50]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x1400019e1
jmp 0x14000195a
call fcn.140001520
int3
lea rdx, [rbp + 0x180]
lea rcx, str._n_n_nWARNING:_Found_a_second_copy_of_3DMigoto_loaded_from_the_game_directory:_n_S_nThis_may_crash___please_remove_the_copy_in_the_game_directory_and_try_again_n_n_n
call fcn.1400012d0
lea rdx, str._nPress_enter_to_close..._n
call fcn.140001560
int3