Function at 0x1400055d0
Capabilities:
Access pe header
Enumerate gui resources
Get file size
Read file on windows

Disassembly:
mov r11, rsp
push rbx
push rbp
push r12
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x14000e040]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov qword [r11 - 0x30], rsi
mov ebx, r8d
mov qword [r11 - 0x38], rdi
mov r14, rdx
mov r15, rcx
xor r12d, r12d
nop word [rax + rax]
mov qword [rsp + 0x30], r12
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x140005726
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, eax
xor ecx, ecx
mov r9d, 4
mov edi, eax
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
xor r9d, r9d
mov qword [rsp + 0x20], r12
mov rdx, rax
mov r8d, edi
mov rcx, rbp
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14000568f
cmp dword [rsi], 0x905a4d
je 0x1400056a0
xor edx, edx
mov r8d, 0x8000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rsi, rsi
je 0x140005726
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 0xa
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.___Loaded_DLL_from_file_successfully._n
call fcn.1400075c0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 7
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rcx, rsi
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov rdi, rax
mov ecx, 0xfffffff5
test rax, rax
jne 0x14000577b
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 0xc
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str.____Failed_to_parse_NT_header._n
jmp 0x140005746
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 0xc
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str.____Failed_to_load_DLL_from_file._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400075c0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 7
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp ebx, 1
jge 0x140005d30
inc ebx
jmp 0x140005610
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 0xa
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.___Parsed_NT_header_successfully._n
call fcn.1400075c0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 7
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rcx, r15
call fcn.140003f70
mov ebx, eax
mov ecx, 0xfffffff5
test eax, eax
jne 0x1400057ee
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 0xc
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str.____Failed_to_get_process_ID._n
jmp 0x140005d0b
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 0xa
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.___Got_process_ID_successfully._n
call fcn.1400075c0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 7
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], ebx
lea rcx, [0x140003f00]
mov dword [rsp + 0x44], r12d
call qword [sym.imp.USER32.dll_EnumWindows]
mov ebp, dword [rsp + 0x44]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
test ebp, ebp
je 0x140005cf9
mov edx, 0xa
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.___Got_thread_ID_successfully._n
call fcn.1400075c0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 7
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rax, qword gs:[0x58]
mov r14d, 4
add r14, qword [rax]
mov eax, dword [0x140781a20]
cmp eax, dword [r14]
jle 0x1400058fe
lea rcx, [0x140781a20]
call fcn.14000804c
mov eax, dword [0x140781a20]
cmp eax, 0xffffffff
jne 0x1400058fe
lea rcx, [0x140009230]
mov qword [0x140781a28], r12
mov qword [0x140781a30], 0xffffffffffffffff
call fcn.1400082ec
lea rcx, [0x140781a20]
call fcn.140007fe0
mov eax, dword [0x140781a20]
mov dword [0x140781a28], ebx
cmp eax, dword [r14]
jle 0x140005948
lea rcx, [0x140781a20]
call fcn.14000804c
cmp dword [0x140781a20], 0xffffffff
jne 0x140005948
lea rcx, [0x140009230]
mov qword [0x140781a28], r12
mov qword [0x140781a30], 0xffffffffffffffff
call fcn.1400082ec
lea rcx, [0x140781a20]
call fcn.140007fe0
mov eax, dword [0x140781a28]
mov rbx, r12
mov rcx, qword [0x140781a30]
mov dword [rsp + 0x50], eax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x58], rax
mov eax, dword [rdi + 0x50]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x54], r12d
mov qword [rsp + 0x68], 0x40
cmp rcx, 0xffffffffffffffff
je 0x1400059b6
mov qword [rsp + 0x38], r12
lea r8, [rsp + 0x50]
mov qword [rsp + 0x30], r12
mov r9d, 0x20
mov dword [rsp + 0x28], r12d
mov edx, 0x3009d220
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rbx, qword [rsp + 0x40]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
test rbx, rbx
jne 0x1400059e0
mov edx, 0xc
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str.____Failed_to_allocate_memory_in_target_process._n
jmp 0x140005d0b
mov edx, 0xa
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.___Allocated_memory_in_target_process_at:
call fcn.1400075c0
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___void_const____ptr64____ptr64]
mov rcx, rax
lea rdx, [0x14000a804]
call fcn.1400075c0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 7
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call fcn.140004ed0
mov ecx, 0xfffffff5
test eax, eax
jne 0x140005b2b
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 0xc
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str.____Failed_to_relocate_image._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400075c0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 7
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov eax, dword [r14]
cmp dword [0x140781a20], eax
jle 0x140005ad7
lea rcx, [0x140781a20]
call fcn.14000804c
cmp dword [0x140781a20], 0xffffffff
jne 0x140005ad7
lea rcx, [0x140009230]
mov qword [0x140781a28], r12
mov qword [0x140781a30], 0xffffffffffffffff
call fcn.1400082ec
lea rcx, [0x140781a20]
call fcn.140007fe0
mov rcx, qword [0x140781a30]
mov eax, dword [0x140781a28]
mov dword [rsp + 0x44], r12d
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x48], rbx
cmp rcx, 0xffffffffffffffff
je 0x140005d30
mov qword [rsp + 0x38], r12
lea r8, [rsp + 0x40]
mov qword [rsp + 0x30], r12
mov r9d, 0x10
mov dword [rsp + 0x28], r12d
mov edx, 0x3009d4e0
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
jmp 0x140005d30
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 0xa
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.___Relocated_image_successfully._n
call fcn.1400075c0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 7
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov r8, rdi
mov rdx, rsi
mov ecx, ebp
call fcn.140005070
mov ecx, 0xfffffff5
test eax, eax
jne 0x140005ba1
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 0xc
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str.____Failed_to_resolve_imports._n
jmp 0x140005a68
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 0xa
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.___Resolved_imports_successfully._n
call fcn.1400075c0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 7
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call fcn.1400052f0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 0xa
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.___Wrote_sections_to_allocated_memory._n
call fcn.1400075c0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 7
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov r8, rdi
mov rdx, rbx
mov ecx, ebp
call fcn.140004830
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 0xa
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.___Called_DllMain._n
call fcn.1400075c0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 7
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rdx, rdi
mov rcx, rbx
call fcn.140005440
xor edx, edx
mov r8d, 0x8000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 0xa
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.___DLL_injected_successfully._n
call fcn.1400075c0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 7
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov edx, 0x12c
mov ecx, 0x2ee
call qword [sym.imp.KERNEL32.dll_Beep]
jmp 0x140005d30
mov edx, 0xc
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str.____Failed_to_get_thread_ID._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400075c0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 7
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rdi, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140007fc0
add rsp, 0x90
pop r15
pop r14
pop r12
pop rbp
pop rbx
ret