Function at 0x14001b9f0
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 [section..data]
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 0x14001ba75
xor eax, eax
jmp 0x14001c502
jmp 0x14001ba85
mov rax, qword [rsp + 0x58]
add rax, 0x14
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
cmp dword [rax + 0xc], 0
je 0x14001c4fe
cmp dword [rsp + 0x40], 0
jl 0x14001c4fe
mov rax, qword [rsp + 0x58]
cmp dword [rax], 0
je 0x14001bab6
mov rax, qword [rsp + 0x58]
mov eax, dword [rax]
mov dword [rsp + 0x70], eax
jmp 0x14001bac2
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 0x14001bc22
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.14001b520
mov dword [rsp + 0x40], eax
lea rdx, [rsp + 0x138]
lea rcx, [rsp + 0x1c0]
call fcn.14001ced0
cmp dword [rsp + 0x40], 0xc0000144
jne 0x14001bc20
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 0x14001c502
jmp 0x14001bc37
lea rdx, [rsp + 0x1b0]
lea rcx, [rsp + 0x1c0]
call fcn.14001cc30
movzx eax, byte [rsp + 0x218]
test eax, eax
je 0x14001bc5c
xor edx, edx
lea rcx, [rsp + 0x1b0]
call fcn.1400164a0
mov qword [rsp + 0x98], rax
jmp 0x14001bc82
movzx r8d, byte [rsp + 0x228]
lea rdx, [rsp + 0x138]
mov rcx, qword [rsp + 0x220]
call fcn.1400165f0
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x130], rax
cmp qword [rsp + 0x130], 0
jne 0x14001bf46
movzx eax, byte [rsp + 0x218]
test eax, eax
jne 0x14001bf46
mov eax, dword [rsp + 0x238]
and eax, 1
test eax, eax
je 0x14001bd3c
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.140018c80
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jl 0x14001bd37
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x130], rax
jmp 0x14001bf46
lea rax, [rsp + 0x1c0]
mov qword [rsp + 0x20], rax
lea r9, [0x14001e440]
lea r8, [0x14001e460]
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 0x14001bdce
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.140008bf0
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 0x14001be6d
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 0x14001be9d
mov dword [rsp + 0x74], 1
jmp 0x14001bea5
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.140018130
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 0x14001bf46
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 0x14001bfc4
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, [0x14001e440]
lea r8, [0x14001e490]
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 0x14001c502
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x14001bfe6
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov qword [rsp + 0xa0], rax
jmp 0x14001bff5
mov rax, qword [rsp + 0x48]
mov eax, dword [rax]
mov qword [rsp + 0xa0], rax
cmp qword [rsp + 0xa0], 0
je 0x14001c4dd
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x14001c026
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov qword [rsp + 0xa8], rax
jmp 0x14001c035
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 0x14001c07b
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov qword [rsp + 0xb8], rax
jmp 0x14001c08a
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 0x14001c0ae
movabs rax, 0x8000000000000000
mov qword [rsp + 0xb0], rax
jmp 0x14001c0bb
mov eax, 0x80000000
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
cmp qword [rsp + 0xb8], rax
jae 0x14001c0f7
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x78]
movsx eax, byte [rcx + rax + 2]
test eax, eax
je 0x14001c0f7
mov rax, qword [rsp + 0x78]
add rax, 2
mov qword [rsp + 0x80], rax
jmp 0x14001c13e
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x14001c119
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov qword [rsp + 0xc0], rax
jmp 0x14001c128
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 0x14001c158
mov qword [rsp + 0xc8], 0
jmp 0x14001c16b
mov rax, qword [rsp + 0x230]
mov rax, qword [rax]
mov qword [rsp + 0xc8], rax
movzx eax, byte [rsp + 0x218]
test eax, eax
je 0x14001c18d
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0xd0], rax
jmp 0x14001c19d
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.140015e90
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x14001c34c
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x14001c1f5
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov qword [rsp + 0xe0], rax
jmp 0x14001c204
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 0x14001c228
movabs rax, 0x8000000000000000
mov qword [rsp + 0xd8], rax
jmp 0x14001c235
mov eax, 0x80000000
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
cmp qword [rsp + 0xe0], rax
jae 0x14001c2b6
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x78]
movsx eax, byte [rcx + rax + 2]
test eax, eax
je 0x14001c2b6
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, [0x14001e440]
lea r8, [0x14001e4d0]
xor edx, edx
mov ecx, 0x4d
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
jmp 0x14001c33f
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x14001c2d8
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov qword [rsp + 0xe8], rax
jmp 0x14001c2e7
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, [0x14001e440]
lea r8, [0x14001e510]
xor edx, edx
mov ecx, 0x4d
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov dword [rsp + 0x40], 0xc0000225
jmp 0x14001c4dd
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x14001c3e1
mov rax, qword [rsp + 0x58]
cmp dword [rax + 0x10], 0
je 0x14001c390
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 0x14001c3df
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x14001c3b2
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov qword [rsp + 0xf0], rax
jmp 0x14001c3c1
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 0x14001c45c
mov rax, qword [rsp + 0x58]
cmp dword [rax + 0x10], 0
je 0x14001c40f
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 0x14001c45c
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x14001c431
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov qword [rsp + 0xf8], rax
jmp 0x14001c440
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 0x14001c47a
mov qword [rsp + 0x88], 8
jmp 0x14001c486
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 0x14001c4bc
mov qword [rsp + 0x90], 8
jmp 0x14001c4c8
mov qword [rsp + 0x90], 4
mov eax, dword [rsp + 0x60]
add rax, qword [rsp + 0x90]
mov dword [rsp + 0x60], eax
jmp 0x14001bfc4
lea rcx, [rsp + 0x1b0]
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
lea rcx, [rsp + 0x1c0]
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
jmp 0x14001ba77
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x1e8]
xor rcx, rsp
call fcn.140001860
add rsp, 0x1f8
pop rdi
pop rsi
ret