Function at 0x18002a070
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 [0x180119de0]
mov r15, rdx
and byte [rcx + 0x445], 0xf8
mov rdi, rcx
mov rbp, r14
cmp byte [r14 + 0x5a], 0
jne 0x18002a0ac
cmp byte [rcx + 0x3c], 0
je 0x18002a0fd
test dword [rcx + 0x14], 0x1080001
jne 0x18002a0fd
cmp byte [rcx + 0x108], 0
jne 0x18002a0fd
cmp dword [rcx + 0x478], 0
jne 0x18002a134
mov ebx, 1
lea rcx, [r14 + 0x6180]
mov edx, ebx
call fcn.1800065e0
test rax, rax
je 0x18002a0f5
nop
inc ebx
lea rcx, [r14 + 0x6180]
mov edx, ebx
call fcn.1800065e0
test rax, rax
jne 0x18002a0e0
mov dword [rdi + 0x478], ebx
jmp 0x18002a134
mov ecx, dword [rcx + 0x14]
shr ecx, 0x13
and cl, 1
test byte [r14 + 0x4b90], 1
je 0x18002a12e
movsx eax, byte [rdi + 0x124]
test dword [r14 + 0x4b94], eax
je 0x18002a12e
cmp byte [r14 + 0x4bd0], 0
je 0x18002a12e
mov al, 1
jmp 0x18002a130
xor al, al
or al, cl
jne 0x18002a16f
mov ebx, dword [rdi + 0x478]
mov rsi, qword [rdi + 0x468]
test ebx, ebx
je 0x18002a2af
test rsi, rsi
jne 0x18002a2af
lea rcx, [r14 + 0x6180]
mov edx, ebx
call fcn.1800065e0
mov rsi, rax
test rax, rax
je 0x18002a196
cmp qword [rax + 0x20], 0
je 0x18002a1c6
mov r8b, 1
mov rdx, rdi
mov rcx, rbp
call fcn.180023a30
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.180022b80
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 0x18002a273
mov r10, rsi
mov rax, qword [r10 + 0x18]
test rax, rax
je 0x18002a1eb
test byte [rax + 0xcc], 1
mov r10, rax
je 0x18002a1d6
mov rax, qword [r10 + 0x18]
mov rdx, r10
test rax, rax
je 0x18002a20c
nop word [rax + rax]
mov rdx, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x18002a200
and byte [rdx + 0xcc], 0xdf
mov rcx, qword [rdx + 0x20]
test rcx, rcx
je 0x18002a221
call fcn.180024a50
mov rcx, qword [rdx + 0x28]
test rcx, rcx
je 0x18002a22f
call fcn.180024a50
cmp qword [rdx + 0x18], 0
jne 0x18002a260
mov rax, qword [rdx + 0x98]
test rax, rax
je 0x18002a260
nop dword [rax]
nop word [rax + rax]
or byte [rax + 0xcc], 0x20
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x18002a250
mov r8, qword [r10 + 0x50]
mov r9, rsi
mov rdx, qword [r10 + 0x48]
mov rcx, r10
call fcn.180028d70
movzx ebx, byte [rsi + 0xcc]
mov r8b, 1
mov rdx, rdi
mov rcx, rsi
call fcn.180024050
movzx eax, byte [rsi + 0xcc]
movzx ecx, al
xor cl, bl
and cl, 1
xor cl, al
mov byte [rsi + 0xcc], cl
test rsi, rsi
je 0x18002a17d
mov r14, qword [0x180119de0]
mov eax, dword [rbp + 0x40c8]
cmp dword [rsi + 0xac], eax
jge 0x18002a2fa
mov rax, qword [rsi + 0x18]
test rax, rax
je 0x18002a2dc
nop word [rax + rax]
mov rsi, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x18002a2d0
mov eax, dword [rbp + 0x40c8]
cmp dword [rsi + 0xac], eax
jl 0x18002a16f
or byte [rdi + 0x445], 1
jmp 0x18002a17d
mov rcx, rdi
call fcn.180029fc0
mov rax, qword [rsi + 0x88]
test rax, rax
jne 0x18002a350
cmp dword [rsi + 0x14], 2
jne 0x18002a31b
or byte [rdi + 0x445], 1
cmp dword [rsi + 0x30], 1
jle 0x18002a17d
cmp byte [rdi + 0x106], 0
je 0x18002a17d
cmp byte [rdi + 0xff], 0
mov byte [rdi + 0x107], 1
sete al
inc al
mov byte [rdi + 0x120], al
jmp 0x18002a17d
test byte [rsi + 0x10], 1
mov dword [rsi + 0x14], 3
jne 0x18002a371
movzx eax, word [rax + 0x114]
cmp word [rdi + 0x114], ax
jl 0x18002a16f
mov eax, dword [r14 + 0x4b90]
xor edx, edx
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], rdx
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], dl
movzx eax, byte [rdi + 0x445]
or al, 3
and al, 0xfb
mov byte [rdi + 0x445], al
test byte [rsi + 0x10], 1
jne 0x18002a17d
cmp qword [rsi + 0x90], rdi
jne 0x18002a401
or al, 4
mov byte [rdi + 0x445], al
mov ecx, dword [rdi + 0x14]
or dword [rdi + 0x1c], 2
or ecx, 0x1000002
mov dword [rdi + 0x14], ecx
mov r9d, dword [rsi + 0x10]
mov eax, r9d
shr eax, 0xd
test al, 1
jne 0x18002a42e
shr r9d, 0xc
test r9b, 1
jne 0x18002a42e
and ecx, 0xfffffffe
jmp 0x18002a431
or ecx, 1
mov dword [rdi + 0x14], ecx
cmp qword [rsi + 0x40], rdx
je 0x18002a493
cmp byte [rdi + 0x100], dl
je 0x18002a493
mov rax, qword [rdi + 0x468]
mov r9, qword [rax + 0x40]
test r9, r9
je 0x18002a487
mov r8d, dword [rdi + 0xc0]
test r8d, r8d
je 0x18002a487
movsxd rax, dword [r9]
test eax, eax
jle 0x18002a487
mov r10, rax
mov rcx, rdx
mov rax, qword [r9 + 8]
nop
cmp dword [rax], r8d
je 0x18002a509
inc edx
inc rcx
add rax, 0x38
cmp rcx, r10
jl 0x18002a470
mov edx, 0xffffffff
mov word [rdi + 0x446], dx
test byte [rsi + 0xcc], 0x40
jne 0x18002a4aa
mov eax, dword [rdi + 0xc0]
cmp dword [rsi + 0xc0], eax
jne 0x18002a4b3
test r15, r15
je 0x18002a4b3
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.180005bd0
mov rcx, qword [rbx]
mov esi, eax
cmp dword [rcx + 0x41d4], eax
jne 0x18002a4fe
mov r8, rbp
mov edx, 0xb
mov ecx, eax
call fcn.18002bea0
mov dword [rdi + 0xc4], esi
jmp 0x18002a17d
movsxd rax, edx
imul rcx, rax, 0x38
add rcx, qword [r9 + 8]
je 0x18002a487
sub rcx, qword [r9 + 8]
movabs rax, 0x4924924924924925
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
jmp 0x18002a48c