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

Disassembly:
mov byte [rsp + 0x20], r9b
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
cmp qword [rsp + 0x70], 0
jne 0x14008c38c
mov r8d, 0x1040
lea rdx, [0x14014de00]
lea rcx, [0x14014de68]
call fcn.1400391d1
xor eax, eax
cmp qword [rsp + 0x78], 0
jne 0x14008c3af
mov r8d, 0x1041
lea rdx, [0x14014de80]
lea rcx, [0x14014dee8]
call fcn.1400391d1
xor eax, eax
mov rax, qword [rsp + 0x78]
cmp dword [rax], 0
jne 0x14008c3c3
mov dword [rsp + 0x30], 1
jmp 0x14008c3cb
mov dword [rsp + 0x30], 0
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x20], al
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x14]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
test eax, eax
jne 0x14008c405
mov rax, qword [rsp + 0x78]
movzx eax, byte [rax + 0x101]
cmp eax, 4
jne 0x14008c405
mov dword [rsp + 0x34], 1
jmp 0x14008c40d
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x22], al
movzx eax, byte [rsp + 0x22]
test eax, eax
je 0x14008c436
movzx eax, byte [rsp + 0x88]
cmp eax, 4
jne 0x14008c436
mov dword [rsp + 0x38], 1
jmp 0x14008c43e
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x23], al
mov rax, qword [rsp + 0x78]
movzx eax, byte [rax + 0x100]
mov byte [rsp + 0x24], al
mov rax, qword [rsp + 0x78]
movzx eax, byte [rax + 0x101]
mov byte [rsp + 0x25], al
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x14008c47f
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x12]
mov dword [rsp + 0x3c], eax
jmp 0x14008c48f
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x12]
and eax, 7
mov dword [rsp + 0x3c], eax
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x26], al
movzx eax, byte [rsp + 0x22]
test eax, eax
je 0x14008c4b3
mov rax, qword [rsp + 0x78]
movzx eax, byte [rax + 0x105]
mov dword [rsp + 0x40], eax
jmp 0x14008c4c3
mov rax, qword [rsp + 0x78]
movzx eax, byte [rax + 0x101]
mov dword [rsp + 0x40], eax
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x27], al
mov rax, qword [rsp + 0x78]
movzx eax, byte [rax + 0x104]
mov byte [rsp + 0x28], al
mov rax, qword [rsp + 0x78]
cmp dword [rax], 0
jne 0x14008c663
mov rax, qword [rsp + 0x78]
cmp dword [rax + 0xc], 4
je 0x14008c50a
mov rax, qword [rsp + 0x78]
cmp dword [rax + 0xc], 5
je 0x14008c50a
mov dword [rsp + 0x44], 0
jmp 0x14008c512
mov dword [rsp + 0x44], 1
movzx eax, byte [rsp + 0x44]
mov byte [rsp + 0x29], al
movzx eax, byte [rsp + 0x23]
test eax, eax
je 0x14008c533
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x11]
mov dword [rsp + 0x48], eax
jmp 0x14008c53b
mov dword [rsp + 0x48], 0
movzx eax, byte [rsp + 0x48]
mov byte [rsp + 0x2a], al
movzx eax, byte [rsp + 0x29]
test eax, eax
je 0x14008c55c
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0xc]
mov dword [rsp + 0x4c], eax
jmp 0x14008c564
mov dword [rsp + 0x4c], 0
movzx eax, byte [rsp + 0x4c]
mov byte [rsp + 0x2b], al
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x10]
shl eax, 4
mov rcx, qword [rsp + 0x70]
movzx ecx, byte [rcx + 0xb]
shl ecx, 3
or eax, ecx
movzx ecx, byte [rsp + 0x24]
or ecx, eax
mov eax, ecx
mov byte [rsp + 0x24], al
movzx eax, byte [rsp + 0x2b]
shl eax, 4
mov rcx, qword [rsp + 0x70]
movzx ecx, byte [rcx + 0xd]
shl ecx, 3
or eax, ecx
movzx ecx, byte [rsp + 0x25]
or ecx, eax
mov eax, ecx
mov byte [rsp + 0x25], al
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x11]
shl eax, 4
movzx ecx, byte [rsp + 0x26]
or ecx, eax
mov eax, ecx
mov byte [rsp + 0x26], al
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0xd]
shl eax, 3
movzx ecx, byte [rsp + 0x27]
or ecx, eax
mov eax, ecx
mov byte [rsp + 0x27], al
movzx eax, byte [rsp + 0x2a]
shl eax, 4
mov rcx, qword [rsp + 0x70]
movzx ecx, byte [rcx + 0xc]
shl ecx, 3
or eax, ecx
movzx ecx, byte [rsp + 0x28]
or ecx, eax
mov eax, ecx
mov byte [rsp + 0x28], al
movzx eax, byte [rsp + 0x80]
lea rcx, [0x1400c47b0]
movzx eax, byte [rcx + rax]
movzx ecx, byte [rsp + 0x24]
and ecx, eax
mov eax, ecx
mov byte [rsp + 0x24], al
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x14008c64e
movzx eax, byte [rsp + 0x88]
lea rcx, [0x1400c47c0]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x50], eax
jmp 0x14008c656
mov dword [rsp + 0x50], 0xff
movzx eax, byte [rsp + 0x25]
and eax, dword [rsp + 0x50]
mov byte [rsp + 0x25], al
movzx eax, byte [rsp + 0x90]
test eax, eax
jne 0x14008c686
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x12]
test eax, eax
je 0x14008c686
mov eax, 0x80200003
jmp 0x14008c87b
movzx eax, byte [rsp + 0x90]
test eax, eax
jne 0x14008c6b2
movzx eax, byte [rsp + 0x23]
test eax, eax
jne 0x14008c6b2
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x11]
test eax, eax
je 0x14008c6b2
mov eax, 0x80200003
jmp 0x14008c87b
movzx eax, byte [rsp + 0x24]
movzx ecx, byte [rsp + 0x20]
imul rcx, rcx, 0xc
lea rdx, [0x1400c47d0]
add rdx, rcx
mov rcx, rdx
movzx edx, byte [rsp + 0x80]
movzx ecx, byte [rcx + rdx]
cmp eax, ecx
jge 0x14008c73c
movzx eax, byte [rsp + 0x26]
movzx ecx, byte [rsp + 0x20]
imul rcx, rcx, 0xc
lea rdx, [0x1400c47d0]
add rdx, rcx
mov rcx, rdx
movzx edx, byte [rsp + 0x90]
movzx ecx, byte [rcx + rdx]
cmp eax, ecx
jge 0x14008c73c
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x14008c746
movzx eax, byte [rsp + 0x25]
movzx ecx, byte [rsp + 0x20]
imul rcx, rcx, 0xc
lea rdx, [0x1400c47d0]
add rdx, rcx
mov rcx, rdx
movzx edx, byte [rsp + 0x88]
movzx ecx, byte [rcx + rdx]
cmp eax, ecx
jl 0x14008c746
mov eax, 0x80200003
jmp 0x14008c87b
mov byte [rsp + 0x2c], 0xff
movzx eax, byte [rsp + 0x80]
cmp eax, 8
jne 0x14008c761
movzx eax, byte [rsp + 0x24]
mov byte [rsp + 0x2c], al
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x14008c780
movzx eax, byte [rsp + 0x88]
cmp eax, 8
jne 0x14008c780
movzx eax, byte [rsp + 0x25]
mov byte [rsp + 0x2c], al
movsx eax, byte [rsp + 0x2c]
test eax, eax
jl 0x14008c7cf
movsx rax, byte [rsp + 0x2c]
cmp rax, 0x10
jb 0x14008c7b0
mov r8d, 0x10e1
lea rdx, [0x14014df00]
lea rcx, str._ZyanUSize_id_cr____sizeof_lookup____sizeof__lookup__0___
call fcn.1400391d1
xor eax, eax
movsx rax, byte [rsp + 0x2c]
lea rcx, [0x1400c47f0]
movzx eax, byte [rcx + rax]
test eax, eax
jne 0x14008c7cf
mov eax, 0x80200003
jmp 0x14008c87b
movzx eax, byte [rsp + 0x80]
test eax, eax
je 0x14008c7e6
movzx eax, byte [rsp + 0x24]
mov dword [rsp + 0x54], eax
jmp 0x14008c7ee
mov dword [rsp + 0x54], 0xffffffff
mov rax, qword [rsp + 0x70]
movzx ecx, byte [rsp + 0x54]
mov byte [rax + 0x15], cl
movzx eax, byte [rsp + 0x88]
test eax, eax
je 0x14008c81b
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x14008c81b
movzx eax, byte [rsp + 0x25]
mov dword [rsp + 0x58], eax
jmp 0x14008c823
mov dword [rsp + 0x58], 0xffffffff
mov rax, qword [rsp + 0x70]
movzx ecx, byte [rsp + 0x58]
mov byte [rax + 0x16], cl
movzx eax, byte [rsp + 0x90]
test eax, eax
je 0x14008c847
movzx eax, byte [rsp + 0x26]
mov dword [rsp + 0x5c], eax
jmp 0x14008c84f
mov dword [rsp + 0x5c], 0xffffffff
mov rax, qword [rsp + 0x70]
movzx ecx, byte [rsp + 0x5c]
mov byte [rax + 0x17], cl
mov rax, qword [rsp + 0x70]
movzx ecx, byte [rsp + 0x27]
mov byte [rax + 0x18], cl
mov rax, qword [rsp + 0x70]
movzx ecx, byte [rsp + 0x28]
mov byte [rax + 0x19], cl
mov eax, 0x100000
add rsp, 0x60
pop rdi
ret