Function at 0x10014660
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa50
mov eax, dword [0x100e6018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push edi
mov edi, dword [ebp + 0x10]
push str.SYSTEMCurrentControlSetServices_
mov dword [ebp - 0xa40], eax
lea eax, [ebp - 0xa2c]
push 0x104
push eax
mov dword [ebp - 0xa50], edx
mov esi, ecx
mov dword [ebp - 0xa44], edi
mov dword [ebp - 0xa48], ebx
mov dword [ebp - 0xa4c], 0
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
push dword [esi]
lea eax, [ebp - 0xa2c]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscat_s]
add esp, 0x18
lea eax, [ebp - 0xa3c]
push eax
mov eax, dword [ebp + 8]
or eax, 1
push eax
push 0
lea eax, [ebp - 0xa2c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x10014746
push dword [esi]
lea eax, [ebp - 0x20c]
push str.HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServices_
push 0x100b2f7c
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_swprintf_s]
add esp, 0x14
lea eax, [ebp - 0x20c]
push dword [ebp - 0xa40]
push ebx
mov ebx, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0xa2c]
push eax
mov eax, ebx
push 0
or eax, 0x3010000
push eax
call edi
test eax, eax
jne 0x10014e06
jmp 0x10014749
mov ebx, dword [ebp + 0xc]
mov edi, dword [esi + 4]
lea eax, [ebp - 0xa34]
push eax
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0xa30]
push eax
push 0
push 0x100b2f88
push dword [ebp - 0xa3c]
mov dword [ebp - 0xa34], 0x410
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test edi, edi
je 0x100147c2
cmp word [edi], 0
je 0x100147c2
cmp eax, 2
jne 0x10014792
lea ebx, [eax - 1]
jmp 0x100147cb
test eax, eax
jne 0x100147c6
mov eax, dword [ebp - 0xa30]
cmp eax, 1
je 0x100147ab
cmp eax, 7
je 0x100147ab
cmp eax, 2
jne 0x100147c6
lea eax, [ebp - 0x61c]
push edi
push eax
call dword [sym.imp.MSVCR110.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x10014828
jmp 0x100147c6
test eax, eax
jne 0x10014828
mov ebx, 2
push 0x100b2f88
push dword [esi]
lea eax, [ebp - 0x20c]
push str.HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServices_
push 0x100b2fa0
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_swprintf_s]
add esp, 0x18
lea eax, [ebp - 0x20c]
push dword [ebp - 0xa40]
push dword [ebp - 0xa48]
push eax
push dword [esi + 4]
movzx eax, bl
mov ebx, dword [ebp + 0xc]
shl eax, 0x10
or eax, ebx
push 1
or eax, 0x1000001
push eax
call dword [ebp - 0xa44]
test eax, eax
jne 0x10014e06
mov edi, dword [esi + 0x18]
lea eax, [ebp - 0xa34]
push eax
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0xa30]
push eax
push 0
push str.Group
push dword [ebp - 0xa3c]
mov dword [ebp - 0xa34], 0x410
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test edi, edi
je 0x100148a1
cmp word [edi], 0
je 0x100148a1
cmp eax, 2
jne 0x10014871
lea ebx, [eax - 1]
jmp 0x100148aa
test eax, eax
jne 0x100148a5
mov eax, dword [ebp - 0xa30]
cmp eax, 1
je 0x1001488a
cmp eax, 7
je 0x1001488a
cmp eax, 2
jne 0x100148a5
lea eax, [ebp - 0x61c]
push edi
push eax
call dword [sym.imp.MSVCR110.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x10014907
jmp 0x100148a5
test eax, eax
jne 0x10014907
mov ebx, 2
push str.Group
push dword [esi]
lea eax, [ebp - 0x20c]
push str.HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServices_
push 0x100b2fa0
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_swprintf_s]
add esp, 0x18
lea eax, [ebp - 0x20c]
push dword [ebp - 0xa40]
push dword [ebp - 0xa48]
push eax
push dword [esi + 0x18]
movzx eax, bl
mov ebx, dword [ebp + 0xc]
shl eax, 0x10
or eax, ebx
push 1
or eax, 0x3000002
push eax
call dword [ebp - 0xa44]
test eax, eax
jne 0x10014e06
mov edx, dword [esi + 0x14]
mov ecx, edx
lea edi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10014910
sub ecx, edi
sar ecx, 1
lea eax, [edx - 8]
push str..sys
lea eax, [eax + ecx*2]
push eax
mov dword [ebp - 0xa34], eax
call dword [sym.imp.MSVCR110.dll__wcsicmp]
add esp, 8
test eax, eax
lea eax, [ebp - 0xa30]
push eax
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0xa38]
push eax
push 0
push str.Start
push dword [ebp - 0xa3c]
lea edi, [esi + 0xc]
mov dword [ebp - 0xa30], 0x410
je 0x100149f7
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test edi, edi
jne 0x10014984
test eax, eax
je 0x100149ad
jmp 0x10014ace
cmp eax, 2
je 0x100149ad
test eax, eax
jne 0x100149ad
cmp dword [ebp - 0xa38], 4
jne 0x100149ad
cmp dword [ebp - 0xa30], 4
jne 0x100149ad
mov eax, dword [ebp - 0x61c]
cmp eax, dword [edi]
je 0x10014ace
push str.Start
push dword [esi]
lea eax, [ebp - 0x20c]
push str.HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServices_
push 0x100b2fa0
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_swprintf_s]
add esp, 0x18
lea eax, [ebp - 0x20c]
push dword [ebp - 0xa40]
push dword [ebp - 0xa48]
push eax
mov eax, ebx
push 0x100b2fd4
or eax, 0x3020003
jmp 0x10014abd
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test edi, edi
jne 0x10014a0b
test eax, eax
jne 0x10014ace
jmp 0x10014a39
cmp eax, 2
jne 0x10014a15
lea ebx, [eax - 1]
jmp 0x10014a3e
test eax, eax
jne 0x10014a39
cmp dword [ebp - 0xa38], 4
jne 0x10014a39
cmp dword [ebp - 0xa30], 4
jne 0x10014a39
mov eax, dword [ebp - 0x61c]
cmp eax, dword [edi]
je 0x10014ace
mov ebx, 2
push str.Start
push dword [esi]
lea eax, [ebp - 0x20c]
push str.HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServices_
push 0x100b2fa0
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_swprintf_s]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call sub.MSVCR110.dll_memset
push 0xa
push 0x104
lea eax, [ebp - 0x414]
push eax
push dword [edi]
call dword [sym.imp.MSVCR110.dll__itow_s]
add esp, 0x34
lea eax, [ebp - 0x20c]
push dword [ebp - 0xa40]
push dword [ebp - 0xa48]
push eax
lea eax, [ebp - 0x414]
push eax
movzx eax, bl
shl eax, 0x10
or eax, dword [ebp + 0xc]
or eax, 0x3000003
push 4
push eax
call dword [ebp - 0xa44]
test eax, eax
jne 0x10014e06
lea eax, [ebp - 0xa30]
push eax
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0xa38]
push eax
push 0
push 0x100b2fd8
push dword [ebp - 0xa3c]
lea edi, [esi + 8]
mov dword [ebp - 0xa30], 0x410
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test edi, edi
jne 0x10014b5e
test eax, eax
je 0x10014b88
mov edi, dword [ebp + 0xc]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x824], ax
lea eax, [ebp - 0x822]
push eax
call sub.MSVCR110.dll_memset
push str..sys
push dword [ebp - 0xa34]
call dword [sym.imp.MSVCR110.dll__wcsicmp]
add esp, 0x14
push dword [esi + 0x14]
test eax, eax
push dword [ebp - 0xa50]
lea eax, [ebp - 0x824]
je 0x10014c24
push 0x100b2f7c
jmp 0x10014c29
cmp eax, 2
jne 0x10014b68
lea ebx, [eax - 1]
jmp 0x10014b8d
test eax, eax
jne 0x10014b88
cmp dword [ebp - 0xa38], 4
jne 0x10014b88
cmp dword [ebp - 0xa30], 4
jne 0x10014b88
mov eax, dword [ebp - 0x61c]
cmp eax, dword [edi]
je 0x10014b0b
mov ebx, 2
push 0x100b2fd8
push dword [esi]
lea eax, [ebp - 0x20c]
push str.HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServices_
push 0x100b2fa0
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_swprintf_s]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call sub.MSVCR110.dll_memset
push 0xa
push 0x104
lea eax, [ebp - 0x414]
push eax
push dword [edi]
call dword [sym.imp.MSVCR110.dll__itow_s]
mov edi, dword [ebp + 0xc]
add esp, 0x34
lea eax, [ebp - 0x20c]
push dword [ebp - 0xa40]
push dword [ebp - 0xa48]
push eax
lea eax, [ebp - 0x414]
push eax
movzx eax, bl
shl eax, 0x10
or eax, edi
push 4
or eax, 0x3000004
push eax
call dword [ebp - 0xa44]
test eax, eax
jne 0x10014e06
jmp 0x10014b0e
push str.___s_s
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_swprintf_s]
mov ecx, dword [ebp - 0xa3c]
add esp, 0x14
lea eax, [ebp - 0x824]
push eax
push 2
mov edx, str.ImagePath
call fcn.10014520
mov ebx, eax
test ebx, ebx
je 0x10014cb9
push str.ImagePath
push dword [esi]
lea eax, [ebp - 0x20c]
push str.HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServices_
push 0x100b2fa0
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_swprintf_s]
add esp, 0x18
lea eax, [ebp - 0x20c]
push dword [ebp - 0xa40]
push dword [ebp - 0xa48]
push eax
lea eax, [ebp - 0x824]
push eax
movzx eax, bl
mov ebx, dword [ebp - 0xa44]
shl eax, 0x10
or eax, edi
push 2
or eax, 0x3000005
push eax
call ebx
test eax, eax
jne 0x10014e06
jmp 0x10014cbf
mov ebx, dword [ebp - 0xa44]
push str..sys
push dword [ebp - 0xa34]
call dword [sym.imp.MSVCR110.dll__wcsicmp]
add esp, 8
test eax, eax
lea eax, [ebp - 0xa38]
push eax
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0xa34]
push eax
push 0
push str.ObjectName
push dword [ebp - 0xa3c]
mov dword [ebp - 0xa38], 0x410
je 0x10014da8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
jne 0x10014d17
lea ebx, [eax - 1]
jmp 0x10014d52
test eax, eax
jne 0x10014d4d
mov eax, dword [ebp - 0xa34]
cmp eax, 1
je 0x10014d30
cmp eax, 7
je 0x10014d30
cmp eax, 2
jne 0x10014d4d
lea eax, [ebp - 0x61c]
push str.LocalSystem
push eax
call dword [sym.imp.MSVCR110.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x10014dfc
mov ebx, 2
push str.ObjectName
push dword [esi]
lea eax, [ebp - 0x20c]
push str.HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServices_
push 0x100b2fa0
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_swprintf_s]
add esp, 0x18
lea eax, [ebp - 0x20c]
push dword [ebp - 0xa40]
push dword [ebp - 0xa48]
push eax
movzx eax, bl
shl eax, 0x10
push str.LocalSystem
or eax, edi
push 1
or eax, 0x3000006
push eax
call dword [ebp - 0xa44]
jmp 0x10014df8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10014dfc
push str.ObjectName
push dword [esi]
lea eax, [ebp - 0x20c]
push str.HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServices_
push 0x100b2fa0
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_swprintf_s]
add esp, 0x18
lea eax, [ebp - 0x20c]
push dword [ebp - 0xa40]
or edi, 0x3020006
push dword [ebp - 0xa48]
push eax
push 0
push 1
push edi
call ebx
test eax, eax
jne 0x10014e06
mov dword [ebp - 0xa4c], 1
push dword [ebp - 0xa3c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xa4c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100947be
mov esp, ebp
pop ebp
ret 0x14