Function at 0x1400443e0
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 [0x14002a380]
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 0x140044465
xor eax, eax
jmp 0x140044ef2
jmp 0x140044475
mov rax, qword [rsp + 0x58]
add rax, 0x14
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
cmp dword [rax + 0xc], 0
je 0x140044eee
cmp dword [rsp + 0x40], 0
jl 0x140044eee
mov rax, qword [rsp + 0x58]
cmp dword [rax], 0
je 0x1400444a6
mov rax, qword [rsp + 0x58]
mov eax, dword [rax]
mov dword [rsp + 0x70], eax
jmp 0x1400444b2
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 0x140044612
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.140043f10
mov dword [rsp + 0x40], eax
lea rdx, [rsp + 0x138]
lea rcx, [rsp + 0x1c0]
call fcn.140040300
cmp dword [rsp + 0x40], 0xc0000144
jne 0x140044610
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 0x140044ef2
jmp 0x140044627
lea rdx, [rsp + 0x1b0]
lea rcx, [rsp + 0x1c0]
call fcn.140040060
movzx eax, byte [rsp + 0x218]
test eax, eax
je 0x14004464c
xor edx, edx
lea rcx, [rsp + 0x1b0]
call fcn.14003eff0
mov qword [rsp + 0x98], rax
jmp 0x140044672
movzx r8d, byte [rsp + 0x228]
lea rdx, [rsp + 0x138]
mov rcx, qword [rsp + 0x220]
call fcn.14003f140
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x130], rax
cmp qword [rsp + 0x130], 0
jne 0x140044936
movzx eax, byte [rsp + 0x218]
test eax, eax
jne 0x140044936
mov eax, dword [rsp + 0x238]
and eax, 1
test eax, eax
je 0x14004472c
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.140041670
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jl 0x140044727
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x130], rax
jmp 0x140044936
lea rax, [rsp + 0x1c0]
mov qword [rsp + 0x20], rax
lea r9, [0x1400473a0]
lea r8, [0x1400473c0]
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 0x1400447be
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.140008320
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 0x14004485d
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 0x14004488d
mov dword [rsp + 0x74], 1
jmp 0x140044895
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.140040b20
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 0x140044936
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 0x1400449b4
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, [0x1400473a0]
lea r8, [0x1400473f0]
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 0x140044ef2
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x1400449d6
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov qword [rsp + 0xa0], rax
jmp 0x1400449e5
mov rax, qword [rsp + 0x48]
mov eax, dword [rax]
mov qword [rsp + 0xa0], rax
cmp qword [rsp + 0xa0], 0
je 0x140044ecd
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x140044a16
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov qword [rsp + 0xa8], rax
jmp 0x140044a25
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 0x140044a6b
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov qword [rsp + 0xb8], rax
jmp 0x140044a7a
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 0x140044a9e
movabs rax, 0x8000000000000000
mov qword [rsp + 0xb0], rax
jmp 0x140044aab
mov eax, 0x80000000
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
cmp qword [rsp + 0xb8], rax
jae 0x140044ae7
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x78]
movsx eax, byte [rcx + rax + 2]
test eax, eax
je 0x140044ae7
mov rax, qword [rsp + 0x78]
add rax, 2
mov qword [rsp + 0x80], rax
jmp 0x140044b2e
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x140044b09
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov qword [rsp + 0xc0], rax
jmp 0x140044b18
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 0x140044b48
mov qword [rsp + 0xc8], 0
jmp 0x140044b5b
mov rax, qword [rsp + 0x230]
mov rax, qword [rax]
mov qword [rsp + 0xc8], rax
movzx eax, byte [rsp + 0x218]
test eax, eax
je 0x140044b7d
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0xd0], rax
jmp 0x140044b8d
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.14003e9e0
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x140044d3c
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x140044be5
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov qword [rsp + 0xe0], rax
jmp 0x140044bf4
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 0x140044c18
movabs rax, 0x8000000000000000
mov qword [rsp + 0xd8], rax
jmp 0x140044c25
mov eax, 0x80000000
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
cmp qword [rsp + 0xe0], rax
jae 0x140044ca6
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x78]
movsx eax, byte [rcx + rax + 2]
test eax, eax
je 0x140044ca6
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, [0x1400473a0]
lea r8, [0x140047430]
xor edx, edx
mov ecx, 0x4d
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
jmp 0x140044d2f
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x140044cc8
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov qword [rsp + 0xe8], rax
jmp 0x140044cd7
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, [0x1400473a0]
lea r8, [0x140047470]
xor edx, edx
mov ecx, 0x4d
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov dword [rsp + 0x40], 0xc0000225
jmp 0x140044ecd
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x140044dd1
mov rax, qword [rsp + 0x58]
cmp dword [rax + 0x10], 0
je 0x140044d80
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 0x140044dcf
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x140044da2
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov qword [rsp + 0xf0], rax
jmp 0x140044db1
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 0x140044e4c
mov rax, qword [rsp + 0x58]
cmp dword [rax + 0x10], 0
je 0x140044dff
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 0x140044e4c
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x140044e21
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov qword [rsp + 0xf8], rax
jmp 0x140044e30
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 0x140044e6a
mov qword [rsp + 0x88], 8
jmp 0x140044e76
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 0x140044eac
mov qword [rsp + 0x90], 8
jmp 0x140044eb8
mov qword [rsp + 0x90], 4
mov eax, dword [rsp + 0x60]
add rax, qword [rsp + 0x90]
mov dword [rsp + 0x60], eax
jmp 0x1400449b4
lea rcx, [rsp + 0x1b0]
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
lea rcx, [rsp + 0x1c0]
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
jmp 0x140044467
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x1e8]
xor rcx, rsp
call fcn.140021990
add rsp, 0x1f8
pop rdi
pop rsi
ret