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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov qword [rax + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
xor r13d, r13d
mov rbx, r8
mov rdi, rdx
mov r12, rcx
cmp byte [rdx + 0x65], r13b
je 0x1401266cd
xor eax, eax
jmp 0x140126901
mov ebp, dword [rdx + 0x48]
mov r14d, dword [rdx + 0x58]
add ebp, ebp
mov eax, ebp
neg eax
mov eax, 0xfffffff8
sbb r15d, r15d
lea ecx, [rbp + 2]
and r15d, ecx
mov ecx, 0x6e
add r14d, r14d
lea esi, [r14 + 0x70]
cmove esi, ecx
xor edx, edx
add esi, r15d
mov rcx, rbx
and rsi, rax
mov r8, rsi
call fcn.140202180
mov qword [rbx], rsi
mov eax, dword [rdi + 0x28]
mov qword [rbx + 8], rax
mov eax, dword [rdi + 0x60]
mov dword [rbx + 0xc], eax
mov eax, dword [rdi + 0x10]
mov dword [rbx + 0x28], eax
mov eax, dword [rdi + 0x14]
mov dword [rbx + 0x2c], eax
mov eax, dword [rdi + 0x18]
mov dword [rbx + 0x30], eax
mov eax, dword [rdi + 0x1c]
mov dword [rbx + 0x34], eax
mov eax, dword [rdi + 0x20]
mov dword [rbx + 0x38], eax
mov eax, dword [rdi + 0x24]
mov dword [rbx + 0x3c], eax
cmp qword [rdi + 0x88], r13
je 0x140126755
mov rax, qword [rdi + 0x80]
mov ecx, dword [rax]
mov dword [rbx + 0x58], ecx
jmp 0x140126762
mov rax, qword [rdi + 0x30]
test rax, rax
je 0x140126762
mov qword [rbx + 0x58], rax
mov word [rbx + 0x62], r14w
mov r8d, r13d
mov word [rbx + 0x64], bp
test ebp, ebp
je 0x140126790
mov ecx, r13d
mov rax, qword [rdi + 0x40]
mov edx, r8d
inc r8d
movzx eax, word [rax + rdx*2]
mov word [rcx + rbx + 0x66], ax
lea ecx, [r8 + r8]
cmp ecx, ebp
jb 0x140126775
mov r8d, r13d
test r14d, r14d
je 0x1401267bd
mov ecx, r13d
mov r9d, r15d
mov rax, qword [rdi + 0x50]
add rcx, r9
mov edx, r8d
inc r8d
movzx eax, word [rax + rdx*2]
mov word [rcx + rbx + 0x66], ax
lea ecx, [r8 + r8]
cmp ecx, r14d
jb 0x14012679e
mov eax, dword [rdi + 0x78]
cmp eax, dword [rdi + 0x68]
jne 0x1401267f3
cmp dword [rdi + 4], r13d
jl 0x1401268fe
movsxd rax, dword [rdi + 4]
lea rdx, [r12 + 0x2c]
shl rax, 6
lea rcx, [rbx + 0x40]
add rdx, rax
mov r8d, 0x14
call fcn.140201ae0
jmp 0x1401268fe
cmp byte [rdi + 0x64], r13b
mov eax, r13d
mov r15d, 0x14
sete al
sub ax, word [rdi + 0x68]
add ax, word [rdi + 0x78]
mov word [rbx + 0x60], ax
add rbx, rsi
cmp byte [rdi + 0x64], r13b
jne 0x140126854
lea ebp, [r15 + 0x14]
xor edx, edx
mov r8d, ebp
mov rcx, rbx
call fcn.140202180
mov qword [rbx], rbp
cmp dword [rdi + 4], r13d
jl 0x14012684e
movsxd rax, dword [rdi + 4]
lea rdx, [r12 + 0x2c]
shl rax, 6
lea rcx, [rbx + 0x10]
add rdx, rax
mov r8d, r15d
call fcn.140201ae0
add rsi, rbp
add rbx, rbp
mov r14d, r13d
cmp dword [rdi + 0x78], r13d
jbe 0x1401268fe
mov rax, qword [rdi + 0x70]
mov ecx, r14d
mov r13, qword [rax + rcx*8]
cmp byte [r13 + 0x20], 0
jne 0x1401268f1
mov ebp, dword [r13 + 0x18]
mov ecx, 0x2c
add ebp, ebp
lea eax, [rbp + 0x30]
cmove eax, ecx
mov ecx, 0xfffffff8
and eax, ecx
xor edx, edx
mov r8d, eax
mov rcx, rbx
mov r12d, eax
call fcn.140202180
mov qword [rbx], r12
cmp dword [r13 + 4], 0
jl 0x1401268c5
movsxd rax, dword [r13 + 4]
lea rcx, [rbx + 0x10]
mov rdx, qword [rsp + 0x50]
mov r8, r15
shl rax, 6
add rdx, 0x2c
add rdx, rax
call fcn.140201ae0
xor r8d, r8d
mov word [rbx + 0x24], bp
test ebp, ebp
je 0x1401268eb
xor ecx, ecx
mov rax, qword [r13 + 0x10]
movzx eax, word [rax + r8*2]
inc r8d
mov word [rcx + rbx + 0x26], ax
lea ecx, [r8 + r8]
cmp ecx, ebp
jb 0x1401268d2
add rsi, r12
add rbx, r12
inc r14d
cmp r14d, dword [rdi + 0x78]
jb 0x140126861
mov rax, rsi
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret