Function at 0x1002d6b0
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 0x100c1d3e
mov eax, dword fs:[0]
push eax
sub esp, 0x4dc
mov eax, dword [0x100e716c]
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.1000d330
mov ecx, eax
test ecx, ecx
je 0x1002e116
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x4b4], eax
lea ecx, [ebp - 0x4a9]
mov dword [ebp - 4], 0
call fcn.1002bf10
test eax, eax
je 0x1002e120
mov esi, dword [ebp + 8]
mov ecx, dword [esi]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x1002d74a
test dx, dx
je 0x1002d746
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x1002d74a
add ecx, 4
add eax, 4
test dx, dx
jne 0x1002d724
xor eax, eax
jmp 0x1002d74f
sbb eax, eax
or eax, 1
lea ecx, [ebp - 0x4a9]
test eax, eax
jne 0x1002d7a1
call fcn.1002bd50
mov edx, eax
test edx, edx
jne 0x1002d778
xor ecx, ecx
push ecx
push edx
lea ecx, [ebp - 0x4b4]
call fcn.1000dd30
jmp 0x1002d9a0
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002d780
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x4b4]
call fcn.1000dd30
jmp 0x1002d9a0
call fcn.1002cb50
push eax
push esi
call fcn.100132e0
add esp, 8
lea ecx, [ebp - 0x4a9]
test al, al
je 0x1002d801
call fcn.1002b9d0
mov edx, eax
test edx, edx
jne 0x1002d7d9
xor ecx, ecx
push ecx
push edx
lea ecx, [ebp - 0x4b4]
call fcn.1000dd30
jmp 0x1002d9a0
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002d7e0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x4b4]
call fcn.1000dd30
jmp 0x1002d9a0
call fcn.1002b1f0
push eax
push esi
call fcn.100132e0
add esp, 8
lea ecx, [ebp - 0x4a9]
test al, al
je 0x1002d824
call fcn.1002c1b0
jmp 0x1002d994
call fcn.1002c450
push eax
push esi
call fcn.100132e0
add esp, 8
lea ecx, [ebp - 0x4a9]
test al, al
je 0x1002d847
call fcn.1002c0d0
jmp 0x1002d994
call fcn.1002bff0
push eax
push esi
call fcn.100132e0
add esp, 8
lea ecx, [ebp - 0x4a9]
test al, al
je 0x1002d86a
call fcn.1002b810
jmp 0x1002d994
call fcn.1002d410
push eax
push esi
call fcn.100132e0
add esp, 8
lea ecx, [ebp - 0x4a9]
test al, al
je 0x1002d88d
call fcn.1002b3b0
jmp 0x1002d994
call fcn.1002ced0
push eax
push esi
call fcn.100132e0
add esp, 8
lea ecx, [ebp - 0x4a9]
test al, al
je 0x1002d8b0
call fcn.1002bb90
jmp 0x1002d994
call fcn.1002b8f0
push eax
push esi
call fcn.100132e0
add esp, 8
lea ecx, [ebp - 0x4a9]
test al, al
je 0x1002d8d3
call fcn.1002cdf0
jmp 0x1002d994
call fcn.1002b2d0
push eax
push esi
call fcn.100132e0
add esp, 8
lea ecx, [ebp - 0x4a9]
test al, al
je 0x1002d8f6
call fcn.1002d170
jmp 0x1002d994
call fcn.1002c990
push eax
push esi
call fcn.100132e0
add esp, 8
lea ecx, [ebp - 0x4a9]
test al, al
je 0x1002d916
call fcn.1002d4f0
jmp 0x1002d994
call fcn.1002c8b0
push eax
push esi
call fcn.100132e0
add esp, 8
lea ecx, [ebp - 0x4a9]
test al, al
je 0x1002d936
call fcn.1002c370
jmp 0x1002d994
call fcn.1002c7d0
push eax
push esi
call fcn.100132e0
add esp, 8
lea ecx, [ebp - 0x4a9]
test al, al
je 0x1002d956
call fcn.1002c290
jmp 0x1002d994
call fcn.1002b490
push eax
push esi
call fcn.100132e0
add esp, 8
lea ecx, [ebp - 0x4a9]
test al, al
je 0x1002d976
call fcn.1002c610
jmp 0x1002d994
call fcn.1002be30
push eax
push esi
call fcn.100132e0
add esp, 8
test al, al
je 0x1002d9a0
lea ecx, [ebp - 0x4a9]
call fcn.1002b110
push eax
lea ecx, [ebp - 0x4b4]
call fcn.10013290
mov ecx, dword [ebp - 0x4b4]
or ebx, 0xffffffff
cmp dword [ecx - 0xc], 0
lea edi, [ebx + 2]
je 0x1002e0d4
push 0x210
lea eax, [ebp - 0x2a0]
push 0
push eax
call fcn.1009cb00
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
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x4b8]
push eax
push 0x20219
push 0
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 1
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x4b8], 0
call esi
test eax, eax
jne 0x1002db16
mov dword [ebp - 0x4dc], 0x200
jmp 0x1002db4e
lea eax, [ebp - 0x4b8]
mov dword [ebp - 0x4b8], 0
push eax
push 0x20119
push 0
lea eax, [ebp - 0x90]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x1002e0d4
mov dword [ebp - 0x4dc], 0x100
mov esi, dword [ebp - 0x4b8]
lea eax, [ebp - 0x4b8]
push eax
lea eax, [ebp - 0x2a0]
mov dword [ebp - 0x4e0], esi
push eax
lea eax, [ebp - 0x4bc]
mov dword [ebp - 0x4c4], esi
push eax
push 0
push str.Path
push esi
mov dword [ebp - 0x4b8], 0x210
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1002dbb3
mov eax, dword [ebp - 0x4bc]
cmp eax, 1
je 0x1002dba1
cmp eax, 2
jne 0x1002dbb3
cmp dword [ebp - 0x4b8], 0
jne 0x1002dbb3
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 0x1002dbea
test esi, esi
je 0x1002e0d4
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1002e0d4
lea eax, [ebp - 0x2a0]
push eax
push 0
push str.ItemType
push dword [ebp - 0x4b4]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
xor ecx, ecx
cmp eax, 4
setne cl
mov dword [ebp - 0x4b0], ecx
jne 0x1002dc22
test esi, esi
je 0x1002e0ce
push esi
jmp 0x1002e0c8
call fcn.1000d330
mov ecx, eax
test ecx, ecx
je 0x1002e12a
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x4d0], edi
mov byte [ebp - 4], 2
call fcn.1000d330
mov ecx, eax
test ecx, ecx
je 0x1002e134
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x4b0], eax
push 0x100c7698
lea ecx, [ebp - 0x4b0]
mov byte [ebp - 4], 3
call fcn.1000ca30
test al, al
jne 0x1002dc8a
push 1
push 0x100c7698
lea ecx, [ebp - 0x4b0]
call fcn.1000dd30
mov esi, dword [ebp - 0x4b0]
mov ecx, dword [esi - 0x10]
lea eax, [esi - 0x10]
mov byte [ebp - 4], 5
mov dword [ebp - 0x4c8], eax
test ecx, ecx
je 0x1002dcaf
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x1002dcc5
call fcn.1000d330
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x1002e13e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x4c0], 1
mov dword [ebp - 0x4b8], eax
mov eax, dword [ebp - 0x4b4]
push dword [eax - 0xc]
push eax
push dword [esi - 0xc]
lea eax, [ebp - 0x4b8]
push esi
push eax
call fcn.1000cbe0
mov eax, dword [ebp - 0x4b8]
lea edx, [edi - 0x10]
add esp, 0x14
mov dword [ebp - 0x4bc], edx
lea esi, [eax - 0x10]
cmp esi, edx
je 0x1002dd6d
cmp dword [edx + 0xc], 0
lea edi, [edx + 0xc]
jl 0x1002dd58
mov ecx, dword [esi]
cmp ecx, dword [edx]
jne 0x1002dd58
push esi
call fcn.1000cb70
add esp, 4
mov dword [ebp - 0x4cc], eax
mov ecx, ebx
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x1002dd4d
mov edi, dword [ebp - 0x4bc]
push edi
mov ecx, dword [edi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x4cc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x4d0], edi
jmp 0x1002dd6d
push dword [eax - 0xc]
lea ecx, [ebp - 0x4d0]
push eax
call fcn.1000dd30
mov edi, dword [ebp - 0x4d0]
mov dword [ebp - 0x4c0], 0
mov eax, ebx
mov byte [ebp - 4], 4
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1002dd8f
mov ecx, dword [esi]
push esi
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 0x1002ddad
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 - 0x4b0], ecx
je 0x1002e0a2
call fcn.1000d330
mov ecx, eax
test ecx, ecx
je 0x1002e148
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x4b8], esi
mov byte [ebp - 4], 6
call fcn.1000d330
mov ecx, eax
test ecx, ecx
je 0x1002e152
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x4b0], eax
push 0x100c7698
lea ecx, [ebp - 0x4b0]
mov byte [ebp - 4], 7
call fcn.1000ca30
test al, al
jne 0x1002de3e
push 1
push 0x100c7698
lea ecx, [ebp - 0x4b0]
call fcn.1000dd30
mov eax, dword [ebp - 0x4b0]
add eax, 0xfffffff0
mov byte [ebp - 4], 9
mov dword [ebp - 0x4e8], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x1002de62
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x1002de78
call fcn.1000d330
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x1002e15c
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x4b4]
add eax, 0x10
mov dword [ebp - 0x4c8], eax
mov eax, dword [ebp - 0x4b0]
mov dword [ebp - 0x4c0], 2
push dword [ecx - 0xc]
push ecx
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x4c8]
push eax
call fcn.1000cbe0
add esp, 0x14
mov eax, dword [ebp - 0x4c8]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x4e4], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x1002ded7
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x1002deed
call fcn.1000d330
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x1002e166
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x4c0], 6
mov dword [ebp - 0x4cc], eax
mov eax, dword [ebp - 0x4c8]
push 4
push str.1
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x4cc]
push eax
call fcn.1000cbe0
mov eax, dword [ebp - 0x4cc]
lea ecx, [esi - 0x10]
add esp, 0x14
mov dword [ebp - 0x4d4], ecx
lea edx, [eax - 0x10]
mov dword [ebp - 0x4bc], edx
cmp edx, ecx
je 0x1002dfa4
cmp dword [ecx + 0xc], 0
jl 0x1002df89
mov esi, dword [ebp - 0x4d4]
mov ecx, dword [edx]
cmp ecx, dword [esi]
jne 0x1002df89
push edx
call fcn.1000cb70
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 0x1002df7e
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 - 0x4b8], esi
jmp 0x1002df9e
push dword [eax - 0xc]
lea ecx, [ebp - 0x4b8]
push eax
call fcn.1000dd30
mov esi, dword [ebp - 0x4b8]
mov edx, dword [ebp - 0x4bc]
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 0x1002dfc6
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 0x1002dfe4
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 0x1002e002
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 - 0x4b0], ecx
jne 0x1002e02c
add esi, 0xfffffff0
jmp 0x1002e08a
push 0x208
lea eax, [ebp - 0x4a8]
push 0
push eax
call fcn.1009cb00
add esp, 0xc
lea eax, [ebp - 0x2a0]
push eax
push 0x104
lea eax, [ebp - 0x4a8]
push eax
push 0x100c663c
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
test eax, eax
sete cl
add esi, 0xfffffff0
mov dword [ebp - 0x4b0], ecx
test eax, eax
mov eax, ebx
mov byte [ebp - 4], 2
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1002e0a2
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
mov byte [ebp - 4], 1
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x1002e0bd
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x4c4]
test eax, eax
je 0x1002e0ce
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 0x4b0]
mov eax, dword [ebp - 0x4b4]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1002e0f6
mov ecx, dword [eax]
push eax
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.1007a7c6
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.1000ca10
push 0x80004005
call fcn.1000ca10
push 0x80004005
call fcn.1000ca10
push 0x80004005
call fcn.1000ca10
push 0x80004005
call fcn.1000ca10
push 0x80004005
call fcn.1000ca10
push 0x80004005
call fcn.1000ca10
push 0x80004005
call fcn.1000ca10
push 0x80004005
call fcn.1000ca10
int3