Function at 0x140039940
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x100]
sub rsp, 0x200
mov rax, qword [0x140054040]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor r14d, r14d
mov dword [rcx], r14d
xorps xmm0, xmm0
movups xmmword [rcx + 8], xmm0
mov qword [rcx + 0x18], r14
mov qword [rcx + 0x20], 0xf
mov byte [rcx + 8], r14b
xor eax, eax
mov qword [rcx + 0x28], rax
mov qword [rcx + 0x30], r14
mov byte [rcx + 0x38], al
movups xmmword [rcx + 0x40], xmm0
mov qword [rcx + 0x50], r14
mov qword [rcx + 0x58], 0xf
mov byte [rcx + 0x40], al
lea rsi, [rcx + 0x60]
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], 7
mov word [rsi], r14w
lea rbx, [rcx + 0x80]
mov qword [rsp + 0x50], rbx
mov dword [rbx], r14d
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], r14
lea ecx, [rax + 0x38]
call fcn.14004167c
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbx + 8], rax
lea rcx, [rbx + 0x18]
mov qword [rcx], r14
mov qword [rcx + 8], r14
mov qword [rcx + 0x10], r14
mov qword [rbx + 0x30], 7
mov qword [rbx + 0x38], 8
mov dword [rbx], 0x3f800000
mov r8, qword [rbx + 8]
lea edx, [r14 + 0x10]
call fcn.14003ce90
nop
lea r15, str.HuntGame.exe
cmp qword [rsi + 0x18], 0xc
jb 0x140039a5c
mov rbx, qword [rsi]
mov qword [rsi + 0x10], 0xc
lea r8d, [r14 + 0x18]
mov rdx, r15
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + 0x18], r14w
jmp 0x140039a69
mov edx, 0xc
mov rcx, rsi
call fcn.14003db90
mov rax, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 7
jbe 0x140039a81
mov rcx, qword [rsi]
lea r8, [rcx + rax*2]
mov rdx, qword [rdi + 0x60]
jmp 0x140039a89
lea r8, [rsi + rax*2]
lea rdx, [rdi + 0x60]
lea rcx, [rsp + 0x20]
call fcn.140039240
lea rcx, [rdi + 0x40]
mov rdx, rax
call fcn.140036500
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x140039adf
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140039ada
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140039ada
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004130c
cmp qword [0x140d4d3f0], 0
jne 0x140039dd1
lea rcx, str.loading_libraries...
call fcn.140039650
lea rcx, str.vmm.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x140d4d4b0], rax
lea rcx, str.FTD3XX.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x140d4d4b8], rax
lea rcx, str.leechcore.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x140d4d4c0], rax
lea rcx, str.dbghelp.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rcx, str.symsrv.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp qword [0x140d4d4b0], 0
je 0x140039b6d
cmp qword [0x140d4d4b8], 0
je 0x140039b6d
cmp qword [0x140d4d4c0], 0
jne 0x140039bb2
lea rcx, str.ERROR:_could_not_load_a_library:
call fcn.140039650
mov rdx, qword [0x140d4d4b0]
lea rcx, str.vmm:__p_n
call fcn.140039650
mov rdx, qword [0x140d4d4b8]
lea rcx, str.ftd:__p_n
call fcn.140039650
mov rdx, qword [0x140d4d4c0]
lea rcx, str.leech:__p_n
call fcn.140039650
lea rcx, str.inizializing...
call fcn.140039650
lea rax, str._norefresh
mov qword [rbp - 0x60], rax
lea rax, str._device
mov qword [rbp - 0x58], rax
lea rax, str.fpga
mov qword [rbp - 0x50], rax
lea rax, [0x14004b040]
mov qword [rbp - 0x48], rax
lea rax, [0x1400449cf]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
mov ebx, 5
lea rcx, str.dumping_memory_map_to_file...
call fcn.140039650
call fcn.14003a020
test al, al
jne 0x140039c31
lea rcx, str.ERROR:_Could_not_dump_memory_map_
call fcn.140039650
lea rcx, str.Defaulting_to_no_memory_map_
call fcn.140039650
jmp 0x140039c6a
lea rcx, str.Dumped_memory_map_
call fcn.140039650
mov r8d, 0x104
lea rdx, [rbp - 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rax, str._memmap
mov qword [rbp - 0x38], rax
lea rax, str.mmap.txt
mov qword [rbp - 0x30], rax
mov ebx, 7
lea rdx, [rbp - 0x60]
mov ecx, ebx
call qword [sym.imp.VMM.dll_VMMDLL_Initialize]
mov qword [0x140d4d3f0], rax
test rax, rax
jne 0x140039c93
lea rcx, str.ERROR:_Initialization_failed__Is_the_DMA_in_use_or_disconnected_
call fcn.140039650
jmp 0x140039f31
lea r8, [rsp + 0x78]
movabs rdx, 0x300008100000000
mov rcx, rax
call qword [sym.imp.VMM.dll_VMMDLL_ConfigGet]
lea r8, [rsp + 0x50]
movabs rdx, 0x300008000000000
mov rcx, qword [0x140d4d3f0]
call qword [sym.imp.VMM.dll_VMMDLL_ConfigGet]
mov rdx, qword [rsp + 0x78]
lea rcx, str.FPGA_ID:__llu
call fcn.140039650
mov rdx, qword [rsp + 0x50]
lea rcx, str.DEVICE_ID:__llu
call fcn.140039650
lea rcx, str.success_
call fcn.140039650
mov r8d, 1
mov edx, dword [rdi]
mov rcx, qword [0x140d4d3f0]
call qword [sym.imp.VMM.dll_VMMDLL_Scatter_Initialize]
mov qword [0x140d4d400], rax
test rax, rax
je 0x140039f8f
lea rcx, str.SUCCESS:_VMMDLL_SCATTER_HANDLE
call fcn.140039650
mov r8d, 1
mov edx, dword [rdi]
mov rcx, qword [0x140d4d3f0]
call qword [sym.imp.VMM.dll_VMMDLL_Scatter_Initialize]
mov qword [0x140d4d4a8], rax
test rax, rax
je 0x140039fbe
lea rcx, str.SUCCESS:_VMMDLL_SCATTER_HANDLE
call fcn.140039650
mov r8d, 1
mov edx, dword [rdi]
mov rcx, qword [0x140d4d3f0]
call qword [sym.imp.VMM.dll_VMMDLL_Scatter_Initialize]
mov qword [0x140d4d508], rax
test rax, rax
je 0x140039fed
lea rcx, str.SUCCESS:_VMMDLL_SCATTER_HANDLE
call fcn.140039650
mov r8d, 1
mov edx, dword [rdi]
mov rcx, qword [0x140d4d3f0]
call qword [sym.imp.VMM.dll_VMMDLL_Scatter_Initialize]
mov qword [0x140d4d4f8], rax
test rax, rax
je 0x140039f60
lea rcx, str.SUCCESS:_VMMDLL_SCATTER_HANDLE
call fcn.140039650
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x14004b1b8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rdx, r15
lea rcx, [rbp - 0x80]
call fcn.1400363b0
nop
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova rdx, qword [rbp - 0x80]
mov rax, qword [rbp - 0x70]
lea r8, [rdx + rax*2]
lea rdx, [rbp - 0x80]
cmova rdx, qword [rbp - 0x80]
lea rcx, [rsp + 0x58]
call fcn.140039240
nop
lea rcx, [rdi + 8]
lea rax, [rsp + 0x58]
mov rbx, qword [rsp + 0x70]
cmp rcx, rax
je 0x140039e6a
lea r9, [rsp + 0x58]
cmp rbx, 0xf
cmova r9, qword [rsp + 0x58]
mov rax, qword [rcx + 0x18]
mov rsi, qword [rsp + 0x68]
cmp rsi, rax
ja 0x140039e5d
mov r14, rcx
cmp rax, 0xf
jbe 0x140039e44
mov r14, qword [rcx]
mov qword [rcx + 0x10], rsi
mov r8, rsi
mov rdx, r9
mov rcx, r14
call sub.VCRUNTIME140.dll_memmove
mov byte [rsi + r14], 0
jmp 0x140039e6a
mov rdx, rsi
call fcn.140037070
mov rbx, qword [rsp + 0x70]
mov qword [rdi + 0x28], r15
lea rdx, [rdi + 8]
cmp qword [rdx + 0x18], 0xf
jbe 0x140039e7c
mov rdx, qword [rdx]
mov r8, rdi
mov rcx, qword [0x140d4d3f0]
call qword [sym.imp.VMM.dll_VMMDLL_PidGetFromName]
test eax, eax
jne 0x140039eac
lea rdx, [rdi + 8]
cmp qword [rdx + 0x18], 0xf
jbe 0x140039e9e
mov rdx, qword [rdx]
lea rcx, str.WARN:_Process_with_name__s_not_found_
call fcn.140039650
jmp 0x140039eb0
mov byte [rdi + 0x38], 1
cmp rbx, 0xf
jbe 0x140039eed
lea rdx, [rbx + 1]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140039ee7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140039ee7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004130c
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x140039f31
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140039f2b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140039f2b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004130c
nop
mov rax, rdi
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.140041170
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
lea rcx, str.FAIL:_VMMDLL_SCATTER_HANDLE
call fcn.140039650
lea rdx, str.VMMDLL_SCATTER_HANDLE_fail.
lea rcx, [rsp + 0x20]
call fcn.140039400
lea rdx, [0x1400516e0]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rcx, str.FAIL:_VMMDLL_SCATTER_HANDLE
call fcn.140039650
lea rdx, str.VMMDLL_SCATTER_HANDLE_fail.
lea rcx, [rsp + 0x20]
call fcn.140039400
lea rdx, [0x1400516e0]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rcx, str.FAIL:_VMMDLL_SCATTER_HANDLE
call fcn.140039650
lea rdx, str.VMMDLL_SCATTER_HANDLE_fail.
lea rcx, [rsp + 0x20]
call fcn.140039400
lea rdx, [0x1400516e0]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rcx, str.FAIL:_VMMDLL_SCATTER_HANDLE
call fcn.140039650
lea rdx, str.VMMDLL_SCATTER_HANDLE_fail.
lea rcx, [rsp + 0x20]
call fcn.140039400
lea rdx, [0x1400516e0]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3