Function at 0x18002a090
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 [0x180152bd0]
mov r15, rdx
and byte [rcx + 0x445], 0xf8
mov rdi, rcx
mov rbp, r14
cmp byte [r14 + 0x5a], 0
jne 0x18002a0cc
cmp byte [rcx + 0x3c], 0
je 0x18002a11d
test dword [rcx + 0x14], 0x1080001
jne 0x18002a11d
cmp byte [rcx + 0x108], 0
jne 0x18002a11d
cmp dword [rcx + 0x478], 0
jne 0x18002a154
mov ebx, 1
lea rcx, [r14 + 0x6180]
mov edx, ebx
call fcn.180006600
test rax, rax
je 0x18002a115
nop
inc ebx
lea rcx, [r14 + 0x6180]
mov edx, ebx
call fcn.180006600
test rax, rax
jne 0x18002a100
mov dword [rdi + 0x478], ebx
jmp 0x18002a154
mov ecx, dword [rcx + 0x14]
shr ecx, 0x13
and cl, 1
test byte [r14 + 0x4b90], 1
je 0x18002a14e
movsx eax, byte [rdi + 0x124]
test dword [r14 + 0x4b94], eax
je 0x18002a14e
cmp byte [r14 + 0x4bd0], 0
je 0x18002a14e
mov al, 1
jmp 0x18002a150
xor al, al
or al, cl
jne 0x18002a18f
mov ebx, dword [rdi + 0x478]
mov rsi, qword [rdi + 0x468]
test ebx, ebx
je 0x18002a2cf
test rsi, rsi
jne 0x18002a2cf
lea rcx, [r14 + 0x6180]
mov edx, ebx
call fcn.180006600
mov rsi, rax
test rax, rax
je 0x18002a1b6
cmp qword [rax + 0x20], 0
je 0x18002a1e6
mov r8b, 1
mov rdx, rdi
mov rcx, rbp
call fcn.180023a50
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.180022ba0
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 0x18002a293
mov r10, rsi
mov rax, qword [r10 + 0x18]
test rax, rax
je 0x18002a20b
test byte [rax + 0xcc], 1
mov r10, rax
je 0x18002a1f6
mov rax, qword [r10 + 0x18]
mov rdx, r10
test rax, rax
je 0x18002a22c
nop word [rax + rax]
mov rdx, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x18002a220
and byte [rdx + 0xcc], 0xdf
mov rcx, qword [rdx + 0x20]
test rcx, rcx
je 0x18002a241
call fcn.180024a70
mov rcx, qword [rdx + 0x28]
test rcx, rcx
je 0x18002a24f
call fcn.180024a70
cmp qword [rdx + 0x18], 0
jne 0x18002a280
mov rax, qword [rdx + 0x98]
test rax, rax
je 0x18002a280
nop dword [rax]
nop word [rax + rax]
or byte [rax + 0xcc], 0x20
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x18002a270
mov r8, qword [r10 + 0x50]
mov r9, rsi
mov rdx, qword [r10 + 0x48]
mov rcx, r10
call fcn.180028d90
movzx ebx, byte [rsi + 0xcc]
mov r8b, 1
mov rdx, rdi
mov rcx, rsi
call fcn.180024070
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 0x18002a19d
mov r14, qword [0x180152bd0]
mov eax, dword [rbp + 0x40c8]
cmp dword [rsi + 0xac], eax
jge 0x18002a31a
mov rax, qword [rsi + 0x18]
test rax, rax
je 0x18002a2fc
nop word [rax + rax]
mov rsi, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x18002a2f0
mov eax, dword [rbp + 0x40c8]
cmp dword [rsi + 0xac], eax
jl 0x18002a18f
or byte [rdi + 0x445], 1
jmp 0x18002a19d
mov rcx, rdi
call fcn.180029fe0
mov rax, qword [rsi + 0x88]
test rax, rax
jne 0x18002a370
cmp dword [rsi + 0x14], 2
jne 0x18002a33b
or byte [rdi + 0x445], 1
cmp dword [rsi + 0x30], 1
jle 0x18002a19d
cmp byte [rdi + 0x106], 0
je 0x18002a19d
cmp byte [rdi + 0xff], 0
mov byte [rdi + 0x107], 1
sete al
inc al
mov byte [rdi + 0x120], al
jmp 0x18002a19d
test byte [rsi + 0x10], 1
mov dword [rsi + 0x14], 3
jne 0x18002a391
movzx eax, word [rax + 0x114]
cmp word [rdi + 0x114], ax
jl 0x18002a18f
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 0x18002a19d
cmp qword [rsi + 0x90], rdi
jne 0x18002a421
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 0x18002a44e
shr r9d, 0xc
test r9b, 1
jne 0x18002a44e
and ecx, 0xfffffffe
jmp 0x18002a451
or ecx, 1
mov dword [rdi + 0x14], ecx
cmp qword [rsi + 0x40], rdx
je 0x18002a4b3
cmp byte [rdi + 0x100], dl
je 0x18002a4b3
mov rax, qword [rdi + 0x468]
mov r9, qword [rax + 0x40]
test r9, r9
je 0x18002a4a7
mov r8d, dword [rdi + 0xc0]
test r8d, r8d
je 0x18002a4a7
movsxd rax, dword [r9]
test eax, eax
jle 0x18002a4a7
mov r10, rax
mov rcx, rdx
mov rax, qword [r9 + 8]
nop
cmp dword [rax], r8d
je 0x18002a529
inc edx
inc rcx
add rax, 0x38
cmp rcx, r10
jl 0x18002a490
mov edx, 0xffffffff
mov word [rdi + 0x446], dx
test byte [rsi + 0xcc], 0x40
jne 0x18002a4ca
mov eax, dword [rdi + 0xc0]
cmp dword [rsi + 0xc0], eax
jne 0x18002a4d3
test r15, r15
je 0x18002a4d3
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.180005bf0
mov rcx, qword [rbx]
mov esi, eax
cmp dword [rcx + 0x41d4], eax
jne 0x18002a51e
mov r8, rbp
mov edx, 0xb
mov ecx, eax
call fcn.18002bec0
mov dword [rdi + 0xc4], esi
jmp 0x18002a19d
movsxd rax, edx
imul rcx, rax, 0x38
add rcx, qword [r9 + 8]
je 0x18002a4a7
sub rcx, qword [r9 + 8]
movabs rax, 0x4924924924924925
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
jmp 0x18002a4ac