Function at 0x100a87c0
Capabilities:
Get file attributes
Hide graphical window
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fee76
mov eax, dword fs:[0]
push eax
sub esp, 0x4c8
mov eax, dword [0x1013c014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x4a4], esi
push 7
call fcn.100ace60
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetSystemMenu]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_GetMenuItemCount]
xor esi, esi
mov dword [ebp - 0x4a8], eax
test eax, eax
jle 0x100a883c
nop dword [eax]
push esi
push edi
call dword [sym.imp.USER32.dll_GetMenuItemID]
cmp eax, 0xf030
je 0x100a892b
inc esi
cmp esi, dword [ebp - 0x4a8]
jl 0x100a8820
mov edx, 0xfab
lea ecx, [ebp - 0x4a8]
call fcn.100aedf0
push dword [eax]
push 1
push 0
push 0xf060
push edi
call dword [sym.imp.USER32.dll_InsertMenuW]
mov edx, dword [ebp - 0x4a8]
add edx, 0xfffffff0
mov dword [ebp - 4], 1
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100a8883
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 0x49d], 0
mov dword [ebp - 0x4c0], 0
mov dword [ebp - 0x4bc], 0
mov dword [ebp - 0x4b8], 0
push 0x2001f
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x4c0]
push dword [0x1014e928]
push SysReAllocString
call fcn.10013210
test eax, eax
jne 0x100a899e
mov esi, dword [ebp - 0x4c0]
lea eax, [ebp - 0x4ac]
push eax
lea eax, [ebp - 0x46c]
mov dword [ebp - 0x4ac], 0x1c
push eax
lea eax, [ebp - 0x4a8]
push eax
push 0
push str.CSettingsDlg
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov eax, dword [ebp - 0x4ac]
jne 0x100a8964
cmp dword [ebp - 0x4a8], 3
jne 0x100a8964
cmp eax, 0x1c
je 0x100a8922
cmp eax, 0x18
jne 0x100a8964
mov byte [ebp - 0x49d], 1
jmp 0x100a896b
mov edx, 0xfab
lea ecx, [ebp - 0x4a8]
call fcn.100aedf0
push dword [eax]
lea eax, [esi + 1]
push 1
push 0x400
push eax
push edi
call dword [sym.imp.USER32.dll_InsertMenuW]
mov edx, dword [ebp - 0x4a8]
add edx, 0xfffffff0
mov dword [ebp - 4], 0
jmp 0x100a886e
mov byte [ebp - 0x49d], 0
test esi, esi
je 0x100a8984
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x4ac]
xor esi, esi
mov dword [ebp - 0x4c0], esi
cmp byte [ebp - 0x49d], 0
mov dword [ebp - 0x4bc], 0
je 0x100a899e
cmp eax, 0x18
jne 0x100a89c1
jmp 0x100a89b7
xorps xmm0, xmm0
movq qword [ebp - 0x45c], xmm0
movups xmmword [ebp - 0x46c], xmm0
mov byte [ebp - 0x458], 1
mov dword [ebp - 0x454], 0
mov ecx, dword [ebp - 0x4a4]
mov al, byte [ebp - 0x457]
mov byte [ecx + 0x5d], al
test al, al
je 0x100a89df
push 8
push 1
push edi
call dword [sym.imp.USER32.dll_CheckMenuItem]
mov edi, dword [0x1014a878]
push 0xc
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0xb
mov esi, eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
push esi
push eax
push 1
push 1
push edi
call dword [sym.imp.USER32.dll_LoadImageW]
mov ecx, dword [ebp - 0x4a4]
push eax
push 1
push 0x80
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x31
mov esi, eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
push esi
push eax
push 1
push 1
push edi
call dword [sym.imp.USER32.dll_LoadImageW]
mov ecx, dword [ebp - 0x4a4]
push eax
push 0
push 0x80
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x32
call esi
push 0x31
mov edi, eax
call esi
push str.shell32.dll
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0
push edi
push esi
push 1
push 0x143
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, dword [ebp - 0x4a4]
mov esi, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push 0
push eax
push 0x170
push 0x403
push dword [edi + 4]
call esi
mov edx, 0xfd5
lea ecx, [ebp - 0x4a8]
call fcn.100aedf0
push dword [eax]
push 0
push 0x1501
push 0x401
push dword [edi + 4]
call esi
mov edx, dword [ebp - 0x4a8]
add edx, 0xfffffff0
mov byte [ebp - 4], 3
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100a8ae7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x401
mov byte [ebp - 4], 2
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0x434c5348
push 0x100a8740
push eax
call dword [sym.imp.COMCTL32.dll_SetWindowSubclass]
mov edx, dword [0x1013c958]
mov esi, dword [0x1013c950]
sub edx, esi
mov eax, dword [0x1013c954]
mov ecx, dword [0x1013c94c]
sub eax, ecx
push 0
push dword [0x1014a874]
push 0
push dword [edi + 4]
push edx
push eax
push esi
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push str.tooltips_class32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
mov dword [ebp - 0x49c], 0x30
mov eax, dword [edi + 4]
push 0x3f6
push eax
mov dword [ebp - 0x4b0], esi
mov dword [ebp - 0x498], 0x11
mov dword [ebp - 0x494], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
xorps xmm0, xmm0
mov dword [ebp - 0x490], eax
mov edx, 0xfd7
lea ecx, [ebp - 0x4b4]
movups xmmword [ebp - 0x48c], xmm0
movups xmmword [ebp - 0x47c], xmm0
call fcn.100aedf0
mov eax, dword [ebp - 0x4b4]
mov dword [ebp - 0x478], eax
lea eax, [ebp - 0x49c]
push eax
push 0
push 0x432
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [ebp - 4], 5
call fcn.100215d0
mov ecx, eax
test ecx, ecx
je 0x100a9242
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x4ac], eax
lea eax, [ebp - 0x4ac]
mov byte [ebp - 4], 6
push eax
push 0x402
lea ecx, [edi + 4]
call fcn.1009be70
mov edi, dword [ebp - 0x4ac]
push str.href_
push edi
call fcn.100d62b4
mov esi, eax
add esp, 8
test esi, esi
je 0x100a8ca8
add esi, 0xc
push 0x22
push esi
call fcn.100d61ed
add esp, 8
test eax, eax
je 0x100a8ca8
sub eax, esi
lea ecx, [ebp - 0x4ac]
sar eax, 1
sub esi, edi
push eax
sar esi, 1
lea eax, [ebp - 0x4a8]
push esi
push eax
call fcn.10082910
mov ecx, dword [ebp - 0x4a4]
push 0x402
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, dword [ebp - 0x4a8]
mov dword [ebp - 0x490], eax
lea eax, [ebp - 0x49c]
push eax
push 0
push 0x432
push dword [ebp - 0x4b0]
mov dword [ebp - 0x478], esi
call dword [sym.imp.USER32.dll_SendMessageW]
add esi, 0xfffffff0
mov byte [ebp - 4], 7
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100a8ca8
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [ebp - 4], 8
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x100a8cc4
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x4a4]
push 0x3f3
mov byte [ebp - 4], 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0xc
push eax
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [ebp - 0x4d4]
mov dword [ebp - 0x4d4], 4
push eax
push 0
push 0x1607
xorps xmm0, xmm0
mov dword [ebp - 0x4d0], 0
push esi
mov dword [ebp - 0x4cc], 1
movq qword [ebp - 0x4c8], xmm0
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x3f2
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x1014a878]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
xor ecx, ecx
push str.....DocsHelp_
mov word [eax], cx
lea eax, [ebp - 0x218]
push eax
push str._s_sOpenShell.chm
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.100a4830
add esp, 0x14
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
inc eax
neg eax
sbb eax, eax
and eax, 5
push eax
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
test esi, esi
je 0x100a8ea1
lea eax, [ebp - 0x440]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x450]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x434]
add eax, dword [ebp - 0x43c]
cdq
sub eax, edx
mov edx, dword [ebp - 0x44c]
mov esi, eax
mov eax, dword [ebp - 0x444]
sar esi, 1
lea eax, [eax + edx]
cdq
sub eax, edx
sar eax, 1
sub eax, esi
push eax
mov eax, dword [ebp - 0x438]
add eax, dword [ebp - 0x440]
cdq
sub eax, edx
mov edx, dword [ebp - 0x450]
mov esi, eax
mov eax, dword [ebp - 0x448]
sar esi, 1
lea eax, [eax + edx]
cdq
sub eax, edx
sar eax, 1
sub eax, esi
push eax
lea eax, [ebp - 0x440]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov esi, dword [ebp - 0x43c]
mov eax, dword [ebp - 0x44c]
cmp esi, eax
jge 0x100a8e68
sub eax, esi
push eax
push 0
lea eax, [ebp - 0x440]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov esi, dword [ebp - 0x43c]
mov edx, dword [ebp - 0x434]
mov eax, dword [ebp - 0x438]
sub edx, esi
mov ecx, dword [ebp - 0x440]
sub eax, ecx
push 4
push edx
push eax
push esi
push ecx
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
push 0
push 0x402
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov al, byte [ebp - 0x458]
mov ecx, edi
mov byte [ecx + 0x5c], al
xor ecx, ecx
test al, al
sete cl
push ecx
push 0x407
push dword [edi + 4]
call dword [sym.imp.USER32.dll_CheckDlgButton]
push 0xfa
push dword [edi + 4]
xor esi, esi
mov dword [ebp - 0x4ac], esi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, edi
mov edi, dword [edx + 0x44]
mov dword [edx + 0x4c], eax
mov dword [edx + 0x54], esi
cmp dword [edi], esi
je 0x100a8ff0
mov ecx, dword [0x1014ad7c]
mov eax, dword fs:[0x2c]
lea eax, [eax + ecx*4]
mov dword [ebp - 0x4a8], eax
cmp dword [edi + 4], 0xfffffffe
mov dword [ebp - 0x4b0], esi
jne 0x100a8fe4
mov ecx, dword [edi + 0x2c]
test ecx, ecx
jne 0x100a8f8e
mov ecx, dword [eax]
mov eax, dword [0x101594b0]
cmp eax, dword [ecx + 4]
jle 0x100a8f89
push 0x101594b0
call fcn.100d4fed
add esp, 4
cmp dword [0x101594b0], 0xffffffff
jne 0x100a8f83
mov dword [0x101594b4], vtable.CDefaultSettingsPanel.0
mov byte [ebp - 4], 9
call fcn.100215d0
mov ecx, eax
test ecx, ecx
je 0x100a9242
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov byte [ebp - 4], 4
push 0x10101fd0
mov dword [0x101594b8], eax
call fcn.100d4c96
push 0x101594b0
call fcn.100d4fa3
add esp, 8
mov edx, dword [ebp - 0x4a4]
mov ecx, 0x101594b4
mov eax, dword [ecx]
push dword [edx + 4]
mov eax, dword [eax]
call eax
lea ecx, [ebp - 0x450]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [ebp - 0x448]
sub esi, dword [ebp - 0x450]
cmp dword [ebp - 0x4b0], esi
mov eax, dword [ebp - 0x444]
cmovge esi, dword [ebp - 0x4b0]
sub eax, dword [ebp - 0x44c]
mov edx, dword [ebp - 0x4a4]
cmp dword [ebp - 0x4ac], eax
jge 0x100a8fde
mov dword [ebp - 0x4ac], eax
mov eax, dword [ebp - 0x4a8]
add edi, 0x60
cmp dword [edi], 0
jne 0x100a8f00
lea eax, [ebp - 0x430]
push eax
push dword [edx + 0x4c]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [ebp - 0x4a4]
lea eax, [ebp - 0x430]
push eax
push 0
push 0x1328
push dword [edi + 0x4c]
call dword [sym.imp.USER32.dll_SendMessageW]
sub esi, dword [ebp - 0x428]
mov ecx, dword [ebp - 0x430]
mov edx, dword [ebp - 0x4ac]
add ecx, esi
sub edx, dword [ebp - 0x424]
xor esi, esi
mov eax, dword [ebp - 0x42c]
test ecx, ecx
cmovns esi, ecx
xor ecx, ecx
add eax, edx
cmovns ecx, eax
mov dword [ebp - 0x4a8], ecx
test esi, esi
jne 0x100a905d
test ecx, ecx
je 0x100a90f1
lea eax, [ebp - 0x430]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [ebp - 0x430]
mov eax, esi
mov ecx, dword [ebp - 0x42c]
cdq
sub eax, edx
sar eax, 1
sub esi, eax
sub edi, eax
mov eax, dword [ebp - 0x4a8]
cdq
sub eax, edx
mov dword [ebp - 0x4b0], esi
mov edx, dword [ebp - 0x4a8]
mov esi, dword [ebp - 0x428]
add esi, dword [ebp - 0x4b0]
sar eax, 1
sub ecx, eax
mov dword [ebp - 0x428], esi
sub edx, eax
mov dword [ebp - 0x430], edi
mov eax, dword [ebp - 0x424]
sub esi, edi
push 4
add eax, edx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x424], eax
sub eax, ecx
push eax
push esi
mov esi, dword [ebp - 0x4a4]
push ecx
push edi
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0xf
mov ecx, esi
call fcn.100ace60
jmp 0x100a90f3
mov esi, edi
push 0x10158d3c
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov byte [ebp - 4], 0xb
mov edi, dword [esi + 0x44]
cmp dword [edi], 0
je 0x100a9141
lea esi, [edi + 0x48]
nop dword [eax]
lea eax, [esi - 0x10]
cmp esi, eax
je 0x100a912a
lea eax, [esi - 0x10]
push eax
push esi
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
js 0x100a9231
mov eax, dword [esi - 0x28]
add edi, 0x60
mov dword [esi + 0x10], eax
add esi, 0x60
cmp dword [edi], 0
jne 0x100a9110
mov esi, dword [ebp - 0x4a4]
push 0x10158d3c
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [esi + 0x58]
test eax, eax
mov ecx, dword [ebp - 0x45c]
cmovne ecx, eax
push 0
mov dword [ebp - 0x45c], ecx
push ecx
mov ecx, esi
call fcn.100a9250
cmp dword [ebp - 0x45c], 0
je 0x100a91dc
cmp byte [ebp - 0x49d], 0
je 0x100a91dc
mov ecx, dword [esi + 0x2c]
mov eax, dword [esi + 0x28]
add ecx, dword [ebp - 0x460]
add eax, dword [ebp - 0x464]
mov esi, dword [ebp - 0x4a4]
push 0x104
push ecx
push eax
push dword [ebp - 0x468]
push dword [ebp - 0x46c]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
push 0
push 0x402
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x454], 0
je 0x100a91dc
push 3
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 0x4b4]
add edx, 0xfffffff0
mov byte [ebp - 4], 0xc
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100a91fe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x4c0]
test eax, eax
je 0x100a920f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100d4906
mov esp, ebp
pop ebp
ret 0x10
mov ecx, 0xa
mov dword [esi + 8], eax
push eax
mov word [esi], cx
call fcn.10013970
push 0x80004005
call fcn.10013970
int3