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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x48
mov rax, qword [rdx + 0x148]
mov rbx, rdx
mov qword [rcx + 0xb0], rax
mov rdi, rcx
mov r15d, dword [rdx + 0x34]
mov r13d, 1
and qword [rdx + 0x148], 0
mov rax, qword [rcx]
mov esi, dword [rdx + 0x38]
mov qword [rsp + 0x30], rax
add esi, r15d
movsx eax, word [rdx + 0x130]
mov word [rsp + 0x90], ax
mov dword [rsp + 0x98], eax
mov eax, dword [rdx + 0x88]
mov dword [rsp + 0xa8], eax
mov dword [rsp + 0xa0], r15d
test r15d, r15d
jne 0x1401e27cc
test esi, esi
jle 0x1401e27cc
add esi, r13d
mov eax, dword [rcx + 0x90]
lea ecx, [rax + rax*2]
mov eax, dword [rdx + 0x3c]
shl ecx, 3
lea rdx, [rsp + 0xa8]
movsxd r12, ecx
sub eax, ecx
add r12, qword [rdi + 0x88]
mov rcx, rdi
movsxd rbp, eax
mov qword [rsp + 0x38], r12
and rbp, 0xfffffffffffffff8
call fcn.14019ff74
xor r9d, r9d
cmp byte [rbx + 0x20], r9b
je 0x1401e2816
lea eax, [r9 + 0x20]
cmp byte [rbx + 0x21], r9b
jne 0x1401e2819
mov eax, r9d
mov ecx, dword [rdi + 0xc8]
and ecx, 0xffffffdf
or ecx, eax
mov dword [rdi + 0xc8], ecx
movzx eax, byte [rbx + 0x133]
test al, al
je 0x1401e28cd
mov edx, 0xa
cmp esi, edx
cmovl esi, edx
shl eax, 2
xor eax, ecx
lea r15d, [rdx + 2]
and eax, r15d
lea edx, [r15 - 8]
xor eax, ecx
lea r13d, [r15 - 4]
mov dword [rdi + 0xc8], eax
mov rcx, rdi
mov bl, byte [rbx + 0x133]
cmp bl, 2
cmovne edx, r13d
call fcn.1401e47ac
cmp bl, 2
lea r9d, [r15 - 0xc]
mov r14d, r13d
cmovne r14d, r9d
cmovne r15d, r13d
cmp r14, r15
jae 0x1401e28c5
xor r12d, r12d
lea r13d, [r9 + 1]
mov ebx, r12d
lea r9, str.addr
mov qword [rsp + 0x20], r12
mov r9, qword [r9 + r14*8]
xor r8d, r8d
mov edx, ebx
mov rcx, rdi
call fcn.1401e476c
add r14, r13
add ebx, r13d
cmp r14, r15
jl 0x1401e2895
mov r12, qword [rsp + 0x38]
xor r9d, r9d
mov r15d, dword [rsp + 0xa0]
and dword [rdi + 0xc8], 0xfffffffc
movsxd rax, esi
imul r14, rax, 0x38
mov rax, r9
cmp r14, rbp
jg 0x1401e28f1
mov rax, r12
mov rbx, r9
sub rax, r14
add rax, rbp
jmp 0x1401e28f4
mov rbx, r14
movsxd r8, dword [rsp + 0x98]
mov rcx, rbp
sub rcx, r14
mov qword [rdi + 0x68], rax
cmp r14, rbp
mov rax, r9
cmovg rcx, rbp
imul r13, r8, 0x38
cmp r13, rcx
jg 0x1401e2922
sub rcx, r13
lea rax, [rcx + r12]
jmp 0x1401e2925
add rbx, r13
movsxd rbp, dword [rsp + 0xa8]
shl rbp, 3
mov qword [rdi + 0x80], rax
mov rax, r9
cmp rbp, rcx
jg 0x1401e294b
mov rax, r12
sub rax, rbp
add rax, rcx
jmp 0x1401e294e
add rbx, rbp
mov rdx, rcx
movsxd r15, r15d
sub rdx, rbp
mov qword [rdi + 0x70], rax
cmp rbp, rcx
mov rax, r9
cmovg rdx, rcx
shl r15, 3
cmp r15, rdx
jg 0x1401e2979
mov rax, r12
sub rax, r15
add rax, rdx
jmp 0x1401e297c
add rbx, r15
mov r12, qword [rsp + 0x30]
mov qword [rdi + 0x78], rax
test rbx, rbx
je 0x1401e2a21
mov rdx, rbx
mov rcx, r12
call fcn.1401b0bc8
xor r9d, r9d
mov qword [rdi + 0x100], rax
mov rcx, rax
cmp byte [r12 + 0x67], r9b
jne 0x1401e2a19
mov rax, qword [rdi + 0x68]
test rax, rax
jne 0x1401e29c2
cmp r14, rbx
jg 0x1401e29c2
sub rbx, r14
lea rax, [rbx + rcx]
mov qword [rdi + 0x68], rax
mov rax, qword [rdi + 0x80]
test rax, rax
jne 0x1401e29de
cmp r13, rbx
jg 0x1401e29de
sub rbx, r13
lea rax, [rbx + rcx]
mov qword [rdi + 0x80], rax
mov rax, qword [rdi + 0x70]
test rax, rax
jne 0x1401e29fa
cmp rbp, rbx
jg 0x1401e29fa
sub rbx, rbp
lea rax, [rbx + rcx]
mov qword [rdi + 0x70], rax
mov rax, qword [rdi + 0x78]
test rax, rax
jne 0x1401e2a15
cmp r15, rbx
jg 0x1401e2a15
mov rax, rcx
sub rax, r15
add rax, rbx
mov qword [rdi + 0x78], rax
mov r8d, dword [rsp + 0x98]
mov ebx, 1
cmp byte [r12 + 0x67], r9b
je 0x1401e2a39
and qword [rdi + 0x24], 0
mov word [rdi + 0x20], r9w
jmp 0x1401e2aac
mov eax, dword [rsp + 0xa0]
mov dword [rdi + 0x28], eax
movzx eax, word [rsp + 0x90]
mov word [rdi + 0x20], ax
mov rax, qword [rdi + 0x80]
test r8d, r8d
jle 0x1401e2a76
add rax, 0x18
sub r8d, ebx
mov word [rax - 4], bx
mov qword [rax], r12
mov dword [rax + 8], r9d
lea rax, [rax + 0x38]
test r8d, r8d
jg 0x1401e2a5f
mov rax, qword [rdi + 0x68]
mov dword [rdi + 0x24], esi
test esi, esi
jle 0x1401e2a9b
add rax, 0x18
sub esi, ebx
mov word [rax - 4], r9w
mov qword [rax], r12
mov dword [rax + 8], r9d
lea rax, [rax + 0x38]
test esi, esi
jg 0x1401e2a85
mov rcx, qword [rdi + 0x78]
mov r8, r15
xor edx, edx
call sub.VCRUNTIME140.dll_memset
xor r9d, r9d
or dword [rdi + 0x30], 0xffffffff
mov byte [rdi + 0xc5], bl
mov dword [rdi + 0x34], r9d
mov word [rdi + 0xc2], 0xff02
mov qword [rdi + 0x38], r9
mov dword [rdi + 0x2c], ebx
mov dword [rdi + 0x40], r9d
mov qword [rdi + 0x50], r9
add rsp, 0x48
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret