Function at 0x140001d60
Capabilities:
Access pe header
Get file size
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r15
sub rsp, 0x60
mov rax, qword [0x140006040]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor edi, edi
lea rcx, str.Grass.Solutions.dll
mov qword [rsp + 0x30], rdi
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140001dbb
mov ebp, edi
mov qword [rsp + 0x48], rdi
jmp 0x140001e29
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, eax
xor ecx, ecx
mov r9d, 4
mov ebx, eax
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
xor r9d, r9d
mov qword [rsp + 0x20], rdi
mov rdx, rax
mov qword [rsp + 0x48], rax
mov r8d, ebx
mov rcx, rsi
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140001e0a
cmp dword [rbp], 0x905a4d
je 0x140001e1b
xor edx, edx
mov r8d, 0x8000
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rbp, rbp
jne 0x140001e35
lea rcx, str.invalid_dll_n
call fcn.140001010
mov rcx, rbp
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov rsi, rax
test rax, rax
jne 0x140001e52
lea rcx, str.pe:_invalid_pe_header_n
call fcn.140001010
mov dword [rsp + 0x50], edi
nop word [rax + rax]
xor edx, edx
lea rcx, str.unrealwindow
call qword [sym.imp.USER32.dll_FindWindowA]
mov rcx, rax
lea rdx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, 0x14
mov r15d, eax
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, dword [rsp + 0x50]
test ebx, ebx
je 0x140001e60
lea rcx, str.injecting..._n
call fcn.140001010
test r15d, r15d
je 0x1400021a1
mov rcx, qword gs:[0x58]
mov qword [rsp + 0x90], r12
mov r12d, 4
mov qword [rsp + 0x98], r13
add r12, qword [rcx]
mov qword [rsp + 0xa0], r14
mov eax, dword [r12]
cmp dword [0x140006778], eax
jle 0x140001f0b
lea rcx, [0x140006778]
call fcn.14000276c
cmp dword [0x140006778], 0xffffffff
jne 0x140001f0b
lea rcx, [0x1400036b0]
call fcn.140002a0c
lea rcx, [0x140006778]
call fcn.140002700
mov r8d, dword [rsi + 0x50]
mov rdx, rbx
mov r13, rbx
call fcn.1400011f0
mov r8, rsi
mov qword [rsp + 0x40], rax
mov rdx, rbp
mov rcx, rax
mov rbx, rax
call fcn.140001940
test eax, eax
jne 0x140001f84
mov ecx, dword [r12]
cmp dword [0x140006778], ecx
jle 0x140001f6d
lea rcx, [0x140006778]
call fcn.14000276c
cmp dword [0x140006778], 0xffffffff
jne 0x140001f6d
lea rcx, [0x1400036b0]
call fcn.140002a0c
lea rcx, [0x140006778]
call fcn.140002700
mov r8, rbx
mov rdx, r13
call fcn.1400012a0
lea rcx, str.reloc_failed_n
call fcn.140001010
mov r9, rsi
mov r8, rbp
mov edx, r15d
mov rcx, r13
call fcn.140001ae0
test eax, eax
jne 0x140001fe9
mov eax, dword [r12]
cmp dword [0x140006778], eax
jle 0x140001fd2
lea rcx, [0x140006778]
call fcn.14000276c
cmp dword [0x140006778], 0xffffffff
jne 0x140001fd2
lea rcx, [0x1400036b0]
call fcn.140002a0c
lea rcx, [0x140006778]
call fcn.140002700
mov r8, rbx
mov rdx, r13
call fcn.1400012a0
lea rcx, str.import_failed_n
call fcn.140001010
movzx ebx, word [rsi + 0x14]
movzx r14d, di
add rbx, 0x2c
cmp di, word [rsi + 6]
jae 0x140002069
mov rdi, qword [rsp + 0x40]
add rbx, rsi
mov eax, dword [r12]
cmp dword [0x140006778], eax
jle 0x14000203c
lea rcx, [0x140006778]
call fcn.14000276c
cmp dword [0x140006778], 0xffffffff
jne 0x14000203c
lea rcx, [0x1400036b0]
call fcn.140002a0c
lea rcx, [0x140006778]
call fcn.140002700
mov r9d, dword [rbx]
mov rdx, r13
mov r8d, dword [rbx - 8]
add r9, rbp
mov eax, dword [rbx - 4]
add r8, rdi
mov dword [rsp + 0x20], eax
call fcn.140001130
inc r14w
add rbx, 0x28
cmp r14w, word [rsi + 6]
jb 0x140002003
xor edi, edi
lea rcx, str.injecting..._almost_done_n
call fcn.140001010
mov r8, qword [rsp + 0x40]
mov r9, rsi
mov edx, r15d
mov rcx, r13
call fcn.140001650
movzx ebx, word [rsi + 0x14]
add rbx, 0x28
cmp di, word [rsi + 6]
jae 0x14000214a
mov rbp, qword [rsp + 0x40]
add rbx, rsi
mov eax, dword [rbx]
test eax, eax
je 0x140002134
test dword [rbx + 0x14], 0x2000000
je 0x140002134
mov edx, eax
xor ecx, ecx
mov r9d, 4
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [r12]
mov r14, rax
cmp dword [0x140006778], ecx
jle 0x14000210b
lea rcx, [0x140006778]
call fcn.14000276c
cmp dword [0x140006778], 0xffffffff
jne 0x14000210b
lea rcx, [0x1400036b0]
call fcn.140002a0c
lea rcx, [0x140006778]
call fcn.140002700
mov r8d, dword [rbx - 4]
mov r9, r14
mov eax, dword [rbx]
add r8, rbp
mov rdx, r13
mov dword [rsp + 0x20], eax
call fcn.140001130
xor edx, edx
mov r8d, 0x8000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFree]
inc di
add rbx, 0x28
cmp di, word [rsi + 6]
jb 0x1400020a2
mov rbp, qword [rsp + 0x48]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualFree]
lea rcx, str.YOU_ARE_NIGA_HOMO_LABROPOULE_GAY_n
call fcn.140001010
lea rcx, str.Inject_Success_PANE_PIES_MANINTOU_MEXRI_NA_MPEI_H_MALAKIA__n
call fcn.140001010
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x140002620]
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___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov r14, qword [rsp + 0xa0]
mov r13, qword [rsp + 0x98]
mov r12, qword [rsp + 0x90]
jmp 0x1400021ad
lea rcx, str.process_not_found__n
call fcn.140001010
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400026e0
add rsp, 0x60
pop r15
pop rdi
pop rsi
pop rbp
pop rbx
ret