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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbx
push rdi
push r13
sub rsp, 0x50
mov rax, qword [0x14015d6c0]
xor ebx, ebx
mov r13d, ebx
mov edi, ebx
test rax, rax
je 0x14003eb68
cmp qword [0x14015d6d0], rbx
je 0x14003eb68
mov qword [r11 + 0x20], rbp
lea r9d, [rbx + 2]
mov qword [r11 - 0x20], rsi
lea rdx, [r11 + 0x18]
mov qword [r11 - 0x28], r12
xor r8d, r8d
mov qword [r11 - 0x30], r14
xor ecx, ecx
mov dword [rsp + 0x28], ebx
mov qword [r11 - 0x38], r15
mov dword [r11 + 0x18], ebx
mov dword [rsp + 0x20], 8
call rax
mov r8d, dword [rsp + 0x80]
lea edx, [rbx + 4]
mov rcx, qword [sym.ProcessHacker.exe_PhHeapHandle]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [rsp + 0x28], ebx
lea r9d, [rbx + 2]
mov rcx, rax
mov dword [rsp + 0x20], 8
xor r8d, r8d
lea rdx, [rsp + 0x80]
mov r14, rax
call qword [0x14015d6c0]
test eax, eax
jne 0x14003e522
mov r13d, dword [r14]
jmp 0x14003e537
mov rcx, qword [sym.ProcessHacker.exe_PhHeapHandle]
mov r8, r14
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r14, rbx
mov dword [rsp + 0x28], ebx
lea rdx, [rsp + 0x80]
mov r9d, 0x17
mov dword [rsp + 0x20], 8
xor r8d, r8d
mov dword [rsp + 0x80], ebx
xor ecx, ecx
call qword [0x14015d6c0]
cmp dword [sym.ProcessHacker.exe_WindowsVersion], 0x33
mov eax, dword [rsp + 0x80]
ja 0x14003e5a7
cmp eax, 8
jb 0x14003e5a7
add eax, 0xfffffff8
mov ecx, eax
movabs rax, 0x2492492492492493
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
lea eax, [rcx + rcx*2]
shl eax, 6
add eax, 8
mov dword [rsp + 0x80], eax
mov rcx, qword [sym.ProcessHacker.exe_PhHeapHandle]
mov edx, 4
mov r8d, eax
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [rsp + 0x28], ebx
lea rdx, [rsp + 0x80]
mov rcx, rax
mov dword [rsp + 0x20], 8
mov r9d, 0x17
xor r8d, r8d
mov r15, rax
call qword [0x14015d6c0]
test eax, eax
jne 0x14003e5ee
add r13d, dword [r15]
jmp 0x14003e603
mov rcx, qword [sym.ProcessHacker.exe_PhHeapHandle]
mov r8, r15
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r15, rbx
mov dword [rsp + 0x28], ebx
lea rdx, [rsp + 0x80]
mov r9d, 2
mov dword [rsp + 0x20], 2
xor r8d, r8d
mov dword [rsp + 0x80], ebx
xor ecx, ecx
call qword [0x14015d6d0]
mov r8d, dword [rsp + 0x80]
mov edx, 4
mov rcx, qword [sym.ProcessHacker.exe_PhHeapHandle]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [rsp + 0x28], ebx
lea rdx, [rsp + 0x80]
mov rcx, rax
mov dword [rsp + 0x20], 2
mov r9d, 2
xor r8d, r8d
mov rsi, rax
call qword [0x14015d6d0]
test eax, eax
jne 0x14003e67b
add r13d, dword [rsi]
jmp 0x14003e690
mov rcx, qword [sym.ProcessHacker.exe_PhHeapHandle]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rsi, rbx
mov dword [rsp + 0x28], ebx
lea rdx, [rsp + 0x80]
mov r9d, 0x17
mov dword [rsp + 0x20], 2
xor r8d, r8d
mov dword [rsp + 0x80], ebx
xor ecx, ecx
call qword [0x14015d6d0]
mov r8d, dword [rsp + 0x80]
mov edx, 4
mov rcx, qword [sym.ProcessHacker.exe_PhHeapHandle]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [rsp + 0x28], ebx
lea rdx, [rsp + 0x80]
mov rcx, rax
mov dword [rsp + 0x20], 2
mov r9d, 0x17
xor r8d, r8d
mov rbp, rax
call qword [0x14015d6d0]
test eax, eax
jne 0x14003e709
add r13d, dword [rbp]
jmp 0x14003e71e
mov rcx, qword [sym.ProcessHacker.exe_PhHeapHandle]
mov r8, rbp
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rbp, rbx
mov rcx, qword [sym.ProcessHacker.exe_PhHeapHandle]
mov edx, 4
mov eax, r13d
imul rbx, rax, 0xc8
mov r8, rbx
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
mov r12, rax
call fcn.1400e3c20
test r14, r14
je 0x14003e837
cmp dword [r14], edi
jbe 0x14003e825
nop
mov ecx, edi
inc edi
imul rdx, rcx, 0xc8
lea rcx, [rcx + rcx*4]
add rdx, r12
shl rcx, 5
add rcx, r14
mov dword [rdx], 0x11
mov dword [rdx + 4], 1
mov eax, dword [rcx + 0xc]
mov dword [rdx + 8], eax
movzx eax, word [rcx + 0x10]
mov dword [rdx + 0x1c], 1
ror ax, 8
movzx eax, ax
mov dword [rdx + 0x18], eax
mov eax, dword [rcx + 0x14]
mov dword [rdx + 0x20], eax
movzx eax, word [rcx + 0x18]
ror ax, 8
movzx eax, ax
mov dword [rdx + 0x30], eax
mov eax, dword [rcx + 8]
mov dword [rdx + 0x34], eax
mov eax, dword [rcx + 0x1c]
mov qword [rdx + 0x38], rax
mov rax, qword [rcx + 0x20]
mov qword [rdx + 0x40], rax
movups xmm0, xmmword [rcx + 0x28]
movups xmmword [rdx + 0x48], xmm0
movups xmm1, xmmword [rcx + 0x38]
movups xmmword [rdx + 0x58], xmm1
movups xmm0, xmmword [rcx + 0x48]
movups xmmword [rdx + 0x68], xmm0
movups xmm1, xmmword [rcx + 0x58]
movups xmmword [rdx + 0x78], xmm1
movups xmm0, xmmword [rcx + 0x68]
movups xmmword [rdx + 0x88], xmm0
movups xmm1, xmmword [rcx + 0x78]
movups xmmword [rdx + 0x98], xmm1
movups xmm0, xmmword [rcx + 0x88]
movups xmmword [rdx + 0xa8], xmm0
movups xmm1, xmmword [rcx + 0x98]
movups xmmword [rdx + 0xb8], xmm1
cmp edi, dword [r14]
jb 0x14003e760
mov rcx, qword [sym.ProcessHacker.exe_PhHeapHandle]
mov r8, r14
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r14, qword [rsp + 0x38]
xor ebx, ebx
test r15, r15
je 0x14003e961
mov r8d, ebx
cmp dword [r15], ebx
jbe 0x14003e94f
nop dword [rax]
nop word [rax + rax]
mov eax, edi
inc edi
imul rdx, rax, 0xc8
mov eax, r8d
inc r8d
add rdx, r12
lea rcx, [rax + rax*2]
shl rcx, 6
mov dword [rdx], 0x12
mov dword [rdx + 4], 2
movups xmm0, xmmword [rcx + r15 + 8]
movups xmmword [rdx + 8], xmm0
movzx eax, word [rcx + r15 + 0x1c]
mov dword [rdx + 0x1c], 2
ror ax, 8
movzx eax, ax
mov dword [rdx + 0x18], eax
movups xmm0, xmmword [rcx + r15 + 0x20]
movups xmmword [rdx + 0x20], xmm0
movzx eax, word [rcx + r15 + 0x34]
ror ax, 8
movzx eax, ax
mov dword [rdx + 0x30], eax
mov eax, dword [rcx + r15 + 0x38]
mov dword [rdx + 0x34], eax
mov eax, dword [rcx + r15 + 0x3c]
mov qword [rdx + 0x38], rax
mov rax, qword [rcx + r15 + 0x40]
mov qword [rdx + 0x40], rax
movups xmm0, xmmword [rcx + r15 + 0x48]
movups xmmword [rdx + 0x48], xmm0
movups xmm1, xmmword [rcx + r15 + 0x58]
movups xmmword [rdx + 0x58], xmm1
movups xmm0, xmmword [rcx + r15 + 0x68]
movups xmmword [rdx + 0x68], xmm0
movups xmm1, xmmword [rcx + r15 + 0x78]
movups xmmword [rdx + 0x78], xmm1
movups xmm0, xmmword [rcx + r15 + 0x88]
movups xmmword [rdx + 0x88], xmm0
movups xmm1, xmmword [rcx + r15 + 0x98]
movups xmmword [rdx + 0x98], xmm1
movups xmm0, xmmword [rcx + r15 + 0xa8]
movups xmmword [rdx + 0xa8], xmm0
movups xmm1, xmmword [rcx + r15 + 0xb8]
movups xmmword [rdx + 0xb8], xmm1
cmp r8d, dword [r15]
jb 0x14003e860
mov rcx, qword [sym.ProcessHacker.exe_PhHeapHandle]
mov r8, r15
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r15, qword [rsp + 0x30]
test rsi, rsi
je 0x14003ea4b
cmp dword [rsi], 0
mov r8d, ebx
jbe 0x14003ea39
nop dword [rax + rax]
mov eax, edi
inc edi
imul rdx, rax, 0xc8
mov eax, r8d
inc r8d
add rdx, r12
lea rcx, [rax + rax*4]
shl rcx, 5
mov dword [rdx], 0x21
mov dword [rdx + 4], 1
mov eax, dword [rcx + rsi + 8]
mov dword [rdx + 8], eax
movzx eax, word [rcx + rsi + 0xc]
mov dword [rdx + 0x1c], ebx
mov dword [rdx + 0x34], ebx
ror ax, 8
movzx eax, ax
mov dword [rdx + 0x18], eax
mov eax, dword [rcx + rsi + 0x10]
mov qword [rdx + 0x38], rax
mov rax, qword [rcx + rsi + 0x18]
mov qword [rdx + 0x40], rax
movups xmm0, xmmword [rcx + rsi + 0x28]
movups xmmword [rdx + 0x48], xmm0
movups xmm1, xmmword [rcx + rsi + 0x38]
movups xmmword [rdx + 0x58], xmm1
movups xmm0, xmmword [rcx + rsi + 0x48]
movups xmmword [rdx + 0x68], xmm0
movups xmm1, xmmword [rcx + rsi + 0x58]
movups xmmword [rdx + 0x78], xmm1
movups xmm0, xmmword [rcx + rsi + 0x68]
movups xmmword [rdx + 0x88], xmm0
movups xmm1, xmmword [rcx + rsi + 0x78]
movups xmmword [rdx + 0x98], xmm1
movups xmm0, xmmword [rcx + rsi + 0x88]
movups xmmword [rdx + 0xa8], xmm0
movups xmm1, xmmword [rcx + rsi + 0x98]
movups xmmword [rdx + 0xb8], xmm1
cmp r8d, dword [rsi]
jb 0x14003e980
mov rcx, qword [sym.ProcessHacker.exe_PhHeapHandle]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rsi, qword [rsp + 0x48]
test rbp, rbp
je 0x14003eb40
cmp dword [rbp], 0
mov r8d, ebx
jbe 0x14003eb2e
nop word [rax + rax]
mov eax, edi
inc edi
imul rdx, rax, 0xc8
mov eax, r8d
inc r8d
add rdx, r12
imul rcx, rax, 0xb0
mov dword [rdx], 0x22
mov dword [rdx + 4], 2
movups xmm0, xmmword [rcx + rbp + 8]
movups xmmword [rdx + 8], xmm0
movzx eax, word [rcx + rbp + 0x1c]
mov dword [rdx + 0x1c], ebx
mov dword [rdx + 0x34], ebx
ror ax, 8
movzx eax, ax
mov dword [rdx + 0x18], eax
mov eax, dword [rcx + rbp + 0x20]
mov qword [rdx + 0x38], rax
mov rax, qword [rcx + rbp + 0x28]
mov qword [rdx + 0x40], rax
movups xmm0, xmmword [rcx + rbp + 0x38]
movups xmmword [rdx + 0x48], xmm0
movups xmm1, xmmword [rcx + rbp + 0x48]
movups xmmword [rdx + 0x58], xmm1
movups xmm0, xmmword [rcx + rbp + 0x58]
movups xmmword [rdx + 0x68], xmm0
movups xmm1, xmmword [rcx + rbp + 0x68]
movups xmmword [rdx + 0x78], xmm1
movups xmm0, xmmword [rcx + rbp + 0x78]
movups xmmword [rdx + 0x88], xmm0
movups xmm1, xmmword [rcx + rbp + 0x88]
movups xmmword [rdx + 0x98], xmm1
movups xmm0, xmmword [rcx + rbp + 0x98]
movups xmmword [rdx + 0xa8], xmm0
movups xmm1, xmmword [rcx + rbp + 0xa8]
movups xmmword [rdx + 0xb8], xmm1
cmp r8d, dword [rbp]
jb 0x14003ea70
mov rcx, qword [sym.ProcessHacker.exe_PhHeapHandle]
mov r8, rbp
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rax, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x88]
mov dword [rax], r13d
mov rax, qword [rsp + 0x70]
mov qword [rax], r12
mov al, 1
mov r12, qword [rsp + 0x40]
add rsp, 0x50
pop r13
pop rdi
pop rbx
ret
xor al, al
add rsp, 0x50
pop r13
pop rdi
pop rbx
ret