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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x68], 0
mov dword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x20], 0
cmp qword [rsp + 0x90], 0
jne 0x15adf
xor r9d, r9d
mov r8d, 0x762
lea rdx, [0x00018490]
lea rcx, [0x000184e0]
call qword [sym.imp.ntoskrnl.exe_RtlAssert]
mov dword [rsp + 0x7c], 0
jmp 0x15ae7
mov dword [rsp + 0x7c], 1
cmp qword [rsp + 0x90], 0
jne 0x15af9
xor eax, eax
jmp 0x15d06
mov rax, qword [rsp + 0x38]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x15b0f
xor eax, eax
jmp 0x15d06
mov rax, qword [rsp + 0x38]
movsxd rcx, dword [rax + 0x3c]
mov rax, qword [rsp + 0x90]
add rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x38]
movsxd rcx, dword [rax + 0x3c]
mov rax, qword [rsp + 0x90]
add rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x15b7a
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x88]
add rax, qword [rsp + 0x90]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x8c]
mov dword [rsp + 0x58], eax
jmp 0x15b9b
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x78]
add rax, qword [rsp + 0x90]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x7c]
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x24]
add rax, qword [rsp + 0x90]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x20]
add rax, qword [rsp + 0x90]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x1c]
add rax, qword [rsp + 0x90]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x20], 0
jmp 0x15bef
mov eax, dword [rsp + 0x20]
add eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x20], eax
jae 0x15d01
mov eax, 0xffff
mov word [rsp + 0x78], ax
mov qword [rsp + 0x70], 0
cmp qword [rsp + 0x98], 0xffff
ja 0x15c2e
movzx eax, word [rsp + 0x20]
mov word [rsp + 0x78], ax
jmp 0x15c7e
cmp qword [rsp + 0x98], 0xffff
jbe 0x15c77
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x20], eax
jae 0x15c77
mov ecx, dword [rsp + 0x20]
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + rcx*4]
add rax, qword [rsp + 0x90]
mov qword [rsp + 0x70], rax
mov ecx, dword [rsp + 0x20]
mov rax, qword [rsp + 0x60]
movzx eax, word [rax + rcx*2]
mov word [rsp + 0x78], ax
jmp 0x15c7e
xor eax, eax
jmp 0x15d06
cmp qword [rsp + 0x98], 0xffff
ja 0x15ca5
movzx edx, word [rsp + 0x98]
movzx eax, word [rsp + 0x78]
mov rcx, qword [rsp + 0x28]
add eax, dword [rcx + 0x10]
cmp edx, eax
je 0x15ce0
cmp qword [rsp + 0x98], 0xffff
jbe 0x15cfc
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x98]
sub rcx, rdx
movzx eax, byte [rdx]
cmp al, byte [rdx + rcx]
jne 0x15cd7
add rdx, 1
test al, al
jne 0x15cc3
xor eax, eax
jmp 0x15cdc
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x15cfc
movzx ecx, word [rsp + 0x78]
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + rcx*4]
add rax, qword [rsp + 0x90]
mov qword [rsp + 0x50], rax
jmp 0x15d01
jmp 0x15be4
mov rax, qword [rsp + 0x50]
add rsp, 0x88
ret