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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xa8
mov rbx, qword [rcx + 0x18]
movzx eax, word [rbx + 4]
mov qword [rsp + 0xf0], rcx
lea rcx, [rax + rax*4]
mov rbp, rdx
mov r12, r8
shl rcx, 3
mov qword [rsp + 0x108], r9
call sym.xmalloc
mov r10, qword [rsp + 0xf0]
mov rdx, qword [rbx + 0x18]
mov rsi, qword [rsp + 0x108]
mov rdi, rax
movzx eax, word [rbx + 4]
add rdx, qword [r10 + 8]
mov ecx, dword [r10]
mov r8, rdi
mov qword [rsp + 0x28], rsi
lea rsi, [rsp + 0x80]
lea rax, [rax + rax*4]
mov qword [rsp + 0x20], rsi
lea r9, [rax*8]
mov qword [rsp + 0x60], rsi
call sym.simple_object_internal_read
mov r10, qword [rsp + 0xf0]
test eax, eax
je 0x14006a5a8
cmp byte [rbx + 2], 0
lea rdx, [sym.simple_object_fetch_little_32]
lea rax, [sym.simple_object_fetch_big_32]
cmove rax, rdx
mov r15, rax
movzx eax, word [rbx + 4]
test eax, eax
je 0x14006a497
sub eax, 1
xor edx, edx
mov qword [rsp + 0x58], rdi
lea rbx, [rdi + 0x14]
lea rax, [rax + rax*4]
mov qword [rsp + 0x38], rdx
lea r13, [rsp + 0x97]
lea r14, [rdi + rax*8 + 0x3c]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x98]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0xf0], r10
jmp 0x14006a412
mov rcx, rbx
call r15
lea rcx, [rbx - 4]
mov esi, eax
call r15
mov r8d, esi
mov rdx, rdi
mov rcx, r12
mov r9d, eax
call rbp
test eax, eax
je 0x14006a480
add rbx, 0x28
cmp r14, rbx
je 0x14006a480
mov rax, qword [rbx - 0x14]
mov byte [rsp + 0x9f], 0
mov rdi, r13
mov qword [rsp + 0x97], rax
cmp al, 0x2f
jne 0x14006a3e8
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov r8d, 0xa
call sym.strtol
movsxd rsi, eax
mov rax, qword [rsp + 0x88]
cmp byte [rax], 0
jne 0x14006a3e8
cmp qword [rsp + 0x38], 0
je 0x14006a4b8
cmp rsi, 3
jbe 0x14006a5bd
mov rax, qword [rsp + 0x50]
cmp rsi, rax
jae 0x14006a5bd
mov rax, qword [rsp + 0x38]
lea rdi, [rax + rsi]
jmp 0x14006a3e8
mov rdx, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x58]
test rdx, rdx
je 0x14006a497
mov rcx, rdx
call sym.free
mov rcx, rdi
call sym.free
xor eax, eax
add rsp, 0xa8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rsp + 0xf0]
mov r9d, 4
lea r8, [rsp + 0x7c]
mov rdx, qword [rsp + 0xf0]
mov r10, qword [rax + 0x18]
mov rax, qword [r10 + 8]
add rax, qword [rdx + 8]
mov qword [rsp + 0x38], r10
mov edx, dword [r10 + 0x10]
lea rdx, [rdx + rdx*8]
lea rdi, [rax + rdx*2]
mov rax, qword [rsp + 0xf0]
mov rdx, rdi
mov ecx, dword [rax]
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
call sym.simple_object_internal_read
test eax, eax
je 0x14006a5f1
mov r10, qword [rsp + 0x38]
mov edx, dword [rsp + 0x7c]
cmp byte [r10 + 2], 0
mov qword [rsp + 0x50], rdx
mov rax, rdx
je 0x14006a542
bswap eax
mov eax, eax
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call sym.xmalloc
mov r9, qword [rsp + 0x50]
mov rdx, rdi
mov r8, rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x68], r8
mov ecx, dword [rax]
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
call sym.simple_object_internal_read
mov r8, qword [rsp + 0x68]
test eax, eax
jne 0x14006a45a
mov rcx, r8
mov rdi, qword [rsp + 0x58]
call sym.free
nop dword [rax]
mov rcx, rdi
call sym.free
mov rax, qword [rsp + 0x80]
jmp 0x14006a4a1
mov rdx, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x58]
mov rcx, rdx
call sym.free
mov rcx, rdi
call sym.free
mov rax, qword [rsp + 0x108]
mov dword [rax], 0
lea rax, [0x1400fc058]
jmp 0x14006a4a1
mov rdi, qword [rsp + 0x58]
jmp 0x14006a5a8