Function at 0x1801ec9c0
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 0x1801eca1e
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 0x1801ecec5
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 0x1801eca57
jmp 0x1801ec9fa
mov rax, qword [rsp + 0x88]
movsx eax, byte [rax + 0x20]
cmp eax, dword [rsp + 0xa0]
je 0x1801eca85
mov rax, qword [rsp + 0x88]
movsx eax, byte [rax + 0x20]
mov ecx, dword [rsp + 0xa0]
neg ecx
cmp eax, ecx
jne 0x1801eca97
mov rax, qword [rsp + 0x88]
movsx eax, byte [rax + 0x20]
mov dword [rsp + 0xc], eax
jmp 0x1801ecad5
mov rax, qword [rsp + 0x88]
movsx eax, byte [rax + 0x21]
cmp eax, dword [rsp + 0xa0]
je 0x1801ecac5
mov rax, qword [rsp + 0x88]
movsx eax, byte [rax + 0x21]
mov ecx, dword [rsp + 0xa0]
neg ecx
cmp eax, ecx
jne 0x1801ecad5
mov rax, qword [rsp + 0x88]
movsx eax, byte [rax + 0x21]
mov dword [rsp + 0xc], eax
cmp dword [rsp + 0xc], 0
je 0x1801ecc70
mov eax, dword [rsp + 0xa0]
cmp dword [rsp + 0xc], eax
jne 0x1801ecba3
mov dword [rsp + 0x14], 0
jmp 0x1801ecb05
mov eax, dword [rsp + 0x14]
inc eax
mov dword [rsp + 0x14], eax
mov eax, dword [rsp + 8]
cmp dword [rsp + 0x14], eax
jae 0x1801ecb9e
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 0x1801ecb99
mov eax, dword [rsp + 0x20]
neg eax
cmp eax, dword [rsp + 0x98]
jge 0x1801ecb99
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 0x1801ecb9e
jmp 0x1801ecafb
jmp 0x1801ecc6b
mov eax, dword [rsp + 0xa0]
neg eax
cmp dword [rsp + 0xc], eax
jne 0x1801ecc6b
mov dword [rsp + 0x24], 0
jmp 0x1801ecbca
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 8]
cmp dword [rsp + 0x24], eax
jae 0x1801ecc6b
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 0x1801ecc66
mov eax, dword [rsp + 0x30]
neg eax
cmp eax, dword [rsp + 0x98]
jge 0x1801ecc66
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 0x1801ecc6b
jmp 0x1801ecbc0
jmp 0x1801ecec0
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x1c]
and eax, 0x40
test eax, eax
je 0x1801ecec0
cmp dword [rsp + 0xa0], 2
jne 0x1801ecca2
mov dword [rsp + 0x38], 0x80
mov dword [rsp + 0x3c], 0x100
jmp 0x1801eccb2
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 0x1801ecd7d
mov dword [rsp + 0x34], 0
jmp 0x1801eccdf
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 8]
cmp dword [rsp + 0x34], eax
jae 0x1801ecd78
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 0x1801ecd73
mov eax, dword [rsp + 0x48]
neg eax
cmp eax, dword [rsp + 0x98]
jge 0x1801ecd73
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 0x1801ecd78
jmp 0x1801eccd5
jmp 0x1801ece4b
mov rax, qword [rsp + 0x88]
mov ecx, dword [rsp + 0x3c]
mov eax, dword [rax + 0x1c]
and eax, ecx
test eax, eax
je 0x1801ece4b
mov dword [rsp + 0x34], 0
jmp 0x1801ecdaa
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 8]
cmp dword [rsp + 0x34], eax
jae 0x1801ece4b
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 0x1801ece46
mov eax, dword [rsp + 0x58]
neg eax
cmp eax, dword [rsp + 0x98]
jge 0x1801ece46
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 0x1801ece4b
jmp 0x1801ecda0
mov rax, qword [rsp + 0x88]
cmp qword [rax + 0x28], 0
jne 0x1801ecec0
mov dword [rsp + 0x34], 0
jmp 0x1801ece6e
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 8]
cmp dword [rsp + 0x34], eax
jae 0x1801ecec0
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 0x1801ecebe
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 0x1801ecebe
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x60]
mov qword [rax + 0x28], rcx
jmp 0x1801ecec0
jmp 0x1801ece64
jmp 0x1801ec9fa
add rsp, 0x70
pop rdi
ret