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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov rsi, rcx
test r8, r8
je 0x1400a97c5
cmp r8, 1
je 0x1400a97c5
cmp r8, 2
je 0x1400a97c5
cmp r8, 3
je 0x1400a97c5
cmp r8, 4
je 0x1400a97c5
cmp r8, 5
je 0x1400a97c5
cmp r8, 6
je 0x1400a97c5
cmp r8, 7
je 0x1400a97c5
cmp r8, 8
je 0x1400a97c5
cmp r8, 9
je 0x1400a97c5
cmp r8, 0xa
je 0x1400a97c5
cmp r8, 0xb
je 0x1400a97c5
cmp r8, 0xc
je 0x1400a97c5
cmp r8, 0xd
je 0x1400a97c5
cmp r8, 0xe
je 0x1400a97c5
cmp r8, 0xf
jne 0x1400a9808
mov byte [rsi + 0x17], 0
mov word [rsi + 0x15], 0
mov dword [rsi + 0x11], 0
mov qword [rsi + 0x18], 0
mov qword [rsi + 8], 0
mov byte [rsi + 0x10], 1
mov qword [rsi], 1
mov rax, rsi
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movzx eax, byte [rdx]
mov byte [rsp + 0x2a], al
movzx eax, byte [rdx + 1]
mov byte [rsp + 0x29], al
movzx eax, byte [rdx + 2]
mov byte [rsp + 0x28], al
movzx eax, byte [rdx + 3]
mov byte [rsp + 0x27], al
movzx eax, byte [rdx + 4]
mov byte [rsp + 0x26], al
movzx eax, byte [rdx + 5]
movzx ecx, al
movzx edi, byte [rdx + 6]
movzx ebp, byte [rdx + 7]
movzx r14d, byte [rdx + 8]
movzx r15d, byte [rdx + 9]
movzx r12d, byte [rdx + 0xa]
movzx r13d, byte [rdx + 0xb]
movzx r9d, byte [rdx + 0xc]
mov byte [rsp + 0x25], r9b
movzx r9d, byte [rdx + 0xd]
mov byte [rsp + 0x24], r9b
movzx r9d, byte [rdx + 0xe]
mov byte [rsp + 0x23], r9b
movzx r11d, byte [rdx + 0xf]
cmp ecx, 1
je 0x1400a9883
cmp ecx, 2
jne 0x1400a98a9
mov cl, 1
jmp 0x1400a9885
xor ecx, ecx
lea rbx, [r8 - 0x10]
cmp rbx, 2
jae 0x1400a9937
mov word [rsi + 0x16], 0
mov dword [rsi + 0x12], 0
mov qword [rsi + 0x18], rbx
jmp 0x1400a9964
mov byte [rsp + 0x2b], al
lea rax, [rsp + 0x2b]
mov qword [rsp + 0x60], rax
lea rax, [0x1400d4040]
mov qword [rsp + 0x68], rax
lea rax, str.invalid_ELF_endianness_DATA_type
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], 1
mov qword [rsp + 0xa8], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], 1
lea rcx, [rsp + 0x70]
lea rdx, [rsp + 0x88]
call fcn.1400cd360
mov qword [rsi + 8], 5
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rsi + 0x10], xmm0
mov rax, qword [rsp + 0x80]
mov qword [rsi + 0x20], rax
jmp 0x1400a97ea
movzx r9d, word [rdx + 0x10]
mov ebx, r9d
rol bx, 8
test cl, cl
cmove ebx, r9d
lea r9, [r8 - 0x12]
cmp r9, 2
jae 0x1400a9977
mov word [rsi + 0x16], 0
mov dword [rsi + 0x12], 0
mov qword [rsi + 0x18], r9
mov qword [rsi + 8], 0
mov word [rsi + 0x10], 2
jmp 0x1400a97ea
movzx r9d, word [rdx + 0x12]
mov r10d, r9d
rol r10w, 8
test cl, cl
cmove r10d, r9d
mov dword [rsp + 0x44], r10d
lea r9, [r8 - 0x14]
cmp r9, 4
jae 0x1400a99b2
mov qword [rsi + 0x18], r9
mov qword [rsi + 8], 0
mov qword [rsi + 0x10], 4
jmp 0x1400a97ea
mov r9d, dword [rdx + 0x14]
mov r10d, r9d
bswap r10d
test cl, cl
cmove r10d, r9d
mov dword [rsp + 0x40], r10d
lea r9, [r8 - 0x18]
cmp r9, 8
jb 0x1400a9a0f
mov r9, qword [rdx + 0x18]
mov r10, r9
bswap r10
test cl, cl
cmove r10, r9
mov qword [rsp + 0x58], r10
lea r9, [r8 - 0x20]
cmp r9, 8
jb 0x1400a9a0f
mov r9, qword [rdx + 0x20]
mov r10, r9
bswap r10
test cl, cl
cmove r10, r9
mov qword [rsp + 0x50], r10
lea r9, [r8 - 0x28]
cmp r9, 8
jae 0x1400a9a28
mov qword [rsi + 0x18], r9
mov qword [rsi + 8], 0
mov qword [rsi + 0x10], 8
jmp 0x1400a97ea
mov r9, qword [rdx + 0x28]
mov r10, r9
bswap r10
test cl, cl
cmove r10, r9
mov qword [rsp + 0x48], r10
lea r9, [r8 - 0x30]
cmp r9, 4
jb 0x1400a9999
mov r9d, dword [rdx + 0x30]
mov r10d, r9d
bswap r10d
test cl, cl
cmove r10d, r9d
mov dword [rsp + 0x3c], r10d
lea r9, [r8 - 0x34]
cmp r9, 2
jb 0x1400a9953
movzx r9d, word [rdx + 0x34]
mov r10d, r9d
rol r10w, 8
test cl, cl
cmove r10d, r9d
mov dword [rsp + 0x38], r10d
lea r9, [r8 - 0x36]
cmp r9, 2
jb 0x1400a9953
movzx r9d, word [rdx + 0x36]
mov r10d, r9d
rol r10w, 8
test cl, cl
cmove r10d, r9d
mov dword [rsp + 0x34], r10d
lea r9, [r8 - 0x38]
cmp r9, 2
jb 0x1400a9953
movzx r9d, word [rdx + 0x38]
mov r10d, r9d
rol r10w, 8
test cl, cl
cmove r10d, r9d
mov dword [rsp + 0x30], r10d
lea r9, [r8 - 0x3a]
cmp r9, 2
jb 0x1400a9953
movzx r9d, word [rdx + 0x3a]
mov r10d, r9d
rol r10w, 8
test cl, cl
cmove r10d, r9d
lea r9, [r8 - 0x3c]
cmp r9, 2
jb 0x1400a9953
add r8, 0xffffffffffffffc2
cmp r8, 2
jae 0x1400a9b21
mov word [rsi + 0x16], 0
mov dword [rsi + 0x12], 0
mov qword [rsi + 0x18], r8
jmp 0x1400a9964
movzx r8d, word [rdx + 0x3c]
mov dword [rsp + 0x2c], r8d
rol r8w, 8
movzx r9d, word [rdx + 0x3e]
mov edx, r9d
rol dx, 8
test cl, cl
cmove r8d, dword [rsp + 0x2c]
cmove edx, r9d
movzx ecx, byte [rsp + 0x2a]
mov byte [rsi + 8], cl
movzx ecx, byte [rsp + 0x29]
mov byte [rsi + 9], cl
movzx ecx, byte [rsp + 0x28]
mov byte [rsi + 0xa], cl
movzx ecx, byte [rsp + 0x27]
mov byte [rsi + 0xb], cl
movzx ecx, byte [rsp + 0x26]
mov byte [rsi + 0xc], cl
mov byte [rsi + 0xd], al
mov byte [rsi + 0xe], dil
mov byte [rsi + 0xf], bpl
mov byte [rsi + 0x10], r14b
mov byte [rsi + 0x11], r15b
mov byte [rsi + 0x12], r12b
mov byte [rsi + 0x13], r13b
movzx eax, byte [rsp + 0x25]
mov byte [rsi + 0x14], al
movzx eax, byte [rsp + 0x24]
mov byte [rsi + 0x15], al
movzx eax, byte [rsp + 0x23]
mov byte [rsi + 0x16], al
mov byte [rsi + 0x17], r11b
mov word [rsi + 0x18], bx
mov eax, dword [rsp + 0x44]
mov word [rsi + 0x1a], ax
mov eax, dword [rsp + 0x40]
mov dword [rsi + 0x1c], eax
mov rax, qword [rsp + 0x58]
mov qword [rsi + 0x20], rax
mov rax, qword [rsp + 0x50]
mov qword [rsi + 0x28], rax
mov rax, qword [rsp + 0x48]
mov qword [rsi + 0x30], rax
mov eax, dword [rsp + 0x3c]
mov dword [rsi + 0x38], eax
mov eax, dword [rsp + 0x38]
mov word [rsi + 0x3c], ax
mov eax, dword [rsp + 0x34]
mov word [rsi + 0x3e], ax
mov eax, dword [rsp + 0x30]
mov word [rsi + 0x40], ax
mov word [rsi + 0x42], r10w
mov word [rsi + 0x44], r8w
mov word [rsi + 0x46], dx
mov qword [rsi + 0x48], 0x40
mov qword [rsi], 0
jmp 0x1400a97f1