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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x38
mov eax, dword [rdx + 0x14]
xor ebp, ebp
mov word [rsp + 0x80], bp
mov rdi, r9
mov r12, rcx
mov rcx, qword [rdx + 0x20]
mov r9, r8
mov ebx, ebp
test eax, eax
jle 0x1400daf82
mov r8d, dword [rdi + 0x44]
add rcx, 0x30
mov edx, eax
nop dword [rax]
cmp dword [rcx - 0x14], r8d
jne 0x1400daf78
test qword [rcx], r9
jne 0x1400daf78
movzx eax, word [rcx - 0x1c]
test eax, 0xfffff7ff
je 0x1400daf78
inc ebx
add rcx, 0x40
sub rdx, 1
jne 0x1400daf60
mov rax, qword [rsp + 0xa0]
mov esi, ebp
mov dword [rsp + 0x20], ebp
test rax, rax
je 0x1400dafd3
movsxd r11, dword [rax]
mov r9d, ebp
test r11d, r11d
jle 0x1400dafc8
mov rdx, rbp
lea rcx, [rax + 8]
mov r8, qword [rcx]
cmp byte [r8], 0xa2
jne 0x1400dafc8
mov eax, dword [rdi + 0x44]
cmp dword [r8 + 0x2c], eax
jne 0x1400dafc8
inc r9d
inc rdx
add rcx, 0x28
cmp rdx, r11
jl 0x1400dafa7
cmp r9d, r11d
cmove esi, r11d
mov dword [rsp + 0x20], esi
mov rcx, qword [r12]
movsxd r14, ebx
movsxd r15, esi
lea rdi, [r14 + 7]
lea rdi, [r14 + rdi*4]
lea r15, [r15*8]
lea rdi, [r15 + rdi*4]
test rcx, rcx
je 0x1400db073
cmp dword [rcx + 0x170], ebp
jne 0x1400db068
movzx eax, word [rcx + 0x174]
cmp rdi, rax
jbe 0x1400db01a
inc dword [rcx + 0x180]
mov rdx, rdi
call fcn.1400e7830
jmp 0x1400db07b
mov r13, qword [rcx + 0x190]
test r13, r13
je 0x1400db039
mov rax, qword [r13]
mov qword [rcx + 0x190], rax
inc dword [rcx + 0x17c]
jmp 0x1400db07e
mov r13, qword [rcx + 0x188]
test r13, r13
je 0x1400db058
mov rax, qword [r13]
mov qword [rcx + 0x188], rax
inc dword [rcx + 0x17c]
jmp 0x1400db07e
inc dword [rcx + 0x184]
mov rdx, rdi
call fcn.1400e7830
jmp 0x1400db07b
cmp byte [rcx + 0x61], bpl
je 0x1400db010
mov r13, rbp
jmp 0x1400db07e
mov rcx, rdi
call fcn.140123530
mov r13, rax
test r13, r13
je 0x1400db29b
mov r8, rdi
xor edx, edx
mov rcx, r13
call fcn.14018c010
mov dword [r13], ebx
lea rdx, [r13 + 0x70]
mov dword [r13 + 0x10], esi
lea rcx, [r14 + r14*2]
mov qword [r13 + 8], rdx
lea r11, [rdx + rcx*4]
mov qword [r13 + 0x18], r11
lea rax, [r15 + r11]
mov qword [r13 + 0x20], rax
mov r10d, ebp
mov rax, qword [rsp + 0x88]
mov qword [r13 + 0x68], r12
mov r12, rax
mov qword [r13 + 0x60], rax
mov qword [rsp + 0x28], r11
mov r8, qword [rax + 0x20]
cmp dword [rax + 0x14], ebp
jle 0x1400db1b7
mov r14, qword [rsp + 0x98]
lea rdi, [rdx + 4]
mov r11d, dword [rsp + 0x80]
mov rbx, 0xfffffffffffffffc
mov r15, qword [rsp + 0x90]
sub rbx, rdx
mov edx, 0x180
mov r9, rdi
mov esi, 0x1fff
lea ebp, [rdx - 0x80]
mov eax, dword [r14 + 0x44]
cmp dword [r8 + 0x1c], eax
jne 0x1400db192
test qword [r8 + 0x30], r15
jne 0x1400db192
movzx ecx, word [r8 + 0x14]
test ecx, 0xfffff7ff
je 0x1400db192
test byte [r14 + 0x3c], 8
je 0x1400db148
mov rax, qword [r8]
test byte [rax + 4], 1
jne 0x1400db148
test dx, cx
jne 0x1400db192
mov eax, dword [r8 + 0x28]
mov dword [r9 - 4], eax
mov dword [r9 + 4], r10d
movzx ecx, word [r8 + 0x14]
and cx, si
cmp cx, 1
jne 0x1400db20b
mov ecx, 2
mov eax, 0x180
lea rdx, [rdi + rbx]
test ax, cx
je 0x1400db227
cmp cx, bp
setne al
add al, 0x47
mov byte [rdx + r9], al
mov edx, 0x180
add r9, 0xc
inc r10d
add r8, 0x40
cmp r10d, dword [r12 + 0x14]
jl 0x1400db116
mov esi, dword [rsp + 0x20]
xor ebp, ebp
mov dword [rsp + 0x80], r11d
mov r11, qword [rsp + 0x28]
movsxd r8, esi
test esi, esi
jle 0x1400db1f1
mov rdx, qword [rsp + 0xa0]
add rdx, 0x20
nop word [rax + rax]
mov rax, qword [rdx - 0x18]
lea rdx, [rdx + 0x28]
movsx ecx, word [rax + 0x30]
mov dword [r11 + rbp*8], ecx
movzx eax, byte [rdx - 0x28]
mov byte [r11 + rbp*8 + 4], al
inc rbp
cmp rbp, r8
jl 0x1400db1d0
mov rax, qword [rsp + 0xa8]
mov ecx, dword [rsp + 0x80]
mov word [rax], cx
mov rax, r13
jmp 0x1400db2ac
cmp cx, 0x40
jne 0x1400db16b
movzx eax, byte [r8 + 0x17]
lea rcx, [rdi + rbx]
mov byte [rcx + r9], al
jmp 0x1400db18e
mov byte [rdx + r9], cl
test cl, 0x3c
je 0x1400db294
mov rax, qword [r8]
mov rdx, qword [rax + 0x18]
movzx eax, byte [rdx]
cmp al, 0xa8
jne 0x1400db242
movzx eax, byte [rdx + 0x36]
cmp al, 0xa9
jne 0x1400db24c
lea rax, [rdx + 0x20]
jmp 0x1400db258
cmp al, 0x83
jne 0x1400db189
mov rax, qword [rdx + 0x20]
mov rax, qword [rax]
cmp dword [rax], 1
jle 0x1400db189
cmp r10d, 0x10
jge 0x1400db272
movzx r11d, r11w
bts r11d, r10d
cmp cx, 0x10
jne 0x1400db281
mov byte [r9], 8
jmp 0x1400db189
cmp cx, 4
jne 0x1400db189
mov byte [r9], 0x20
jmp 0x1400db189
mov edx, eax
jmp 0x1400db18e
lea rdx, str.out_of_memory
mov rcx, r12
call fcn.140112fa0
xor eax, eax
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret