Function at 0x180055b70
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 eax, 3
mov word [rsp + 0x24], ax
movsx rax, word [rsp + 0x24]
lea rcx, [0x18009af80]
cmp dword [rcx + rax*4], 1
jne 0x180055bc2
movsx rax, word [rsp + 0x24]
lea rcx, [0x18009af80]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x24]
lea rdx, [0x18009af80]
mov dword [rdx + rcx*4], eax
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x2c], 0
mov dword [rsp + 0x3c], 0
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x34], eax
mov eax, 0x11
mov word [rsp + 0x20], ax
movsx rax, word [rsp + 0x20]
lea rcx, [0x18009af80]
cmp dword [rcx + rax*4], 1
jne 0x180055c28
movsx rax, word [rsp + 0x20]
lea rcx, [0x18009af80]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x20]
lea rdx, [0x18009af80]
mov dword [rdx + rcx*4], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x1c]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x38], 1
mov rax, qword [rsp + 0x88]
add rax, 2
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x28]
dec eax
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x60], 0
je 0x180055f79
mov eax, dword [rsp + 0x34]
and eax, 1
mov ecx, dword [rsp + 0x30]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
mov eax, 4
imul rax, rax, 1
lea rcx, [0x18009af80]
mov eax, dword [rcx + rax]
xor eax, 0xffffecc1
mov ecx, 4
imul rcx, rcx, 1
lea rdx, [0x18009af80]
mov dword [rdx + rcx], eax
mov eax, dword [rsp + 0x34]
sar eax, 1
mov dword [rsp + 0x34], eax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x18009af80]
mov eax, dword [rcx + rax]
xor eax, 0xffffecb8
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x18009af80]
mov dword [rdx + rcx], eax
mov rax, qword [rsp + 0x48]
movsx eax, word [rax]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x48]
add rax, 2
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x30]
sub ecx, eax
mov eax, ecx
cmp eax, dword [rsp + 0x2c]
jge 0x180055e77
mov eax, 4
imul rax, rax, 2
lea rcx, [0x18009af80]
mov eax, dword [rcx + rax]
xor eax, 0xffffecab
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x18009af80]
mov dword [rdx + rcx], eax
mov dword [rsp + 0x50], 6
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [rsp + 0x50]
movsxd rcx, ecx
lea rdx, [0x18009af80]
mov dword [rdx + rcx*4], eax
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x34]
mov dword [rax + 0x18], ecx
mov eax, 4
imul rax, rax, 1
lea rcx, [0x18009af80]
mov eax, dword [rcx + rax]
xor eax, 0xffffec99
mov ecx, 4
imul rcx, rcx, 1
lea rdx, [0x18009af80]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 1
lea rcx, [0x18009af80]
mov edx, 4
imul rdx, rdx, 2
lea r8, [0x18009af80]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx], eax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x18009af80]
mov edx, 4
imul rdx, rdx, 1
lea r8, [0x18009af80]
mov edx, dword [r8 + rdx]
cmp dword [rcx + rax], edx
jae 0x180055e12
mov eax, 4
imul rax, rax, 3
lea rcx, [0x18009af80]
mov edx, dword [rcx + rax]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x18009af80]
mov dword [rdx + rcx], eax
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x38]
mov eax, dword [rax + 0x1c]
sub eax, ecx
and eax, 7
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x1c], eax
mov dword [rsp + 0x44], SafeArrayGetDim
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [rsp + 0x44]
movsxd rcx, ecx
lea rdx, [0x18009af80]
mov dword [rdx + rcx*4], eax
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x30]
sub ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x3c]
add ecx, eax
mov eax, ecx
cdqe
mov rcx, qword [rsp + 0x90]
movsx eax, word [rcx + rax*2]
jmp 0x18005612d
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x3c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x2c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
mov eax, 4
imul rax, rax, 1
lea rcx, [0x18009af80]
mov eax, dword [rcx + rax]
xor eax, 0xffffec77
mov ecx, 4
imul rcx, rcx, 1
lea rdx, [0x18009af80]
mov dword [rdx + rcx], eax
mov eax, dword [rsp + 0x2c]
shl eax, 1
mov dword [rsp + 0x2c], eax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x18009af80]
mov eax, dword [rcx + rax]
xor eax, 0xffffec6a
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x18009af80]
mov dword [rdx + rcx], eax
mov eax, dword [rsp + 0x30]
shl eax, 1
mov dword [rsp + 0x30], eax
lea rax, [0x180089e64]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x58], 0
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax]
movsx eax, al
cmp eax, 0x61
jne 0x180055f6a
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x180055f6a
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x18009af80]
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, [0x18009af80]
mov dword [rdx + rcx], eax
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
jmp 0x180055c50
mov eax, reloc.OLEAUT32.dll_SafeArrayGetDim
sub eax, dword [rsp + 0x38]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jne 0x180055f92
jmp 0x1800560fb
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x10]
cmp dword [rax + 0x14], ecx
jne 0x180055fb4
mov eax, 0xffffffff
jmp 0x18005612d
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x14]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 8]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x14]
inc eax
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x14], eax
mov eax, 4
imul rax, rax, 1
lea rcx, [0x18009af80]
mov edx, 4
imul rdx, rdx, 2
lea r8, [0x18009af80]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx], eax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x18009af80]
mov edx, 4
imul rdx, rdx, 1
lea r8, [0x18009af80]
mov edx, dword [r8 + rdx]
cmp dword [rcx + rax], edx
jae 0x180056069
mov eax, 4
imul rax, rax, 3
lea rcx, [0x18009af80]
mov edx, dword [rcx + rax]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x18009af80]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 1
lea rcx, [0x18009af80]
mov edx, 4
imul rdx, rdx, 2
lea r8, [0x18009af80]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx], eax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x18009af80]
mov edx, 4
imul rdx, rdx, 1
lea r8, [0x18009af80]
mov edx, dword [r8 + rdx]
cmp dword [rcx + rax], edx
jae 0x1800560e7
mov eax, 4
imul rax, rax, 3
lea rcx, [0x18009af80]
mov edx, dword [rcx + rax]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x18009af80]
mov dword [rdx + rcx], eax
cmp dword [rsp + 0x28], 8
jle 0x1800560f6
mov dword [rsp + 0x28], 8
jmp 0x180055c50
mov eax, 0xffffffff
jmp 0x18005612d
add rsp, 0x78
ret