Function at 0x140003fb0
Capabilities:
Access pe header

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 - 0x10]
sub rsp, 0x110
mov rax, qword [0x140055080]
xor rax, rsp
mov qword [rbp], rax
mov rdi, rdx
mov ebx, ecx
xor esi, esi
lea ecx, [rsi + 8]
call fcn.140015e40
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov qword [rax], rcx
mov rcx, rax
call fcn.1400023f0
nop
mov qword [0x140057cd0], rax
mov dword [rbp - 0x48], esi
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], rsi
xor r8d, r8d
lea rdx, [0x14004d910]
lea rcx, [rbp - 0x40]
call fcn.140001c50
nop
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x40]
lea r8, [rbp - 0x48]
mov rdx, rdi
mov ecx, ebx
call fcn.1400035c0
lea ecx, [rsi + 0x30]
cmp byte [0x140057ce0], sil
je 0x140004122
call fcn.140015e40
mov rbx, rax
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
lea rax, [rbp - 0x70]
mov qword [rbp - 0x50], rax
lea rdx, [0x140055cf0]
lea rcx, [rbp - 0x70]
call fcn.140001950
mov rdi, rax
mov qword [rbp - 0x78], rax
lea ecx, [rsi + 4]
call fcn.140015e40
mov qword [rsp + 0x30], rax
mov edx, dword [rbp - 0x48]
mov rcx, rax
call fcn.140001240
nop
mov qword [rbx], rax
lea rcx, [rbx + 8]
mov rdx, rdi
call fcn.140001950
mov byte [rbx + 0x28], 1
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140004111
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x14000410c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400045dc
mov rcx, r8
call fcn.140015e38
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
jmp 0x140004175
call fcn.140015e40
mov rbx, rax
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
mov ecx, 4
call fcn.140015e40
mov qword [rbp - 0x78], rax
mov edx, dword [rbp - 0x48]
mov rcx, rax
call fcn.140001240
nop
mov qword [rbx], rax
xorps xmm0, xmm0
movups xmmword [rbx + 8], xmm0
mov qword [rbx + 0x18], rsi
mov qword [rbx + 0x20], 0xf
mov byte [rbx + 8], 0
mov byte [rbx + 0x28], 0
mov rdi, qword [rsp + 0x38]
mov rcx, rdi
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov r12, rax
test rax, rax
je 0x1400045e2
mov r8, rax
mov rcx, rbx
call fcn.14000dc70
mov r13, rax
test rax, rax
je 0x1400045fb
lea r9, [rbp - 0xb]
mov r8, rax
movabs r10, 0xcccccccccccccccd
nop word [rax + rax]
dec r9
mov rax, r10
mul r8
shr rdx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8, rdx
test rdx, rdx
jne 0x1400041c0
lea r8, [rbp - 0xb]
mov rdx, r9
lea rcx, [rsp + 0x68]
call fcn.1400020d0
nop
mov r8, qword [rsp + 0x78]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
sub rax, r8
mov r15d, 0x15
lea r14, str.Allocated_sections.__
cmp rax, r15
jb 0x14000429b
lea rax, [r8 + 0x15]
mov qword [rsp + 0x78], rax
lea rdi, [rsp + 0x68]
cmp rcx, 0xf
cmova rdi, qword [rsp + 0x68]
lea rax, [0x14004daed]
cmp rax, rdi
jbe 0x140004257
lea rax, [rdi + r8]
cmp r14, rax
ja 0x140004257
cmp rdi, r14
jbe 0x14000425a
mov rsi, rdi
sub rsi, r14
jmp 0x14000425a
mov rsi, r15
inc r8
lea rcx, [rdi + 0x15]
mov rdx, rdi
call fcn.14003f1c0
mov r8, rsi
mov rdx, r14
mov rcx, rdi
call fcn.14003f1c0
sub r15, rsi
lea rdx, [r14 + 0x15]
add rdx, rsi
lea rcx, [rdi + rsi]
mov r8, r15
call fcn.14003f1c0
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x38]
xor esi, esi
jmp 0x1400042b2
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r14
mov rdx, r15
lea rcx, [rsp + 0x68]
call fcn.140002200
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rsi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8d, 1
lea rdx, [0x14004d9a0]
lea rcx, [rsp + 0x48]
call fcn.140001a70
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea r8, [rbp - 0x20]
movq rcx, xmm0
psrldq xmm1, 8
movq rax, xmm1
cmp rax, 0xf
cmova r8, rcx
xor edx, edx
call fcn.140006060
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x140004378
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004372
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004614
call fcn.140015e38
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x1400043b5
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400043b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000461a
call fcn.140015e38
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x140004404
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400043ff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004620
call fcn.140015e38
mov r9, r12
mov r8, rdi
mov rdx, r13
call fcn.14000caf0
lea r8, str.Relocated_image.
xor edx, edx
call fcn.140006060
mov r8, r12
mov rdx, rdi
call fcn.14000cd30
lea r8, str.Resolved_imports.
xor edx, edx
call fcn.140006060
lea r8, str.Remember__All_imported_libraries_have_to_be_in_the_process_already_so_if_they_are_not__LoadLibrary_them_from_your_DLL.
xor edx, edx
call fcn.140006060
mov r9, r12
mov r8, rdi
mov rdx, r13
mov rcx, rbx
call fcn.14000de90
lea r8, str.Wrote_sections_to_memory.
xor edx, edx
call fcn.140006060
mov r9, r12
mov rdx, r13
mov rcx, rbx
call fcn.14000e180
test al, al
je 0x140004626
test rbx, rbx
je 0x140004531
mov rdi, qword [rbx]
test rdi, rdi
je 0x1400044d9
mov eax, dword [rdi]
mov dword [rbp - 0x48], eax
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
mov r9d, 4
lea r8, [rbp - 0x48]
mov edx, 0x222008
mov rcx, qword [0x140057cd0]
call fcn.140002880
test al, al
jne 0x1400044cc
lea r8, str.Failed_to_detach_from_process_
mov edx, 3
call fcn.140006060
nop
mov edx, 4
mov rcx, rdi
call fcn.140015e38
mov rdx, qword [rbx + 0x20]
cmp rdx, 0xf
jbe 0x140004514
mov rcx, qword [rbx + 8]
inc rdx
cmp rdx, 0x1000
jb 0x14000450f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400045d6
mov rcx, r8
call fcn.140015e38
mov qword [rbx + 0x18], rsi
mov qword [rbx + 0x20], 0xf
mov byte [rbx + 8], 0
mov edx, 0x30
mov rcx, rbx
call fcn.140015e38
mov rbx, qword [0x140057cd0]
test rbx, rbx
je 0x14000456c
lea r8, str.Destructing_IOCTL...
mov edx, 1
call fcn.140006060
mov rcx, qword [rbx]
cmp rcx, 0xffffffffffffffff
je 0x14000455e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov edx, 8
mov rcx, rbx
call fcn.140015e38
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x1400045a7
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400045a2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000463f
call fcn.140015e38
xor eax, eax
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140015bd0
lea r11, [rsp + 0x110]
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 fcn.14001c8bc
nop
call fcn.14001c8bc
nop
lea rdx, str.Please_dont_erase_the_PE_header__It_will_be_done_for_you.
lea rcx, [rbp - 0x70]
call fcn.140001910
mov rdx, rax
call fcn.140001880
int3
lea rdx, str.Failed_to_allocate_sections_
lea rcx, [rbp - 0x70]
call fcn.140001910
mov rdx, rax
call fcn.140001880
nop
call fcn.14001c8bc
nop
call fcn.14001c8bc
nop
call fcn.14001c8bc
int3
lea rdx, str.Failed_to_call_DllMain_
lea rcx, [rbp - 0x70]
call fcn.140001910
mov rdx, rax
call fcn.140001880
nop
call fcn.14001c8bc
int3