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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x1d8]
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x1e4]
mov dword [rsp + 0x38], eax
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x88]
movzx eax, word [rcx + rax]
mov word [rsp + 0x20], ax
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax]
inc eax
mov dword [rsp + 0x24], eax
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
movzx ecx, word [rcx + 0x84]
cmp eax, ecx
jae 0x1801a2ef4
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x224]
inc eax
cmp dword [rsp + 0x24], eax
jae 0x1801a2ef4
mov rax, qword [rsp + 0x80]
movzx eax, word [rax + 0x1c0]
mov rcx, qword [rsp + 0x80]
movzx ecx, word [rcx + 0x44]
cmp eax, ecx
jb 0x1801a2f1b
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax + 0x315]
test eax, eax
je 0x1801a2f16
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x18], 0x86
jmp 0x1801a3387
cmp dword [rsp + 0x24], 0
jne 0x1801a2f2c
mov dword [rsp + 0x28], 0
jmp 0x1801a2f4e
mov eax, dword [rsp + 0x24]
dec eax
mov edx, eax
mov rcx, qword [rsp + 0x80]
mov rax, qword [rsp + 0x80]
call qword [rax + 0x358]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x1ec]
mov ecx, dword [rsp + 0x28]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x1801a2f79
xor eax, eax
sub eax, dword [rsp + 0x40]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x1e8]
cmp dword [rsp + 0x40], eax
jge 0x1801a2fbc
cmp dword [rsp + 0x28], 0
jl 0x1801a2fa8
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x1ec]
mov dword [rsp + 0x28], eax
jmp 0x1801a2fbc
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x1ec]
neg eax
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x80]
movzx eax, word [rax + 0x1fe]
test eax, eax
jne 0x1801a30c7
mov rax, qword [rsp + 0x80]
movzx eax, word [rax + 0x1c0]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x48]
mov qword [rsp + 0x50], rcx
mov rdx, qword [rsp + 0x80]
movsx edx, word [rdx + 0x1ce]
mov ecx, dword [rsp + 0x28]
call fcn.18019c0f0
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
add eax, dword [rdx + rcx*8]
movzx ecx, word [rsp + 0x20]
mov rdx, qword [rsp + 0x80]
mov rdx, qword [rdx + 0x88]
mov dword [rdx + rcx*8], eax
mov rax, qword [rsp + 0x80]
movzx eax, word [rax + 0x1c0]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x48]
mov qword [rsp + 0x60], rcx
mov rdx, qword [rsp + 0x80]
movsx edx, word [rdx + 0x1d0]
mov ecx, dword [rsp + 0x28]
call fcn.18019c0f0
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
add eax, dword [rdx + rcx*8 + 4]
movzx ecx, word [rsp + 0x20]
mov rdx, qword [rsp + 0x80]
mov rdx, qword [rdx + 0x88]
mov dword [rdx + rcx*8 + 4], eax
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x88]
mov rax, qword [rcx + rax*8]
movzx ecx, word [rsp + 0x20]
mov rdx, qword [rsp + 0x80]
mov rdx, qword [rdx + 0x90]
mov qword [rdx + rcx*8], rax
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x88]
mov rdx, qword [rsp + 0x80]
movzx edx, word [rdx + 0x1c0]
mov r8, qword [rsp + 0x80]
mov r8, qword [r8 + 0x48]
mov edx, dword [r8 + rdx*8 + 4]
mov eax, dword [rcx + rax*8 + 4]
sub eax, edx
movzx ecx, word [rsp + 0x20]
mov rdx, qword [rsp + 0x80]
mov rdx, qword [rdx + 0x88]
mov r8, qword [rsp + 0x80]
movzx r8d, word [r8 + 0x1c0]
mov r9, qword [rsp + 0x80]
mov r9, qword [r9 + 0x48]
mov r8d, dword [r9 + r8*8]
mov ecx, dword [rdx + rcx*8]
sub ecx, r8d
mov r8d, eax
mov edx, ecx
mov rcx, qword [rsp + 0x80]
mov rax, qword [rsp + 0x80]
call qword [rax + 0x330]
mov dword [rsp + 0x34], eax
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x90]
mov rdx, qword [rsp + 0x80]
movzx edx, word [rdx + 0x1c0]
mov r8, qword [rsp + 0x80]
mov r8, qword [r8 + 0x50]
mov edx, dword [r8 + rdx*8 + 4]
mov eax, dword [rcx + rax*8 + 4]
sub eax, edx
movzx ecx, word [rsp + 0x20]
mov rdx, qword [rsp + 0x80]
mov rdx, qword [rdx + 0x90]
mov r8, qword [rsp + 0x80]
movzx r8d, word [r8 + 0x1c0]
mov r9, qword [rsp + 0x80]
mov r9, qword [r9 + 0x50]
mov r8d, dword [r9 + r8*8]
mov ecx, dword [rdx + rcx*8]
sub ecx, r8d
mov r8d, eax
mov edx, ecx
mov rcx, qword [rsp + 0x80]
mov rax, qword [rsp + 0x80]
call qword [rax + 0x328]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax + 0x1e0]
test eax, eax
je 0x1801a321a
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x34]
xor ecx, eax
mov eax, ecx
test eax, eax
jge 0x1801a321a
xor eax, eax
sub eax, dword [rsp + 0x28]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax + 0x218]
and eax, 4
test eax, eax
je 0x1801a32cd
mov rax, qword [rsp + 0x80]
movzx eax, word [rax + 0x1fc]
mov rcx, qword [rsp + 0x80]
movzx ecx, word [rcx + 0x1fe]
cmp eax, ecx
jne 0x1801a3289
mov eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x28]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x1801a3277
xor eax, eax
sub eax, dword [rsp + 0x40]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x40], eax
jle 0x1801a3289
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax + 0x218]
and eax, 3
cdqe
mov rcx, qword [rsp + 0x80]
mov r8d, dword [rcx + rax*4 + 0x1ac]
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
mov rax, qword [rsp + 0x80]
call qword [rax + 0x320]
mov dword [rsp + 0x2c], eax
jmp 0x1801a3306
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax + 0x218]
and eax, 3
cdqe
mov rcx, qword [rsp + 0x80]
mov r8d, dword [rcx + rax*4 + 0x1ac]
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
call fcn.18019cda0
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax + 0x218]
and eax, 8
test eax, eax
je 0x1801a334d
cmp dword [rsp + 0x34], 0
jl 0x1801a3337
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x2c], eax
jge 0x1801a3335
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x2c], eax
jmp 0x1801a334d
xor eax, eax
sub eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x2c], eax
jle 0x1801a334d
xor eax, eax
sub eax, dword [rsp + 0x3c]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x2c]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x80]
add rcx, 0x78
mov r9d, eax
movzx r8d, word [rsp + 0x20]
mov rdx, rcx
mov rcx, qword [rsp + 0x80]
mov rax, qword [rsp + 0x80]
call qword [rax + 0x340]
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
movzx ecx, word [rcx + 0x1c0]
mov word [rax + 0x1c2], cx
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax + 0x218]
and eax, 0x10
test eax, eax
je 0x1801a33cf
mov rax, qword [rsp + 0x80]
movzx ecx, word [rsp + 0x20]
mov word [rax + 0x1c0], cx
mov rax, qword [rsp + 0x80]
movzx ecx, word [rsp + 0x20]
mov word [rax + 0x1c4], cx
add rsp, 0x70
pop rdi
ret