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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x78
cmp dword [rsp + 0x88], 0
jne 0x14023f3ab
mov eax, 0xfffffffd
jmp 0x14023f732
cmp dword [rsp + 0x88], 1
je 0x14023f3c2
mov rax, qword [rsp + 0x80]
cmp dword [rax], 0
jne 0x14023f407
cmp qword [rsp + 0x98], 0
je 0x14023f3db
mov rax, qword [rsp + 0x98]
mov dword [rax], 0
cmp qword [rsp + 0x90], 0
je 0x14023f400
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x80]
call fcn.14023c4e0
jmp 0x14023f732
xor eax, eax
jmp 0x14023f732
xor eax, eax
cmp eax, 1
je 0x14023f4ae
cmp dword [rsp + 0x88], 2
jne 0x14023f4ae
cmp qword [rsp + 0x98], 0
je 0x14023f477
mov rax, qword [rsp + 0x80]
cmp dword [rax], 0
je 0x14023f461
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x10]
mov eax, dword [rcx + rax]
and eax, 1
test eax, eax
je 0x14023f461
mov dword [rsp + 0x30], 1
jmp 0x14023f469
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x98]
mov ecx, dword [rsp + 0x30]
mov dword [rax], ecx
cmp qword [rsp + 0x90], 0
jne 0x14023f48c
mov dword [rsp + 0x34], 0
jmp 0x14023f4a5
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x80]
call fcn.14023d0c0
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
jmp 0x14023f732
xor eax, eax
cmp eax, 1
je 0x14023f5aa
cmp dword [rsp + 0x88], 0
je 0x14023f5aa
mov eax, dword [rsp + 0x88]
dec eax
mov ecx, dword [rsp + 0x88]
and ecx, eax
mov eax, ecx
test eax, eax
jne 0x14023f5aa
mov dword [rsp + 0x20], 1
cmp dword [rsp + 0x20], 0x1c
jge 0x14023f51d
mov eax, dword [rsp + 0x20]
mov ecx, 1
mov dword [rsp + 0x40], ecx
movzx ecx, al
mov eax, dword [rsp + 0x40]
shl eax, cl
cmp dword [rsp + 0x88], eax
je 0x14023f51d
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
jmp 0x14023f4eb
cmp qword [rsp + 0x98], 0
je 0x14023f56c
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x10]
mov qword [rsp + 0x60], rcx
mov edx, dword [rsp + 0x20]
mov r8d, 1
movzx ecx, dl
mov edx, r8d
shl edx, cl
mov ecx, edx
dec ecx
mov rdx, qword [rsp + 0x60]
mov eax, dword [rdx + rax]
and eax, ecx
mov rcx, qword [rsp + 0x98]
mov dword [rcx], eax
cmp qword [rsp + 0x90], 0
jne 0x14023f581
mov dword [rsp + 0x38], 0
jmp 0x14023f5a1
xor r9d, r9d
mov r8, qword [rsp + 0x90]
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
call fcn.14023cf30
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
jmp 0x14023f732
xor eax, eax
cmp eax, 1
je 0x14023f5dd
cmp dword [rsp + 0x88], 3
jne 0x14023f5dd
mov r8, qword [rsp + 0x98]
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x80]
call fcn.140241b10
jmp 0x14023f732
mov rax, qword [rsp + 0x80]
mov edx, dword [rax]
lea rcx, [rsp + 0x48]
call fcn.14023b950
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
je 0x14023f605
mov eax, dword [rsp + 0x3c]
jmp 0x14023f732
mov rax, qword [rsp + 0x80]
mov eax, dword [rax]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 8]
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x80]
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x44], 0
jle 0x14023f6e5
mov dword [rsp + 0x24], 0
mov rax, qword [rsp + 0x28]
shl rax, 0x1c
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x80]
mov rdx, qword [rdx + 0x10]
mov ecx, dword [rdx + rcx*4]
or rax, rcx
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x88]
cmp qword [rsp + 0x28], rax
jb 0x14023f6cf
mov eax, dword [rsp + 0x88]
mov qword [rsp + 0x68], rax
xor edx, edx
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x68]
div rcx
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x88]
imul rax, rcx
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x58]
mov edx, dword [rsp + 0x24]
mov dword [rcx + rax*4], edx
jmp 0x14023f639
cmp qword [rsp + 0x98], 0
je 0x14023f6fe
mov rax, qword [rsp + 0x98]
mov ecx, dword [rsp + 0x28]
mov dword [rax], ecx
cmp qword [rsp + 0x90], 0
je 0x14023f726
lea rcx, [rsp + 0x48]
call fcn.14023c610
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x48]
call fcn.14023b770
nop
lea rcx, [rsp + 0x48]
call fcn.14023b4c0
xor eax, eax
add rsp, 0x78
ret