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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xb8
mov dword [rsp + 0x44], 0
mov dword [rsp + 0x30], 0
cmp qword [0x14013dc60], 0
je 0x1400848d7
cmp qword [0x14013dc78], 0
jne 0x1400848de
xor al, al
jmp 0x140085343
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 8
mov r9d, 2
xor r8d, r8d
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [0x14013dc60]
mov eax, dword [rsp + 0x40]
mov ecx, eax
call sym.ProcessHacker.exe_PhAllocate
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 8
mov r9d, 2
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
call qword [0x14013dc60]
test eax, eax
jne 0x140084968
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax]
mov ecx, dword [rsp + 0x44]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x44], eax
jmp 0x14008497b
mov rcx, qword [rsp + 0x48]
call sym.ProcessHacker.exe_PhFree
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 8
mov r9d, 0x17
xor r8d, r8d
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [0x14013dc60]
cmp dword [sym.ProcessHacker.exe_WindowsVersion], 0x33
ja 0x1400849db
cmp dword [rsp + 0x40], 8
jb 0x1400849db
mov eax, dword [rsp + 0x40]
sub eax, 8
mov eax, eax
xor edx, edx
mov ecx, 0x38
div rcx
imul rax, rax, 0xc0
add rax, 8
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov ecx, eax
call sym.ProcessHacker.exe_PhAllocate
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 8
mov r9d, 0x17
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
call qword [0x14013dc60]
test eax, eax
jne 0x140084a37
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax]
mov ecx, dword [rsp + 0x44]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x44], eax
jmp 0x140084a4a
mov rcx, qword [rsp + 0x48]
call sym.ProcessHacker.exe_PhFree
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 2
mov r9d, 2
xor r8d, r8d
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [0x14013dc78]
mov eax, dword [rsp + 0x40]
mov ecx, eax
call sym.ProcessHacker.exe_PhAllocate
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 2
mov r9d, 2
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
call qword [0x14013dc78]
test eax, eax
jne 0x140084ad4
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov eax, dword [rax]
mov ecx, dword [rsp + 0x44]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x44], eax
jmp 0x140084ae7
mov rcx, qword [rsp + 0x48]
call sym.ProcessHacker.exe_PhFree
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 2
mov r9d, 0x17
xor r8d, r8d
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [0x14013dc78]
mov eax, dword [rsp + 0x40]
mov ecx, eax
call sym.ProcessHacker.exe_PhAllocate
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 2
mov r9d, 0x17
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
call qword [0x14013dc78]
test eax, eax
jne 0x140084b71
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov eax, dword [rax]
mov ecx, dword [rsp + 0x44]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x44], eax
jmp 0x140084b84
mov rcx, qword [rsp + 0x48]
call sym.ProcessHacker.exe_PhFree
mov qword [rsp + 0x68], 0
mov eax, dword [rsp + 0x44]
imul rax, rax, 0xc8
mov rcx, rax
call sym.ProcessHacker.exe_PhAllocate
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x44]
imul rax, rax, 0xc8
mov qword [rsp + 0x90], rax
mov rdi, qword [rsp + 0x38]
xor eax, eax
mov rcx, qword [rsp + 0x90]
rep stosb byte [rdi], al
cmp qword [rsp + 0x50], 0
je 0x140084dbd
mov dword [rsp + 0x34], 0
jmp 0x140084be0
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax]
cmp dword [rsp + 0x34], eax
jae 0x140084db3
mov eax, dword [rsp + 0x30]
imul rax, rax, 0xc8
mov rcx, qword [rsp + 0x38]
mov dword [rcx + rax], 0x11
mov eax, dword [rsp + 0x30]
imul rax, rax, 0xc8
mov rcx, qword [rsp + 0x38]
mov dword [rcx + rax + 4], 1
mov eax, dword [rsp + 0x34]
imul rax, rax, 0xa0
mov ecx, dword [rsp + 0x30]
imul rcx, rcx, 0xc8
mov rdx, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x50]
mov eax, dword [rdi + rax + 0xc]
mov dword [rdx + rcx + 8], eax
mov eax, dword [rsp + 0x34]
imul rax, rax, 0xa0
mov rcx, qword [rsp + 0x50]
movzx eax, word [rcx + rax + 0x10]
ror ax, 8
mov ecx, dword [rsp + 0x30]
imul rcx, rcx, 0xc8
movzx eax, ax
mov rdx, qword [rsp + 0x38]
mov dword [rdx + rcx + 0x18], eax
mov eax, dword [rsp + 0x30]
imul rax, rax, 0xc8
mov rcx, qword [rsp + 0x38]
mov dword [rcx + rax + 0x1c], 1
mov eax, dword [rsp + 0x34]
imul rax, rax, 0xa0
mov ecx, dword [rsp + 0x30]
imul rcx, rcx, 0xc8
mov rdx, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x50]
mov eax, dword [rdi + rax + 0x14]
mov dword [rdx + rcx + 0x20], eax
mov eax, dword [rsp + 0x34]
imul rax, rax, 0xa0
mov rcx, qword [rsp + 0x50]
movzx eax, word [rcx + rax + 0x18]
ror ax, 8
mov ecx, dword [rsp + 0x30]
imul rcx, rcx, 0xc8
movzx eax, ax
mov rdx, qword [rsp + 0x38]
mov dword [rdx + rcx + 0x30], eax
mov eax, dword [rsp + 0x34]
imul rax, rax, 0xa0
mov ecx, dword [rsp + 0x30]
imul rcx, rcx, 0xc8
mov rdx, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x50]
mov eax, dword [rdi + rax + 8]
mov dword [rdx + rcx + 0x34], eax
mov eax, dword [rsp + 0x34]
imul rax, rax, 0xa0
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax + 0x1c]
mov ecx, dword [rsp + 0x30]
imul rcx, rcx, 0xc8
mov rdx, qword [rsp + 0x38]
mov qword [rdx + rcx + 0x38], rax
mov eax, dword [rsp + 0x34]
imul rax, rax, 0xa0
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx + rax + 0x20]
mov ecx, dword [rsp + 0x30]
imul rcx, rcx, 0xc8
mov rdx, qword [rsp + 0x38]
mov qword [rdx + rcx + 0x40], rax
mov eax, dword [rsp + 0x34]
imul rax, rax, 0xa0
mov ecx, dword [rsp + 0x30]
imul rcx, rcx, 0xc8
mov rdx, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x50]
mov qword [rsp + 0x80], rdi
lea rdi, [rdx + rcx + 0x48]
mov rcx, qword [rsp + 0x80]
lea rsi, [rcx + rax + 0x28]
mov ecx, 0x80
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
jmp 0x140084bd6
mov rcx, qword [rsp + 0x50]
call sym.ProcessHacker.exe_PhFree
cmp qword [rsp + 0x58], 0
je 0x140084fe0
mov dword [rsp + 0x34], 0
jmp 0x140084ddd
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax]
cmp dword [rsp + 0x34], eax
jae 0x140084fd6
mov eax, dword [rsp + 0x30]
imul rax, rax, 0xc8
mov rcx, qword [rsp + 0x38]
mov dword [rcx + rax], 0x12
mov eax, dword [rsp + 0x30]
imul rax, rax, 0xc8
mov rcx, qword [rsp + 0x38]
mov dword [rcx + rax + 4], 2
mov eax, dword [rsp + 0x34]
imul rax, rax, 0xc0
mov ecx, dword [rsp + 0x30]
imul rcx, rcx, 0xc8
mov rdx, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x58]
mov qword [rsp + 0xa0], rdi
lea rdi, [rdx + rcx + 8]
mov rcx, qword [rsp + 0xa0]
lea rsi, [rcx + rax + 8]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x34]
imul rax, rax, 0xc0
mov rcx, qword [rsp + 0x58]
movzx eax, word [rcx + rax + 0x1c]
ror ax, 8
mov ecx, dword [rsp + 0x30]
imul rcx, rcx, 0xc8
movzx eax, ax
mov rdx, qword [rsp + 0x38]
mov dword [rdx + rcx + 0x18], eax
mov eax, dword [rsp + 0x30]
imul rax, rax, 0xc8
mov rcx, qword [rsp + 0x38]
mov dword [rcx + rax + 0x1c], 2
mov eax, dword [rsp + 0x34]
imul rax, rax, 0xc0
mov ecx, dword [rsp + 0x30]
imul rcx, rcx, 0xc8
mov rdx, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x58]
mov qword [rsp + 0x70], rdi
lea rdi, [rdx + rcx + 0x20]
mov rcx, qword [rsp + 0x70]
lea rsi, [rcx + rax + 0x20]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x34]
imul rax, rax, 0xc0
mov rcx, qword [rsp + 0x58]
movzx eax, word [rcx + rax + 0x34]
ror ax, 8
mov ecx, dword [rsp + 0x30]
imul rcx, rcx, 0xc8
movzx eax, ax
mov rdx, qword [rsp + 0x38]
mov dword [rdx + rcx + 0x30], eax
mov eax, dword [rsp + 0x34]
imul rax, rax, 0xc0
mov ecx, dword [rsp + 0x30]
imul rcx, rcx, 0xc8
mov rdx, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x58]
mov eax, dword [rdi + rax + 0x38]
mov dword [rdx + rcx + 0x34], eax
mov eax, dword [rsp + 0x34]
imul rax, rax, 0xc0
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx + rax + 0x3c]
mov ecx, dword [rsp + 0x30]
imul rcx, rcx, 0xc8
mov rdx, qword [rsp + 0x38]
mov qword [rdx + rcx + 0x38], rax
mov eax, dword [rsp + 0x34]
imul rax, rax, 0xc0
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx + rax + 0x40]
mov ecx, dword [rsp + 0x30]
imul rcx, rcx, 0xc8
mov rdx, qword [rsp + 0x38]
mov qword [rdx + rcx + 0x40], rax
mov eax, dword [rsp + 0x34]
imul rax, rax, 0xc0
mov ecx, dword [rsp + 0x30]
imul rcx, rcx, 0xc8
mov rdx, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x58]
mov qword [rsp + 0x78], rdi
lea rdi, [rdx + rcx + 0x48]
mov rcx, qword [rsp + 0x78]
lea rsi, [rcx + rax + 0x48]
mov ecx, 0x80
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
jmp 0x140084dd3
mov rcx, qword [rsp + 0x58]
call sym.ProcessHacker.exe_PhFree
cmp qword [rsp + 0x60], 0
je 0x140085175
mov dword [rsp + 0x34], 0
jmp 0x140085000
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x60]
mov eax, dword [rax]
cmp dword [rsp + 0x34], eax
jae 0x14008516b
mov eax, dword [rsp + 0x30]
imul rax, rax, 0xc8
mov rcx, qword [rsp + 0x38]
mov dword [rcx + rax], 0x21
mov eax, dword [rsp + 0x30]
imul rax, rax, 0xc8
mov rcx, qword [rsp + 0x38]
mov dword [rcx + rax + 4], 1
mov eax, dword [rsp + 0x34]
imul rax, rax, 0xa0
mov ecx, dword [rsp + 0x30]
imul rcx, rcx, 0xc8
mov rdx, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x60]
mov eax, dword [rdi + rax + 8]
mov dword [rdx + rcx + 8], eax
mov eax, dword [rsp + 0x34]
imul rax, rax, 0xa0
mov rcx, qword [rsp + 0x60]
movzx eax, word [rcx + rax + 0xc]
ror ax, 8
mov ecx, dword [rsp + 0x30]
imul rcx, rcx, 0xc8
movzx eax, ax
mov rdx, qword [rsp + 0x38]
mov dword [rdx + rcx + 0x18], eax
mov eax, dword [rsp + 0x30]
imul rax, rax, 0xc8
mov rcx, qword [rsp + 0x38]
mov dword [rcx + rax + 0x1c], 0
mov eax, dword [rsp + 0x30]
imul rax, rax, 0xc8
mov rcx, qword [rsp + 0x38]
mov dword [rcx + rax + 0x34], 0
mov eax, dword [rsp + 0x34]
imul rax, rax, 0xa0
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx + rax + 0x10]
mov ecx, dword [rsp + 0x30]
imul rcx, rcx, 0xc8
mov rdx, qword [rsp + 0x38]
mov qword [rdx + rcx + 0x38], rax
mov eax, dword [rsp + 0x34]
imul rax, rax, 0xa0
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx + rax + 0x18]
mov ecx, dword [rsp + 0x30]
imul rcx, rcx, 0xc8
mov rdx, qword [rsp + 0x38]
mov qword [rdx + rcx + 0x40], rax
mov eax, dword [rsp + 0x34]
imul rax, rax, 0xa0
mov ecx, dword [rsp + 0x30]
imul rcx, rcx, 0xc8
mov rdx, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x60]
mov qword [rsp + 0x88], rdi
lea rdi, [rdx + rcx + 0x48]
mov rcx, qword [rsp + 0x88]
lea rsi, [rcx + rax + 0x28]
mov ecx, 0x80
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
jmp 0x140084ff6
mov rcx, qword [rsp + 0x60]
call sym.ProcessHacker.exe_PhFree
cmp qword [rsp + 0x68], 0
je 0x140085323
mov dword [rsp + 0x34], 0
jmp 0x140085195
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x68]
mov eax, dword [rax]
cmp dword [rsp + 0x34], eax
jae 0x140085319
mov eax, dword [rsp + 0x30]
imul rax, rax, 0xc8
mov rcx, qword [rsp + 0x38]
mov dword [rcx + rax], 0x22
mov eax, dword [rsp + 0x30]
imul rax, rax, 0xc8
mov rcx, qword [rsp + 0x38]
mov dword [rcx + rax + 4], 2
mov eax, dword [rsp + 0x34]
imul rax, rax, 0xb0
mov ecx, dword [rsp + 0x30]
imul rcx, rcx, 0xc8
mov rdx, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x68]
mov qword [rsp + 0x98], rdi
lea rdi, [rdx + rcx + 8]
mov rcx, qword [rsp + 0x98]
lea rsi, [rcx + rax + 8]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x34]
imul rax, rax, 0xb0
mov rcx, qword [rsp + 0x68]
movzx eax, word [rcx + rax + 0x1c]
ror ax, 8
mov ecx, dword [rsp + 0x30]
imul rcx, rcx, 0xc8
movzx eax, ax
mov rdx, qword [rsp + 0x38]
mov dword [rdx + rcx + 0x18], eax
mov eax, dword [rsp + 0x30]
imul rax, rax, 0xc8
mov rcx, qword [rsp + 0x38]
mov dword [rcx + rax + 0x1c], 0
mov eax, dword [rsp + 0x30]
imul rax, rax, 0xc8
mov rcx, qword [rsp + 0x38]
mov dword [rcx + rax + 0x34], 0
mov eax, dword [rsp + 0x34]
imul rax, rax, 0xb0
mov rcx, qword [rsp + 0x68]
mov eax, dword [rcx + rax + 0x20]
mov ecx, dword [rsp + 0x30]
imul rcx, rcx, 0xc8
mov rdx, qword [rsp + 0x38]
mov qword [rdx + rcx + 0x38], rax
mov eax, dword [rsp + 0x34]
imul rax, rax, 0xb0
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx + rax + 0x28]
mov ecx, dword [rsp + 0x30]
imul rcx, rcx, 0xc8
mov rdx, qword [rsp + 0x38]
mov qword [rdx + rcx + 0x40], rax
mov eax, dword [rsp + 0x34]
imul rax, rax, 0xb0
mov ecx, dword [rsp + 0x30]
imul rcx, rcx, 0xc8
mov rdx, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x68]
mov qword [rsp + 0xa8], rdi
lea rdi, [rdx + rcx + 0x48]
mov rcx, qword [rsp + 0xa8]
lea rsi, [rcx + rax + 0x38]
mov ecx, 0x80
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
jmp 0x14008518b
mov rcx, qword [rsp + 0x68]
call sym.ProcessHacker.exe_PhFree
mov rax, qword [rsp + 0xd8]
mov ecx, dword [rsp + 0x44]
mov dword [rax], ecx
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x38]
mov qword [rax], rcx
mov al, 1
add rsp, 0xb8
pop rdi
pop rsi
ret