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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
call qword [sym.imp.SecureEngineSDK64.dll_Ordinal_125]
mov eax, 8
imul rax, rax, 5
mov rcx, qword [rsp + 0x78]
lea rax, [rcx + rax + 0x88]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
cmp dword [rax], 0
jne 0x1400ed7c3
jmp 0x1400ed9e1
mov rax, qword [rsp + 0x50]
mov r8d, dword [rax]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.1400edf40
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x1400ed7ec
jmp 0x1400ed9e1
mov dword [rsp + 0x3c], 0
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 4]
cmp dword [rsp + 0x3c], eax
jae 0x1400ed9db
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 4]
sub rax, 8
xor edx, edx
mov ecx, 2
div rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x40]
add rax, 8
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x40]
mov r8d, dword [rax]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.1400edf40
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], 0
jmp 0x1400ed86d
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x48]
add rax, 2
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x38]
cmp rax, qword [rsp + 0x58]
jae 0x1400ed9b8
mov rax, qword [rsp + 0x48]
movzx eax, word [rax]
mov word [rsp + 0x24], ax
movzx eax, word [rsp + 0x24]
sar eax, 0xc
mov dword [rsp + 0x28], eax
movzx eax, word [rsp + 0x24]
and eax, 0xfff
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x28], 0xa
jne 0x1400ed8e2
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x30]
mov rcx, qword [rsp + 0x80]
sub rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x30]
add rax, qword [rdx + rcx]
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x30]
mov qword [rdx + rcx], rax
jmp 0x1400ed9b3
cmp dword [rsp + 0x28], 3
jne 0x1400ed91f
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x30]
mov rcx, qword [rsp + 0x80]
sub rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x30]
add eax, dword [rdx + rcx]
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x30]
mov dword [rdx + rcx], eax
jmp 0x1400ed9b3
cmp dword [rsp + 0x28], 1
jne 0x1400ed96c
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x30]
mov rcx, qword [rsp + 0x80]
sub rcx, rax
mov rax, rcx
shr rax, 0x10
and rax, 0xffff
movzx eax, ax
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x30]
movzx ecx, word [rdx + rcx]
add ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x30]
mov word [rdx + rcx], ax
jmp 0x1400ed9b3
cmp dword [rsp + 0x28], 2
jne 0x1400ed9b3
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x30]
mov rcx, qword [rsp + 0x80]
sub rcx, rax
mov rax, rcx
and rax, 0xffff
movzx eax, ax
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x30]
movzx ecx, word [rdx + rcx]
add ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x30]
mov word [rdx + rcx], ax
jmp 0x1400ed855
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 4]
mov ecx, dword [rsp + 0x3c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x40], rax
jmp 0x1400ed7f4
call qword [sym.imp.SecureEngineSDK64.dll_Ordinal_525]
add rsp, 0x68
ret