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

Disassembly:
mov qword [rsp + 0x20], r9
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x3a8
mov qword [rsp + 0x150], 0xfffffffffffffffe
mov rax, qword [0x180094030]
xor rax, rsp
mov qword [rsp + 0x390], rax
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x60], 0
mov eax, dword [rsp + 0x60]
cmp eax, 0xb120661
jne 0x18006a849
lea r8, [0x180098390]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
mov qword [rsp + 0x168], rax
jmp 0x18006a871
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x180093a70]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x180093a70]
mov dword [rdx + rcx], eax
mov edx, 1
lea rcx, [rsp + 0x348]
call fcn.18001b0e0
lea rcx, [rsp + 0x348]
call fcn.18001c230
nop
mov edx, 1
lea rcx, [rsp + 0x338]
call fcn.18001b0e0
lea rcx, [rsp + 0x338]
call fcn.18002c430
nop
mov dword [rsp + 0x40], 0
mov eax, dword [rsp + 0x40]
cmp eax, 0x8e0107d
jne 0x18006a8df
lea r8, [0x180098420]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
mov qword [rsp + 0x158], rax
jmp 0x18006a907
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x180093a70]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x180093a70]
mov dword [rdx + rcx], eax
mov edx, 1
lea rcx, [rsp + 0x360]
call fcn.18001b0e0
lea rcx, [rsp + 0x360]
call fcn.18001c230
nop
mov rcx, qword [rsp + 0x3c8]
call fcn.18006c4f0
mov eax, 4
imul rax, rax, 1
lea rcx, [0x180093a70]
mov edx, 4
imul rdx, rdx, 2
lea r8, [0x180093a70]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx], eax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x180093a70]
mov edx, 4
imul rdx, rdx, 1
lea r8, [0x180093a70]
mov edx, dword [r8 + rdx]
cmp dword [rcx + rax], edx
jae 0x18006a9b2
mov eax, 4
imul rax, rax, 3
lea rcx, [0x180093a70]
mov edx, dword [rcx + rax]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x180093a70]
mov dword [rdx + rcx], eax
mov rax, qword [rsp + 0x3c0]
cmp qword [rax + 0x50], 0
je 0x18006aadb
mov rax, qword [rsp + 0x3c0]
add rax, 0x50
mov rcx, rax
call fcn.180025f50
mov rdx, rax
lea rcx, [rsp + 0x378]
call fcn.18002c710
nop
mov r8, 0xffffffffffffffff
mov rdx, qword [0x180097af8]
lea rcx, [rsp + 0x1e8]
call fcn.18001c1b0
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xa8], rax
mov rcx, qword [rsp + 0xa8]
call fcn.18000bd00
lea r8, [rsp + 0x378]
mov rdx, rax
mov rcx, qword [rsp + 0x3c8]
call fcn.18002ee20
nop
lea rcx, [rsp + 0x1e8]
call fcn.180013670
mov eax, 4
imul rax, rax, 1
lea rcx, [0x180093a70]
mov edx, 4
imul rdx, rdx, 2
lea r8, [0x180093a70]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx], eax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x180093a70]
mov edx, 4
imul rdx, rdx, 1
lea r8, [0x180093a70]
mov edx, dword [r8 + rdx]
cmp dword [rcx + rax], edx
jae 0x18006aace
mov eax, 4
imul rax, rax, 3
lea rcx, [0x180093a70]
mov edx, dword [rcx + rax]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x180093a70]
mov dword [rdx + rcx], eax
lea rcx, [rsp + 0x378]
call fcn.18002d110
mov r8, 0xffffffffffffffff
mov rdx, qword [0x180097a30]
lea rcx, [rsp + 0x348]
call fcn.1800220e0
mov eax, 4
imul rax, rax, 3
lea rcx, [0x180093a70]
mov eax, dword [rcx + rax]
add eax, 0x2b2335e
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x180093a70]
mov dword [rdx + rcx], eax
movzx eax, byte [rsp + 0x3d0]
test eax, eax
je 0x18006ab7c
lea rdx, [rsp + 0x298]
lea rcx, [0x18011e510]
call fcn.180070d20
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0xb8], rax
mov rdx, qword [rsp + 0xb8]
lea rcx, [rsp + 0x348]
call fcn.180021960
nop
lea rcx, [rsp + 0x298]
call fcn.180013670
mov eax, 4
imul rax, rax, 2
lea rcx, [0x180093a70]
mov eax, dword [rcx + rax]
xor eax, 0xfffffc44
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x180093a70]
mov dword [rdx + rcx], eax
mov rax, qword [rsp + 0x3c0]
add rax, 0xe0
xor edx, edx
mov rcx, rax
call fcn.18002d4c0
movzx eax, al
test eax, eax
jne 0x18006ac32
mov rax, qword [rsp + 0x3c0]
add rax, 0xe0
mov rcx, rax
call fcn.180025f50
mov rdx, rax
lea rcx, [rsp + 0x170]
call fcn.18002c710
nop
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x348]
call fcn.18000bd00
lea r8, [rsp + 0x170]
mov rdx, rax
mov rcx, qword [rsp + 0x3c8]
call fcn.18002ee20
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jl 0x18006ac32
mov dword [rsp + 0x38], 0
jmp 0x18006ac3a
mov dword [rsp + 0x38], 1
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x24], al
mov eax, dword [rsp + 0x30]
and eax, 1
test eax, eax
je 0x18006ac60
and dword [rsp + 0x30], 0xfffffffe
lea rcx, [rsp + 0x170]
call fcn.18002d110
movzx eax, byte [rsp + 0x24]
lea rcx, [rsp + 0x338]
call fcn.18000ae90
mov r8, rax
lea rdx, [0x180082cf8]
xor ecx, ecx
call fcn.18001b6e0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jl 0x18006aca4
xor edx, edx
lea rcx, [rsp + 0x338]
call fcn.18002d4c0
movzx eax, al
test eax, eax
je 0x18006acde
mov dword [rsp + 0x4c], 0x80004005
lea rcx, [rsp + 0x360]
call fcn.180013670
nop
lea rcx, [rsp + 0x338]
call fcn.18002d030
nop
lea rcx, [rsp + 0x348]
call fcn.180013670
mov eax, dword [rsp + 0x4c]
jmp 0x18006b4c7
mov r8, 0xffffffffffffffff
mov rdx, qword [0x1800976d8]
lea rcx, [rsp + 0x348]
call fcn.1800220e0
mov eax, 4
imul rax, rax, 2
lea rcx, [0x180093a70]
mov eax, dword [rcx + rax]
xor eax, 0xfffffc26
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x180093a70]
mov dword [rdx + rcx], eax
lea rcx, [rsp + 0x338]
call fcn.180025f50
mov rdx, rax
lea rcx, [rsp + 0x1a0]
call fcn.18002c710
nop
lea rcx, [rsp + 0x348]
call fcn.18000bd00
lea r8, [rsp + 0x1a0]
mov rdx, rax
mov rcx, qword [rsp + 0x3c8]
call fcn.18002ee20
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x18006ad7c
mov dword [rsp + 0x34], 1
jmp 0x18006ad84
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x2d], al
lea rcx, [rsp + 0x1a0]
call fcn.18002d110
movzx eax, byte [rsp + 0x2d]
lea rdx, [rsp + 0x1b8]
lea rcx, [0x18011e510]
call fcn.180070d20
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x140], rax
mov rdx, qword [rsp + 0x140]
lea rcx, [rsp + 0x348]
call fcn.180021960
nop
lea rcx, [rsp + 0x1b8]
call fcn.180013670
lea rcx, [rsp + 0x338]
call fcn.180025f50
mov rdx, rax
lea rcx, [rsp + 0x188]
call fcn.18002c710
nop
lea rcx, [rsp + 0x348]
call fcn.18000bd00
lea r8, [rsp + 0x188]
mov rdx, rax
mov rcx, qword [rsp + 0x3c8]
call fcn.18002ee20
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x18006ae46
mov dword [rsp + 0x3c], 1
jmp 0x18006ae4e
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x2c], al
lea rcx, [rsp + 0x188]
call fcn.18002d110
movzx eax, byte [rsp + 0x2c]
test eax, eax
je 0x18006aef2
mov dword [rsp + 0x68], 0
mov eax, dword [rsp + 0x68]
cmp eax, 0x1bbd5469
jne 0x18006ae9f
lea r8, str.1__5_f
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
mov qword [rsp + 0x160], rax
jmp 0x18006aec7
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x180093a70]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x180093a70]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x180093a70]
mov eax, dword [rcx + rax]
xor eax, 0xfffffc09
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x180093a70]
mov dword [rdx + rcx], eax
mov edx, 1
lea rcx, [rsp + 0x340]
call fcn.180044e20
lea rcx, [rsp + 0x308]
call fcn.1800682b0
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x110], rax
mov rcx, qword [rsp + 0x110]
call fcn.18000bd00
mov rdx, rax
lea rcx, [rsp + 0x340]
call fcn.18002c6b0
nop
lea rcx, [rsp + 0x308]
call fcn.180013670
mov dl, 1
lea rcx, [rsp + 0x1d0]
call fcn.18002c7e0
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x130], rax
lea rax, [rsp + 0x268]
mov rdi, rax
mov rsi, qword [rsp + 0x130]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x338]
call fcn.180025f50
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x3d8]
call fcn.18000ae90
mov qword [rsp + 0xf0], rax
lea rcx, [rsp + 0x2d0]
lea rdx, [rsp + 0x268]
mov rdi, rcx
mov rsi, rdx
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x340]
call fcn.180025f50
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx]
mov qword [rsp + 0x120], rcx
mov rdx, qword [rsp + 0xf0]
mov r9, rdx
lea r8, [rsp + 0x2d0]
mov rdx, rax
mov rcx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x120]
call qword [rax + 0x38]
nop
lea rcx, [rsp + 0x1d0]
call fcn.18002d110
mov rcx, qword [rsp + 0x3d8]
call fcn.180030510
test eax, eax
jne 0x18006b484
mov eax, 4
imul rax, rax, 1
lea rcx, [0x180093a70]
mov edx, 4
imul rdx, rdx, 2
lea rdi, [0x180093a70]
mov eax, dword [rcx + rax]
mov dword [rdi + rdx], eax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x180093a70]
mov edx, 4
imul rdx, rdx, 1
lea rdi, [0x180093a70]
mov edx, dword [rdi + rdx]
cmp dword [rcx + rax], edx
jae 0x18006b0bb
mov eax, 4
imul rax, rax, 3
lea rcx, [0x180093a70]
mov edx, dword [rcx + rax]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x180093a70]
mov dword [rdx + rcx], eax
mov dword [rsp + 0x54], SafeArrayGetDim
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [rsp + 0x54]
movsxd rcx, ecx
lea rdx, [0x180093a70]
mov dword [rdx + rcx*4], eax
lea rcx, [rsp + 0x250]
call fcn.1800680f0
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x100], rax
mov rcx, qword [rsp + 0x100]
call fcn.18000bd00
xor r9d, r9d
lea r8, [0x1800982b4]
mov rdx, rax
lea rcx, [rsp + 0x220]
call fcn.180068870
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0xc8]
call fcn.18000bd00
mov rdx, rax
mov rcx, qword [rsp + 0x3d8]
call fcn.18002d3a0
nop
lea rcx, [rsp + 0x220]
call fcn.180013670
nop
lea rcx, [rsp + 0x250]
call fcn.180013670
lea rax, [0x180098344]
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0x58], 0
mov rax, qword [rsp + 0xd8]
movzx eax, byte [rax]
movsx eax, al
cmp eax, 0x61
jne 0x18006b1e6
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x18006b1e6
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x180093a70]
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, [0x180093a70]
mov dword [rdx + rcx], eax
mov rcx, qword [rsp + 0x3d8]
call fcn.180030510
test eax, eax
je 0x18006b401
mov dl, 1
lea rcx, [rsp + 0x2f0]
call fcn.18002c7e0
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0xf8], rax
lea rax, [rsp + 0x280]
mov rdi, rax
mov rsi, qword [rsp + 0xf8]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x338]
call fcn.180025f50
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x2b0]
lea rcx, [rsp + 0x280]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
rep movsb byte [rdi], byte [rsi]
mov rcx, qword [rsp + 0x3d8]
call fcn.180025f50
mov qword [rsp + 0x108], rax
lea rcx, [rsp + 0x340]
call fcn.180025f50
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx]
mov qword [rsp + 0x118], rcx
lea r9, [rsp + 0x2b0]
mov rdx, qword [rsp + 0x108]
mov r8, rdx
mov rdx, rax
mov rcx, qword [rsp + 0x78]
mov rax, qword [rsp + 0x118]
call qword [rax + 0x40]
nop
lea rcx, [rsp + 0x2f0]
call fcn.18002d110
mov eax, SafeArrayDestroy
mov word [rsp + 0x28], ax
movsx rax, word [rsp + 0x28]
lea rcx, [0x180093a70]
cmp dword [rcx + rax*4], 1
jne 0x18006b310
movsx rax, word [rsp + 0x28]
lea rcx, [0x180093a70]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x28]
lea rdx, [0x180093a70]
mov dword [rdx + rcx*4], eax
mov rcx, qword [rsp + 0x3d8]
call fcn.18002edf0
mov dl, 1
lea rcx, [rsp + 0x238]
call fcn.18002c7e0
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x98], rax
lea rax, [rsp + 0x320]
mov rdi, rax
mov rsi, qword [rsp + 0x98]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x338]
call fcn.180025f50
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x3d8]
call fcn.18000ae90
mov qword [rsp + 0xa0], rax
lea rcx, [rsp + 0x200]
lea rdx, [rsp + 0x320]
mov rdi, rcx
mov rsi, rdx
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x340]
call fcn.180025f50
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx]
mov qword [rsp + 0x90], rcx
mov rdx, qword [rsp + 0xa0]
mov r9, rdx
lea r8, [rsp + 0x200]
mov rdx, rax
mov rcx, qword [rsp + 0x80]
mov rax, qword [rsp + 0x90]
call qword [rax + 0x38]
nop
lea rcx, [rsp + 0x238]
call fcn.18002d110
jmp 0x18006b484
mov dword [rsp + 0x64], SafeArrayCopy
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [rsp + 0x64]
movsxd rcx, ecx
lea rdx, [0x180093a70]
mov dword [rdx + rcx*4], eax
mov dword [rsp + 0x44], 0x80004005
lea rcx, [rsp + 0x340]
call fcn.180012b80
nop
lea rcx, [rsp + 0x360]
call fcn.180013670
nop
lea rcx, [rsp + 0x338]
call fcn.18002d030
nop
lea rcx, [rsp + 0x348]
call fcn.180013670
mov eax, dword [rsp + 0x44]
jmp 0x18006b4c7
mov dword [rsp + 0x50], 0
lea rcx, [rsp + 0x340]
call fcn.180012b80
nop
lea rcx, [rsp + 0x360]
call fcn.180013670
nop
lea rcx, [rsp + 0x338]
call fcn.18002d030
nop
lea rcx, [rsp + 0x348]
call fcn.180013670
mov eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x390]
xor rcx, rsp
call fcn.18004a8d0
add rsp, 0x3a8
pop rdi
pop rsi
ret