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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
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 0x1800979b0
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x22c]
inc eax
cmp dword [rsp + 0x24], eax
jae 0x1800979b0
mov rax, qword [rsp + 0x80]
movzx eax, word [rax + 0x1c0]
mov rcx, qword [rsp + 0x80]
movzx ecx, word [rcx + 0x44]
cmp eax, ecx
jb 0x1800979ee
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax + 0x33d]
test eax, eax
je 0x1800979e9
lea r8, [0x180197940]
mov edx, 0x1881
mov ecx, 0x86
call fcn.18012c620
or eax, 0x86
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x18], eax
jmp 0x180097e60
cmp dword [rsp + 0x24], 0
jne 0x1800979ff
mov dword [rsp + 0x28], 0
jmp 0x180097a21
mov eax, dword [rsp + 0x24]
dec eax
mov edx, eax
mov rcx, qword [rsp + 0x80]
mov rax, qword [rsp + 0x80]
call qword [rax + 0x380]
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 + 0x38], eax
cmp dword [rsp + 0x38], 0
jge 0x180097a4c
xor eax, eax
sub eax, dword [rsp + 0x38]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x1e8]
cmp dword [rsp + 0x38], eax
jge 0x180097a8f
cmp dword [rsp + 0x28], 0
jl 0x180097a7b
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x1ec]
mov dword [rsp + 0x28], eax
jmp 0x180097a8f
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 0x180097b9a
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.180090210
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.180090210
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 + 0x358]
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 + 0x350]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax + 0x1e0]
test eax, eax
je 0x180097ced
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x34]
xor ecx, eax
mov eax, ecx
test eax, eax
jge 0x180097ced
xor eax, eax
sub eax, dword [rsp + 0x28]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax + 0x220]
and eax, 4
test eax, eax
je 0x180097da3
mov rax, qword [rsp + 0x80]
movzx eax, word [rax + 0x1fc]
mov rcx, qword [rsp + 0x80]
movzx ecx, word [rcx + 0x1fe]
cmp eax, ecx
jne 0x180097d6e
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x1e4]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x28]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jge 0x180097d5c
xor eax, eax
sub eax, dword [rsp + 0x38]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x38], eax
jle 0x180097d6e
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax + 0x220]
and eax, 3
mov r8d, eax
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
mov rax, qword [rsp + 0x80]
call qword [rax + 0x348]
mov dword [rsp + 0x2c], eax
jmp 0x180097dcd
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax + 0x220]
and eax, 3
mov r8d, eax
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
call fcn.180091060
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax + 0x220]
and eax, 8
test eax, eax
je 0x180097e26
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x1d8]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x34], 0
jl 0x180097e10
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x2c], eax
jge 0x180097e0e
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x2c], eax
jmp 0x180097e26
xor eax, eax
sub eax, dword [rsp + 0x40]
cmp dword [rsp + 0x2c], eax
jle 0x180097e26
xor eax, eax
sub eax, dword [rsp + 0x40]
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 + 0x368]
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 + 0x220]
and eax, 0x10
test eax, eax
je 0x180097ea8
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