Function at 0x1400742cc
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
mov word [rsp + 0x80], bx
mov ebp, ebx
lea r11d, [rbx + 1]
lea r10d, [rbx + 0x40]
cmp dword [rdx + 0x14], ebx
jle 0x14007433e
mov r8d, dword [r12 + 0x44]
add rcx, 0x30
mov edx, dword [rdx + 0x14]
cmp dword [rcx - 0x14], r8d
jne 0x140074336
test qword [rcx], r9
jne 0x140074336
movzx eax, word [rcx - 0x1c]
test eax, 0xfffff7ff
je 0x140074336
add ebp, r11d
add rcx, r10
sub rdx, r11
jne 0x14007431d
mov r13, qword [rsp + 0xa0]
mov edi, ebx
mov esi, 2
test r13, r13
je 0x140074398
mov r9d, ebx
cmp dword [r13], ebx
jle 0x14007438f
movsxd r10, dword [r13]
lea rcx, [r13 + 0x20]
mov rdx, rbx
mov r8, qword [rcx - 0x18]
cmp byte [r8], 0xa2
jne 0x14007438f
mov eax, dword [r12 + 0x44]
cmp dword [r8 + 0x28], eax
jne 0x14007438f
test byte [rcx], sil
jne 0x14007438f
add r9d, r11d
add rdx, r11
add rcx, 0x28
cmp rdx, r10
jl 0x140074366
cmp r9d, dword [r13]
cmove edi, dword [r13]
mov rcx, qword [r14]
movsxd rsi, ebp
movsxd r15, edi
lea rdx, [rsi + rsi*4]
shl rdx, 2
add rdx, 0x70
lea rdx, [rdx + r15*8]
call fcn.1400168c0
mov qword [rsp + 0x20], rax
mov r10, rax
test rax, rax
jne 0x1400743d9
lea rdx, str.out_of_memory
mov rcx, r14
call fcn.140018ff0
xor eax, eax
jmp 0x1400745a1
lea r8, [rax + 0x70]
mov dword [r10], ebp
mov rbp, qword [rsp + 0x88]
lea rax, [rsi + rsi*2]
lea rsi, [r8 + rax*4]
mov dword [r10 + 0x10], edi
mov qword [r10 + 8], r8
lea rax, [rsi + r15*8]
mov qword [r10 + 0x20], rax
mov r11d, ebx
mov qword [r10 + 0x18], rsi
mov qword [r10 + 0x60], rbp
mov qword [r10 + 0x68], r14
mov r9, qword [rbp + 0x20]
mov qword [rsp + 0x28], rsi
cmp dword [rbp + 0x14], ebx
jle 0x140074558
mov r15d, dword [rsp + 0x80]
mov esi, 2
mov r14, qword [rsp + 0x90]
add r8, 4
mov r10, qword [rsp + 0x98]
mov edx, 0x180
lea ebx, [rsi + 0x3e]
lea r13d, [rsi - 1]
mov eax, dword [r12 + 0x44]
cmp dword [r9 + 0x1c], eax
jne 0x140074529
test qword [r9 + 0x30], r14
jne 0x140074529
movzx ecx, word [r9 + 0x14]
test ecx, 0xfffff7ff
je 0x140074529
test byte [r10 + 0x3c], 8
je 0x140074491
mov rax, qword [r9]
test byte [rax + 4], r13b
jne 0x140074491
test dx, cx
jne 0x140074529
mov eax, dword [r9 + 0x28]
mov dword [r8 - 4], eax
mov eax, 0x1fff
mov dword [r8 + 4], r11d
movzx edx, word [r9 + 0x14]
and dx, ax
cmp dx, r13w
jne 0x1400744e9
movzx edx, si
mov byte [r8], dl
test dl, 0x3c
je 0x140074520
mov rcx, qword [r9]
mov rcx, qword [rcx + 0x18]
call fcn.140042690
cmp eax, r13d
jle 0x140074520
mov ecx, 0x10
cmp r11d, ecx
jge 0x1400744de
movzx r15d, r15w
bts r15d, r11d
cmp dx, cx
jne 0x14007450d
mov byte [r8], 8
jmp 0x140074520
cmp dx, bx
jne 0x1400744f4
mov al, byte [r9 + 0x17]
jmp 0x14007451d
mov eax, 0x180
test ax, dx
je 0x1400744b3
mov eax, 0x100
cmp dx, ax
setne al
add al, 0x47
jmp 0x14007451d
movzx eax, byte [r8]
cmp dx, 4
mov ecx, Ordinal_36
cmove eax, ecx
mov byte [r8], al
add r8, 0xc
mov edx, 0x180
add r11d, r13d
add r9, rbx
cmp r11d, dword [rbp + 0x14]
jl 0x14007444e
mov r10, qword [rsp + 0x20]
xor ebx, ebx
mov rsi, qword [rsp + 0x28]
mov r13, qword [rsp + 0xa0]
mov dword [rsp + 0x80], r15d
movsxd r15, edi
test r15, r15
jle 0x14007458c
lea rdx, [r13 + 0x20]
mov r10d, 1
mov rax, qword [rdx - 0x18]
movsx ecx, word [rax + 0x2c]
mov dword [rsi + rbx*8], ecx
mov al, byte [rdx]
lea rdx, [rdx + 0x28]
and al, r10b
mov byte [rsi + rbx*8 + 4], al
add rbx, r10
cmp rbx, r15
jl 0x140074567
mov r10, qword [rsp + 0x20]
mov rax, qword [rsp + 0xa8]
mov ecx, dword [rsp + 0x80]
mov word [rax], cx
mov rax, r10
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret