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

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x158
mov rax, qword [0x180097030]
xor rax, rsp
mov qword [rsp + 0x148], rax
cmp qword [rsp + 0x160], 0
jne 0x18001188f
xor eax, eax
jmp 0x1800120ec
mov eax, 0x11
mov word [rsp + 0x38], ax
movsx rax, word [rsp + 0x38]
lea rcx, [0x1800966b0]
cmp dword [rcx + rax*4], 1
jne 0x1800118ce
movsx rax, word [rsp + 0x38]
lea rcx, [0x1800966b0]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x38]
lea rdx, [0x1800966b0]
mov dword [rdx + rcx*4], eax
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0xd0], rax
cmp qword [rsp + 0x180], 0
je 0x1800118fb
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x98], rax
jmp 0x18001191c
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x160]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x8c], 0
jne 0x18001193e
xor eax, eax
jmp 0x1800120ec
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x88]
mov rcx, qword [rsp + 0x160]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x70], SafeArrayUnaccessData
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [rsp + 0x70]
movsxd rcx, ecx
lea rdx, [0x1800966b0]
mov dword [rdx + rcx*4], eax
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x160]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xc8], rax
mov eax, 4
imul rax, rax, 1
lea rcx, [0x1800966b0]
mov eax, dword [rcx + rax]
xor eax, 0xffffd753
mov ecx, 4
imul rcx, rcx, 1
lea rdx, [0x1800966b0]
mov dword [rdx + rcx], eax
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x160]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa0], rax
mov eax, 0x11
mov word [rsp + 0x30], ax
movsx rax, word [rsp + 0x30]
lea rcx, [0x1800966b0]
cmp dword [rcx + rax*4], 1
jne 0x180011a21
movsx rax, word [rsp + 0x30]
lea rcx, [0x1800966b0]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x30]
lea rdx, [0x1800966b0]
mov dword [rdx + rcx*4], eax
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x160]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0x44], 0
mov eax, 4
imul rax, rax, 2
lea rcx, [0x1800966b0]
mov eax, dword [rcx + rax]
xor eax, 0xffffd73d
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x1800966b0]
mov dword [rdx + rcx], eax
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x68], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x68]
movzx eax, byte [rcx + rax]
and eax, 0xf0
cmp eax, 0xf0
je 0x180011ac0
mov rcx, qword [rsp + 0x168]
call fcn.18004b090
mov rdx, rax
mov rcx, qword [rsp + 0x168]
call fcn.180012a70
mov dword [rsp + 0x44], eax
jmp 0x180011b1b
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x68]
movzx eax, byte [rcx + rax]
and eax, 0xf
mov ecx, reloc.OLEAUT32.dll_SafeArrayDestroy
sub ecx, eax
mov eax, ecx
imul eax, eax, 0x3d3d
cdqe
mov rcx, qword [rsp + 0x178]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x178], rax
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x68]
mov edx, dword [rsp + 0x178]
mov eax, dword [rcx + rax + 1]
xor eax, edx
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x3c], 0
jmp 0x180011b2f
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x3c], eax
jae 0x1800120ea
mov eax, 4
imul rax, rax, 3
lea rcx, [0x1800966b0]
mov eax, dword [rcx + rax]
add eax, 0x31bd0d9d
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x1800966b0]
mov dword [rdx + rcx], eax
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0xb0]
mov eax, dword [rcx + rax*4]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x180011b8a
jmp 0x180011b25
mov rax, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.18004b090
mov rdx, rax
mov rcx, qword [rsp + 0x48]
call fcn.180012a70
cmp dword [rsp + 0x44], eax
je 0x180011bc4
jmp 0x180011b25
mov dword [rsp + 0x74], 0
mov eax, dword [rsp + 0x74]
cmp eax, 0x89c1fdc1
jne 0x180011bf2
lea r8, str.Local6391261529838049402148671042168944768867024488100977184x
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
mov qword [rsp + 0xd8], rax
jmp 0x180011c1a
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x1800966b0]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x1800966b0]
mov dword [rdx + rcx], eax
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0xa0]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0xc8]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x88]
cmp dword [rsp + 0x40], eax
jb 0x180012002
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x88]
mov rcx, qword [rsp + 0x50]
add eax, dword [rcx + 0x8c]
cmp dword [rsp + 0x40], eax
jae 0x180012002
mov dword [rsp + 0x90], SafeArrayUnaccessData
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [rsp + 0x90]
movsxd rcx, ecx
lea rdx, [0x1800966b0]
mov dword [rdx + rcx*4], eax
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x160]
add rcx, rax
mov rax, rcx
mov rdx, rax
lea rcx, [rsp + 0x108]
call fcn.180001260
xor r8d, r8d
mov dl, 0x2e
lea rcx, [rsp + 0x108]
call fcn.180009ec0
mov qword [rsp + 0x78], rax
mov rax, qword [0x18007bd68]
cmp qword [rsp + 0x78], rax
je 0x180011feb
mov eax, 4
imul rax, rax, 1
lea rcx, [0x1800966b0]
mov edx, 4
imul rdx, rdx, 2
lea r8, [0x1800966b0]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx], eax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x1800966b0]
mov edx, 4
imul rdx, rdx, 1
lea r8, [0x1800966b0]
mov edx, dword [r8 + rdx]
cmp dword [rcx + rax], edx
jae 0x180011d5c
mov eax, 4
imul rax, rax, 3
lea rcx, [0x1800966b0]
mov edx, dword [rcx + rax]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x1800966b0]
mov dword [rdx + rcx], eax
mov r9, qword [rsp + 0x78]
xor r8d, r8d
lea rdx, [rsp + 0x128]
lea rcx, [rsp + 0x108]
call fcn.18000fe40
mov eax, 4
imul rax, rax, 2
lea rcx, [0x1800966b0]
mov eax, dword [rcx + rax]
xor eax, 0xffffd6bc
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x1800966b0]
mov dword [rdx + rcx], eax
lea rcx, [rsp + 0x128]
call fcn.180004e40
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x80], 0
mov eax, dword [rsp + 0x80]
cmp eax, 0x31d11f65
jne 0x180011df3
lea r8, str.Local200940480016696708817973746420454898801786096640700686896x
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
mov qword [rsp + 0xe0], rax
jmp 0x180011e1b
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x1800966b0]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x1800966b0]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 1
lea rcx, [0x1800966b0]
mov edx, 4
imul rdx, rdx, 2
lea r8, [0x1800966b0]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx], eax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x1800966b0]
mov edx, 4
imul rdx, rdx, 1
lea r8, [0x1800966b0]
mov edx, dword [r8 + rdx]
cmp dword [rcx + rax], edx
jae 0x180011e99
mov eax, 4
imul rax, rax, 3
lea rcx, [0x1800966b0]
mov edx, dword [rcx + rax]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x1800966b0]
mov dword [rdx + rcx], eax
mov rax, qword [rsp + 0x160]
cmp qword [rsp + 0x58], rax
jne 0x180011eba
lea rcx, [rsp + 0x108]
call fcn.180009f00
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x180011f6a
mov rax, qword [rsp + 0x160]
cmp qword [rsp + 0x58], rax
je 0x180011f6a
mov rax, qword [rsp + 0x78]
inc rax
mov r9, qword [0x18007bd68]
mov r8, rax
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0x108]
call fcn.18000fe40
mov rcx, rax
call fcn.180004e40
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x178]
mov r8d, dword [rsp + 0x170]
mov rdx, rax
mov rcx, qword [rsp + 0x58]
call fcn.180011850
mov qword [rsp + 0xb8], rax
lea rcx, [rsp + 0xe8]
call fcn.1800023d0
lea rcx, [rsp + 0x128]
call fcn.1800023d0
lea rcx, [rsp + 0x108]
call fcn.1800023d0
mov rax, qword [rsp + 0xb8]
jmp 0x1800120ec
mov eax, SafeArrayGetDim
mov word [rsp + 0x34], ax
movsx rax, word [rsp + 0x34]
lea rcx, [0x1800966b0]
cmp dword [rcx + rax*4], 1
jne 0x180011fa9
movsx rax, word [rsp + 0x34]
lea rcx, [0x1800966b0]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x34]
lea rdx, [0x1800966b0]
mov dword [rdx + rcx*4], eax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xc0], rax
lea rcx, [rsp + 0x128]
call fcn.1800023d0
lea rcx, [rsp + 0x108]
call fcn.1800023d0
mov rax, qword [rsp + 0xc0]
jmp 0x1800120ec
lea rcx, [rsp + 0x108]
call fcn.1800023d0
jmp 0x1800120ea
mov eax, 4
imul rax, rax, 3
lea rcx, [0x1800966b0]
mov eax, dword [rcx + rax]
add eax, 0x2d40460a
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x1800966b0]
mov dword [rdx + rcx], eax
mov eax, dword [rsp + 0x170]
and eax, 1
test eax, eax
jne 0x180012053
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x1800120ec
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x160]
add rcx, rax
mov rax, rcx
jmp 0x1800120ec
xor eax, eax
mov rcx, qword [rsp + 0x148]
xor rcx, rsp
call fcn.18004b890
add rsp, 0x158
ret