Function at 0x140001480
Capabilities:
Access peb ldr_data
Create thread
Enumerate processes
Get file size
Get kernel32 base address
Get process filename
Read file on windows
Resolve function by hash

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2f0]
sub rsp, 0x3f0
mov rax, qword [0x140006008]
xor rax, rsp
mov qword [rbp + 0x2e0], rax
mov rbx, rdx
mov esi, ecx
mov ecx, 0x70
call fcn.140002b50
mov qword [rbp - 0x78], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x60], xmm0
mov rdx, rbx
mov rcx, rax
call fcn.140001230
mov rdi, rax
mov qword [rbp + 0x80], rax
mov rcx, qword gs:[0x60]
mov rdx, qword [rcx + 0x18]
mov r9, qword [rdx + 0x28]
xor r12d, r12d
mov r8, qword [rdx + 0x20]
cmp r8, r9
je 0x140001556
mov rdx, qword [r8 + 0x40]
mov eax, r12d
movzx ecx, word [rdx]
test cx, cx
je 0x14000154b
nop word [rax + rax]
ror eax, 0xd
movzx ecx, cx
add eax, ecx
lea rdx, [rdx + 2]
movzx ecx, word [rdx]
test cx, cx
jne 0x140001530
cmp eax, 0x8cecf06b
je 0x140001550
mov r8, qword [r8]
jmp 0x140001516
mov rax, qword [r8 + 0x20]
jmp 0x140001559
mov rax, r12
mov qword [rdi + 0x38], rax
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov r9, qword [rcx + 0x28]
mov r8, qword [rcx + 0x20]
cmp r8, r9
je 0x1400015b7
mov rdx, qword [r8 + 0x40]
mov ecx, r12d
movzx eax, word [rdx]
test ax, ax
je 0x1400015ac
nop word [rax + rax]
ror ecx, 0xd
movzx eax, ax
add ecx, eax
lea rdx, [rdx + 2]
movzx eax, word [rdx]
test ax, ax
jne 0x140001590
cmp ecx, 0x1f69902e
je 0x1400015b1
mov r8, qword [r8]
jmp 0x140001572
mov rax, qword [r8 + 0x20]
jmp 0x1400015ba
mov rax, r12
mov qword [rdi + 0x40], rax
cmp esi, 3
jge 0x1400015eb
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1400015d0
mov rdx, qword [rdi]
lea rcx, str.Usage:__s__dll_path___process_name__n
call fcn.140001010
mov r14d, 1
lea rsi, [rdi + 0x30]
jmp 0x140001fe9
mov rax, qword [rdi + 0x28]
mov r15, 0xffffffffffffffff
mov rcx, r15
nop dword [rax]
inc rcx
cmp byte [rax + rcx], r12b
jne 0x140001600
inc rcx
mov eax, 2
mul rcx
cmovo rax, r15
mov rcx, rax
call fcn.140002b9c
mov r13, rax
mov qword [rbp + 0x88], rax
mov r9, qword [rdi + 0x28]
mov r8, r15
inc r8
cmp byte [r9 + r8], 0
jne 0x140001631
inc r8
mov qword [rsp + 0x20], r15
mov rdx, r13
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs_s]
xor edx, edx
mov r8d, 0x234
lea rcx, [rbp + 0xa4]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
mov dword [rbp + 0xa0], 0x238
lea rdx, [rbp + 0xa0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140001fb3
mov rcx, r13
lea r8, [rbp + 0xcc]
sub r8, r13
nop
movzx edx, word [rcx]
movzx eax, word [rcx + r8]
sub edx, eax
jne 0x1400016b4
add rcx, 2
test eax, eax
jne 0x1400016a0
mov rcx, rbx
test edx, edx
je 0x1400016ca
lea rdx, [rbp + 0xa0]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x14000168a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 0xa8]
test eax, eax
je 0x140001fbc
mov r9d, eax
mov r8, qword [rdi + 0x28]
lea rdx, str.Found__s__0x_X_
mov rcx, rdi
call fcn.1400028a0
mov r14, qword [rdi + 0x20]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
test rax, rax
je 0x140001fcf
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x58], eax
mov r12d, eax
mov ecx, eax
call fcn.140002b9c
lea rsi, [rdi + 0x30]
lea rcx, [rbp + 0x50]
cmp rsi, rcx
je 0x14000175e
mov rcx, qword [rsi]
mov qword [rsi], rax
test rcx, rcx
je 0x14000176b
jmp 0x140001761
mov rcx, rax
mov edx, 1
call fcn.140002b94
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, dword [rsp + 0x58]
mov rdx, qword [rsi]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, qword [rsi]
test eax, eax
jne 0x1400017b2
mov r9, rcx
mov r8, r14
lea rdx, str.Failed_to_load__s_into_0x_llX
mov rcx, rdi
call fcn.140002930
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140001fcf
mov qword [rsp + 0x20], rcx
mov r9, r14
mov r8d, dword [rsp + 0x58]
lea rdx, str.Loaded__d_bytes_from__s_into_buffer_at_0x_llX
mov rcx, rdi
call fcn.1400028a0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rdi + 0x40], 0
je 0x140001fcf
mov r9, qword [rdi + 0x38]
test r9, r9
je 0x140001fcf
mov r8d, 0x8cecf06b
lea rdx, str.Found_0x_lX__0x_llX_
mov rcx, rdi
call fcn.1400028a0
mov r9, qword [rdi + 0x40]
mov r8d, 0x1f69902e
lea rdx, str.Found_0x_lX__0x_llX_
mov rcx, rdi
call fcn.1400028a0
mov rbx, qword [rdi + 0x40]
mov edx, 0x5bb29bcb
mov rcx, rbx
call fcn.140002a50
mov r14, rax
mov qword [rdi + 0x48], rax
mov edx, 0xd5159b94
mov rcx, rbx
call fcn.140002a50
mov qword [rsp + 0x70], rax
mov qword [rdi + 0x50], rax
mov edx, 0xf21037d0
mov rcx, rbx
call fcn.140002a50
mov qword [rsp + 0x68], rax
mov qword [rdi + 0x58], rax
mov edx, 0xdcd44c5f
mov rcx, rbx
call fcn.140002a50
mov qword [rdi + 0x60], rax
test r14, r14
je 0x140001fae
cmp qword [rsp + 0x70], 0
je 0x140001fae
cmp qword [rsp + 0x68], 0
je 0x140001fae
test rax, rax
je 0x140001fae
mov r9, r14
mov r8d, 0x5bb29bcb
lea rdx, str.Found_0x_lX__0x_llX_
mov rcx, rdi
call fcn.1400028a0
mov r9, qword [rdi + 0x50]
mov r8d, 0xd5159b94
lea rdx, str.Found_0x_lX__0x_llX_
mov rcx, rdi
call fcn.1400028a0
mov r9, qword [rdi + 0x58]
mov r8d, 0xf21037d0
lea rdx, str.Found_0x_lX__0x_llX_
mov rcx, rdi
call fcn.1400028a0
mov r9, qword [rdi + 0x60]
mov r8d, 0xdcd44c5f
lea rdx, str.Found_0x_lX__0x_llX_
mov rcx, rdi
call fcn.1400028a0
mov rax, qword [rdi + 0x48]
mov qword [rbp - 0x70], rax
mov rax, qword [rdi + 0x50]
mov qword [rsp + 0x60], rax
mov rax, qword [rdi + 0x58]
mov qword [rsp + 0x68], rax
mov rax, qword [rdi + 0x60]
mov qword [rsp + 0x70], rax
lea r14, [fcn.140002890]
lea rax, [0x1400025d0]
sub r14, rax
mov qword [rbp + 0x70], r12
lea rax, [r14 + 0x50]
mov qword [rbp + 0x78], rax
mov r8d, dword [rbp + 0xa8]
xor edx, edx
lea ecx, [rdx + 8]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r12, rax
test rax, rax
je 0x140001fd3
mov ecx, 0x18
call fcn.140002b50
mov rbx, rax
mov qword [rbp - 0x80], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov qword [rbp + 0x90], rbx
lea ecx, [rax + 0x18]
call fcn.140002b50
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rcx
mov qword [rbp + 0x98], rax
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 0x40
lea r9, [rbp + 0x70]
xor r8d, r8d
mov edx, 0xf001f
mov rcx, rbx
call qword [rbp - 0x70]
lea rax, [rbx + 8]
mov qword [rbp - 0x78], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x48], 0x40
xor edx, edx
mov dword [rsp + 0x40], edx
mov dword [rsp + 0x38], 2
lea rcx, [rbp + 0x70]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rdx
xor r9d, r9d
lea r8, [rbx + 8]
mov rdx, rax
mov rcx, qword [rbx]
call qword [rsp + 0x60]
lea rax, [rbx + 0x10]
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x48], 0x40
xor edx, edx
mov dword [rsp + 0x40], edx
mov dword [rsp + 0x38], 2
lea rcx, [rbp + 0x70]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rdx
xor r9d, r9d
mov r8, rax
mov rdx, r12
mov rcx, qword [rbx]
call qword [rsp + 0x60]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 0x40
lea r9, [rbp + 0x78]
xor r8d, r8d
mov edx, 0xf001f
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
call qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x48], 0x40
xor edx, edx
mov dword [rsp + 0x40], edx
mov dword [rsp + 0x38], 2
lea rcx, [rbp + 0x78]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rdx
xor r9d, r9d
lea r8, [rbx + 8]
mov rdx, rax
mov rcx, qword [rbx]
call qword [rsp + 0x60]
lea r8, [rbx + 0x10]
mov dword [rsp + 0x48], 0x40
xor edx, edx
mov dword [rsp + 0x40], edx
mov dword [rsp + 0x38], 2
lea rcx, [rbp + 0x78]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rdx
xor r9d, r9d
mov rdx, r12
mov rcx, qword [rbx]
call qword [rsp + 0x60]
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
mov qword [rbp - 0x60], rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rbp - 0x58], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp - 0x50], rax
mov edx, 0x534c0ab8
mov rcx, qword [rdi + 0x40]
call fcn.140002a50
mov qword [rbp - 0x48], rax
mov rbx, qword [rdi + 0x38]
mov edx, 0x91afca54
mov rcx, rbx
call fcn.140002a50
mov qword [rbp - 0x40], rax
mov edx, 0x30633ac
mov rcx, rbx
call fcn.140002a50
mov qword [rbp - 0x38], rax
mov edx, 0x75da1966
mov rcx, rbx
call fcn.140002a50
mov qword [rbp - 0x30], rax
xor eax, eax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov byte [rbp - 0x18], al
mov r9, qword [rbp - 0x48]
mov rbx, qword [rbp - 0x40]
test r9, r9
jne 0x140001b99
test rbx, rbx
jne 0x140001b99
cmp qword [rbp - 0x38], rax
jne 0x140001b99
cmp qword [sym.imp.KERNEL32.dll_GetProcAddress], rax
je 0x140001bfb
mov r8d, 0x534c0ab8
lea rdx, str.Found_0x_lX__0x_llX_
mov rcx, rdi
call fcn.1400028a0
mov r9, rbx
mov r8d, 0x91afca54
lea rdx, str.Found_0x_lX__0x_llX_
mov rcx, rdi
call fcn.1400028a0
mov r9, qword [rbp - 0x38]
mov r8d, 0x30633ac
lea rdx, str.Found_0x_lX__0x_llX_
mov rcx, rdi
call fcn.1400028a0
mov r9, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r8d, 0x7c0dfcaa
lea rdx, str.Found_0x_lX__0x_llX_
mov rcx, rdi
call fcn.1400028a0
mov rax, qword [rsp + 0x78]
mov r8, qword [rax]
lea rdx, str.Created_remote_section_for_DLL_at_0x_llX
mov rcx, rdi
call fcn.1400028a0
mov rcx, qword [rsp + 0x50]
mov r8, qword [rcx + 0x10]
lea rdx, str.Created_remote_section_for_loader_at_0x_llX
mov rcx, rdi
call fcn.1400028a0
mov rdx, qword [rsi]
mov rax, qword [rbp - 0x78]
mov rcx, qword [rax]
mov eax, dword [rsp + 0x58]
mov r8d, eax
test eax, eax
je 0x140001c67
test rcx, rcx
je 0x140001c55
test rdx, rdx
je 0x140001c50
call sub.VCRUNTIME140.dll_memcpy
jmp 0x140001c67
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], 0x16
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
mov rbx, qword [rsp + 0x50]
mov rax, qword [rbx + 8]
test rax, rax
jne 0x140001c89
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], 0x16
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
jmp 0x140001cb0
movaps xmm0, xmmword [rbp - 0x60]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [rbp - 0x50]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [rbp - 0x40]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [rbp - 0x30]
movups xmmword [rax + 0x30], xmm1
movaps xmm0, xmmword [rbp - 0x20]
movups xmmword [rax + 0x40], xmm0
mov rcx, qword [rbx + 8]
add rcx, 0x50
test r14, r14
je 0x140001ce5
test rcx, rcx
jne 0x140001cd6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], 0x16
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
jmp 0x140001ce5
mov r8, r14
lea rdx, [0x1400025d0]
call sub.VCRUNTIME140.dll_memcpy
mov rax, rbx
mov r9, qword [rbx + 0x10]
mov r8d, 0x50
lea rdx, str.Copied__d_bytes_to_0x_llX__Loader_Struct_
mov rcx, rdi
call fcn.1400029c0
mov rax, rbx
mov r9, qword [rbx + 0x10]
add r9, 0x50
mov r8d, r14d
lea rdx, str.Copied__d_bytes_to_0x_llX__Library_Loader_Function_
mov rcx, rdi
call fcn.1400029c0
mov rcx, rbx
mov rax, qword [rbx + 0x10]
lea r9, [rax + 0x50]
xor ecx, ecx
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor edx, edx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov r14, rax
test rax, rax
jne 0x140001dcb
mov rax, qword [rsp + 0x78]
mov rdx, qword [rax]
mov rcx, r12
mov r14, qword [rsp + 0x68]
call r14
mov r15, rbx
mov rdx, qword [rbx + 0x10]
mov rcx, r12
call r14
mov rbx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdx, rbx
mov rcx, rax
call r14
mov rbx, qword [r15 + 8]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdx, rbx
mov rcx, rax
call r14
mov rax, qword [rbp - 0x80]
mov rcx, qword [rax]
mov rbx, qword [rsp + 0x70]
call rbx
mov rcx, qword [r15]
call rbx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.Injection_failed:_couldnt_create_a_thread_in_remote_process
mov rcx, rdi
call fcn.1400028a0
mov r14d, 1
jmp 0x140001f8e
mov edx, 0xffffffff
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x50
call fcn.140002b50
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rcx
mov qword [rax + 0x20], rcx
mov qword [rax + 0x28], rcx
mov qword [rax + 0x30], rcx
mov qword [rax + 0x48], rcx
mov qword [rax + 0x38], rcx
mov qword [rax + 0x40], rcx
mov r14, qword [rbx + 8]
mov rax, qword [rsp + 0x68]
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x80]
mov qword [rbp - 8], rax
mov rax, rbx
mov qword [rbp], rbx
mov qword [rbp + 8], r12
mov rbx, qword [rsp + 0x70]
mov qword [rbp + 0x10], rbx
movups xmm0, xmmword [rbp - 0x10]
movaps xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rbp]
movaps xmmword [rbp + 0x30], xmm1
movsd xmm0, qword [rbp + 0x10]
movsd qword [rbp + 0x40], xmm0
mov qword [rbp + 0x58], r14
lea rax, [rbp + 0x20]
mov qword [rbp + 0x60], rax
mov byte [rbp + 0x68], 1
mov ecx, 0x40
call fcn.140002b50
mov rbx, rax
mov qword [rbp - 0x78], rax
movaps xmm2, xmmword [rbp + 0x20]
movaps xmm3, xmmword [rbp + 0x30]
movsd xmm1, qword [rbp + 0x40]
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_resource_struct__Loader____ptr64__class__int___cdecl_main_int__char____ptr64__const___ptr64_::_2::_lambda_1__.0
mov qword [rbx], rax
movups xmmword [rbx + 0x10], xmm2
movups xmmword [rbx + 0x20], xmm3
movsd qword [rbx + 0x30], xmm1
mov qword [rbx + 0x38], r14
movzx eax, byte [r14 + 0x48]
test al, 1
jne 0x140001f36
mov ecx, eax
shr ecx, 1
and ecx, 0xf
je 0x140001f17
sub ecx, 1
je 0x140001f0b
sub ecx, 1
je 0x140001eff
sub ecx, 1
je 0x140001ef3
cmp ecx, 1
mov rcx, rdi
jne 0x140001f1a
lea rax, str.Injection_failed:_platform_is_invalid__GetLastError:__d_
jmp 0x140001f21
mov rcx, rdi
lea rax, str.Injection_failed:_couldnt_allocate_memory_for_the_image__GetLastError:__d_
jmp 0x140001f21
mov rcx, rdi
lea rax, str.Injection_failed:_NT_signature_was_invalid__GetLastError:__d_
jmp 0x140001f21
mov rcx, rdi
lea rax, str.Injection_failed:_DOS_signature_was_invalid__GetLastError:__d_
jmp 0x140001f21
mov rcx, rdi
lea rax, str.Injection_failed:_reason_unknown__GetLastError:__d_
movsx r8d, word [r14 + 0x4a]
mov rdx, rax
call fcn.140002930
mov r14d, 1
jmp 0x140001f63
mov r8, qword [r14 + 0x38]
mov r9, qword [r14 + 0x40]
mov rcx, rdi
cmp r8, r9
jne 0x140001f54
lea rdx, str.Loaded_DLL_at_0x_llX__Preferred_
call fcn.1400028a0
jmp 0x140001f60
lea rdx, str.Loaded_DLL_at_0x_llX__Preferred:_0x_llX_
call fcn.1400028a0
xor r14d, r14d
mov eax, r15d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140001f8e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r15d
cmp r15d, 1
jne 0x140001f8e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
mov edx, 0x18
mov rcx, qword [rsp + 0x50]
call fcn.140002b94
nop
mov edx, 0x18
mov rcx, qword [rbp - 0x80]
call fcn.140002b94
jmp 0x140001fd9
xor r14d, r14d
jmp 0x140001fd9
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8, qword [rdi + 0x28]
lea rdx, str.Failed_to_find__s
mov rcx, rdi
call fcn.140002930
lea rsi, [rdi + 0x30]
mov r14d, 1
mov edx, 2
mov rcx, r13
call fcn.140002b94
xor r12d, r12d
test rdi, rdi
je 0x140002052
mov rcx, qword [rsi]
test rcx, rcx
je 0x140002000
mov edx, 1
call fcn.140002b94
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x140002036
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140002031
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140002085
mov rcx, r8
call fcn.140002b94
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov edx, 0x70
mov rcx, rdi
call fcn.140002b94
mov eax, r14d
mov rcx, qword [rbp + 0x2e0]
xor rcx, rsp
call fcn.140002b30
lea r11, [rsp + 0x3f0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3