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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov r14, qword [0x140104e80]
mov r15, rdx
and byte [rcx + 0x445], 0xf8
mov rdi, rcx
mov rbp, r14
cmp byte [r14 + 0x5a], 0
jne 0x14002a69c
cmp byte [rcx + 0x3c], 0
je 0x14002a6ed
test dword [rcx + 0x14], 0x1080001
jne 0x14002a6ed
cmp byte [rcx + 0x108], 0
jne 0x14002a6ed
cmp dword [rcx + 0x478], 0
jne 0x14002a724
mov ebx, 1
lea rcx, [r14 + 0x6180]
mov edx, ebx
call fcn.1400058c0
test rax, rax
je 0x14002a6e5
nop
inc ebx
lea rcx, [r14 + 0x6180]
mov edx, ebx
call fcn.1400058c0
test rax, rax
jne 0x14002a6d0
mov dword [rdi + 0x478], ebx
jmp 0x14002a724
mov ecx, dword [rcx + 0x14]
shr ecx, 0x13
and cl, 1
test byte [r14 + 0x4b90], 1
je 0x14002a71e
movsx eax, byte [rdi + 0x124]
test dword [r14 + 0x4b94], eax
je 0x14002a71e
cmp byte [r14 + 0x4bd0], 0
je 0x14002a71e
mov al, 1
jmp 0x14002a720
xor al, al
or al, cl
jne 0x14002a75f
mov ebx, dword [rdi + 0x478]
mov rsi, qword [rdi + 0x468]
test ebx, ebx
je 0x14002a896
test rsi, rsi
jne 0x14002a896
lea rcx, [r14 + 0x6180]
mov edx, ebx
call fcn.1400058c0
mov rsi, rax
test rax, rax
je 0x14002a786
cmp qword [rax + 0x20], 0
je 0x14002a7b6
mov r8b, 1
mov rdx, rdi
mov rcx, rbp
call fcn.140024030
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
mov edx, ebx
mov rcx, rbp
call fcn.1400230a0
mov rsi, rax
mov eax, dword [rax + 0xc8]
and eax, 0xfffffe92
or eax, 0x92
mov dword [rsi + 0xc8], eax
mov eax, dword [r14 + 0x40c8]
mov dword [rsi + 0xac], eax
test byte [rsi + 0xcc], 1
jne 0x14002a863
mov r10, rsi
mov rax, qword [r10 + 0x18]
test rax, rax
je 0x14002a7db
test byte [rax + 0xcc], 1
mov r10, rax
je 0x14002a7c6
mov rax, qword [r10 + 0x18]
mov rdx, r10
test rax, rax
je 0x14002a7fc
nop word [rax + rax]
mov rdx, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x14002a7f0
and byte [rdx + 0xcc], 0xdf
mov rcx, qword [rdx + 0x20]
test rcx, rcx
je 0x14002a811
call fcn.140025110
mov rcx, qword [rdx + 0x28]
test rcx, rcx
je 0x14002a81f
call fcn.140025110
cmp qword [rdx + 0x18], 0
jne 0x14002a850
mov rax, qword [rdx + 0x98]
test rax, rax
je 0x14002a850
nop dword [rax]
nop word [rax + rax]
or byte [rax + 0xcc], 0x20
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x14002a840
mov r8, qword [r10 + 0x50]
mov r9, rsi
mov rdx, qword [r10 + 0x48]
mov rcx, r10
call fcn.140029410
movzx ebx, byte [rsi + 0xcc]
mov r8b, 1
mov rdx, rdi
mov rcx, rsi
call fcn.1400246d0
movzx eax, byte [rsi + 0xcc]
mov r14, qword [0x140104e80]
movzx ecx, al
xor cl, bl
and cl, 1
xor cl, al
mov byte [rsi + 0xcc], cl
mov eax, dword [rbp + 0x40c8]
cmp dword [rsi + 0xac], eax
jge 0x14002a8da
mov rax, qword [rsi + 0x18]
test rax, rax
je 0x14002a8bc
nop dword [rax]
mov rsi, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x14002a8b0
mov eax, dword [rbp + 0x40c8]
cmp dword [rsi + 0xac], eax
jl 0x14002a75f
or byte [rdi + 0x445], 1
jmp 0x14002a76d
mov rcx, rdi
call fcn.14002a5b0
mov rax, qword [rsi + 0x88]
test rax, rax
jne 0x14002a930
cmp dword [rsi + 0x14], 2
jne 0x14002a8fb
or byte [rdi + 0x445], 1
cmp dword [rsi + 0x30], 1
jle 0x14002a76d
cmp byte [rdi + 0x106], 0
je 0x14002a76d
cmp byte [rdi + 0xff], 0
mov byte [rdi + 0x107], 1
sete al
inc al
mov byte [rdi + 0x120], al
jmp 0x14002a76d
test byte [rsi + 0x10], 1
mov dword [rsi + 0x14], 3
jne 0x14002a951
movzx eax, word [rax + 0x114]
cmp word [rdi + 0x114], ax
jl 0x14002a75f
mov eax, dword [r14 + 0x4b90]
xor r8d, r8d
or eax, 1
mov dword [r14 + 0x4b90], eax
or eax, 2
movsd xmm0, qword [rsi + 0x48]
mov dword [r14 + 0x4b90], eax
movsd qword [r14 + 0x4ba4], xmm0
mov qword [r14 + 0x4bac], r8
mov dword [r14 + 0x4b94], 1
mov byte [r14 + 0x4bd0], 1
movsd xmm0, qword [rsi + 0x50]
movsd qword [r14 + 0x4bb4], xmm0
mov dword [r14 + 0x4b98], 1
mov byte [rbp + 0x4bd0], r8b
movzx eax, byte [rdi + 0x445]
or al, 3
and al, 0xfb
mov byte [rdi + 0x445], al
test byte [rsi + 0x10], 1
jne 0x14002a76d
cmp qword [rsi + 0x90], rdi
jne 0x14002a9e3
or al, 4
mov byte [rdi + 0x445], al
mov edx, dword [rdi + 0x14]
or dword [rdi + 0x1c], 2
or edx, 0x1000002
mov dword [rdi + 0x14], edx
mov eax, edx
or eax, 1
and edx, 0xfffffffe
test dword [rsi + 0x10], 0x3000
cmovne edx, eax
mov dword [rdi + 0x14], edx
cmp qword [rsi + 0x40], r8
je 0x14002aa65
cmp byte [rdi + 0x100], r8b
je 0x14002aa65
mov rax, qword [rdi + 0x468]
mov r9, qword [rax + 0x40]
test r9, r9
je 0x14002aa59
mov edx, dword [rdi + 0xc0]
test edx, edx
je 0x14002aa59
movsxd rax, dword [r9]
test eax, eax
jle 0x14002aa59
mov r10, rax
mov rcx, r8
mov rax, qword [r9 + 8]
cmp dword [rax], edx
je 0x14002aadb
inc r8d
inc rcx
add rax, 0x38
cmp rcx, r10
jl 0x14002aa42
mov edx, 0xffffffff
mov word [rdi + 0x446], dx
test byte [rsi + 0xcc], 0x40
jne 0x14002aa7c
mov eax, dword [rdi + 0xc0]
cmp dword [rsi + 0xc0], eax
jne 0x14002aa85
test r15, r15
je 0x14002aa85
mov byte [r15], 0
mov rax, qword [rdi + 0x468]
xor edx, edx
mov rbp, qword [rdi + 8]
mov rcx, rbp
mov rbx, qword [rax + 0x88]
movsxd rax, dword [rbx + 0x138]
mov r8, qword [rbx + 0x140]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.140004eb0
mov rcx, qword [rbx]
mov esi, eax
cmp dword [rcx + 0x41d4], eax
jne 0x14002aad0
mov r8, rbp
mov edx, 0xb
mov ecx, eax
call fcn.14002c420
mov dword [rdi + 0xc4], esi
jmp 0x14002a76d
mov rcx, qword [r9 + 8]
movsxd rax, r8d
imul rdx, rax, 0x38
add rcx, rdx
je 0x14002aa59
movabs rax, 0x4924924924924925
imul rdx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
jmp 0x14002aa5e