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

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov rax, qword [rsp + 0x50]
mov qword [rax + 0x78], 0
mov rax, qword [rsp + 0x50]
mov byte [rax + 0x6b], 0
mov rax, qword [rsp + 0x50]
mov byte [rax + 0x6a], 0
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x20]
sub rax, 0x34
mov rcx, qword [rsp + 0x50]
mov qword [rcx + 0x28], rax
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x3c], 0
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x30]
mov qword [rax + 0x70], rcx
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x70]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x30]
mov qword [rax + 0x10], rcx
xor eax, eax
mov rcx, qword [rsp + 0x50]
mov word [rcx + 0x68], ax
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x20], 0
jmp 0x1801f4eae
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x50]
movsx eax, word [rax + 0xb8]
cmp dword [rsp + 0x20], eax
jge 0x1801f50c7
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x88], 0
mov rax, qword [rsp + 0x50]
mov qword [rax + 0x80], 0
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0xd0]
mov r9d, dword [rsp + 0x58]
movzx r8d, word [rcx + rax*2]
movzx edx, word [rsp + 0x24]
mov rcx, qword [rsp + 0x50]
call fcn.1801f43d0
movsx eax, al
test eax, eax
je 0x1801f4f1b
mov al, 1
jmp 0x1801f5107
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0xd0]
movzx eax, word [rcx + rax*2]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 4]
dec eax
mov rcx, qword [rsp + 0x50]
mov ecx, dword [rcx + 0x5c]
and ecx, eax
mov eax, ecx
test eax, eax
jne 0x1801f4fc0
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x50]
mov ecx, dword [rcx + 0x60]
cmp dword [rax + 0x5c], ecx
jl 0x1801f4fc0
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x50]
mov ecx, dword [rcx + 0x64]
cmp dword [rax + 0x5c], ecx
jg 0x1801f4fc0
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x80], 0
je 0x1801f4fc0
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x80]
movzx eax, word [rax + 0x18]
and eax, 8
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x70]
movzx ecx, word [rcx + 0x18]
and ecx, 8
cmp eax, ecx
jne 0x1801f4fc0
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x30]
sub rax, 4
mov rcx, qword [rsp + 0x50]
mov qword [rcx + 0x30], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x70]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x70]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rax + 0x10]
cmp qword [rcx + 0x30], rax
je 0x1801f503d
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x70]
movzx eax, word [rax + 0x18]
and eax, 8
test eax, eax
je 0x1801f503d
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 4]
neg eax
mov rcx, qword [rsp + 0x50]
mov ecx, dword [rcx + 0x5c]
and ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x50]
mov ecx, dword [rcx + 0x5c]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x50]
cmp eax, dword [rcx + 8]
jl 0x1801f502d
mov byte [rsp + 0x31], 1
jmp 0x1801f5032
mov byte [rsp + 0x31], 0
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x30], al
jmp 0x1801f5084
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x5c]
mov rcx, qword [rsp + 0x50]
mov ecx, dword [rcx + 4]
lea eax, [rax + rcx - 1]
mov rcx, qword [rsp + 0x50]
mov ecx, dword [rcx + 4]
neg ecx
and eax, ecx
mov rcx, qword [rsp + 0x50]
sub eax, dword [rcx + 0x5c]
mov rcx, qword [rsp + 0x50]
cmp eax, dword [rcx + 8]
jl 0x1801f5076
mov byte [rsp + 0x32], 1
jmp 0x1801f507b
mov byte [rsp + 0x32], 0
movzx eax, byte [rsp + 0x32]
mov byte [rsp + 0x30], al
movzx edx, byte [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
call fcn.1801f25f0
movsx eax, al
test eax, eax
je 0x1801f509e
mov al, 1
jmp 0x1801f5107
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x80], 0
je 0x1801f50c2
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x80]
mov qword [rax + 0x28], rcx
jmp 0x1801f4ea4
mov rcx, qword [rsp + 0x50]
call fcn.1801f28b0
movsx eax, al
test eax, eax
je 0x1801f50dc
mov al, 1
jmp 0x1801f5107
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x28]
cmp qword [rax + 0x30], rcx
jae 0x1801f50fa
mov dword [rsp + 0x34], 0
jmp 0x1801f5102
mov dword [rsp + 0x34], 1
movzx eax, byte [rsp + 0x34]
add rsp, 0x40
pop rdi
ret