Function at 0x100178e0
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006f52e
mov eax, dword fs:[0]
push eax
sub esp, 0x4dc
mov eax, dword [0x100911c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c0], 0
call fcn.10008da0
mov ecx, eax
test ecx, ecx
je 0x10018227
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x4b8], esi
lea eax, [ebp - 0x4b4]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x4c9]
call fcn.1000cda0
mov ecx, dword [eax]
test ecx, ecx
je 0x10018231
mov eax, dword [ebp + 8]
mov eax, dword [eax]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10017986
test dx, dx
je 0x10017982
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10017986
add eax, 4
add ecx, 4
test dx, dx
jne 0x10017960
xor edi, edi
jmp 0x1001798b
sbb edi, edi
or edi, 1
mov edx, dword [ebp - 0x4b4]
or ebx, 0xffffffff
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100179ab
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
jne 0x100179c7
push 7
push str.CCMouse
lea ecx, [ebp - 0x4b8]
call fcn.10009770
mov esi, dword [ebp - 0x4b8]
cmp dword [esi - 0xc], 0
mov edi, 1
je 0x10017c08
push 0x210
lea eax, [ebp - 0x2a0]
push 0
push eax
call fcn.1004a6f0
add esp, 0xc
mov dword [ebp - 0x90], 0x4f0053
mov dword [ebp - 0x8c], 0x540046
mov dword [ebp - 0x88], 0x410057
mov dword [ebp - 0x84], 0x450052
mov dword [ebp - 0x80], 0x4d005c
mov dword [ebp - 0x7c], 0x630069
mov dword [ebp - 0x78], 0x6f0072
mov dword [ebp - 0x74], 0x6f0073
mov dword [ebp - 0x70], 0x740066
mov dword [ebp - 0x6c], 0x57005c
mov dword [ebp - 0x68], 0x6e0069
mov dword [ebp - 0x64], 0x6f0064
mov dword [ebp - 0x60], 0x730077
mov dword [ebp - 0x5c], 0x43005c
mov dword [ebp - 0x58], 0x720075
mov dword [ebp - 0x54], 0x650072
mov dword [ebp - 0x50], 0x74006e
mov dword [ebp - 0x4c], 0x650056
mov dword [ebp - 0x48], 0x730072
mov dword [ebp - 0x44], 0x6f0069
mov dword [ebp - 0x40], 0x5c006e
mov dword [ebp - 0x3c], 0x700041
mov dword [ebp - 0x38], 0x200070
mov dword [ebp - 0x34], 0x610050
mov dword [ebp - 0x30], 0x680074
mov dword [ebp - 0x2c], 0x5c0073
mov dword [ebp - 0x28], 0x360033
mov dword [ebp - 0x24], 0x730030
mov dword [ebp - 0x20], 0x660061
mov dword [ebp - 0x1c], 0x2e0065
mov dword [ebp - 0x18], 0x780065
mov dword [ebp - 0x14], 0x65
mov dword [ebp - 0x4e0], 0
mov dword [ebp - 0x4dc], 0
mov dword [ebp - 0x4d8], 0
lea eax, [ebp - 0x4b0]
mov byte [ebp - 4], 1
push eax
push 0x20219
push 0
lea eax, [ebp - 0x90]
mov dword [ebp - 0x4b0], 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10017b34
mov dword [ebp - 0x4dc], 0x200
jmp 0x10017b70
lea eax, [ebp - 0x4b0]
mov dword [ebp - 0x4b0], 0
push eax
push 0x20119
push 0
lea eax, [ebp - 0x90]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10017c08
mov dword [ebp - 0x4dc], 0x100
mov edi, dword [ebp - 0x4b0]
lea eax, [ebp - 0x4b0]
push eax
lea eax, [ebp - 0x2a0]
mov dword [ebp - 0x4e0], edi
push eax
lea eax, [ebp - 0x4b4]
mov dword [ebp - 0x4c4], edi
push eax
push 0
push str.Path
push edi
mov dword [ebp - 0x4b0], 0x210
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10017bd5
mov eax, dword [ebp - 0x4b4]
cmp eax, 1
je 0x10017bc3
cmp eax, 2
jne 0x10017bd5
cmp dword [ebp - 0x4b0], 0
jne 0x10017bd5
xor eax, eax
mov word [ebp - 0x2a0], ax
push str.SoftMgr_somextrainfo.ini
lea eax, [ebp - 0x2a0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x2a0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10017c44
test edi, edi
je 0x10017c03
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 1
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10017c24
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10030059
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x2a0]
push eax
push 0
push str.ItemType
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
xor ecx, ecx
cmp eax, 4
setne cl
mov dword [ebp - 0x4ac], ecx
jne 0x10017c7c
test edi, edi
je 0x10017c74
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 0x4ac]
jmp 0x10017c08
call fcn.10008da0
mov ecx, eax
test ecx, ecx
je 0x1001823b
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x4d0], edi
mov byte [ebp - 4], 2
call fcn.10008da0
mov ecx, eax
test ecx, ecx
je 0x10018245
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x4ac], eax
push 0x100737c0
lea ecx, [ebp - 0x4ac]
mov byte [ebp - 4], 3
call fcn.100084a0
test al, al
jne 0x10017ce4
push 1
push 0x100737c0
lea ecx, [ebp - 0x4ac]
call fcn.10009770
mov eax, dword [ebp - 0x4ac]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
mov dword [ebp - 0x4c8], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x10017d08
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x10017d1e
call fcn.10008da0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x1001824f
mov eax, dword [ecx]
call dword [eax + 0xc]
push dword [esi - 0xc]
add eax, 0x10
mov dword [ebp - 0x4c0], 1
mov dword [ebp - 0x4b0], eax
mov eax, dword [ebp - 0x4ac]
push esi
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x4b0]
push eax
call fcn.10008650
mov eax, dword [ebp - 0x4b0]
lea ecx, [edi - 0x10]
add esp, 0x14
mov dword [ebp - 0x4b4], ecx
lea edx, [eax - 0x10]
mov dword [ebp - 0x4bc], edx
cmp edx, ecx
je 0x10017dd2
cmp dword [ecx + 0xc], 0
jl 0x10017db7
mov edi, dword [ebp - 0x4b4]
mov ecx, dword [edx]
cmp ecx, dword [edi]
jne 0x10017db7
push edx
call fcn.100085e0
add esp, 4
mov dword [ebp - 0x4b4], eax
mov ecx, ebx
lea edx, [edi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10017dac
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x4b4]
lea edi, [eax + 0x10]
mov dword [ebp - 0x4d0], edi
jmp 0x10017dcc
push dword [eax - 0xc]
lea ecx, [ebp - 0x4d0]
push eax
call fcn.10009770
mov edi, dword [ebp - 0x4d0]
mov edx, dword [ebp - 0x4bc]
mov dword [ebp - 0x4c0], 0
mov eax, ebx
mov byte [ebp - 4], 4
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10017df4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x4c8]
mov eax, ebx
mov byte [ebp - 4], 2
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10017e12
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x2a0]
push eax
push 0
push str.ItemType
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
xor ecx, ecx
cmp eax, 3
setne cl
mov dword [ebp - 0x4ac], ecx
jne 0x10017e72
mov byte [ebp - 4], 1
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x10017e52
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x4c4]
test eax, eax
je 0x10017c74
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 0x4ac]
jmp 0x10017c08
call fcn.10008da0
mov ecx, eax
test ecx, ecx
je 0x10018259
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x4b0], esi
mov byte [ebp - 4], 6
call fcn.10008da0
mov ecx, eax
test ecx, ecx
je 0x10018263
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x4ac], eax
push 0x100737c0
lea ecx, [ebp - 0x4ac]
mov byte [ebp - 4], 7
call fcn.100084a0
test al, al
jne 0x10017eda
push 1
push 0x100737c0
lea ecx, [ebp - 0x4ac]
call fcn.10009770
mov eax, dword [ebp - 0x4ac]
add eax, 0xfffffff0
mov byte [ebp - 4], 9
mov dword [ebp - 0x4e8], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x10017efe
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x10017f14
call fcn.10008da0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x1001826d
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x4ac]
add eax, 0x10
mov dword [ebp - 0x4bc], eax
mov eax, dword [ebp - 0x4b8]
mov dword [ebp - 0x4c0], 2
push dword [eax - 0xc]
push eax
push dword [ecx - 0xc]
lea eax, [ebp - 0x4bc]
push ecx
push eax
call fcn.10008650
add esp, 0x14
mov eax, dword [ebp - 0x4bc]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x4e4], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x10017f73
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x10017f89
call fcn.10008da0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x10018277
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x4c0], 6
mov dword [ebp - 0x4c8], eax
mov eax, dword [ebp - 0x4bc]
push 4
push str.1
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x4c8]
push eax
call fcn.10008650
mov eax, dword [ebp - 0x4c8]
lea ecx, [esi - 0x10]
add esp, 0x14
mov dword [ebp - 0x4d4], ecx
lea edx, [eax - 0x10]
mov dword [ebp - 0x4b4], edx
cmp edx, ecx
je 0x10018040
cmp dword [ecx + 0xc], 0
jl 0x10018025
mov esi, dword [ebp - 0x4d4]
mov ecx, dword [edx]
cmp ecx, dword [esi]
jne 0x10018025
push edx
call fcn.100085e0
add esp, 4
mov dword [ebp - 0x4d4], eax
mov ecx, ebx
lea edx, [esi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1001801a
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x4d4]
lea esi, [eax + 0x10]
mov dword [ebp - 0x4b0], esi
jmp 0x1001803a
push dword [eax - 0xc]
lea ecx, [ebp - 0x4b0]
push eax
call fcn.10009770
mov esi, dword [ebp - 0x4b0]
mov edx, dword [ebp - 0x4b4]
mov dword [ebp - 0x4c0], 2
mov eax, ebx
mov byte [ebp - 4], 9
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10018062
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x4e4]
mov eax, ebx
mov byte [ebp - 4], 8
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10018080
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x4e8]
mov eax, ebx
mov byte [ebp - 4], 6
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001809e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x2a0]
push eax
push 0
push str.ItemType
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
xor ecx, ecx
cmp eax, 3
setne cl
mov dword [ebp - 0x4ac], ecx
jne 0x1001811b
mov byte [ebp - 4], 2
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100180de
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x100180f9
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x4c4]
test eax, eax
je 0x1001810a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x4b8]
mov edi, dword [ebp - 0x4ac]
jmp 0x10017c08
push 0x208
lea eax, [ebp - 0x4a8]
push 0
push eax
call fcn.1004a6f0
add esp, 0xc
lea eax, [ebp - 0x2a0]
push eax
push 0x104
lea eax, [ebp - 0x4a8]
push eax
push 0x1007264c
push str.items
push str.DisabledTask
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push esi
lea eax, [ebp - 0x4a8]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
xor ecx, ecx
mov byte [ebp - 4], 2
test eax, eax
sete cl
add esi, 0xfffffff0
test eax, eax
mov dword [ebp - 0x4ac], ecx
mov eax, ebx
je 0x100181d4
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10018193
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x100181ae
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x4c4]
test eax, eax
je 0x1001810a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x4b8]
mov edi, dword [ebp - 0x4ac]
jmp 0x10017c08
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100181e6
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x10018201
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x4c4]
test eax, eax
je 0x1001810a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x4b8]
mov edi, dword [ebp - 0x4ac]
jmp 0x10017c08
push 0x80004005
call fcn.10008480
push 0x80004005
call fcn.10008480
push 0x80004005
call fcn.10008480
push 0x80004005
call fcn.10008480
push 0x80004005
call fcn.10008480
push 0x80004005
call fcn.10008480
push 0x80004005
call fcn.10008480
push 0x80004005
call fcn.10008480
push 0x80004005
call fcn.10008480
int3