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

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov dword [rsp + 0x3c], 0
mov eax, 4
mov eax, eax
mov ecx, dword [0x14033cf38]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x140332968], eax
jle 0x1400a9b62
lea rcx, [0x140332968]
call fcn.1402612d8
cmp dword [0x140332968], 0xffffffff
jne 0x1400a9b62
lea rdx, [0x1402b9b90]
lea rcx, [0x140332948]
call fcn.1400140c0
lea rcx, [0x1402ad090]
call fcn.140261218
nop
lea rcx, [0x140332968]
call fcn.14026126c
nop
lea rcx, [rsp + 0x48]
call fcn.140014770
nop
mov eax, dword [rsp + 0x90]
add eax, 2
xor edx, edx
mov ecx, 3
div ecx
shl eax, 2
mov eax, eax
mov edx, eax
lea rcx, [rsp + 0x48]
call fcn.140084e00
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x24], 0
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x90]
dec eax
mov dword [rsp + 0x90], eax
cmp dword [rsp + 0x40], 0
je 0x1400a9d16
mov rax, qword [rsp + 0x88]
movzx eax, word [rax]
mov word [rsp + 0x38], ax
mov rax, qword [rsp + 0x88]
add rax, 2
mov qword [rsp + 0x88], rax
movsxd rax, dword [rsp + 0x20]
movzx ecx, word [rsp + 0x38]
mov word [rsp + rax*2 + 0x28], cx
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 3
jne 0x1400a9d11
mov eax, 2
imul rax, rax, 0
movzx eax, word [rsp + rax + 0x28]
and eax, 0xfc
sar eax, 2
mov ecx, 2
imul rcx, rcx, 0
mov word [rsp + rcx + 0x30], ax
mov eax, 2
imul rax, rax, 0
movzx eax, word [rsp + rax + 0x28]
and eax, 3
shl eax, 4
mov ecx, 2
imul rcx, rcx, 1
movzx ecx, word [rsp + rcx + 0x28]
and ecx, 0xf0
sar ecx, 4
add eax, ecx
mov ecx, 2
imul rcx, rcx, 1
mov word [rsp + rcx + 0x30], ax
mov eax, 2
imul rax, rax, 1
movzx eax, word [rsp + rax + 0x28]
and eax, 0xf
mov ecx, 2
imul rcx, rcx, 2
movzx ecx, word [rsp + rcx + 0x28]
and ecx, 0xc0
sar ecx, 6
lea eax, [rcx + rax*4]
mov ecx, 2
imul rcx, rcx, 2
mov word [rsp + rcx + 0x30], ax
mov eax, 2
imul rax, rax, 2
movzx eax, word [rsp + rax + 0x28]
and eax, 0x3f
mov ecx, 2
imul rcx, rcx, 3
mov word [rsp + rcx + 0x30], ax
mov dword [rsp + 0x20], 0
jmp 0x1400a9cda
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 4
jge 0x1400a9d09
movsxd rax, dword [rsp + 0x20]
movzx eax, word [rsp + rax*2 + 0x30]
mov edx, eax
lea rcx, [0x140332948]
call fcn.140018070
movzx edx, byte [rax]
lea rcx, [rsp + 0x48]
call fcn.1400768a0
nop
jmp 0x1400a9cd0
mov dword [rsp + 0x20], 0
jmp 0x1400a9ba1
cmp dword [rsp + 0x20], 0
je 0x1400a9e71
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
jmp 0x1400a9d35
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 3
jge 0x1400a9d4a
movsxd rax, dword [rsp + 0x24]
xor ecx, ecx
mov word [rsp + rax*2 + 0x28], cx
jmp 0x1400a9d2b
mov eax, 2
imul rax, rax, 0
movzx eax, word [rsp + rax + 0x28]
and eax, 0xfc
sar eax, 2
mov ecx, 2
imul rcx, rcx, 0
mov word [rsp + rcx + 0x30], ax
mov eax, 2
imul rax, rax, 0
movzx eax, word [rsp + rax + 0x28]
and eax, 3
shl eax, 4
mov ecx, 2
imul rcx, rcx, 1
movzx ecx, word [rsp + rcx + 0x28]
and ecx, 0xf0
sar ecx, 4
add eax, ecx
mov ecx, 2
imul rcx, rcx, 1
mov word [rsp + rcx + 0x30], ax
mov eax, 2
imul rax, rax, 1
movzx eax, word [rsp + rax + 0x28]
and eax, 0xf
mov ecx, 2
imul rcx, rcx, 2
movzx ecx, word [rsp + rcx + 0x28]
and ecx, 0xc0
sar ecx, 6
lea eax, [rcx + rax*4]
mov ecx, 2
imul rcx, rcx, 2
mov word [rsp + rcx + 0x30], ax
mov eax, 2
imul rax, rax, 2
movzx eax, word [rsp + rax + 0x28]
and eax, 0x3f
mov ecx, 2
imul rcx, rcx, 3
mov word [rsp + rcx + 0x30], ax
mov dword [rsp + 0x24], 0
jmp 0x1400a9e15
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
inc eax
cmp dword [rsp + 0x24], eax
jge 0x1400a9e49
movsxd rax, dword [rsp + 0x24]
movzx eax, word [rsp + rax*2 + 0x30]
mov edx, eax
lea rcx, [0x140332948]
call fcn.140018070
movzx edx, byte [rax]
lea rcx, [rsp + 0x48]
call fcn.1400768a0
nop
jmp 0x1400a9e0b
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x44], 3
jge 0x1400a9e71
mov dl, 0x3d
lea rcx, [rsp + 0x48]
call fcn.1400768a0
nop
jmp 0x1400a9e49
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x80]
call fcn.140013f90
mov eax, dword [rsp + 0x3c]
or eax, 1
mov dword [rsp + 0x3c], eax
lea rcx, [rsp + 0x48]
call fcn.140016cb0
mov rax, qword [rsp + 0x80]
add rsp, 0x78
ret