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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov eax, 8
imul rax, rax, 5
mov rcx, qword [rsp + 0x78]
lea rax, [rcx + rax + 0x88]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
cmp dword [rax], 0
jne 0x14008917d
jmp 0x140089395
mov rax, qword [rsp + 0x50]
mov r8d, dword [rax]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.1400897d0
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x1400891a6
jmp 0x140089395
mov dword [rsp + 0x3c], 0
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 4]
cmp dword [rsp + 0x3c], eax
jae 0x140089395
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 4]
sub rax, 8
xor edx, edx
mov ecx, 2
div rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x40]
add rax, 8
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x40]
mov r8d, dword [rax]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.1400897d0
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], 0
jmp 0x140089227
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x48]
add rax, 2
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x38]
cmp rax, qword [rsp + 0x58]
jae 0x140089372
mov rax, qword [rsp + 0x48]
movzx eax, word [rax]
mov word [rsp + 0x24], ax
movzx eax, word [rsp + 0x24]
sar eax, 0xc
mov dword [rsp + 0x28], eax
movzx eax, word [rsp + 0x24]
and eax, 0xfff
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x28], 0xa
jne 0x14008929c
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x30]
mov rcx, qword [rsp + 0x80]
sub rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x30]
add rax, qword [rdx + rcx]
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x30]
mov qword [rdx + rcx], rax
jmp 0x14008936d
cmp dword [rsp + 0x28], 3
jne 0x1400892d9
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x30]
mov rcx, qword [rsp + 0x80]
sub rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x30]
add eax, dword [rdx + rcx]
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x30]
mov dword [rdx + rcx], eax
jmp 0x14008936d
cmp dword [rsp + 0x28], 1
jne 0x140089326
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x30]
mov rcx, qword [rsp + 0x80]
sub rcx, rax
mov rax, rcx
shr rax, 0x10
and rax, 0xffff
movzx eax, ax
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x30]
movzx ecx, word [rdx + rcx]
add ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x30]
mov word [rdx + rcx], ax
jmp 0x14008936d
cmp dword [rsp + 0x28], 2
jne 0x14008936d
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x30]
mov rcx, qword [rsp + 0x80]
sub rcx, rax
mov rax, rcx
and rax, 0xffff
movzx eax, ax
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x30]
movzx ecx, word [rdx + rcx]
add ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x30]
mov word [rdx + rcx], ax
jmp 0x14008920f
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 4]
mov ecx, dword [rsp + 0x3c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x40], rax
jmp 0x1400891ae
add rsp, 0x68
ret