Function at 0x18005a1c0
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 [0x1800de510]
mov r15, rdx
and byte [rcx + 0x43d], 0xf8
mov rdi, rcx
mov rsi, r14
mov rbx, 0xffffffffffffffff
cmp byte [r14 + 0x5a], 0
jne 0x18005a207
cmp byte [rcx + 0x3c], 0
je 0x18005a2ac
test dword [rcx + 0x14], 0x1080001
jne 0x18005a2ac
cmp byte [rcx + 0xfb], 0
jne 0x18005a2ac
cmp dword [rcx + 0x468], 0
jne 0x18005a2e5
movsxd r11, dword [r14 + 0x6158]
mov r9d, 1
mov r10, qword [r14 + 0x6160]
mov rbp, r11
shl rbp, 4
add rbp, r10
nop dword [rax]
mov r8, r10
mov rcx, r11
test r11, r11
je 0x18005a28d
nop dword [rax + rax]
mov rdx, rcx
shr rdx, 1
mov rax, rdx
add rax, rax
cmp dword [r8 + rax*8], r9d
jae 0x18005a285
lea r8, [r8 + rax*8]
mov rax, rbx
sub rax, rdx
add r8, 0x10
add rcx, rax
jmp 0x18005a288
mov rcx, rdx
test rcx, rcx
jne 0x18005a260
cmp r8, rbp
je 0x18005a2a3
cmp dword [r8], r9d
jne 0x18005a2a3
cmp qword [r8 + 8], 0
je 0x18005a2a3
inc r9d
jmp 0x18005a250
mov dword [rdi + 0x468], r9d
jmp 0x18005a2e5
mov ecx, dword [rcx + 0x14]
shr ecx, 0x13
and cl, 1
test byte [r14 + 0x4b40], 1
je 0x18005a2dd
movsx eax, byte [rdi + 0x11c]
test dword [r14 + 0x4b44], eax
je 0x18005a2dd
cmp byte [r14 + 0x4b80], 0
jne 0x18005a5be
test cl, cl
jne 0x18005a5be
cmp dword [rdi + 0x468], 0
mov r8, qword [rdi + 0x458]
je 0x18005a318
test r8, r8
jne 0x18005a318
mov rdx, rdi
mov rcx, rsi
call fcn.18005a000
mov r8, rax
test rax, rax
je 0x18005a5cc
mov r14, qword [0x1800de510]
mov edx, dword [rsi + 0x4098]
cmp dword [r8 + 0xac], edx
jge 0x18005a355
mov rax, qword [r8 + 0x18]
test rax, rax
je 0x18005a33c
mov r8, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x18005a330
cmp dword [r8 + 0xac], edx
jl 0x18005a5be
or byte [rdi + 0x43d], 1
jmp 0x18005a5cc
lea r9, [0x1800bebb0]
mov r10, rdi
sub r10, r9
lea r11, [0x1800bebc8]
nop dword [rax]
movsxd rcx, dword [r9]
add rcx, 0x3ae
shl rcx, 4
add rcx, rsi
call fcn.180034fa0
mov dword [r10 + r9 + 0x440], eax
add r9, 4
cmp r9, r11
jl 0x18005a370
mov rax, qword [r8 + 0x88]
test rax, rax
jne 0x18005a3e7
cmp dword [r8 + 0x14], 2
jne 0x18005a3b1
or byte [rdi + 0x43d], 1
cmp dword [r8 + 0x30], 1
jle 0x18005a5cc
cmp byte [rdi + 0xf9], 0
je 0x18005a5cc
cmp byte [rdi + 0xf3], 0
mov byte [rdi + 0xfa], 1
sete al
inc al
mov byte [rdi + 0x118], al
jmp 0x18005a5cc
test byte [r8 + 0x10], 1
mov dword [r8 + 0x14], 3
jne 0x18005a40a
movzx eax, word [rax + 0x106]
cmp word [rdi + 0x106], ax
jl 0x18005a5be
mov eax, dword [r14 + 0x4b40]
xor r9d, r9d
or eax, 1
mov dword [r14 + 0x4b40], eax
or eax, 2
movsd xmm0, qword [r8 + 0x48]
mov dword [r14 + 0x4b40], eax
movsd qword [r14 + 0x4b54], xmm0
mov qword [r14 + 0x4b5c], r9
mov dword [r14 + 0x4b44], 1
mov byte [r14 + 0x4b80], 1
movsd xmm0, qword [r8 + 0x50]
movsd qword [r14 + 0x4b64], xmm0
mov dword [r14 + 0x4b48], 1
mov byte [rsi + 0x4b80], r9b
movzx eax, byte [rdi + 0x43d]
or al, 3
and al, 0xfb
mov byte [rdi + 0x43d], al
test byte [r8 + 0x10], 1
jne 0x18005a5cc
cmp qword [r8 + 0x90], rdi
jne 0x18005a49f
or al, 4
mov byte [rdi + 0x43d], 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 [r8 + 0x10], 0x3000
cmovne edx, eax
mov dword [rdi + 0x14], edx
cmp qword [r8 + 0x40], r9
je 0x18005a549
cmp byte [rdi + 0xf4], r9b
je 0x18005a549
mov rax, qword [rdi + 0x458]
mov rcx, qword [rax + 0x40]
test rcx, rcx
je 0x18005a542
mov edx, dword [rdi + 0xb8]
test edx, edx
je 0x18005a542
movsxd rax, dword [rcx]
test eax, eax
jle 0x18005a542
mov r11, qword [rcx + 8]
mov r10, rax
mov rax, r11
mov rcx, r9
cmp dword [rax], edx
je 0x18005a517
inc r9d
inc rcx
add rax, 0x38
cmp rcx, r10
jl 0x18005a502
jmp 0x18005a542
movsxd rax, r9d
imul rcx, rax, 0x38
lea rax, [rcx + r11]
test rax, rax
je 0x18005a542
movabs rax, 0x4924924924924925
imul rcx
sar rdx, 4
mov rbx, rdx
shr rbx, 0x3f
add rbx, rdx
mov word [rdi + 0x43e], bx
test byte [r8 + 0xcc], 0x40
jne 0x18005a562
mov eax, dword [rdi + 0xb8]
cmp dword [r8 + 0xc0], eax
jne 0x18005a56b
test r15, r15
je 0x18005a56b
mov byte [r15], 0
mov rax, qword [rdi + 0x458]
xor edx, edx
mov rbp, qword [rdi + 8]
mov rbx, qword [rax + 0x88]
movsxd rcx, dword [rbx + 0x130]
mov rax, qword [rbx + 0x138]
mov r8d, dword [rax + rcx*4 - 4]
mov rcx, rbp
call fcn.180034930
mov rcx, qword [rbx]
mov esi, eax
cmp dword [rcx + 0x418c], eax
jne 0x18005a5b6
mov r8, rbp
mov edx, 0xb
mov ecx, eax
call fcn.18005bde0
mov dword [rdi + 0xbc], esi
jmp 0x18005a5cc
mov r8b, 1
mov rdx, rdi
mov rcx, rsi
call fcn.180053d60
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