Function at 0x14001e744
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x288
mov rax, qword [0x140074060]
xor rax, rsp
mov qword [rsp + 0x278], rax
mov rcx, qword [rsp + 0x2a8]
call fcn.1400210a8
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x14001e7cd
lea rdx, str.____Invalid_format_of_PE_image
lea rcx, [0x140075750]
call fcn.140011924
mov qword [rsp + 0xa8], rax
lea rax, [0x140011e28]
mov qword [rsp + 0xb0], rax
mov rcx, qword [rsp + 0xa8]
call qword [rsp + 0xb0]
xor eax, eax
jmp 0x14001f1fc
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001e81d
lea rdx, str.____Image_is_not_64_bit
lea rcx, [0x140075750]
call fcn.140011924
mov qword [rsp + 0xb8], rax
lea rax, [0x140011e28]
mov qword [rsp + 0xc0], rax
mov rcx, qword [rsp + 0xb8]
call qword [rsp + 0xc0]
xor eax, eax
jmp 0x14001f1fc
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x50]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14001e857
xor eax, eax
jmp 0x14001f1fc
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax + 0x24]
mov dword [rsp + 0x60], eax
movzx eax, byte [rsp + 0x2c8]
test eax, eax
je 0x14001e883
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x64], eax
jmp 0x14001e88b
mov dword [rsp + 0x64], 0
mov eax, dword [rsp + 0x64]
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
mov qword [rsp + 0x38], 0
cmp dword [rsp + 0x2d0], 1
jne 0x14001e8c6
mov edx, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x2a0]
call fcn.14001e678
mov qword [rsp + 0x38], rax
jmp 0x14001e8e1
mov eax, dword [rsp + 0x34]
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0x2a0]
call fcn.140005998
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x14001e93c
lea rdx, str.____Failed_to_allocate_remote_image_in_kernel
lea rcx, [0x140075750]
call fcn.140011924
mov qword [rsp + 0xc8], rax
lea rax, [0x140011e28]
mov qword [rsp + 0xd0], rax
mov rcx, qword [rsp + 0xc8]
call qword [rsp + 0xd0]
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x14001f1fc
lea rdx, str.___Image_base_has_been_allocated_at_0x
lea rcx, [0x140075750]
call fcn.140011924
mov qword [rsp + 0xd8], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0xd8]
call fcn.14000aa8c
mov qword [rsp + 0xe0], rax
lea rax, [0x140011e28]
mov qword [rsp + 0xe8], rax
mov rcx, qword [rsp + 0xe0]
call qword [rsp + 0xe8]
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x54]
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x2a8]
mov ecx, eax
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x48]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x40], 0
jmp 0x14001e9d4
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x40], eax
jge 0x14001ea6f
movsxd rax, dword [rsp + 0x40]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax + 0x24]
and eax, 0x80
test eax, eax
jbe 0x14001ea04
jmp 0x14001e9ca
movsxd rax, dword [rsp + 0x40]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax + 0xc]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xf0], rax
movsxd rax, dword [rsp + 0x40]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax + 0x10]
movsxd rcx, dword [rsp + 0x40]
imul rcx, rcx, 0x28
mov rdx, qword [rsp + 0x70]
mov ecx, dword [rdx + rcx + 0x14]
mov rdx, qword [rsp + 0x2a8]
add rdx, rcx
mov rcx, rdx
mov rdi, qword [rsp + 0xf0]
mov rsi, rcx
mov ecx, eax
rep movsb byte [rdi], byte [rsi]
jmp 0x14001e9ca
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x50], rax
movzx eax, byte [rsp + 0x2c8]
test eax, eax
je 0x14001eb44
mov eax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
lea rdx, str.___Skipped_0x
lea rcx, [0x140075750]
call fcn.140011924
mov qword [rsp + 0x80], rax
lea rax, [0x1400035b0]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov rcx, rax
call qword [rsp + pe_nt_image_headers64]
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x100], rax
mov edx, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x100]
call fcn.14001c0bc
lea rdx, str._bytes_of_PE_Header
mov rcx, rax
call fcn.140011924
mov qword [rsp + 0x108], rax
lea rax, [0x140011e28]
mov qword [rsp + 0x110], rax
mov rcx, qword [rsp + 0x108]
call qword [rsp + 0x110]
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x30]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x128], rax
lea rax, [rsp + 0x240]
mov qword [rsp + 0x118], rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x118]
call fcn.140021100
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x130], rax
mov rdx, qword [rsp + 0x128]
mov rcx, qword [rsp + 0x130]
call fcn.14001f218
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x58]
call fcn.14001f314
movzx eax, al
test eax, eax
jne 0x14001ec05
lea rdx, str.____Failed_to_fix_cookie
lea rcx, [0x140075750]
call fcn.140011924
mov qword [rsp + 0x138], rax
lea rax, [0x140011e28]
mov qword [rsp + 0x140], rax
mov rcx, qword [rsp + 0x138]
call qword [rsp + 0x140]
xor eax, eax
jmp 0x14001f1fc
lea rax, [rsp + 0x258]
mov qword [rsp + 0x148], rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x148]
call fcn.1400213c0
mov qword [rsp + 0x150], rax
mov rdx, qword [rsp + 0x150]
mov rcx, qword [rsp + 0x2a0]
call fcn.14001f508
movzx eax, al
test eax, eax
jne 0x14001ec93
lea rdx, str.____Failed_to_resolve_imports
lea rcx, [0x140075750]
call fcn.140011924
mov qword [rsp + 0x158], rax
lea rax, [0x140011e28]
mov qword [rsp + 0x160], rax
mov rcx, qword [rsp + 0x158]
call qword [rsp + 0x160]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x38], rax
jmp 0x14001f0ef
mov eax, dword [rsp + 0x34]
mov qword [rsp + 0x168], rax
movzx eax, byte [rsp + 0x2c8]
test eax, eax
je 0x14001ecb5
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x68], eax
jmp 0x14001ecbd
mov dword [rsp + 0x68], 0
mov eax, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov r9, qword [rsp + 0x168]
mov r8, rax
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x2a0]
call fcn.14000527c
movzx eax, al
test eax, eax
jne 0x14001ed38
lea rdx, str.____Failed_to_write_local_image_to_remote_image
lea rcx, [0x140075750]
call fcn.140011924
mov qword [rsp + 0x170], rax
lea rax, [0x140011e28]
mov qword [rsp + 0x178], rax
mov rcx, qword [rsp + 0x170]
call qword [rsp + 0x178]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x38], rax
jmp 0x14001f0ef
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x28]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
lea rdx, str.____Calling_DriverEntry_0x
lea rcx, [0x140075750]
call fcn.140011924
mov qword [rsp + 0x180], rax
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x180]
call fcn.14000aa8c
mov qword [rsp + 0x188], rax
lea rax, [0x140011e28]
mov qword [rsp + 0x190], rax
mov rcx, qword [rsp + 0x188]
call qword [rsp + 0x190]
cmp qword [rsp + 0x2e0], 0
je 0x14001ee3a
mov rax, qword [rsp + 0x2e0]
mov qword [rsp + 0x198], rax
mov eax, dword [rsp + 0x34]
mov r9d, eax
mov r8, qword [rsp + 0x50]
lea rdx, [rsp + 0x2b8]
lea rcx, [rsp + 0x2b0]
call qword [rsp + 0x198]
movzx eax, al
test eax, eax
jne 0x14001ee3a
lea rdx, str.____Callback_returns_false__failed_
lea rcx, [0x140075750]
call fcn.140011924
mov qword [rsp + 0x1a0], rax
lea rax, [0x140011e28]
mov qword [rsp + 0x1a8], rax
mov rcx, qword [rsp + 0x1a0]
call qword [rsp + 0x1a8]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x38], rax
jmp 0x14001f0ef
mov dword [rsp + 0x270], 0
mov rax, qword [rsp + 0x2b8]
mov qword [rsp + 0x1b0], rax
movzx eax, byte [rsp + 0x2d8]
test eax, eax
je 0x14001ee70
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x98], rax
jmp 0x14001ee80
mov rax, qword [rsp + 0x2b0]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x98]
mov r8, qword [rsp + 0x90]
lea rdx, [rsp + 0x270]
mov rcx, qword [rsp + 0x2a0]
call fcn.14001fd8c
movzx eax, al
test eax, eax
jne 0x14001ef01
lea rdx, str.____Failed_to_call_driver_entry
lea rcx, [0x140075750]
call fcn.140011924
mov qword [rsp + 0x1b8], rax
lea rax, [0x140011e28]
mov qword [rsp + 0x1c0], rax
mov rcx, qword [rsp + 0x1b8]
call qword [rsp + 0x1c0]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x38], rax
jmp 0x14001f0ef
cmp qword [rsp + 0x2e8], 0
je 0x14001ef1d
mov rax, qword [rsp + 0x2e8]
mov ecx, dword [rsp + 0x270]
mov dword [rax], ecx
lea rdx, str.___DriverEntry_returned_0x
lea rcx, [0x140075750]
call fcn.140011924
mov qword [rsp + 0x88], rax
lea rax, [0x1400035b0]
mov qword [rsp + 0x1c8], rax
mov rax, qword [rsp + 0x88]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov rcx, rax
call qword [rsp + 0x1c8]
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x1d0], rax
mov eax, dword [rsp + 0x270]
mov dword [rsp + 0x78], eax
mov edx, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x1d0]
call fcn.14001f7a8
mov qword [rsp + 0x1d8], rax
lea rax, [0x140011e28]
mov qword [rsp + 0x1e0], rax
mov rcx, qword [rsp + 0x1d8]
call qword [rsp + 0x1e0]
movzx eax, byte [rsp + 0x2c0]
test eax, eax
je 0x14001f0c8
lea rdx, [0x14006c1a8]
lea rcx, [0x140075750]
call fcn.140011924
mov qword [rsp + 0x1e8], rax
lea rax, [0x140011e28]
mov qword [rsp + 0x1f0], rax
mov rcx, qword [rsp + 0x1e8]
call qword [rsp + 0x1f0]
mov byte [rsp + 0x30], 0
cmp dword [rsp + 0x2d0], 1
jne 0x14001f035
mov r8d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x2a0]
call fcn.140005634
mov byte [rsp + 0x30], al
jmp 0x14001f04b
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x2a0]
call fcn.140005ae4
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x14001f08f
lea rdx, [0x14006c1d0]
lea rcx, [0x140075750]
call fcn.140011924
mov qword [rsp + 0x1f8], rax
lea rax, [0x140011e28]
mov qword [rsp + 0x200], rax
mov rcx, qword [rsp + 0x1f8]
call qword [rsp + 0x200]
jmp 0x14001f0c8
lea rdx, [0x14006c210]
lea rcx, [0x140075750]
call fcn.140011924
mov qword [rsp + 0x208], rax
lea rax, [0x140011e28]
mov qword [rsp + 0x210], rax
mov rcx, qword [rsp + 0x208]
call qword [rsp + 0x210]
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, qword [rsp + 0x50]
jmp 0x14001f1fc
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
lea rdx, str.___Freeing_memory
lea rcx, [0x140075750]
call fcn.140011924
mov qword [rsp + 0x218], rax
lea rax, [0x140011e28]
mov qword [rsp + 0x220], rax
mov rcx, qword [rsp + 0x218]
call qword [rsp + 0x220]
mov byte [rsp + 0x31], 0
cmp dword [rsp + 0x2d0], 1
jne 0x14001f167
mov r8d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x2a0]
call fcn.140005634
mov byte [rsp + 0x31], al
jmp 0x14001f17d
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x2a0]
call fcn.140005ae4
mov byte [rsp + 0x31], al
movzx eax, byte [rsp + 0x31]
test eax, eax
je 0x14001f1c1
lea rdx, str.___Memory_has_been_released
lea rcx, [0x140075750]
call fcn.140011924
mov qword [rsp + 0x228], rax
lea rax, [0x140011e28]
mov qword [rsp + 0x230], rax
mov rcx, qword [rsp + 0x228]
call qword [rsp + 0x230]
jmp 0x14001f1fa
lea rdx, str.____WARNING:_Failed_to_free_memory_
lea rcx, [0x140075750]
call fcn.140011924
mov qword [rsp + 0x238], rax
lea rax, [0x140011e28]
mov qword [rsp + 0xa0], rax
mov rcx, qword [rsp + 0x238]
call qword [rsp + 0xa0]
xor eax, eax
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.140029d90
add rsp, 0x288
pop rdi
pop rsi
ret