Function at 0x1801ed950
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 0x1801ed9ae
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 0x1801ede55
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 0x1801ed9e7
jmp 0x1801ed98a
mov rax, qword [rsp + 0x88]
movsx eax, byte [rax + 0x20]
cmp eax, dword [rsp + 0xa0]
je 0x1801eda15
mov rax, qword [rsp + 0x88]
movsx eax, byte [rax + 0x20]
mov ecx, dword [rsp + 0xa0]
neg ecx
cmp eax, ecx
jne 0x1801eda27
mov rax, qword [rsp + 0x88]
movsx eax, byte [rax + 0x20]
mov dword [rsp + 0xc], eax
jmp 0x1801eda65
mov rax, qword [rsp + 0x88]
movsx eax, byte [rax + 0x21]
cmp eax, dword [rsp + 0xa0]
je 0x1801eda55
mov rax, qword [rsp + 0x88]
movsx eax, byte [rax + 0x21]
mov ecx, dword [rsp + 0xa0]
neg ecx
cmp eax, ecx
jne 0x1801eda65
mov rax, qword [rsp + 0x88]
movsx eax, byte [rax + 0x21]
mov dword [rsp + 0xc], eax
cmp dword [rsp + 0xc], 0
je 0x1801edc00
mov eax, dword [rsp + 0xa0]
cmp dword [rsp + 0xc], eax
jne 0x1801edb33
mov dword [rsp + 0x14], 0
jmp 0x1801eda95
mov eax, dword [rsp + 0x14]
inc eax
mov dword [rsp + 0x14], eax
mov eax, dword [rsp + 8]
cmp dword [rsp + 0x14], eax
jae 0x1801edb2e
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 0x1801edb29
mov eax, dword [rsp + 0x20]
neg eax
cmp eax, dword [rsp + 0x98]
jge 0x1801edb29
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 0x1801edb2e
jmp 0x1801eda8b
jmp 0x1801edbfb
mov eax, dword [rsp + 0xa0]
neg eax
cmp dword [rsp + 0xc], eax
jne 0x1801edbfb
mov dword [rsp + 0x24], 0
jmp 0x1801edb5a
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 8]
cmp dword [rsp + 0x24], eax
jae 0x1801edbfb
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 0x1801edbf6
mov eax, dword [rsp + 0x30]
neg eax
cmp eax, dword [rsp + 0x98]
jge 0x1801edbf6
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 0x1801edbfb
jmp 0x1801edb50
jmp 0x1801ede50
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x1c]
and eax, 0x40
test eax, eax
je 0x1801ede50
cmp dword [rsp + 0xa0], 2
jne 0x1801edc32
mov dword [rsp + 0x38], 0x80
mov dword [rsp + 0x3c], 0x100
jmp 0x1801edc42
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 0x1801edd0d
mov dword [rsp + 0x34], 0
jmp 0x1801edc6f
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 8]
cmp dword [rsp + 0x34], eax
jae 0x1801edd08
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 0x1801edd03
mov eax, dword [rsp + 0x48]
neg eax
cmp eax, dword [rsp + 0x98]
jge 0x1801edd03
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 0x1801edd08
jmp 0x1801edc65
jmp 0x1801edddb
mov rax, qword [rsp + 0x88]
mov ecx, dword [rsp + 0x3c]
mov eax, dword [rax + 0x1c]
and eax, ecx
test eax, eax
je 0x1801edddb
mov dword [rsp + 0x34], 0
jmp 0x1801edd3a
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 8]
cmp dword [rsp + 0x34], eax
jae 0x1801edddb
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 0x1801eddd6
mov eax, dword [rsp + 0x58]
neg eax
cmp eax, dword [rsp + 0x98]
jge 0x1801eddd6
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 0x1801edddb
jmp 0x1801edd30
mov rax, qword [rsp + 0x88]
cmp qword [rax + 0x28], 0
jne 0x1801ede50
mov dword [rsp + 0x34], 0
jmp 0x1801eddfe
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 8]
cmp dword [rsp + 0x34], eax
jae 0x1801ede50
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 0x1801ede4e
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 0x1801ede4e
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x60]
mov qword [rax + 0x28], rcx
jmp 0x1801ede50
jmp 0x1801eddf4
jmp 0x1801ed98a
add rsp, 0x70
pop rdi
ret