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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x10]
mov qword [rsp], rax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 4]
mov dword [rsp + 8], eax
jmp 0x1801e793e
mov eax, dword [rsp + 0x90]
dec eax
mov dword [rsp + 0x90], eax
mov rax, qword [rsp + 0x88]
add rax, 0x40
mov qword [rsp + 0x88], rax
cmp dword [rsp + 0x90], 0
jbe 0x1801e7de5
mov dword [rsp + 0xc], 0
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x30]
mov dword [rsp + 0x10], eax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x1c]
and eax, 0x10
test eax, eax
je 0x1801e7977
jmp 0x1801e791a
mov rax, qword [rsp + 0x88]
movsx eax, byte [rax + 0x20]
cmp eax, dword [rsp + 0xa0]
je 0x1801e79a5
mov rax, qword [rsp + 0x88]
movsx eax, byte [rax + 0x20]
mov ecx, dword [rsp + 0xa0]
neg ecx
cmp eax, ecx
jne 0x1801e79b7
mov rax, qword [rsp + 0x88]
movsx eax, byte [rax + 0x20]
mov dword [rsp + 0xc], eax
jmp 0x1801e79f5
mov rax, qword [rsp + 0x88]
movsx eax, byte [rax + 0x21]
cmp eax, dword [rsp + 0xa0]
je 0x1801e79e5
mov rax, qword [rsp + 0x88]
movsx eax, byte [rax + 0x21]
mov ecx, dword [rsp + 0xa0]
neg ecx
cmp eax, ecx
jne 0x1801e79f5
mov rax, qword [rsp + 0x88]
movsx eax, byte [rax + 0x21]
mov dword [rsp + 0xc], eax
cmp dword [rsp + 0xc], 0
je 0x1801e7b90
mov eax, dword [rsp + 0xa0]
cmp dword [rsp + 0xc], eax
jne 0x1801e7ac3
mov dword [rsp + 0x14], 0
jmp 0x1801e7a25
mov eax, dword [rsp + 0x14]
inc eax
mov dword [rsp + 0x14], eax
mov eax, dword [rsp + 8]
cmp dword [rsp + 0x14], eax
jae 0x1801e7abe
mov eax, dword [rsp + 0x14]
mov rcx, qword [rsp]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x18]
mov eax, dword [rax]
mov ecx, dword [rsp + 0x10]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x98]
cmp dword [rsp + 0x20], eax
jge 0x1801e7ab9
mov eax, dword [rsp + 0x20]
neg eax
cmp eax, dword [rsp + 0x98]
jge 0x1801e7ab9
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x1c]
or eax, 0x10
mov rcx, qword [rsp + 0x88]
mov dword [rcx + 0x1c], eax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x1c]
bts eax, 9
mov rcx, qword [rsp + 0x88]
mov dword [rcx + 0x1c], eax
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x18]
mov qword [rax + 0x28], rcx
jmp 0x1801e7abe
jmp 0x1801e7a1b
jmp 0x1801e7b8b
mov eax, dword [rsp + 0xa0]
neg eax
cmp dword [rsp + 0xc], eax
jne 0x1801e7b8b
mov dword [rsp + 0x24], 0
jmp 0x1801e7aea
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 8]
cmp dword [rsp + 0x24], eax
jae 0x1801e7b8b
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax]
mov ecx, dword [rsp + 0x10]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x28]
sub eax, dword [rcx + 4]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x98]
cmp dword [rsp + 0x30], eax
jge 0x1801e7b86
mov eax, dword [rsp + 0x30]
neg eax
cmp eax, dword [rsp + 0x98]
jge 0x1801e7b86
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x1c]
or eax, 0x10
mov rcx, qword [rsp + 0x88]
mov dword [rcx + 0x1c], eax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x1c]
bts eax, 0xa
mov rcx, qword [rsp + 0x88]
mov dword [rcx + 0x1c], eax
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x28]
mov qword [rax + 0x28], rcx
jmp 0x1801e7b8b
jmp 0x1801e7ae0
jmp 0x1801e7de0
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x1c]
and eax, 0x40
test eax, eax
je 0x1801e7de0
cmp dword [rsp + 0xa0], 2
jne 0x1801e7bc2
mov dword [rsp + 0x38], 0x80
mov dword [rsp + 0x3c], 0x100
jmp 0x1801e7bd2
mov dword [rsp + 0x38], 0x100
mov dword [rsp + 0x3c], 0x80
mov rax, qword [rsp + 0x88]
mov ecx, dword [rsp + 0x38]
mov eax, dword [rax + 0x1c]
and eax, ecx
test eax, eax
je 0x1801e7c9d
mov dword [rsp + 0x34], 0
jmp 0x1801e7bff
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 8]
cmp dword [rsp + 0x34], eax
jae 0x1801e7c98
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
mov ecx, dword [rsp + 0x10]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x98]
cmp dword [rsp + 0x48], eax
jge 0x1801e7c93
mov eax, dword [rsp + 0x48]
neg eax
cmp eax, dword [rsp + 0x98]
jge 0x1801e7c93
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x1c]
bts eax, 9
mov rcx, qword [rsp + 0x88]
mov dword [rcx + 0x1c], eax
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x28], rcx
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x1c]
or eax, 0x10
mov rcx, qword [rsp + 0x88]
mov dword [rcx + 0x1c], eax
jmp 0x1801e7c98
jmp 0x1801e7bf5
jmp 0x1801e7d6b
mov rax, qword [rsp + 0x88]
mov ecx, dword [rsp + 0x3c]
mov eax, dword [rax + 0x1c]
and eax, ecx
test eax, eax
je 0x1801e7d6b
mov dword [rsp + 0x34], 0
jmp 0x1801e7cca
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 8]
cmp dword [rsp + 0x34], eax
jae 0x1801e7d6b
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax]
mov ecx, dword [rsp + 0x10]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x50]
sub eax, dword [rcx + 4]
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x98]
cmp dword [rsp + 0x58], eax
jge 0x1801e7d66
mov eax, dword [rsp + 0x58]
neg eax
cmp eax, dword [rsp + 0x98]
jge 0x1801e7d66
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x1c]
bts eax, 0xa
mov rcx, qword [rsp + 0x88]
mov dword [rcx + 0x1c], eax
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 0x28], rcx
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x1c]
or eax, 0x10
mov rcx, qword [rsp + 0x88]
mov dword [rcx + 0x1c], eax
jmp 0x1801e7d6b
jmp 0x1801e7cc0
mov rax, qword [rsp + 0x88]
cmp qword [rax + 0x28], 0
jne 0x1801e7de0
mov dword [rsp + 0x34], 0
jmp 0x1801e7d8e
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 8]
cmp dword [rsp + 0x34], eax
jae 0x1801e7de0
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov eax, dword [rax]
cmp dword [rsp + 0x10], eax
jl 0x1801e7dde
mov rax, qword [rsp + 0x60]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x60]
add eax, dword [rcx + 4]
cmp dword [rsp + 0x10], eax
jg 0x1801e7dde
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x60]
mov qword [rax + 0x28], rcx
jmp 0x1801e7de0
jmp 0x1801e7d84
jmp 0x1801e791a
add rsp, 0x70
pop rdi
ret