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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xd0
mov dword [rsp + 0x68], 0
mov dword [rsp + 0x6c], 0
mov dword [rsp + 0x50], 0
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov rax, qword [rax]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 8]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xa8]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x30]
movzx ecx, byte [rcx + 0x10]
imul rcx, rcx, 0x78
lea rax, [rax + rcx + 8]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xe0]
mov r9, qword [rax + 0x10]
mov r8, qword [rsp + 0xb0]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call fcn.14001dcb0
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1400a3642
mov eax, 7
jmp 0x1400a3c68
mov rax, qword [rsp + 0x30]
mov qword [rax], 0
xor eax, eax
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x12], ax
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x28], 0x400
xor eax, eax
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x2c], ax
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x1c], 0
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax]
mov dword [rsp + 0x4c], eax
mov r8d, dword [rsp + 0x4c]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xa0]
call fcn.1400a45a0
test eax, eax
je 0x1400a36cc
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0xa0]
call fcn.140057950
mov eax, 7
jmp 0x1400a3c68
mov dword [rsp + 0x38], 0
jmp 0x1400a36e0
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 3
jg 0x1400a3c39
cmp dword [rsp + 0x68], 0
jne 0x1400a3713
mov eax, dword [rsp + 0x38]
and eax, 1
test eax, eax
je 0x1400a3713
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 3
jle 0x1400a3713
jmp 0x1400a3c39
cmp dword [rsp + 0x6c], 0
jne 0x1400a3726
cmp dword [rsp + 0x38], 1
jle 0x1400a3726
jmp 0x1400a3c39
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x20], 0
jmp 0x1400a3756
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
add rax, 0xc
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax]
cmp dword [rsp + 0x20], eax
jge 0x1400a3871
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 8]
mov dword [rsp + 0x48], eax
movsxd rax, dword [rsp + 0x48]
imul rax, rax, 0x38
mov rcx, qword [rsp + 0x88]
add rax, qword [rcx + 0x20]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x1400a37b3
cmp dword [rsp + 0x60], 1
je 0x1400a3805
cmp dword [rsp + 0x60], 2
je 0x1400a3832
jmp 0x1400a3863
mov rax, qword [rsp + 0x40]
mov byte [rax + 5], 0
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 0x1a]
and eax, 1
test eax, eax
je 0x1400a37d4
mov dword [rsp + 0x68], 1
mov rax, qword [rsp + 0x58]
cmp qword [rax + 0x28], 0
je 0x1400a37ea
mov dword [rsp + 0x6c], 1
jmp 0x1400a3803
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 0x1a]
and eax, 1
test eax, eax
jne 0x1400a3803
mov rax, qword [rsp + 0x40]
mov byte [rax + 5], 1
jmp 0x1400a386c
mov rax, qword [rsp + 0x58]
cmp qword [rax + 0x28], 0
jne 0x1400a381b
mov dword [rsp + 0x70], 1
jmp 0x1400a3823
mov dword [rsp + 0x70], 0
mov rax, qword [rsp + 0x40]
movzx ecx, byte [rsp + 0x70]
mov byte [rax + 5], cl
jmp 0x1400a386c
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 0x1a]
and eax, 1
test eax, eax
jne 0x1400a384c
mov dword [rsp + 0x74], 1
jmp 0x1400a3854
mov dword [rsp + 0x74], 0
mov rax, qword [rsp + 0x40]
movzx ecx, byte [rsp + 0x74]
mov byte [rax + 5], cl
jmp 0x1400a386c
mov rax, qword [rsp + 0x40]
mov byte [rax + 5], 1
jmp 0x1400a373e
mov rax, qword [rsp + 0x28]
movsxd rax, dword [rax]
shl rax, 3
mov qword [rsp + 0xc0], rax
mov rdi, qword [rsp + 0x90]
xor eax, eax
mov rcx, qword [rsp + 0xc0]
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x38], 0
je 0x1400a38b2
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x30]
call fcn.140019550
mov rax, qword [rsp + 0x28]
mov qword [rax + 0x30], 0
mov rax, qword [rsp + 0x28]
mov dword [rax + 0x28], 0
mov rax, qword [rsp + 0x28]
mov dword [rax + 0x38], 0
mov rax, qword [rsp + 0x28]
mov dword [rax + 0x3c], 0
mov rax, qword [rsp + 0x28]
movsd xmm0, qword [0x1400d6b60]
movsd qword [rax + 0x40], xmm0
mov rax, qword [rsp + 0x28]
mov qword [rax + 0x48], 0x19
mov r8, qword [rsp + 0x28]
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x80]
call fcn.14009e3c0
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x1400a392c
jmp 0x1400a3c39
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xe8]
mov qword [rax], rcx
mov dword [rsp + 0x64], 0xffffffff
mov dword [rsp + 0x20], 0
jmp 0x1400a3966
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x20], eax
jge 0x1400a3988
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x30]
mov qword [rcx + rax*8], 0
jmp 0x1400a395c
xor eax, eax
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x1e], ax
mov dword [rsp + 0x20], 0
jmp 0x1400a39b5
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
add rax, 0xc
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x20], eax
jge 0x1400a3b3a
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x90]
mov eax, dword [rcx + rax*8]
dec eax
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
jl 0x1400a3b35
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 8]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x3c], eax
jge 0x1400a3a27
cmp dword [rsp + 0x48], 0
jl 0x1400a3a27
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x48], eax
jge 0x1400a3a27
movsxd rax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x30]
cmp qword [rcx + rax*8], 0
je 0x1400a3a53
mov dword [rsp + 0x50], 1
mov rax, qword [rsp + 0xb8]
mov r8, qword [rax]
lea rdx, str._s.xBestIndex___malfunction
mov rcx, qword [rsp + 0x80]
call fcn.14005a860
jmp 0x1400a3c39
movsxd rax, dword [rsp + 0x48]
imul rax, rax, 0x38
mov rcx, qword [rsp + 0x88]
add rax, qword [rcx + 0x20]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x58]
mov rcx, qword [rcx + 0x28]
mov rax, qword [rax]
or rax, rcx
mov rcx, qword [rsp + 0x30]
mov qword [rcx], rax
movsxd rax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x30]
mov rdx, qword [rsp + 0x58]
mov qword [rcx + rax*8], rdx
mov eax, dword [rsp + 0x64]
cmp dword [rsp + 0x3c], eax
jle 0x1400a3ab2
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x3c], 0x10
jge 0x1400a3b01
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x90]
movzx eax, byte [rcx + rax*8 + 4]
test eax, eax
je 0x1400a3b01
mov eax, dword [rsp + 0x3c]
mov ecx, 1
mov dword [rsp + 0x98], ecx
movzx ecx, al
mov eax, dword [rsp + 0x98]
shl eax, cl
mov rcx, qword [rsp + 0x30]
movzx ecx, word [rcx + 0x1e]
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x1e], ax
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 0x1a]
and eax, 1
test eax, eax
je 0x1400a3b35
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x90]
movzx eax, byte [rcx + rax*8 + 4]
test eax, eax
jne 0x1400a3b29
jmp 0x1400a3b3a
mov rax, qword [rsp + 0x28]
mov dword [rax + 0x3c], 0
jmp 0x1400a399d
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x20], eax
jl 0x1400a3c34
mov eax, dword [rsp + 0x64]
inc eax
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x2c], ax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 0x28]
mov dword [rax + 0x18], ecx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
movzx ecx, byte [rcx + 0x38]
mov byte [rax + 0x1c], cl
mov rax, qword [rsp + 0x28]
mov dword [rax + 0x38], 0
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x30]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x3c], 0
je 0x1400a3baf
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x78], eax
jmp 0x1400a3bb7
mov dword [rsp + 0x78], 0
mov rax, qword [rsp + 0x30]
movzx ecx, byte [rsp + 0x78]
mov byte [rax + 0x1d], cl
xor eax, eax
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x12], ax
mov rax, qword [rsp + 0x28]
movsd xmm0, qword [rax + 0x40]
call fcn.14006a2f0
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x14], ax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x48]
call fcn.14006a160
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x16], ax
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xe0]
call fcn.1400a41e0
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x1c]
test eax, eax
je 0x1400a3c34
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x20]
call fcn.140019550
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x1c], 0
jmp 0x1400a36d6
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x38], 0
je 0x1400a3c52
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x30]
call fcn.140019550
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0xa0]
call fcn.140057950
mov eax, dword [rsp + 0x50]
add rsp, 0xd0
pop rdi
ret