Function at 0x14000d1d0
Capabilities:
Access peb ldr_data
Enumerate pe sections
Get kernel32 base address
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x108
mov rax, qword [0x140038018]
xor rax, rsp
mov qword [rsp + 0xf8], rax
mov dword [rsp + 0x30], 0
mov rax, qword gs:[0x60]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax + 0x18]
add rax, 0x20
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
cmp dword [0x14003f640], 0
jne 0x14000d238
jmp 0x14000d97f
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0xb0]
cmp qword [rsp + 0x38], rax
je 0x14000d97f
mov rax, qword [rsp + 0x38]
sub rax, 0x10
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
add rax, 0x58
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rax + 8]
call fcn.14000c960
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0xf0], 0
mov qword [rsp + 0xe0], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0xe8], 0
cmp qword [rsp + 0x80], 0
je 0x14000d830
cmp qword [rsp + 0x58], 0
je 0x14000d830
mov rax, qword [rsp + 0x58]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
cmp dword [rax], 0x4550
je 0x14000d319
jmp 0x14000d830
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x50]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rax + 8]
call fcn.140005710
cmp eax, 0x1c630b02
jne 0x14000d34e
jmp 0x14000d830
xor eax, eax
cmp eax, 1
je 0x14000d3e8
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, 0x208
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x14000d3e8
mov rax, qword [rsp + 0xa8]
mov r8, qword [rax + 8]
lea rdx, str._i__Unhooking__ws_...
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.USER32.dll_wsprintfA]
mov dword [rsp + 0x90], eax
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, dword [rsp + 0x90]
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rsp + 0x48]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [rsp + 0x34], 0
jmp 0x14000d3fc
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x34], eax
jge 0x14000d4cb
movsxd rax, dword [rsp + 0x34]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140005710
cmp eax, 0xf205493c
jne 0x14000d4c6
movsxd rax, dword [rsp + 0x34]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx + rax + 8]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [0x14003f658], rax
movsxd rax, dword [rsp + 0x34]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx + rax + 0xc]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [0x14003f648], rax
movsxd rax, dword [rsp + 0x34]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx + rax + 0xc]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [0x14003f650], rax
jmp 0x14000d4cb
jmp 0x14000d3f2
cmp qword [rsp + 0xf0], 0
je 0x14000d4e9
cmp qword [rsp + 0xe0], 0
je 0x14000d4e9
cmp qword [rsp + 0x40], 0
jne 0x14000d4ee
jmp 0x14000d830
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
cmp qword [rax], rcx
je 0x14000d508
jmp 0x14000d830
mov rdx, qword [0x14003f5c8]
mov ecx, dword [0x14003f5c0]
call fcn.14000e550
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rsp + 0xf0]
lea rdx, [rsp + 0xe0]
mov rcx, 0xffffffffffffffff
call fcn.14000e57c
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x14000d647
xor eax, eax
cmp eax, 1
je 0x14000d642
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, 0x208
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x14000d642
mov edx, 0x5c
lea rcx, [0x14003d920]
call fcn.140005960
test rax, rax
je 0x14000d5c2
mov edx, 0x5c
lea rcx, [0x14003d8e8]
call fcn.140005960
inc rax
mov qword [rsp + 0xc0], rax
jmp 0x14000d5d1
lea rax, [0x14003d868]
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0x20], 0xa7
mov r9, qword [rsp + 0xc0]
mov r8d, dword [rsp + 0x30]
lea rdx, str._n_t____NtProtectVirtualMemory_1__Failed_With_Error:_0x_0.8X____s._d__n
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.USER32.dll_wsprintfA]
mov dword [rsp + 0x94], eax
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, dword [rsp + 0x94]
mov rdx, qword [rsp + 0x68]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rsp + 0x68]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x14000d830
mov r8, qword [rsp + 0xf0]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xe0]
call fcn.140005880
mov rdx, qword [0x14003f5c8]
mov ecx, dword [0x14003f5c0]
call fcn.14000e550
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0xe8]
lea r8, [rsp + 0xf0]
lea rdx, [rsp + 0xe0]
mov rcx, 0xffffffffffffffff
call fcn.14000e57c
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x14000d7a2
xor eax, eax
cmp eax, 1
je 0x14000d79d
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, 0x208
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
je 0x14000d79d
mov edx, 0x5c
lea rcx, [0x14003d830]
call fcn.140005960
test rax, rax
je 0x14000d71d
mov edx, 0x5c
lea rcx, [0x14003d7f8]
call fcn.140005960
inc rax
mov qword [rsp + 0xc8], rax
jmp 0x14000d72c
lea rax, [0x14003d778]
mov qword [rsp + 0xc8], rax
mov dword [rsp + 0x20], 0xb3
mov r9, qword [rsp + 0xc8]
mov r8d, dword [rsp + 0x30]
lea rdx, str._n_t____NtProtectVirtualMemory_2__Failed_With_Error:_0x_0.8X____s._d__n
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.USER32.dll_wsprintfA]
mov dword [rsp + 0x98], eax
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, dword [rsp + 0x98]
mov rdx, qword [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rsp + 0x70]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x14000d830
xor eax, eax
cmp eax, 1
je 0x14000d830
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, 0x208
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
je 0x14000d830
lea rdx, str.___DONE__n
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.USER32.dll_wsprintfA]
mov dword [rsp + 0x9c], eax
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, dword [rsp + 0x9c]
mov rdx, qword [rsp + 0x78]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rsp + 0x78]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x80], 0
je 0x14000d97a
mov rdx, qword [0x14003f5a8]
mov ecx, dword [0x14003f5a0]
call fcn.14000e550
mov rdx, qword [rsp + 0x80]
mov rcx, 0xffffffffffffffff
call fcn.14000e57c
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x14000d97a
xor eax, eax
cmp eax, 1
je 0x14000d97a
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, 0x208
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
je 0x14000d97a
mov edx, 0x5c
lea rcx, [0x14003d730]
call fcn.140005960
test rax, rax
je 0x14000d8f1
mov edx, 0x5c
lea rcx, [0x14003d6f8]
call fcn.140005960
inc rax
mov qword [rsp + 0xd0], rax
jmp 0x14000d900
lea rax, [0x14003d6c0]
mov qword [rsp + 0xd0], rax
mov dword [rsp + 0x20], 0xc6
mov r9, qword [rsp + 0xd0]
mov r8d, dword [rsp + 0x30]
lea rdx, str._n_t____NtUnmapViewOfSection_Failed_With_Error:_0x_0.8X____s._d__n
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.USER32.dll_wsprintfA]
mov dword [rsp + 0xa0], eax
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, dword [rsp + 0xa0]
mov rdx, qword [rsp + 0x88]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rsp + 0x88]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x14000d245
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.14000e5c0
add rsp, 0x108
ret