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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x168
mov qword [rsp + 0x110], 0xfffffffffffffffe
mov rax, qword [0x180097030]
xor rax, rsp
mov qword [rsp + 0x158], rax
mov edx, 1
lea rcx, [rsp + 0x138]
call fcn.180033e20
lea rcx, [rsp + 0x138]
call fcn.18002d150
nop
call fcn.180031060
mov qword [rsp + 0xe0], rax
mov dword [rsp + 0x94], 0xa
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [rsp + 0x94]
movsxd rcx, ecx
lea rdx, [0x180096a70]
mov dword [rdx + rcx*4], eax
mov eax, 0x11
mov word [rsp + 0x24], ax
movsx rax, word [rsp + 0x24]
lea rcx, [0x180096a70]
cmp dword [rcx + rax*4], 1
jne 0x18006b8eb
movsx rax, word [rsp + 0x24]
lea rcx, [0x180096a70]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x24]
lea rdx, [0x180096a70]
mov dword [rdx + rcx*4], eax
mov qword [rsp + 0xa8], 0
mov dword [rsp + 0x80], 0
mov eax, dword [rsp + 0x80]
cmp eax, 0xae23259
jne 0x18006b92b
lea r8, [0x18009b1b8]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
mov qword [rsp + 0x118], rax
jmp 0x18006b953
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x180096a70]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x180096a70]
mov dword [rdx + rcx], eax
lea rax, [0x18009a258]
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0x48], 0
mov rax, qword [rsp + 0xc0]
movzx eax, byte [rax]
movsx eax, al
cmp eax, 0x61
jne 0x18006b9c2
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x18006b9c2
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x180096a70]
mov edx, dword [rcx + rax]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 4
imul rcx, rcx, 0xc
lea rdx, [0x180096a70]
mov dword [rdx + rcx], eax
mov byte [rsp + 0x20], 0
mov dword [rsp + 0x40], 0
mov eax, dword [rsp + 0x40]
cmp eax, 0xb237789
jne 0x18006b9f5
lea r8, [0x18009a310]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
mov qword [rsp + 0x128], rax
jmp 0x18006ba1d
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x180096a70]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x180096a70]
mov dword [rdx + rcx], eax
mov rax, qword [rsp + 0x170]
add rax, 0xe8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rsp + 0x170]
movzx eax, byte [rax + 0x110]
mov byte [rsp + 0x21], al
mov rax, qword [rsp + 0x170]
mov byte [rax + 0x110], 1
mov dword [rsp + 0x70], 0xa
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [rsp + 0x70]
movsxd rcx, ecx
lea rdx, [0x180096a70]
mov dword [rdx + rcx*4], eax
mov rax, qword [rsp + 0x170]
add rax, 0xe8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rax, [0x18009a294]
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x58], 0
mov rax, qword [rsp + 0x100]
movzx eax, byte [rax]
movsx eax, al
cmp eax, 0x61
jne 0x18006bafb
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x18006bafb
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x180096a70]
mov edx, dword [rcx + rax]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 4
imul rcx, rcx, 0xc
lea rdx, [0x180096a70]
mov dword [rdx + rcx], eax
movzx eax, byte [rsp + 0x21]
test eax, eax
jne 0x18006bc04
mov dword [rsp + 0x50], SafeArrayGetDim
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [rsp + 0x50]
movsxd rcx, ecx
lea rdx, [0x180096a70]
mov dword [rdx + rcx*4], eax
lea rax, [0x18009a2d4]
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0x68], 0
mov rax, qword [rsp + 0xd0]
movzx eax, byte [rax]
movsx eax, al
cmp eax, 0x61
jne 0x18006bb96
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x18006bb96
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x180096a70]
mov edx, dword [rcx + rax]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 4
imul rcx, rcx, 0xc
lea rdx, [0x180096a70]
mov dword [rdx + rcx], eax
mov dword [rsp + 0x90], 0
mov eax, dword [rsp + 0x90]
cmp eax, 0x262c39a9
jne 0x18006bbca
lea r8, [0x18009a488]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
mov qword [rsp + 0x120], rax
jmp 0x18006bbf2
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x180096a70]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x180096a70]
mov dword [rdx + rcx], eax
lea rcx, [rsp + 0x138]
call fcn.18002dc20
jmp 0x18006c28c
mov rax, qword [rsp + 0x170]
add rax, 0xe8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rsp + 0x170]
mov byte [rax + 0x110], 0
mov rax, qword [rsp + 0x170]
add rax, 0xe8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [rsp + 0x20], 0
mov rax, qword [rsp + 0x170]
add rax, 0x70
mov rcx, rax
call fcn.18001c8a0
test rax, rax
je 0x18006c111
mov rax, qword [rsp + 0x170]
add rax, 0xe8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, 4
imul rax, rax, 3
lea rcx, [0x180096a70]
mov eax, dword [rcx + rax]
add eax, 0x275315a
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x180096a70]
mov dword [rdx + rcx], eax
mov rax, qword [rsp + 0x170]
add rax, 0x70
mov rcx, rax
call fcn.180034020
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x170]
add rax, 0xe8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 4
imul rax, rax, 2
lea rcx, [0x180096a70]
mov eax, dword [rcx + rax]
xor eax, 0xfffff553
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x180096a70]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 1
lea rcx, [0x180096a70]
mov eax, dword [rcx + rax]
xor eax, 0xfffff54b
mov ecx, 4
imul rcx, rcx, 1
lea rdx, [0x180096a70]
mov dword [rdx + rcx], eax
cmp qword [rsp + 0x130], 0
jne 0x18006bdad
jmp 0x18006bc46
mov rax, qword [rsp + 0x130]
add rax, 8
mov rcx, rax
call fcn.180039a50
movzx eax, al
test eax, eax
jne 0x18006bdf9
mov rax, qword [rsp + 0x130]
cmp dword [rax + 0x18], 0
jbe 0x18006bf89
mov rax, qword [rsp + 0x130]
mov rax, qword [rax]
add rax, 0x15f90
cmp qword [rsp + 0xe0], rax
jbe 0x18006bf89
mov eax, 4
imul rax, rax, 1
lea rcx, [0x180096a70]
mov eax, dword [rcx + rax]
xor eax, 0xfffff52a
mov ecx, 4
imul rcx, rcx, 1
lea rdx, [0x180096a70]
mov dword [rdx + rcx], eax
lea r9, [0x18009a3f4]
mov r8d, 0xeb
mov rax, qword [rsp + 0x130]
mov edx, dword [rax + 0x28]
mov rcx, qword [rsp + 0x170]
call fcn.18006f630
mov eax, 4
imul rax, rax, 3
lea rcx, [0x180096a70]
mov eax, dword [rcx + rax]
add eax, 0x75ed0c
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x180096a70]
mov dword [rdx + rcx], eax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0xa0], rax
cmp qword [rsp + 0xa0], 0
je 0x18006bebb
mov edx, 1
mov rcx, qword [rsp + 0xa0]
call fcn.18002e260
mov qword [rsp + 0xb0], rax
jmp 0x18006bec7
mov qword [rsp + 0xb0], 0
mov eax, 4
imul rax, rax, 1
lea rcx, [0x180096a70]
mov edx, 4
imul rdx, rdx, 2
lea r8, [0x180096a70]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx], eax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x180096a70]
mov edx, 4
imul rdx, rdx, 1
lea r8, [0x180096a70]
mov edx, dword [r8 + rdx]
cmp dword [rcx + rax], edx
jae 0x18006bf45
mov eax, 4
imul rax, rax, 3
lea rcx, [0x180096a70]
mov edx, dword [rcx + rax]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x180096a70]
mov dword [rdx + rcx], eax
jmp 0x18006bc46
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0x18]
inc eax
mov rcx, qword [rsp + 0x130]
mov dword [rcx + 0x18], eax
mov rdx, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x170]
call fcn.18006d150
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
jl 0x18006c0d8
mov rax, qword [rsp + 0xa8]
inc rax
mov qword [rsp + 0xa8], rax
lea rax, [0x18009a434]
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0x88], 0
mov rax, qword [rsp + 0xf8]
movzx eax, byte [rax]
movsx eax, al
cmp eax, 0x61
jne 0x18006c053
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
jne 0x18006c053
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x180096a70]
mov edx, dword [rcx + rax]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 4
imul rcx, rcx, 0xc
lea rdx, [0x180096a70]
mov dword [rdx + rcx], eax
mov byte [rsp + 0x20], 1
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0
je 0x18006c09f
mov edx, 1
mov rcx, qword [rsp + 0x98]
call fcn.18002e260
mov qword [rsp + 0xc8], rax
jmp 0x18006c0ab
mov qword [rsp + 0xc8], 0
mov eax, 4
imul rax, rax, 3
lea rcx, [0x180096a70]
mov eax, dword [rcx + rax]
add eax, 0xd05766e
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x180096a70]
mov dword [rdx + rcx], eax
jmp 0x18006c111
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x138]
call fcn.180034240
mov dword [rsp + 0x38], SafeArrayCopy
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [rsp + 0x38]
movsxd rcx, ecx
lea rdx, [0x180096a70]
mov dword [rdx + rcx*4], eax
jmp 0x18006bc46
mov rax, qword [rsp + 0x170]
add rax, 0xe8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rsp + 0x170]
movzx eax, byte [rax + 0x110]
movzx ecx, byte [rsp + 0x20]
or eax, ecx
mov rcx, qword [rsp + 0x170]
mov byte [rcx + 0x110], al
lea rcx, [rsp + 0x138]
call fcn.18001c8a0
test rax, rax
je 0x18006c1e2
mov eax, 4
imul rax, rax, 1
lea rcx, [0x180096a70]
mov eax, dword [rcx + rax]
xor eax, 0xfffff4c6
mov ecx, 4
imul rcx, rcx, 1
lea rdx, [0x180096a70]
mov dword [rdx + rcx], eax
mov dword [rsp + 0x3c], SafeArrayCopy
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [rsp + 0x3c]
movsxd rcx, ecx
lea rdx, [0x180096a70]
mov dword [rdx + rcx*4], eax
lea rcx, [rsp + 0x138]
call fcn.180034020
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x170]
add rax, 0x70
lea rdx, [rsp + 0xd8]
mov rcx, rax
call fcn.180034240
jmp 0x18006c14c
mov rax, qword [rsp + 0x170]
add rax, 0xe8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, qword [rsp + 0x170]
movzx eax, byte [rax + 0x110]
test eax, eax
jne 0x18006bc04
lea rax, [0x18009a524]
mov qword [rsp + 0xe8], rax
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0xe8]
movzx eax, byte [rax]
movsx eax, al
cmp eax, 0x61
jne 0x18006c27f
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x18006c27f
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x180096a70]
mov edx, dword [rcx + rax]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 4
imul rcx, rcx, 0xc
lea rdx, [0x180096a70]
mov dword [rdx + rcx], eax
lea rcx, [rsp + 0x138]
call fcn.18002dc20
mov rcx, qword [rsp + 0x158]
xor rcx, rsp
call fcn.18004b890
add rsp, 0x168
ret