Function at 0x14007d280
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xe8
mov rax, qword [rsp + 0x108]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x108]
movzx eax, byte [rax + 0x1c]
mov byte [rsp + 0x3b], al
mov rax, qword [rsp + 0x108]
mov eax, dword [rax + 0x20]
mov dword [rsp + 0x98], eax
cmp dword [rsp + 0x40], 4
jae 0x14007d2d0
jmp 0x14007d923
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x70], 0x40000
xor edx, edx
mov rcx, qword [rsp + 0x70]
call sym.ProcessHacker.exe_PhAllocatePage
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x14007d300
jmp 0x14007d923
mov qword [rsp + 0x60], 0x1fff
mov rax, qword [rsp + 0x60]
lea rax, [rax + rax + 2]
xor edx, edx
mov rcx, rax
call sym.ProcessHacker.exe_PhAllocatePage
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x14007d339
mov rcx, qword [rsp + 0x48]
call sym.ProcessHacker.exe_PhFreePage
jmp 0x14007d923
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0x30
lea r9, [rsp + 0xb0]
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x100]
call qword [sym.imp.ntdll.dll_NtQueryVirtualMemory]
test eax, eax
jl 0x14007d911
mov rax, qword [rsp + 0x108]
movzx eax, byte [rax]
test eax, eax
je 0x14007d385
jmp 0x14007d911
cmp dword [rsp + 0xd0], 0x1000
je 0x14007d397
jmp 0x14007d8f4
mov eax, dword [rsp + 0x98]
mov ecx, dword [rsp + 0xd8]
and ecx, eax
mov eax, ecx
test eax, eax
jne 0x14007d3b2
jmp 0x14007d8f4
cmp dword [rsp + 0xd4], 1
jne 0x14007d3c1
jmp 0x14007d8f4
mov eax, dword [rsp + 0xd4]
and eax, 0x100
test eax, eax
je 0x14007d3d6
jmp 0x14007d8f4
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0xc8], rax
jbe 0x14007d447
cmp qword [rsp + 0xc8], 0x1000000
ja 0x14007d43a
mov rcx, qword [rsp + 0x48]
call sym.ProcessHacker.exe_PhFreePage
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x70], rax
xor edx, edx
mov rcx, qword [rsp + 0x70]
call sym.ProcessHacker.exe_PhAllocatePage
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x14007d438
jmp 0x14007d911
jmp 0x14007d447
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x88], 0
jmp 0x14007d473
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0xc8]
cmp qword [rsp + 0x88], rax
jae 0x14007d8f4
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x90]
mov r8, qword [rsp + 0x48]
mov rdx, rax
mov rcx, qword [rsp + 0x100]
call sym.ProcessHacker.exe_PhReadVirtualMemory
test eax, eax
jge 0x14007d4c8
jmp 0x14007d455
mov byte [rsp + 0x38], 0
mov byte [rsp + 0x3a], 0
mov byte [rsp + 0x30], 0
mov byte [rsp + 0x32], 0
mov dword [rsp + 0x34], 0
mov qword [rsp + 0x80], 0
jmp 0x14007d505
mov rax, qword [rsp + 0x80]
inc rax
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x90]
cmp qword [rsp + 0x80], rax
jae 0x14007d8ef
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov byte [rsp + 0x33], al
movzx eax, byte [rsp + 0x33]
lea rcx, [0x140139b10]
movzx eax, byte [rcx + rax]
mov byte [rsp + 0x31], al
movzx eax, byte [rsp + 0x32]
test eax, eax
je 0x14007d590
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x14007d590
movzx eax, byte [rsp + 0x31]
test eax, eax
je 0x14007d590
mov eax, dword [rsp + 0x34]
cmp rax, qword [rsp + 0x60]
jae 0x14007d581
mov eax, dword [rsp + 0x34]
movzx ecx, byte [rsp + 0x33]
mov rdx, qword [rsp + 0x50]
mov word [rdx + rax*2], cx
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
jmp 0x14007d75b
movzx eax, byte [rsp + 0x32]
test eax, eax
je 0x14007d5f3
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x14007d5f3
movzx eax, byte [rsp + 0x31]
test eax, eax
jne 0x14007d5f3
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x34], eax
jb 0x14007d5bc
jmp 0x14007d760
movzx eax, byte [rsp + 0x33]
test eax, eax
jne 0x14007d5e6
mov dword [rsp + 0x34], 1
mov eax, 2
imul rax, rax, 0
movzx ecx, byte [rsp + 0x38]
mov rdx, qword [rsp + 0x50]
mov word [rdx + rax], cx
jmp 0x14007d5ee
mov dword [rsp + 0x34], 0
jmp 0x14007d75b
movzx eax, byte [rsp + 0x32]
test eax, eax
je 0x14007d63a
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x14007d63a
movzx eax, byte [rsp + 0x31]
test eax, eax
je 0x14007d63a
mov eax, dword [rsp + 0x34]
cmp rax, qword [rsp + 0x60]
jae 0x14007d62b
mov eax, dword [rsp + 0x34]
movzx ecx, byte [rsp + 0x33]
mov rdx, qword [rsp + 0x50]
mov word [rdx + rax*2], cx
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
jmp 0x14007d75b
movzx eax, byte [rsp + 0x32]
test eax, eax
je 0x14007d673
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x14007d673
movzx eax, byte [rsp + 0x31]
test eax, eax
jne 0x14007d673
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x34], eax
jb 0x14007d666
jmp 0x14007d760
mov dword [rsp + 0x34], 0
jmp 0x14007d75b
movzx eax, byte [rsp + 0x32]
test eax, eax
jne 0x14007d6e3
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x14007d6e3
movzx eax, byte [rsp + 0x31]
test eax, eax
je 0x14007d6e3
mov eax, dword [rsp + 0x40]
inc eax
cmp dword [rsp + 0x34], eax
jb 0x14007d6ab
mov eax, dword [rsp + 0x34]
dec eax
mov dword [rsp + 0x34], eax
jmp 0x14007d760
mov dword [rsp + 0x34], 2
mov eax, 2
imul rax, rax, 0
movzx ecx, byte [rsp + 0x38]
mov rdx, qword [rsp + 0x50]
mov word [rdx + rax], cx
mov eax, 2
imul rax, rax, 1
movzx ecx, byte [rsp + 0x33]
mov rdx, qword [rsp + 0x50]
mov word [rdx + rax], cx
jmp 0x14007d75b
movzx eax, byte [rsp + 0x32]
test eax, eax
jne 0x14007d700
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x14007d700
movzx eax, byte [rsp + 0x31]
test eax, eax
jne 0x14007d700
jmp 0x14007d75b
movzx eax, byte [rsp + 0x32]
test eax, eax
jne 0x14007d744
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x14007d744
movzx eax, byte [rsp + 0x31]
test eax, eax
je 0x14007d744
mov eax, dword [rsp + 0x34]
cmp rax, qword [rsp + 0x60]
jae 0x14007d738
mov eax, dword [rsp + 0x34]
movzx ecx, byte [rsp + 0x33]
mov rdx, qword [rsp + 0x50]
mov word [rdx + rax*2], cx
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
jmp 0x14007d75b
movzx eax, byte [rsp + 0x32]
test eax, eax
jne 0x14007d75b
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x14007d75b
movzx eax, byte [rsp + 0x31]
jmp 0x14007d8c6
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x68], 0
mov byte [rsp + 0x39], 0
movzx eax, byte [rsp + 0x30]
movzx ecx, byte [rsp + 0x31]
cmp eax, ecx
jne 0x14007d792
mov byte [rsp + 0x39], 1
mov eax, dword [rsp + 0x44]
shl eax, 1
mov dword [rsp + 0x44], eax
movzx eax, byte [rsp + 0x31]
test eax, eax
je 0x14007d7a3
mov dword [rsp + 0x68], 1
movzx eax, byte [rsp + 0x39]
test eax, eax
je 0x14007d7b9
movzx eax, byte [rsp + 0x3b]
test eax, eax
je 0x14007d8be
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x68]
mov rdx, qword [rsp + 0x80]
sub rdx, rcx
mov rcx, rdx
mov edx, dword [rsp + 0x44]
sub rcx, rdx
mov rdx, qword [rsp + 0x78]
add rdx, rcx
mov rcx, rdx
mov edx, eax
call fcn.14007d150
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x14007d8be
mov eax, dword [rsp + 0x34]
cmp rax, qword [rsp + 0x60]
jae 0x14007d812
mov eax, dword [rsp + 0x34]
mov qword [rsp + 0xa0], rax
jmp 0x14007d81f
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
shl rax, 1
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3c]
add rax, 2
mov rcx, rax
call fcn.14007d030
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0xa8]
mov qword [rax + 0x20], rcx
cmp qword [rsp + 0xa8], 0
je 0x14007d8a2
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x58]
mov rdi, qword [rcx + 0x20]
mov rsi, qword [rsp + 0x50]
mov ecx, eax
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x3c]
xor edx, edx
mov ecx, 2
div rcx
mov rcx, qword [rsp + 0x58]
mov rcx, qword [rcx + 0x20]
xor edx, edx
mov word [rcx + rax*2], dx
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x58]
mov qword [rcx + 0x18], rax
mov rax, qword [rsp + 0x108]
mov rdx, qword [rax + 0x10]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x108]
call qword [rax + 8]
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x3a], al
movzx eax, byte [rsp + 0x33]
mov byte [rsp + 0x38], al
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x32], al
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x30], al
jmp 0x14007d4f2
jmp 0x14007d455
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
jmp 0x14007d339
cmp qword [rsp + 0x48], 0
je 0x14007d923
mov rcx, qword [rsp + 0x48]
call sym.ProcessHacker.exe_PhFreePage
add rsp, 0xe8
pop rdi
pop rsi
ret