Function at 0x14000f310
Capabilities:
Access pe header

Disassembly:
mov byte [rsp + 0x20], r9b
mov qword [rsp + 0x18], r8
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x1f8
mov rax, qword [0x140006090]
xor rax, rsp
mov qword [rsp + 0x1e8], rax
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x1d0], 0
mov rcx, qword [rsp + 0x210]
call qword [sym.imp.ntoskrnl.exe_RtlImageNtHeader]
mov qword [rsp + 0x50], rax
lea r9, [rsp + 0x1d0]
mov r8w, 1
mov dl, 1
mov rcx, qword [rsp + 0x210]
call qword [sym.imp.ntoskrnl.exe_RtlImageDirectoryEntryToData]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14000f395
xor eax, eax
jmp 0x14000fe25
jmp 0x14000f3a5
mov rax, qword [rsp + 0x58]
add rax, 0x14
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
cmp dword [rax + 0xc], 0
je 0x14000fe21
cmp dword [rsp + 0x40], 0
jl 0x14000fe21
lfence
mov rax, qword [rsp + 0x58]
cmp dword [rax], 0
je 0x14000f3d9
mov rax, qword [rsp + 0x58]
mov eax, dword [rax]
mov dword [rsp + 0x70], eax
jmp 0x14000f3e5
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x210]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x1b0]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
lea rax, [rsp + 0x1c0]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
lea rax, [rsp + 0x138]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
lea rax, [rsp + 0x1d8]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
mov dword [rsp + 0x60], 0
mov qword [rsp + 0x80], 0
lea rax, [rsp + 0x130]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x210]
add rcx, rax
mov rax, rcx
mov rdx, rax
lea rcx, [rsp + 0x1d8]
call qword [sym.imp.ntoskrnl.exe_RtlInitAnsiString]
mov r8b, 1
lea rdx, [rsp + 0x1d8]
lea rcx, [rsp + 0x1b0]
call qword [sym.imp.ntoskrnl.exe_RtlAnsiStringToUnicodeString]
movzx eax, byte [rsp + 0x218]
test eax, eax
jne 0x14000f545
lea rax, [rsp + 0x1c0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x1b0]
xor r8d, r8d
mov rdx, qword [rsp + 0x220]
mov rcx, qword [rsp + 0x230]
call fcn.14000ee40
mov dword [rsp + 0x40], eax
lea rdx, [rsp + 0x138]
lea rcx, [rsp + 0x1c0]
call fcn.140014c50
cmp dword [rsp + 0x40], 0xc0000144
jne 0x14000f543
lea rcx, [rsp + 0x1b0]
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
lea rcx, [rsp + 0x1c0]
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
mov eax, 0xc0000225
jmp 0x14000fe25
jmp 0x14000f55a
lea rdx, [rsp + 0x1b0]
lea rcx, [rsp + 0x1c0]
call fcn.1400149b0
movzx eax, byte [rsp + 0x218]
test eax, eax
je 0x14000f57f
xor edx, edx
lea rcx, [rsp + 0x1b0]
call fcn.14000a0b0
mov qword [rsp + 0x98], rax
jmp 0x14000f5a5
movzx r8d, byte [rsp + 0x228]
lea rdx, [rsp + 0x138]
mov rcx, qword [rsp + 0x220]
call fcn.14000a200
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x130], rax
cmp qword [rsp + 0x130], 0
jne 0x14000f869
movzx eax, byte [rsp + 0x218]
test eax, eax
jne 0x14000f869
mov eax, dword [rsp + 0x238]
and eax, 1
test eax, eax
je 0x14000f65f
lea rax, [rsp + 0x150]
mov rdi, rax
xor eax, eax
mov ecx, 0x58
rep stosb byte [rdi], al
mov eax, dword [rsp + 0x238]
bts eax, 0xf
lea rcx, [rsp + 0x150]
mov qword [rsp + 0x38], rcx
mov rcx, qword [rsp + 0x230]
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], eax
mov byte [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x1c0]
mov rcx, qword [rsp + 0x220]
call fcn.14000c7e0
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jl 0x14000f65a
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x130], rax
jmp 0x14000f869
lea rax, [rsp + 0x1c0]
mov qword [rsp + 0x20], rax
lea r9, [0x140016010]
lea r8, [0x140016030]
xor edx, edx
mov ecx, 0x4d
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x14000f6f1
mov rax, qword [rsp + 0x230]
mov rax, qword [rax + 0x30]
add rax, 0x1010
mov rcx, qword [rsp + 0x230]
mov rcx, qword [rcx + 0x30]
add rcx, 0x1000
mov r8w, 0x800
mov rdx, rax
call fcn.140001fb0
mov rax, qword [rsp + 0x230]
mov rax, qword [rax + 0x30]
add rax, 0x1000
lea rdx, [rsp + 0x138]
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_RtlCopyUnicodeString]
jmp 0x14000f790
mov rax, qword [rsp + 0x230]
mov rax, qword [rax + 0x30]
add rax, 0x1010
mov rcx, qword [rsp + 0x230]
mov rcx, qword [rcx + 0x30]
mov dword [rcx + 0x1004], eax
mov rax, qword [rsp + 0x230]
mov rax, qword [rax + 0x30]
mov ecx, 0x800
mov word [rax + 0x1002], cx
mov rax, qword [rsp + 0x230]
mov rax, qword [rax + 0x30]
movzx ecx, word [rsp + 0x138]
mov word [rax + 0x1000], cx
mov rax, qword [rsp + 0x230]
mov rax, qword [rax + 0x30]
add rax, 0x1010
mov rdi, rax
xor eax, eax
mov ecx, 0x800
rep stosb byte [rdi], al
movzx eax, word [rsp + 0x138]
mov rcx, qword [rsp + 0x230]
mov rcx, qword [rcx + 0x30]
add rcx, 0x1010
mov rdi, rcx
mov rsi, qword [rsp + 0x140]
mov ecx, eax
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x230]
mov rax, qword [rax + 0x30]
mov dword [rax + 0x1860], 0
mov rax, qword [rsp + 0x230]
movzx eax, byte [rax + 0x59]
test eax, eax
jne 0x14000f7c0
mov dword [rsp + 0x74], 1
jmp 0x14000f7c8
mov dword [rsp + 0x74], 0
mov rax, qword [rsp + 0x230]
mov rax, qword [rax + 0x30]
add rax, 0x1858
mov rcx, qword [rsp + 0x230]
mov rcx, qword [rcx + 0x30]
add rcx, 0x1000
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 4
mov rax, qword [rsp + 0x230]
mov r8, qword [rax + 0x50]
mov rdx, qword [rsp + 0x230]
movzx ecx, byte [rsp + 0x74]
call fcn.14000bc70
mov rax, qword [rsp + 0x230]
mov rax, qword [rax + 0x30]
mov rax, qword [rax + 0x1858]
mov qword [rsp + 0x130], rax
cmp qword [rsp + 0x130], 0
jne 0x14000f869
mov rax, qword [rsp + 0x230]
mov rax, qword [rax + 0x30]
mov eax, dword [rax + 0x1860]
mov dword [rsp + 0x40], eax
cmp qword [rsp + 0x130], 0
jne 0x14000f8e7
lea rax, [rsp + 0x100]
lea rcx, [rsp + 0x1b0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x100]
mov qword [rsp + 0x20], rax
lea r9, [0x140016010]
lea r8, [0x140016060]
xor edx, edx
mov ecx, 0x4d
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea rcx, [rsp + 0x1b0]
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
lea rcx, [rsp + 0x1c0]
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
mov eax, 0xc0000225
jmp 0x14000fe25
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x14000f909
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov qword [rsp + 0xa0], rax
jmp 0x14000f918
mov rax, qword [rsp + 0x48]
mov eax, dword [rax]
mov qword [rsp + 0xa0], rax
cmp qword [rsp + 0xa0], 0
je 0x14000fe00
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x14000f949
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov qword [rsp + 0xa8], rax
jmp 0x14000f958
mov rax, qword [rsp + 0x48]
mov eax, dword [rax]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x210]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x68], 0
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x14000f99e
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov qword [rsp + 0xb8], rax
jmp 0x14000f9ad
mov rax, qword [rsp + 0x48]
mov eax, dword [rax]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x14000f9d1
movabs rax, 0x8000000000000000
mov qword [rsp + 0xb0], rax
jmp 0x14000f9de
mov eax, 0x80000000
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
cmp qword [rsp + 0xb8], rax
jae 0x14000fa1a
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x78]
movsx eax, byte [rcx + rax + 2]
test eax, eax
je 0x14000fa1a
mov rax, qword [rsp + 0x78]
add rax, 2
mov qword [rsp + 0x80], rax
jmp 0x14000fa61
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x14000fa3c
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov qword [rsp + 0xc0], rax
jmp 0x14000fa4b
mov rax, qword [rsp + 0x48]
mov eax, dword [rax]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
and rax, 0xffff
mov qword [rsp + 0x80], rax
movzx eax, byte [rsp + 0x218]
test eax, eax
je 0x14000fa7b
mov qword [rsp + 0xc8], 0
jmp 0x14000fa8e
mov rax, qword [rsp + 0x230]
mov rax, qword [rax]
mov qword [rsp + 0xc8], rax
movzx eax, byte [rsp + 0x218]
test eax, eax
je 0x14000fab0
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0xd0], rax
jmp 0x14000fac0
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0xd0], rax
lea r9, [rsp + 0x1c0]
mov r8, qword [rsp + 0xc8]
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0xd0]
call fcn.140009aa0
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x14000fc6f
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x14000fb18
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov qword [rsp + 0xe0], rax
jmp 0x14000fb27
mov rax, qword [rsp + 0x48]
mov eax, dword [rax]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x14000fb4b
movabs rax, 0x8000000000000000
mov qword [rsp + 0xd8], rax
jmp 0x14000fb58
mov eax, 0x80000000
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
cmp qword [rsp + 0xe0], rax
jae 0x14000fbd9
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x78]
movsx eax, byte [rcx + rax + 2]
test eax, eax
je 0x14000fbd9
mov rax, qword [rsp + 0x78]
add rax, 2
lea rcx, [rsp + 0x110]
lea rdx, [rsp + 0x1b0]
mov rdi, rcx
mov rsi, rdx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x110]
mov qword [rsp + 0x20], rax
lea r9, [0x140016010]
lea r8, [0x1400160a0]
xor edx, edx
mov ecx, 0x4d
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
jmp 0x14000fc62
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x14000fbfb
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov qword [rsp + 0xe8], rax
jmp 0x14000fc0a
mov rax, qword [rsp + 0x48]
mov eax, dword [rax]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
and rax, 0xffff
lea rcx, [rsp + 0x120]
lea rdx, [rsp + 0x1b0]
mov rdi, rcx
mov rsi, rdx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x120]
mov qword [rsp + 0x20], rax
lea r9, [0x140016010]
lea r8, [0x1400160e0]
xor edx, edx
mov ecx, 0x4d
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov dword [rsp + 0x40], 0xc0000225
jmp 0x14000fe00
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x14000fd04
mov rax, qword [rsp + 0x58]
cmp dword [rax + 0x10], 0
je 0x14000fcb3
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x210]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
mov qword [rax + rcx], rdx
jmp 0x14000fd02
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x14000fcd5
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov qword [rsp + 0xf0], rax
jmp 0x14000fce4
mov rax, qword [rsp + 0x48]
mov eax, dword [rax]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x210]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x68]
mov qword [rax], rcx
jmp 0x14000fd7f
mov rax, qword [rsp + 0x58]
cmp dword [rax + 0x10], 0
je 0x14000fd32
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x210]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x60]
mov edx, dword [rsp + 0x68]
mov dword [rax + rcx], edx
jmp 0x14000fd7f
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x14000fd54
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov qword [rsp + 0xf8], rax
jmp 0x14000fd63
mov rax, qword [rsp + 0x48]
mov eax, dword [rax]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x210]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x68]
mov dword [rax], ecx
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x14000fd9d
mov qword [rsp + 0x88], 8
jmp 0x14000fda9
mov qword [rsp + 0x88], 4
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x14000fddf
mov qword [rsp + 0x90], 8
jmp 0x14000fdeb
mov qword [rsp + 0x90], 4
mov eax, dword [rsp + 0x60]
add rax, qword [rsp + 0x90]
mov dword [rsp + 0x60], eax
jmp 0x14000f8e7
lea rcx, [rsp + 0x1b0]
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
lea rcx, [rsp + 0x1c0]
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
jmp 0x14000f397
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x1e8]
xor rcx, rsp
call fcn.140003e80
add rsp, 0x1f8
pop rdi
pop rsi
ret