Function at 0x14024bc40
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 0x14024bc6b
mov eax, 0xfffffffd
jmp 0x14024bff2
cmp dword [rsp + 0x88], 1
je 0x14024bc82
mov rax, qword [rsp + 0x80]
cmp dword [rax], 0
jne 0x14024bcc7
cmp qword [rsp + 0x98], 0
je 0x14024bc9b
mov rax, qword [rsp + 0x98]
mov dword [rax], 0
cmp qword [rsp + 0x90], 0
je 0x14024bcc0
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x80]
call fcn.140248da0
jmp 0x14024bff2
xor eax, eax
jmp 0x14024bff2
xor eax, eax
cmp eax, 1
je 0x14024bd6e
cmp dword [rsp + 0x88], 2
jne 0x14024bd6e
cmp qword [rsp + 0x98], 0
je 0x14024bd37
mov rax, qword [rsp + 0x80]
cmp dword [rax], 0
je 0x14024bd21
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 0x14024bd21
mov dword [rsp + 0x30], 1
jmp 0x14024bd29
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 0x14024bd4c
mov dword [rsp + 0x34], 0
jmp 0x14024bd65
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x80]
call fcn.140249980
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
jmp 0x14024bff2
xor eax, eax
cmp eax, 1
je 0x14024be6a
cmp dword [rsp + 0x88], 0
je 0x14024be6a
mov eax, dword [rsp + 0x88]
dec eax
mov ecx, dword [rsp + 0x88]
and ecx, eax
mov eax, ecx
test eax, eax
jne 0x14024be6a
mov dword [rsp + 0x20], 1
cmp dword [rsp + 0x20], 0x1c
jge 0x14024bddd
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 0x14024bddd
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
jmp 0x14024bdab
cmp qword [rsp + 0x98], 0
je 0x14024be2c
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 0x14024be41
mov dword [rsp + 0x38], 0
jmp 0x14024be61
xor r9d, r9d
mov r8, qword [rsp + 0x90]
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
call fcn.1402497f0
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
jmp 0x14024bff2
xor eax, eax
cmp eax, 1
je 0x14024be9d
cmp dword [rsp + 0x88], 3
jne 0x14024be9d
mov r8, qword [rsp + 0x98]
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x80]
call fcn.14024e3d0
jmp 0x14024bff2
mov rax, qword [rsp + 0x80]
mov edx, dword [rax]
lea rcx, [rsp + 0x48]
call fcn.140248210
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
je 0x14024bec5
mov eax, dword [rsp + 0x3c]
jmp 0x14024bff2
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 0x14024bfa5
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 0x14024bf8f
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 0x14024bef9
cmp qword [rsp + 0x98], 0
je 0x14024bfbe
mov rax, qword [rsp + 0x98]
mov ecx, dword [rsp + 0x28]
mov dword [rax], ecx
cmp qword [rsp + 0x90], 0
je 0x14024bfe6
lea rcx, [rsp + 0x48]
call fcn.140248ed0
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x48]
call fcn.140248030
nop
lea rcx, [rsp + 0x48]
call fcn.140247d80
xor eax, eax
add rsp, 0x78
ret