Function at 0x180023190
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
sub rsp, 0x148
mov qword [rsp + 0x98], 0xfffffffffffffffe
mov rax, qword [0x1800891a0]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov dword [rsp + 0x20], 0
cmp dword [rsp + 0x160], 0
jl 0x180023205
movsxd rax, dword [rsp + 0x160]
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x150]
call fcn.180011c00
mov rcx, qword [rsp + 0x90]
cmp rcx, rax
jb 0x180023264
mov r8, 0xffffffffffffffff
xor edx, edx
mov rcx, qword [rsp + 0x158]
call fcn.18001c170
nop
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x158]
jmp 0x18002383c
mov edx, 1
lea rcx, [rsp + 0x100]
call fcn.18003cfc0
movsxd rax, dword [rsp + 0x160]
mov rcx, qword [rsp + 0x150]
add rcx, 0x30
mov rdx, rax
call fcn.18001c9f0
mov rdx, rax
lea rcx, [rsp + 0x100]
call fcn.18001c0a0
nop
mov edx, 1
lea rcx, [rsp + 0x118]
call fcn.18003cfc0
movsxd rax, dword [rsp + 0x160]
mov rcx, qword [rsp + 0x150]
mov rdx, rax
call fcn.18001c9f0
mov rdx, rax
lea rcx, [rsp + 0x118]
call fcn.18001c0a0
nop
mov eax, dword [rsp + 0x168]
and eax, 2
test eax, eax
je 0x180023546
mov dword [rsp + 0x38], 1
mov eax, dword [rsp + 0x38]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x18002331f
xor r9d, r9d
lea r8, [0x18006fca8]
lea rdx, [0x18006fcb0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 1
mov word [rsp + 0x28], ax
movsx rax, word [rsp + 0x28]
lea rcx, [0x180088980]
cmp dword [rcx + rax*4], 1
jne 0x18002335e
movsx rax, word [rsp + 0x28]
lea rcx, [0x180088980]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x28]
lea rdx, [0x180088980]
mov dword [rdx + rcx*4], eax
mov rcx, qword [rsp + 0x150]
call fcn.18001de20
mov r8, rax
mov rax, qword [rsp + 0x150]
mov edx, dword [rax + 0x60]
lea rcx, [rsp + 0x118]
call fcn.180021ba0
mov eax, dword [rsp + 0x168]
and eax, 0x10
test eax, eax
je 0x18002351e
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x50], rax
mov r8, 0xffffffffffffffff
lea rdx, str.__n_r_t
mov rcx, qword [rsp + 0x50]
call fcn.18001c170
mov qword [rsp + 0x80], rax
mov r9, qword [rsp + 0x80]
mov r8b, 1
mov dl, 1
lea rcx, [rsp + 0x100]
call fcn.180025800
lea rcx, [rsp + 0x100]
call fcn.180011c00
mov ecx, 2
imul rcx, rcx, 0
movzx eax, word [rax + rcx]
cmp eax, 0x22
jne 0x18002351e
xor r8d, r8d
lea rdx, [0x1800735c8]
lea rcx, [rsp + 0x100]
call fcn.1800223e0
movzx eax, al
test eax, eax
je 0x18002351e
lea rcx, [rsp + 0x100]
call fcn.1800079e0
cmp rax, 1
jbe 0x18002351e
lea rcx, [rsp + 0x100]
call fcn.1800079e0
sub rax, 2
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x100]
call fcn.180011c00
add rax, 2
mov rcx, qword [rsp + 0x60]
mov r8, rcx
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.18001c170
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0x100]
call fcn.18001c7f0
nop
lea rcx, [rsp + 0xa0]
call fcn.1800119b0
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180088980]
mov eax, dword [rcx + rax]
xor edx, edx
mov ecx, SafeArrayGetElement
div rcx
mov rax, rdx
mov dword [rsp + 0x30], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180088980]
movsxd rdx, dword [rsp + 0x30]
lea r8, [0x180088980]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx*4], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180088980]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0
lea rdx, [0x180088980]
mov dword [rdx + rcx], eax
mov rcx, qword [rsp + 0x150]
call fcn.18001de20
mov r8, rax
mov rax, qword [rsp + 0x150]
mov edx, dword [rax + 0x60]
lea rcx, [rsp + 0x100]
call fcn.180021ba0
lea rcx, [rsp + 0x100]
call fcn.180023a50
movzx eax, al
test eax, eax
je 0x180023616
mov r8, 0xffffffffffffffff
xor edx, edx
mov rcx, qword [rsp + 0x158]
call fcn.18001c170
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x118]
call fcn.1800119b0
nop
lea rcx, [rsp + 0x100]
call fcn.1800119b0
mov rax, qword [rsp + 0x158]
jmp 0x18002383c
mov eax, dword [rsp + 0x168]
and eax, 0x10
test eax, eax
je 0x180023767
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x78], rax
mov r8, 0xffffffffffffffff
lea rdx, str.__n_r_t
mov rcx, qword [rsp + 0x78]
call fcn.18001c170
mov qword [rsp + 0x68], rax
mov r9, qword [rsp + 0x68]
mov r8b, 1
mov dl, 1
lea rcx, [rsp + 0x100]
call fcn.180025800
mov dword [rsp + 0x3c], 1
mov eax, dword [rsp + 0x3c]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x180023698
xor r9d, r9d
lea r8, [0x18006fca8]
lea rdx, [0x18006fcb0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
lea rcx, [rsp + 0x100]
call fcn.180011c00
mov ecx, 2
imul rcx, rcx, 0
movzx eax, word [rax + rcx]
cmp eax, 0x22
jne 0x180023762
xor r8d, r8d
lea rdx, [0x1800735c8]
lea rcx, [rsp + 0x100]
call fcn.1800223e0
movzx eax, al
test eax, eax
je 0x180023762
lea rcx, [rsp + 0x100]
call fcn.1800079e0
cmp rax, 1
jbe 0x180023762
lea rcx, [rsp + 0x100]
call fcn.1800079e0
sub rax, 2
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x100]
call fcn.180011c00
add rax, 2
mov rcx, qword [rsp + 0x70]
mov r8, rcx
mov rdx, rax
mov rcx, qword [rsp + 0x158]
call fcn.18001c170
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x118]
call fcn.1800119b0
nop
lea rcx, [rsp + 0x100]
call fcn.1800119b0
mov rax, qword [rsp + 0x158]
jmp 0x18002383c
jmp 0x1800237f9
mov eax, dword [rsp + 0x168]
and eax, 0x20
test eax, eax
je 0x1800237f9
mov eax, 0xa
mov word [rsp + 0x24], ax
movsx rax, word [rsp + 0x24]
lea rcx, [0x180088980]
cmp dword [rcx + rax*4], 1
jne 0x1800237b8
movsx rax, word [rsp + 0x24]
lea rcx, [0x180088980]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x24]
lea rdx, [0x180088980]
mov dword [rdx + rcx*4], eax
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x48], rax
mov r8, 0xffffffffffffffff
lea rdx, str.__n_r_t
mov rcx, qword [rsp + 0x48]
call fcn.18001c170
mov qword [rsp + 0x58], rax
mov r9, qword [rsp + 0x58]
mov r8b, 1
mov dl, 1
lea rcx, [rsp + 0x100]
call fcn.180025800
lea rdx, [rsp + 0x100]
mov rcx, qword [rsp + 0x158]
call fcn.18001c0a0
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x118]
call fcn.1800119b0
nop
lea rcx, [rsp + 0x100]
call fcn.1800119b0
mov rax, qword [rsp + 0x158]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.18004e350
add rsp, 0x148
ret