Function at 0x1400080f0
Capabilities:
Access pe header
Resolve function by parsing pe exports

Disassembly:
mov byte [rsp + 0x20], r9b
mov qword [rsp + 0x18], r8
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x100
mov dword [rsp + 0x3c], 0
mov dword [rsp + 0x58], 0
mov rcx, qword [rsp + 0x110]
call qword [sym.imp.ntoskrnl.exe_RtlImageNtHeader]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x58]
mov r8w, 1
mov dl, 1
mov rcx, qword [rsp + 0x110]
call qword [sym.imp.ntoskrnl.exe_RtlImageDirectoryEntryToData]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14000815c
xor eax, eax
jmp 0x140008653
jmp 0x14000816c
mov rax, qword [rsp + 0x28]
add rax, 0x14
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0xc], 0
je 0x14000864f
cmp dword [rsp + 0x3c], 0
jl 0x14000864f
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0
je 0x14000819d
mov rax, qword [rsp + 0x28]
mov eax, dword [rax]
mov dword [rsp + 0x48], eax
jmp 0x1400081a9
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x110]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
lea rax, [rsp + 0xc0]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
lea rax, [rsp + 0xd0]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
lea rax, [rsp + 0xf0]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x50], 0
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x110]
add rcx, rax
mov rax, rcx
mov rdx, rax
lea rcx, [rsp + 0xf0]
call qword [sym.imp.ntoskrnl.exe_RtlInitAnsiString]
mov r8b, 1
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0xc0]
call qword [sym.imp.ntoskrnl.exe_RtlAnsiStringToUnicodeString]
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0xd0]
call fcn.1400072b0
xor edx, edx
lea rcx, [rsp + 0xc0]
call fcn.140007d30
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x1400082ad
lea rcx, [rsp + 0xc0]
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
lea rcx, [rsp + 0xd0]
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
mov eax, 0xc0000225
jmp 0x140008653
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x1400082cc
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0x68], rax
jmp 0x1400082d8
mov rax, qword [rsp + 0x20]
mov eax, dword [rax]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x14000862e
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x140008303
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0x70], rax
jmp 0x14000830f
mov rax, qword [rsp + 0x20]
mov eax, dword [rax]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x110]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x140008355
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0x80], rax
jmp 0x140008364
mov rax, qword [rsp + 0x20]
mov eax, dword [rax]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x140008385
movabs rax, 0x8000000000000000
mov qword [rsp + 0x78], rax
jmp 0x14000838f
mov eax, 0x80000000
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x80], rax
jae 0x1400083cb
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x88]
movsx eax, byte [rcx + rax + 2]
test eax, eax
je 0x1400083cb
mov rax, qword [rsp + 0x88]
add rax, 2
mov qword [rsp + 0x60], rax
jmp 0x14000840f
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x1400083ed
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0x90], rax
jmp 0x1400083fc
mov rax, qword [rsp + 0x20]
mov eax, dword [rax]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
and rax, 0xffff
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xe0], rax
movzx eax, byte [rsp + 0x118]
test eax, eax
je 0x14000843b
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x98], rax
jmp 0x140008448
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x98], rax
lea r9, [rsp + 0xd0]
xor r8d, r8d
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x98]
call fcn.140007a50
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x140008482
mov dword [rsp + 0x3c], 0xc0000225
jmp 0x14000862e
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x14000852a
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x10], 0
je 0x1400084c6
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x110]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
mov qword [rax + rcx], rdx
jmp 0x140008525
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x1400084f5
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0xa0], rax
jmp 0x140008504
mov rax, qword [rsp + 0x20]
mov eax, dword [rax]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x110]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0xe8]
mov qword [rax], rcx
jmp 0x1400085ad
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x10], 0
je 0x140008558
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x110]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x38]
mov edx, dword [rsp + 0x40]
mov dword [rax + rcx], edx
jmp 0x1400085ad
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x5c], eax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x140008582
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0xa8], rax
jmp 0x140008591
mov rax, qword [rsp + 0x20]
mov eax, dword [rax]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x110]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x5c]
mov dword [rax], ecx
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x1400085cb
mov qword [rsp + 0xb0], 8
jmp 0x1400085d7
mov qword [rsp + 0xb0], 4
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x14000860d
mov qword [rsp + 0xb8], 8
jmp 0x140008619
mov qword [rsp + 0xb8], 4
mov eax, dword [rsp + 0x38]
add rax, qword [rsp + 0xb8]
mov dword [rsp + 0x38], eax
jmp 0x1400082ad
lea rcx, [rsp + 0xc0]
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
lea rcx, [rsp + 0xd0]
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
jmp 0x14000815e
mov eax, dword [rsp + 0x3c]
add rsp, 0x100
pop rdi
ret