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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x68
mov byte [rsp + 0x24], 1
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
xor eax, eax
test eax, eax
jne 0x1801e7804
mov rcx, qword [rsp + 0x88]
call fcn.1801dfc00
movzx eax, al
test eax, eax
jne 0x1801e7832
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x24], 0
jmp 0x1801e784b
mov rcx, qword [rsp + 0x90]
call fcn.1801dfc00
movzx eax, al
test eax, eax
jne 0x1801e784b
mov byte [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x1801e7871
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x88]
mov ecx, dword [rcx + 0x10]
cmp dword [rax + 0x10], ecx
jge 0x1801e7871
jmp 0x1801e7c21
mov dword [rsp + 0x20], 0
jmp 0x1801e7885
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x20]
cmp dword [rsp + 0x20], eax
jae 0x1801e78b8
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x28]
mov edx, dword [rdx + 0x10]
cmp dword [rcx + rax + 0x38], edx
jl 0x1801e78b6
jmp 0x1801e78b8
jmp 0x1801e787b
xor eax, eax
test eax, eax
jne 0x1801e78b8
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x1801e78cd
xor eax, eax
test eax, eax
jne 0x1801e78c7
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x20]
cmp dword [rsp + 0x20], eax
jae 0x1801e7956
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x28]
mov edx, dword [rdx + 0x10]
cmp dword [rcx + rax + 0x38], edx
jne 0x1801e7901
jmp 0x1801e7c21
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x1801e792d
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x30]
mov edx, dword [rdx + 0x10]
cmp dword [rcx + rax + 0x38], edx
jg 0x1801e792d
jmp 0x1801e7c21
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x80]
lea rax, [rcx + rax + 0x28]
mov rcx, rax
call fcn.1801e6dc0
movzx eax, al
test eax, eax
je 0x1801e7956
jmp 0x1801e7c21
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 8]
call fcn.1801e6e80
movzx eax, al
test eax, eax
je 0x1801e7a38
mov rcx, qword [rsp + 0x28]
call fcn.1801e6e00
movzx eax, al
test eax, eax
jne 0x1801e7a38
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x1801e7a17
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x28]
add eax, dword [rcx + 0x10]
cdq
sub eax, edx
sar eax, 1
mov edx, eax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 8]
call fcn.1801e6ec0
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 0x10]
mov eax, dword [rax + 0x10]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
mov rcx, qword [rsp + 0x80]
mov edx, dword [rcx + 0x1c]
mov ecx, eax
call fcn.180166b60
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x38]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x28]
mov dword [rcx + 0x14], eax
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x38]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x14], eax
jmp 0x1801e7a38
mov rax, qword [rsp + 0x28]
mov edx, dword [rax + 0x10]
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 8]
call fcn.1801e6ec0
mov rcx, qword [rsp + 0x28]
mov dword [rcx + 0x14], eax
cmp dword [rsp + 0x20], 0
jbe 0x1801e7a66
mov eax, dword [rsp + 0x20]
dec eax
mov eax, eax
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x80]
mov eax, dword [rdx + rax + 0x3c]
cmp dword [rcx + 0x14], eax
jge 0x1801e7a66
jmp 0x1801e7c21
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x20]
cmp dword [rsp + 0x20], eax
jae 0x1801e7ac8
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x1801e7aa5
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x80]
mov eax, dword [rdx + rax + 0x3c]
cmp dword [rcx + 0x14], eax
jle 0x1801e7aa3
jmp 0x1801e7c21
jmp 0x1801e7ac8
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x80]
mov eax, dword [rdx + rax + 0x3c]
cmp dword [rcx + 0x14], eax
jle 0x1801e7ac8
jmp 0x1801e7c21
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x20]
dec eax
mov dword [rsp + 0x40], eax
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x1801e7af5
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x20]
inc eax
mov dword [rsp + 0x4c], eax
jmp 0x1801e7b04
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x20]
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x20]
mov eax, dword [rax + 0x20]
sub eax, ecx
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x44], 0xc0
jb 0x1801e7b36
xor eax, eax
test eax, eax
jne 0x1801e7b2b
jmp 0x1801e7c21
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x48]
dec eax
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x50], 0
je 0x1801e7b96
mov eax, dword [rsp + 0x40]
imul rax, rax, 0x20
mov ecx, dword [rsp + 0x44]
imul rcx, rcx, 0x20
mov rdx, qword [rsp + 0x80]
mov r8, qword [rsp + 0x80]
lea rdi, [rdx + rcx + 0x28]
lea rsi, [r8 + rax + 0x28]
mov ecx, 0x20
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x44]
dec eax
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x40]
dec eax
mov dword [rsp + 0x40], eax
jmp 0x1801e7b36
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x80]
lea rdi, [rcx + rax + 0x28]
mov rsi, qword [rsp + 0x28]
mov ecx, 0x20
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x20]
inc eax
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x20], eax
xor eax, eax
test eax, eax
jne 0x1801e7bcf
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x1801e7c21
mov eax, dword [rsp + 0x20]
inc eax
mov eax, eax
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x80]
lea rdi, [rcx + rax + 0x28]
mov rsi, qword [rsp + 0x30]
mov ecx, 0x20
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x20]
inc eax
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x20], eax
xor eax, eax
test eax, eax
jne 0x1801e7c1b
add rsp, 0x68
pop rdi
pop rsi
ret