Function at 0x1006ca30
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101281fb
mov eax, dword fs:[0]
push eax
sub esp, 0x2dc
mov eax, dword [0x10167c60]
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 edi, dword [ebp + 8]
lea eax, [ebp - 0x2d4]
push 0x208
push 0
push eax
mov dword [ebp - 0x2e8], edi
call fcn.100e67c0
add esp, 0xc
lea eax, [ebp - 0x2d4]
push 0x104
push eax
push 0x10000000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x2d4]
push eax
call esi
lea eax, [ebp - 0x2d4]
push eax
call esi
lea ecx, [ebp - 0x2d5]
call fcn.10069450
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push eax
lea eax, [ebp - 0x2d4]
push eax
call esi
lea eax, [ebp - 0x2d4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1006cd54
push 0x208
push eax
lea eax, [ebp - 0x2d4]
push eax
call fcn.100e67c0
add esp, 0xc
mov dword [ebp - 0xcc], 0x4f0053
xor eax, eax
mov dword [ebp - 0xc8], 0x540046
mov word [ebp - 0x4c], ax
mov dword [ebp - 0x2dc], eax
lea eax, [ebp - 0x2dc]
push eax
push 0x20019
push 0
lea eax, [ebp - 0xcc]
mov dword [ebp - 0xc4], 0x410057
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xc0], 0x450052
mov dword [ebp - 0xbc], 0x4d005c
mov dword [ebp - 0xb8], 0x630069
mov dword [ebp - 0xb4], 0x6f0072
mov dword [ebp - 0xb0], 0x6f0073
mov dword [ebp - 0xac], 0x740066
mov dword [ebp - 0xa8], 0x57005c
mov dword [ebp - 0xa4], 0x6e0069
mov dword [ebp - 0xa0], 0x6f0064
mov dword [ebp - 0x9c], 0x730077
mov dword [ebp - 0x98], 0x43005c
mov dword [ebp - 0x94], 0x720075
mov dword [ebp - 0x90], 0x650072
mov dword [ebp - 0x8c], 0x74006e
mov dword [ebp - 0x88], 0x650056
mov dword [ebp - 0x84], 0x730072
mov dword [ebp - 0x80], 0x6f0069
mov dword [ebp - 0x7c], 0x5c006e
mov dword [ebp - 0x78], 0x700041
mov dword [ebp - 0x74], 0x200070
mov dword [ebp - 0x70], 0x610050
mov dword [ebp - 0x6c], 0x680074
mov dword [ebp - 0x68], 0x5c0073
mov dword [ebp - 0x64], 0x360033
mov dword [ebp - 0x60], 0x770030
mov dword [ebp - 0x5c], 0x610070
mov dword [ebp - 0x58], 0x700070
mov dword [ebp - 0x54], 0x65002e
mov dword [ebp - 0x50], 0x650078
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1006cd54
mov ebx, dword [ebp - 0x2dc]
lea eax, [ebp - 0x2e0]
push eax
lea eax, [ebp - 0x2d4]
mov dword [ebp - 0x2e0], 0x208
push eax
lea eax, [ebp - 0x2e4]
push eax
push 0
push str.Path
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1006ccb9
mov eax, dword [ebp - 0x2e4]
cmp eax, 1
je 0x1006cc8c
cmp eax, 2
je 0x1006cc8c
mov eax, 0xd
jmp 0x1006ccb9
mov eax, dword [ebp - 0x2e0]
test eax, eax
je 0x1006ccae
test al, 1
jne 0x1006cca7
shr eax, 1
cmp word [ebp + eax*2 - 0x2d6], 0
je 0x1006ccb7
mov eax, 0xd
jmp 0x1006ccb9
xor eax, eax
mov word [ebp - 0x2d4], ax
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x28], 0x690062
mov dword [ebp - 0x24], 0x640072
mov dword [ebp - 0x20], 0x700077
mov dword [ebp - 0x1c], 0x65002e
mov dword [ebp - 0x18], 0x650078
mov word [ebp - 0x14], cx
mov dword [ebp - 0x48], 0x2e002e
mov dword [ebp - 0x44], 0x33005c
mov dword [ebp - 0x40], 0x300036
mov dword [ebp - 0x3c], 0x700077
mov dword [ebp - 0x38], 0x700061
mov dword [ebp - 0x34], 0x2e0070
mov dword [ebp - 0x30], 0x780065
mov dword [ebp - 0x2c], 0x65
test eax, eax
jne 0x1006cd2b
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2d4]
push eax
call esi
lea eax, [ebp - 0x2d4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1006cd49
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x2d4]
push eax
call esi
test ebx, ebx
je 0x1006cd54
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.100088b0
mov ecx, eax
test ecx, ecx
je 0x1006cdd1
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x2d4]
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x1006cd8a
movzx eax, ax
mov ecx, edi
push eax
call fcn.10008a30
jmp 0x1006cdb1
lea ecx, [ebp - 0x2d4]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1006cd93
sub ecx, edx
lea eax, [ebp - 0x2d4]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.1000b940
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.100c495f
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10008520
int3