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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x1800881a0]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x44], 0xffffffff
cmp qword [rsp + 0x88], 0
jne 0x18002558c
mov rcx, qword [rsp + 0x80]
call fcn.18001bf00
nop
mov eax, dword [rsp + 0x28]
or eax, 1
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x80]
jmp 0x180025a50
mov edx, 1
lea rcx, [rsp + 0x50]
call fcn.180019030
lea rcx, [rsp + 0x50]
call fcn.18001bf00
nop
xor eax, eax
cmp eax, 1
je 0x180025a21
cmp qword [rsp + 0x90], 0
je 0x1800255d6
mov rax, qword [rsp + 0x88]
movsx eax, byte [rax]
test eax, eax
jne 0x1800255db
cmp qword [rsp + 0x90], 0xffffffffffffffff
jne 0x1800255db
jmp 0x180025a21
cmp qword [rsp + 0x90], 0xffffffffffffffff
je 0x1800255f9
mov rax, qword [rsp + 0x90]
dec rax
mov qword [rsp + 0x90], rax
mov eax, 2
mov word [rsp + 0x24], ax
movsx rax, word [rsp + 0x24]
lea rcx, [0x180087980]
cmp dword [rcx + rax*4], 1
jne 0x180025638
movsx rax, word [rsp + 0x24]
lea rcx, [0x180087980]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x24]
lea rdx, [0x180087980]
mov dword [rdx + rcx*4], eax
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax]
mov byte [rsp + 0x20], al
mov rax, qword [rsp + 0x88]
inc rax
mov qword [rsp + 0x88], rax
movzx eax, byte [rsp + 0x20]
and eax, 0x80
test eax, eax
je 0x18002599b
mov dword [rsp + 0x38], 1
mov eax, dword [rsp + 0x38]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x18002569b
xor r9d, r9d
lea r8, [0x18006ed18]
lea rdx, [0x18006ed20]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
cmp qword [rsp + 0x90], 2
jb 0x180025790
movzx eax, byte [rsp + 0x20]
and eax, 0xf0
cmp eax, 0xe0
jne 0x180025790
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x88]
movsx eax, byte [rcx + rax]
and eax, 0xc0
cmp eax, 0x80
jne 0x180025790
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x88]
movsx eax, byte [rcx + rax]
and eax, 0xc0
cmp eax, 0x80
jne 0x180025790
movzx eax, byte [rsp + 0x20]
and eax, 0xf
shl eax, 0xc
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x88]
movsx ecx, byte [rdx + rcx]
and ecx, 0x3f
shl ecx, 6
or eax, ecx
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x88]
movsx ecx, byte [rdx + rcx]
and ecx, 0x3f
or eax, ecx
movzx edx, ax
lea rcx, [rsp + 0x50]
call fcn.180023840
cmp qword [rsp + 0x90], 0xffffffffffffffff
je 0x180025777
mov rax, qword [rsp + 0x90]
sub rax, 2
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x88]
add rax, 2
mov qword [rsp + 0x88], rax
jmp 0x1800255a6
cmp qword [rsp + 0x90], 1
jb 0x18002590f
movzx eax, byte [rsp + 0x20]
and eax, 0xe0
cmp eax, 0xc0
jne 0x18002590f
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x88]
movsx eax, byte [rcx + rax]
and eax, 0xc0
cmp eax, 0x80
jne 0x18002590f
movzx eax, byte [rsp + 0x20]
and eax, 0x3f
shl eax, 6
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x88]
movsx ecx, byte [rdx + rcx]
and ecx, 0x3f
or eax, ecx
movzx edx, ax
lea rcx, [rsp + 0x50]
call fcn.180023840
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087980]
mov eax, dword [rcx + rax]
xor edx, edx
mov ecx, SafeArrayGetElement
div rcx
mov rax, rdx
mov dword [rsp + 0x3c], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087980]
movsxd rdx, dword [rsp + 0x3c]
lea r8, [0x180087980]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx*4], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087980]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0
lea rdx, [0x180087980]
mov dword [rdx + rcx], eax
cmp qword [rsp + 0x90], 0xffffffffffffffff
je 0x180025898
mov rax, qword [rsp + 0x90]
dec rax
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x88]
inc rax
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x2c], 1
mov eax, dword [rsp + 0x2c]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x1800258da
xor r9d, r9d
lea r8, [0x18006ed18]
lea rdx, [0x18006ed20]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x1800255a6
cmp qword [rsp + 0x90], 1
jb 0x180025996
mov rax, qword [rsp + 0x88]
movsx eax, byte [rax]
and eax, 0xc0
cmp eax, 0x80
jne 0x180025996
cmp qword [rsp + 0x90], 0xffffffffffffffff
je 0x18002594f
mov rax, qword [rsp + 0x90]
dec rax
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x88]
inc rax
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x30], 1
mov eax, dword [rsp + 0x30]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x180025991
xor r9d, r9d
lea r8, [0x18006ed18]
lea rdx, [0x18006ed20]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x18002590f
jmp 0x180025a1c
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087980]
mov eax, dword [rcx + rax]
xor edx, edx
mov ecx, SafeArrayGetElement
div rcx
mov rax, rdx
mov dword [rsp + 0x34], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087980]
movsxd rdx, dword [rsp + 0x34]
lea r8, [0x180087980]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx*4], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087980]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0
lea rdx, [0x180087980]
mov dword [rdx + rcx], eax
movzx eax, byte [rsp + 0x20]
movzx edx, ax
lea rcx, [rsp + 0x50]
call fcn.180023840
jmp 0x1800255a6
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x80]
call fcn.18001bd80
mov eax, dword [rsp + 0x28]
or eax, 1
mov dword [rsp + 0x28], eax
lea rcx, [rsp + 0x50]
call fcn.180011730
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.18004d370
add rsp, 0x78
ret