Function at 0x140068e38
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
xor ebx, ebx
mov r12, r9
mov r14, rcx
mov rcx, qword [rdx + 0x20]
mov r9, r8
movzx r13d, bx
mov r11d, ebx
lea esi, [rbx + 1]
cmp dword [rdx + 0x14], ebx
jle 0x140068ea9
mov r8d, dword [r12 + 0x44]
add rcx, 0x28
mov edx, dword [rdx + 0x14]
cmp dword [rcx - 0xc], r8d
jne 0x140068ea0
test qword [rcx], r9
jne 0x140068ea0
movzx eax, word [rcx - 0x14]
test eax, 0xfffff7ff
je 0x140068ea0
test byte [rcx - 0x16], 0x80
jne 0x140068ea0
add r11d, esi
add rcx, 0x38
sub rdx, rsi
jne 0x140068e81
mov r15, qword [rsp + 0xa0]
mov edi, ebx
mov ebp, 2
test r15, r15
je 0x140068eff
mov r9d, ebx
cmp dword [r15], ebx
jle 0x140068ef8
movsxd r10, dword [r15]
lea rcx, [r15 + 0x18]
mov rdx, rbx
mov r8, qword [rcx - 0x10]
cmp byte [r8], 0xa6
jne 0x140068ef8
mov eax, dword [r12 + 0x44]
cmp dword [r8 + 0x2c], eax
jne 0x140068ef8
test byte [rcx], bpl
jne 0x140068ef8
add r9d, esi
add rdx, rsi
add rcx, 0x20
cmp rdx, r10
jl 0x140068ecf
cmp r9d, dword [r15]
cmove edi, dword [r15]
mov rcx, qword [r14]
movsxd rsi, r11d
movsxd rbp, edi
mov qword [rsp + 0x20], rbp
lea rdx, [rsi + rsi*4]
shl rdx, 2
add rdx, 0x70
lea rdx, [rdx + rbp*8]
call fcn.14000778c
mov qword [rsp + 0x80], rax
mov r10, rax
test rax, rax
jne 0x140068f48
lea rdx, str.out_of_memory
mov rcx, r14
call fcn.14000a098
xor eax, eax
jmp 0x1400690fd
mov rcx, qword [rsp + 0x88]
lea r9, [rax + 0x70]
mov dword [r10 + 0x10], edi
lea rax, [rsi + rsi*2]
lea rsi, [r9 + rax*4]
mov qword [r10 + 8], r9
mov qword [r10 + 0x18], rsi
lea rax, [rsi + rbp*8]
mov qword [r10 + 0x20], rax
mov r11d, ebx
mov qword [r10 + 0x60], rcx
mov edi, ebx
mov qword [r10 + 0x68], r14
mov r8, qword [rcx + 0x20]
mov qword [rsp + 0x28], rsi
cmp dword [rcx + 0x14], ebx
jle 0x1400690b4
mov r14, qword [rsp + 0x90]
mov esi, 0x10
mov r15, qword [rsp + 0x98]
add r9, 4
lea ebp, [rsi - 0xe]
lea r10d, [rsi - 0xf]
mov eax, dword [r12 + 0x44]
cmp dword [r8 + 0x1c], eax
jne 0x14006908a
test qword [r8 + 0x28], r14
jne 0x14006908a
movzx eax, word [r8 + 0x14]
test eax, 0xfffff7ff
je 0x14006908a
test byte [r8 + 0x12], 0x80
jne 0x14006908a
test byte [r15 + 0x3c], 8
je 0x140068ff7
mov rax, qword [r8]
test byte [rax + 4], r10b
je 0x14006908a
mov eax, dword [r8 + 0x20]
mov dword [r9 - 4], eax
mov eax, 0x1fff
mov dword [r9 + 4], edi
movzx edx, word [r8 + 0x14]
and dx, ax
cmp dx, r10w
jne 0x140069049
movzx edx, bp
mov byte [r9], dl
test dl, 0x3c
je 0x140069083
mov rcx, qword [r8]
mov rcx, qword [rcx + 0x18]
call fcn.1400350b4
test eax, eax
je 0x14006907b
cmp r11d, esi
jge 0x14006903e
movzx r13d, r13w
bts r13d, r11d
cmp dx, si
jne 0x140069071
mov byte [r9], 8
jmp 0x14006907b
cmp dx, 0x40
jne 0x140069055
mov al, byte [r8 + 0x17]
jmp 0x14006906c
mov eax, 0x180
test ax, dx
je 0x140069019
mov eax, 0x100
cmp dx, ax
setne al
add al, 0x47
mov byte [r9], al
jmp 0x140069083
cmp dx, 4
jne 0x14006907b
mov byte [r9], 0x20
mov rcx, qword [rsp + 0x88]
add r11d, r10d
add r9, 0xc
add edi, r10d
add r8, 0x38
cmp edi, dword [rcx + 0x14]
jl 0x140068faf
mov r10, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r15, qword [rsp + 0xa0]
mov dword [r10], r11d
test rbp, rbp
jle 0x1400690ee
lea rdx, [r15 + 0x18]
mov r10d, 1
mov rax, qword [rdx - 0x10]
movsx ecx, word [rax + 0x30]
mov dword [rsi + rbx*8], ecx
mov al, byte [rdx]
lea rdx, [rdx + 0x20]
and al, r10b
mov byte [rsi + rbx*8 + 4], al
add rbx, r10
cmp rbx, rbp
jl 0x1400690c6
mov r10, qword [rsp + 0x80]
mov rax, qword [rsp + 0xa8]
mov word [rax], r13w
mov rax, r10
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret