Function at 0x18002d640
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 + 0x58], 0xfffffffffffffffe
mov rax, qword [0x180097030]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x80]
add rax, 8
mov rcx, rax
call fcn.18002cf40
nop
mov rax, qword [rsp + 0x80]
add rax, 0x20
mov rcx, rax
call fcn.1800390e0
nop
mov eax, 4
imul rax, rax, 3
lea rcx, [0x180096a70]
mov eax, dword [rcx + rax]
add eax, 0x86d382
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x180096a70]
mov dword [rdx + rcx], eax
mov dword [rsp + 0x40], SafeArrayGetDim
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [rsp + 0x40]
movsxd rcx, ecx
lea rdx, [0x180096a70]
mov dword [rdx + rcx*4], eax
mov rax, qword [rsp + 0x80]
mov byte [rax + 0x2c], 0
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x18], 0
mov dword [rsp + 0x38], 0
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [rsp + 0x38]
movsxd rcx, ecx
lea rdx, [0x180096a70]
mov dword [rdx + rcx*4], eax
mov eax, 4
imul rax, rax, 3
lea rcx, [0x180096a70]
mov eax, dword [rcx + rax]
add eax, 0x57f50d
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x180096a70]
mov dword [rdx + rcx], eax
call fcn.180031060
mov rcx, qword [rsp + 0x80]
mov qword [rcx], rax
mov rax, qword [rsp + 0x80]
mov ecx, dword [0x18009b230]
mov dword [rax + 0x28], ecx
mov eax, dword [0x18009b230]
inc eax
mov dword [0x18009b230], eax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x180096a70]
mov eax, dword [rcx + rax]
xor eax, 0xfffffe5c
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, 0xfffffe54
mov ecx, 4
imul rcx, rcx, 1
lea rdx, [0x180096a70]
mov dword [rdx + rcx], eax
cmp qword [rsp + 0x88], 0
je 0x18002d9c9
lea rax, [0x18009a544]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
movsx eax, al
cmp eax, 0x61
jne 0x18002d841
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x18002d841
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
mov qword [rsp + 0x60], 0
mov eax, SafeArrayDestroy
mov word [rsp + 0x20], ax
movsx rax, word [rsp + 0x20]
lea rcx, [0x180096a70]
cmp dword [rcx + rax*4], 1
jne 0x18002d889
movsx rax, word [rsp + 0x20]
lea rcx, [0x180096a70]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x20]
lea rdx, [0x180096a70]
mov dword [rdx + rcx*4], eax
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x88]
call fcn.18002c220
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
jl 0x18002d9a0
cmp qword [rsp + 0x60], 0
je 0x18002d9a0
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 0x18002d934
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
mov eax, SafeArrayUnaccessData
mov word [rsp + 0x24], ax
movsx rax, word [rsp + 0x24]
lea rcx, [0x180096a70]
cmp dword [rcx + rax*4], 1
jne 0x18002d973
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 rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x80]
add rax, 8
mov rdx, qword [rsp + 0x60]
mov rcx, rax
call fcn.18002e740
cmp qword [rsp + 0x90], 0
je 0x18002d9c7
mov rax, qword [rsp + 0x80]
add rax, 0x20
mov rdx, qword [rsp + 0x90]
mov rcx, rax
call fcn.18002e2c0
jmp 0x18002da1c
mov dword [rsp + 0x28], 0
mov eax, dword [rsp + 0x28]
cmp eax, 0x239d1099
jne 0x18002d9f4
lea r8, [0x18009a900]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
mov qword [rsp + 0x50], rax
jmp 0x18002da1c
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 + 0x80]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.18004b890
add rsp, 0x78
ret