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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
lea rcx, [0x1805d6f31]
call fcn.18025a230
mov rax, qword [rsp + 0x70]
cmp dword [rax + 0x4824], 0x10
jge 0x1801fac1d
mov rcx, qword [rsp + 0x70]
call fcn.1801fa580
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x70]
call fcn.1801fa6a0
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0
jl 0x1801fac41
cmp dword [rsp + 0x2c], 0xf
jle 0x1801fac52
lea rcx, [0x1804809f0]
call fcn.1801f8b70
jmp 0x1801faf6e
mov r8d, 0x80
xor edx, edx
mov rcx, qword [rsp + 0x78]
call fcn.1803cd290
cmp dword [rsp + 0x2c], 0
je 0x1801fac7f
mov edx, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x70]
call fcn.1801fa970
mov dword [rsp + 0x44], eax
jmp 0x1801fac87
mov dword [rsp + 0x44], 0
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x98]
imul rax, rax, 0x60
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x70]
mov ecx, dword [rcx + rax + 0x46b8]
call fcn.1801f8fc0
test eax, eax
jne 0x1801facc5
lea rcx, [0x180480a08]
call fcn.1801f8b70
jmp 0x1801faf6e
movsxd rax, dword [rsp + 0x98]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax + 0x46b8]
add eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
movsxd rax, dword [rsp + 0x98]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x70]
mov edx, dword [rsp + 0x24]
mov dword [rcx + rax + 0x46b8], edx
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0xa0]
movzx edx, word [rcx + rax]
movzx ecx, word [rsp + 0x24]
call fcn.1801f9090
test eax, eax
jne 0x1801fad35
lea rcx, [0x180480a18]
call fcn.1801f8b70
jmp 0x1801faf6e
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0xa0]
movzx eax, word [rcx + rax]
mov ecx, dword [rsp + 0x24]
imul ecx, eax
mov eax, ecx
mov ecx, 2
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x78]
mov word [rdx + rcx], ax
mov dword [rsp + 0x28], 1
mov rax, qword [rsp + 0x70]
cmp dword [rax + 0x4824], 0x10
jge 0x1801fad85
mov rcx, qword [rsp + 0x70]
call fcn.1801fa580
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x4820]
shr eax, 0x17
and eax, 0x1ff
mov dword [rsp + 0x34], eax
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x90]
movsx eax, word [rcx + rax*2]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x1801fae96
mov eax, dword [rsp + 0x38]
sar eax, 4
and eax, 0xf
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x38]
and eax, 0xf
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x4824]
cmp dword [rsp + 0x3c], eax
jle 0x1801fadff
lea rcx, [0x180480a30]
call fcn.1801f8b70
jmp 0x1801faf6e
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x48], rcx
movzx ecx, al
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x4820]
shl eax, cl
mov rcx, qword [rsp + 0x70]
mov dword [rcx + 0x4820], eax
mov rax, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x3c]
mov eax, dword [rax + 0x4824]
sub eax, ecx
mov rcx, qword [rsp + 0x70]
mov dword [rcx + 0x4824], eax
movsxd rax, dword [rsp + 0x28]
lea rcx, [0x1804809a0]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x38]
sar eax, 8
mov ecx, dword [rsp + 0x30]
mov rdx, qword [rsp + 0xa0]
movzx ecx, word [rdx + rcx*2]
imul eax, ecx
mov ecx, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x78]
mov word [rdx + rcx*2], ax
jmp 0x1801faf5e
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x70]
call fcn.1801fa6a0
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x1801faec4
lea rcx, [0x180480a48]
call fcn.1801f8b70
jmp 0x1801faf6e
mov eax, dword [rsp + 0x40]
and eax, 0xf
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x40]
sar eax, 4
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x3c], 0
jne 0x1801faefa
cmp dword [rsp + 0x40], 0xf0
je 0x1801faeed
jmp 0x1801faf69
mov eax, dword [rsp + 0x28]
add eax, 0x10
mov dword [rsp + 0x28], eax
jmp 0x1801faf5e
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
movsxd rax, dword [rsp + 0x28]
lea rcx, [0x1804809a0]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x30], eax
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x70]
call fcn.1801fa970
mov ecx, dword [rsp + 0x30]
mov rdx, qword [rsp + 0xa0]
movzx ecx, word [rdx + rcx*2]
imul eax, ecx
mov ecx, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x78]
mov word [rdx + rcx*2], ax
cmp dword [rsp + 0x28], 0x40
jl 0x1801fad6d
mov eax, 1
add rsp, 0x60
pop rdi
ret