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

Disassembly:
push rdi
xor edi, edi
mov r10d, r8d
mov r11d, edx
test rcx, rcx
je 0x1400a8d5c
mov qword [rsp + 0x10], rbx
lea rax, [rcx + 0x60]
lea ebx, [rdi + 1]
mov r9d, edi
mov edx, dword [rax]
test edx, edx
js 0x1400a8a8c
mov r8d, dword [rax + 4]
test r8d, r8d
js 0x1400a8a8c
cmp r11d, edx
jle 0x1400a8a8c
cmp r10d, r8d
jle 0x1400a8a8c
inc r9d
add rax, 8
cmp r9d, 0xc
jl 0x1400a8a02
mov edx, edi
lea rax, [rcx + 0x100]
mov r8d, dword [rax]
test r8d, r8d
js 0x1400a8a8c
mov r9d, dword [rax + 4]
test r9d, r9d
js 0x1400a8a8c
cmp r11d, r8d
jle 0x1400a8a8c
cmp r10d, r9d
jle 0x1400a8a8c
inc edx
add rax, 8
cmp edx, 0xc
jl 0x1400a8a35
mov edx, edi
lea rax, [rcx + 0x1f0]
mov r8d, dword [rax]
test r8d, r8d
js 0x1400a8a8c
mov r9d, dword [rax + 4]
test r9d, r9d
js 0x1400a8a8c
cmp r11d, r8d
jle 0x1400a8a8c
cmp r10d, r9d
jle 0x1400a8a8c
inc edx
add rax, 8
cmp edx, 6
jl 0x1400a8a64
jmp 0x1400a8a8e
mov ebx, edi
mov eax, edi
mov r8d, edi
cmp dword [rcx], edi
je 0x1400a8aa1
mov edx, 1
cmp dword [rcx + 4], edi
jne 0x1400a8aa3
mov edx, edi
add eax, edx
cmp dword [rcx + 8], edi
je 0x1400a8ab4
mov edx, 1
cmp dword [rcx + 0xc], edi
jne 0x1400a8ab6
mov edx, edi
add eax, edx
cmp dword [rcx + 0x10], edi
je 0x1400a8ac7
mov edx, 1
cmp dword [rcx + 0x14], edi
jne 0x1400a8ac9
mov edx, edi
add eax, edx
cmp dword [rcx + 0x18], edi
je 0x1400a8ada
mov edx, 1
cmp dword [rcx + 0x1c], edi
jne 0x1400a8adc
mov edx, edi
add eax, edx
cmp dword [rcx + 0x20], edi
je 0x1400a8aed
mov edx, 1
cmp dword [rcx + 0x24], edi
jne 0x1400a8aef
mov edx, edi
add eax, edx
cmp dword [rcx + 0x28], edi
je 0x1400a8b00
mov edx, 1
cmp dword [rcx + 0x2c], edi
jne 0x1400a8b02
mov edx, edi
add eax, edx
cmp dword [rcx + 0x30], edi
je 0x1400a8b13
mov edx, 1
cmp dword [rcx + 0x34], edi
jne 0x1400a8b15
mov edx, edi
add eax, edx
cmp dword [rcx + 0x38], edi
je 0x1400a8b26
mov edx, 1
cmp dword [rcx + 0x3c], edi
jne 0x1400a8b28
mov edx, edi
add eax, edx
cmp dword [rcx + 0x40], edi
je 0x1400a8b39
mov edx, 1
cmp dword [rcx + 0x44], edi
jne 0x1400a8b3b
mov edx, edi
add eax, edx
cmp dword [rcx + 0x48], edi
je 0x1400a8b4c
mov edx, 1
cmp dword [rcx + 0x4c], edi
jne 0x1400a8b4e
mov edx, edi
add eax, edx
cmp dword [rcx + 0x50], edi
je 0x1400a8b5f
mov edx, 1
cmp dword [rcx + 0x54], edi
jne 0x1400a8b61
mov edx, edi
add eax, edx
cmp dword [rcx + 0x58], edi
je 0x1400a8b72
mov edx, 1
cmp dword [rcx + 0x5c], edi
jne 0x1400a8b74
mov edx, edi
add eax, edx
cmp dword [rcx + 0x60], edi
je 0x1400a8b85
mov edx, 1
cmp dword [rcx + 0x64], edi
jne 0x1400a8b87
mov edx, edi
add eax, edx
cmp dword [rcx + 0x68], edi
je 0x1400a8b98
mov edx, 1
cmp dword [rcx + 0x6c], edi
jne 0x1400a8b9a
mov edx, edi
add eax, edx
cmp dword [rcx + 0x70], edi
je 0x1400a8bab
mov edx, 1
cmp dword [rcx + 0x74], edi
jne 0x1400a8bad
mov edx, edi
add eax, edx
cmp dword [rcx + 0x78], edi
je 0x1400a8bbe
mov edx, 1
cmp dword [rcx + 0x7c], edi
jne 0x1400a8bc0
mov edx, edi
add eax, edx
cmp dword [rcx + 0x80], edi
je 0x1400a8bd7
mov edx, 1
cmp dword [rcx + 0x84], edi
jne 0x1400a8bd9
mov edx, edi
add eax, edx
cmp dword [rcx + 0x88], edi
je 0x1400a8bf0
mov edx, 1
cmp dword [rcx + 0x8c], edi
jne 0x1400a8bf2
mov edx, edi
add eax, edx
cmp dword [rcx + 0x90], edi
je 0x1400a8c09
mov edx, 1
cmp dword [rcx + 0x94], edi
jne 0x1400a8c0b
mov edx, edi
add eax, edx
cmp dword [rcx + 0x98], edi
je 0x1400a8c22
mov edx, 1
cmp dword [rcx + 0x9c], edi
jne 0x1400a8c24
mov edx, edi
add eax, edx
cmp dword [rcx + 0xa0], edi
je 0x1400a8c3b
mov edx, 1
cmp dword [rcx + 0xa4], edi
jne 0x1400a8c3d
mov edx, edi
add eax, edx
cmp dword [rcx + 0xa8], edi
je 0x1400a8c54
mov edx, 1
cmp dword [rcx + 0xac], edi
jne 0x1400a8c56
mov edx, edi
add eax, edx
cmp dword [rcx + 0xb0], edi
je 0x1400a8c6d
mov edx, 1
cmp dword [rcx + 0xb4], edi
jne 0x1400a8c6f
mov edx, edi
add eax, edx
cmp dword [rcx + 0xb8], edi
je 0x1400a8c86
mov edx, 1
cmp dword [rcx + 0xbc], edi
jne 0x1400a8c88
mov edx, edi
add eax, edx
cmp dword [rcx + 0xc0], edi
je 0x1400a8c9f
mov edx, 1
cmp dword [rcx + 0xc4], edi
jne 0x1400a8ca1
mov edx, edi
add eax, edx
cmp dword [rcx + 0xc8], edi
je 0x1400a8cb8
mov edx, 1
cmp dword [rcx + 0xcc], edi
jne 0x1400a8cba
mov edx, edi
add eax, edx
cmp dword [rcx + 0xd0], edi
je 0x1400a8cd1
mov edx, 1
cmp dword [rcx + 0xd4], edi
jne 0x1400a8cd3
mov edx, edi
add eax, edx
cmp dword [rcx + 0xd8], edi
je 0x1400a8cea
mov edx, 1
cmp dword [rcx + 0xdc], edi
jne 0x1400a8cec
mov edx, edi
add eax, edx
cmp dword [rcx + 0xe0], edi
je 0x1400a8d03
mov edx, 1
cmp dword [rcx + 0xe4], edi
jne 0x1400a8d05
mov edx, edi
add eax, edx
cmp dword [rcx + 0xe8], edi
je 0x1400a8d1c
mov edx, 1
cmp dword [rcx + 0xec], edi
jne 0x1400a8d1e
mov edx, edi
add eax, edx
cmp dword [rcx + 0xf0], edi
je 0x1400a8d35
mov edx, 1
cmp dword [rcx + 0xf4], edi
jne 0x1400a8d37
mov edx, edi
add eax, edx
add rcx, 0xf8
add r8d, 0x1f
cmp r8d, 0x3e
jl 0x1400a8a93
test eax, eax
cmove ebx, edi
mov eax, ebx
mov rbx, qword [rsp + 0x10]
pop rdi
ret
mov eax, edi
pop rdi
ret