Function at 0x433d50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa48
mov eax, dword [0x47f060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push str.SYSTEMCurrentControlSetServices_
lea eax, [ebp - 0xa2c]
push 0x104
push eax
mov dword [ebp - 0xa48], edx
mov esi, ecx
mov dword [ebp - 0xa40], ebx
mov dword [ebp - 0xa44], 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 0x433e1c
push dword [esi]
lea eax, [ebp - 0x20c]
push str.HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServices_
push str._s_s
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_swprintf_s]
add esp, 0x14
lea eax, [ebp - 0x20c]
push 0
push 0
push eax
lea eax, [ebp - 0xa2c]
push eax
mov eax, dword [ebp + 0xc]
push 0
or eax, 0x3010000
push eax
call ebx
test eax, eax
jne 0x4344d5
push edi
mov edi, dword [esi + 4]
lea eax, [ebp - 0xa38]
push eax
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0xa30]
push eax
push 0
push 0x45efa8
push dword [ebp - 0xa3c]
mov dword [ebp - 0xa38], 0x410
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, dword [sym.imp.MSVCR110.dll__wcsicmp]
test edi, edi
je 0x433e98
cmp word [edi], 0
je 0x433e98
cmp eax, 2
jne 0x433e6c
lea ebx, [eax - 1]
jmp 0x433ea1
test eax, eax
jne 0x433e9c
mov eax, dword [ebp - 0xa30]
cmp eax, 1
je 0x433e85
cmp eax, 7
je 0x433e85
cmp eax, 2
jne 0x433e9c
lea eax, [ebp - 0x61c]
push edi
push eax
call ebx
add esp, 8
test eax, eax
je 0x433efa
jmp 0x433e9c
test eax, eax
jne 0x433efa
mov ebx, 2
push 0x45efa8
push dword [esi]
lea eax, [ebp - 0x20c]
push str.HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServices_
push 0x46e68c
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_swprintf_s]
add esp, 0x18
lea eax, [ebp - 0x20c]
push 0
push 0
push eax
push dword [esi + 4]
movzx eax, bl
shl eax, 0x10
or eax, dword [ebp + 0xc]
push 1
or eax, 0x1000001
push eax
call dword [ebp - 0xa40]
test eax, eax
jne 0x4344d4
mov ebx, dword [sym.imp.MSVCR110.dll__wcsicmp]
mov edi, dword [esi + 0x18]
lea eax, [ebp - 0xa38]
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 - 0xa38], 0x410
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test edi, edi
je 0x434008
cmp word [edi], 0
je 0x434008
cmp eax, 2
jne 0x433f4e
lea ebx, [eax - 1]
jmp 0x434015
test eax, eax
jne 0x434010
mov eax, dword [ebp - 0xa30]
cmp eax, 1
je 0x433f6f
cmp eax, 7
je 0x433f6f
cmp eax, 2
jne 0x434010
lea eax, [ebp - 0x61c]
push edi
push eax
call ebx
add esp, 8
test eax, eax
jne 0x434010
mov edi, dword [ebp + 0xc]
mov edx, dword [esi + 0x14]
mov ecx, edx
lea ebx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x433f90
sub ecx, ebx
sar ecx, 1
lea eax, [edx - 8]
push str..sys
lea eax, [eax + ecx*2]
push eax
mov dword [ebp - 0xa38], 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 - 0xa34]
push eax
push 0
push str.Start
push dword [ebp - 0xa3c]
mov dword [ebp - 0xa30], 0x410
je 0x4340ee
lea edi, [esi + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test edi, edi
jne 0x43406f
test eax, eax
je 0x434098
jmp 0x4341c0
test eax, eax
jne 0x433f84
mov ebx, 2
push str.Group
push dword [esi]
lea eax, [ebp - 0x20c]
push str.HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServices_
push 0x46e68c
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_swprintf_s]
mov edi, dword [ebp + 0xc]
add esp, 0x18
lea eax, [ebp - 0x20c]
push 0
push 0
push eax
push dword [esi + 0x18]
movzx eax, bl
shl eax, 0x10
or eax, edi
push 1
or eax, 0x3000002
push eax
call dword [ebp - 0xa40]
test eax, eax
jne 0x4344d4
jmp 0x433f87
cmp eax, 2
je 0x434098
test eax, eax
jne 0x434098
cmp dword [ebp - 0xa34], 4
jne 0x434098
cmp dword [ebp - 0xa30], 4
jne 0x434098
mov eax, dword [ebp - 0x61c]
cmp eax, dword [edi]
je 0x4341c0
push str.Start
push dword [esi]
lea eax, [ebp - 0x20c]
push str.HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServices_
push 0x46e68c
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_swprintf_s]
mov edi, dword [ebp + 0xc]
add esp, 0x18
lea eax, [ebp - 0x20c]
push 0
push 0
push eax
push 0x46b8f0
mov eax, edi
push 4
or eax, 0x3020003
push eax
call dword [ebp - 0xa40]
test eax, eax
jne 0x4344d4
jmp 0x4341c3
lea ebx, [esi + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test ebx, ebx
jne 0x434105
test eax, eax
jne 0x4341c0
jmp 0x434133
cmp eax, 2
jne 0x43410f
lea ebx, [eax - 1]
jmp 0x434138
test eax, eax
jne 0x434133
cmp dword [ebp - 0xa34], 4
jne 0x434133
cmp dword [ebp - 0xa30], 4
jne 0x434133
mov eax, dword [ebp - 0x61c]
cmp eax, dword [ebx]
je 0x4341c0
mov ebx, 2
push str.Start
push dword [esi]
lea eax, [ebp - 0x20c]
push str.HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServices_
push 0x46e68c
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 [esi + 0xc]
call dword [sym.imp.MSVCR110.dll__itow_s]
add esp, 0x34
lea eax, [ebp - 0x20c]
push 0
push 0
push eax
lea eax, [ebp - 0x414]
push eax
movzx eax, bl
shl eax, 0x10
or eax, edi
push 4
or eax, 0x3000003
push eax
call dword [ebp - 0xa40]
test eax, eax
jne 0x4344d4
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0xa30]
push eax
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0xa34]
push eax
push 0
push str.Type
push dword [ebp - 0xa3c]
lea ebx, [esi + 8]
mov dword [ebp - 0xa30], 0x410
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test ebx, ebx
jne 0x434206
test eax, eax
jne 0x4342c1
jmp 0x434234
cmp eax, 2
jne 0x434210
lea ebx, [eax - 1]
jmp 0x434239
test eax, eax
jne 0x434234
cmp dword [ebp - 0xa34], 4
jne 0x434234
cmp dword [ebp - 0xa30], 4
jne 0x434234
mov eax, dword [ebp - 0x61c]
cmp eax, dword [ebx]
je 0x4342c1
mov ebx, 2
push str.Type
push dword [esi]
lea eax, [ebp - 0x20c]
push str.HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServices_
push 0x46e68c
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 [esi + 8]
call dword [sym.imp.MSVCR110.dll__itow_s]
add esp, 0x34
lea eax, [ebp - 0x20c]
push 0
push 0
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 - 0xa40]
test eax, eax
jne 0x4344d4
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 - 0xa38]
call dword [sym.imp.MSVCR110.dll__wcsicmp]
add esp, 0x14
push dword [esi + 0x14]
test eax, eax
push dword [ebp - 0xa48]
lea eax, [ebp - 0x824]
je 0x43430a
push str._s_s
jmp 0x43430f
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.00433c10
mov ebx, eax
test ebx, ebx
je 0x434397
push str.ImagePath
push dword [esi]
lea eax, [ebp - 0x20c]
push str.HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServices_
push 0x46e68c
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_swprintf_s]
add esp, 0x18
lea eax, [ebp - 0x20c]
push 0
push 0
push eax
lea eax, [ebp - 0x824]
push eax
movzx eax, bl
mov ebx, dword [ebp - 0xa40]
shl eax, 0x10
or eax, edi
push 2
or eax, 0x3000005
push eax
call ebx
test eax, eax
jne 0x4344d4
jmp 0x43439d
mov ebx, dword [ebp - 0xa40]
push str..sys
push dword [ebp - 0xa38]
call dword [sym.imp.MSVCR110.dll__wcsicmp]
add esp, 8
test eax, eax
lea eax, [ebp - 0xa34]
push eax
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0xa38]
push eax
push 0
push str.ObjectName
push dword [ebp - 0xa3c]
mov dword [ebp - 0xa34], 0x410
je 0x43447e
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
jne 0x4343f5
lea ebx, [eax - 1]
jmp 0x434430
test eax, eax
jne 0x43442b
mov eax, dword [ebp - 0xa38]
cmp eax, 1
je 0x43440e
cmp eax, 7
je 0x43440e
cmp eax, 2
jne 0x43442b
lea eax, [ebp - 0x61c]
push str.LocalSystem
push eax
call dword [sym.imp.MSVCR110.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x4344ca
mov ebx, 2
push str.ObjectName
push dword [esi]
lea eax, [ebp - 0x20c]
push str.HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServices_
push 0x46e68c
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_swprintf_s]
add esp, 0x18
lea eax, [ebp - 0x20c]
push 0
push 0
push eax
movzx eax, bl
shl eax, 0x10
push str.LocalSystem
or eax, edi
push 1
or eax, 0x3000006
push eax
call dword [ebp - 0xa40]
jmp 0x4344c6
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4344ca
push str.ObjectName
push dword [esi]
lea eax, [ebp - 0x20c]
push str.HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServices_
push 0x46e68c
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_swprintf_s]
add esp, 0x18
lea eax, [ebp - 0x20c]
push 0
push 0
push eax
push 0
push 1
or edi, 0x3020006
push edi
call ebx
test eax, eax
jne 0x4344d4
mov dword [ebp - 0xa44], 1
pop edi
push dword [ebp - 0xa3c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xa44]
pop esi
xor ecx, ebp
pop ebx
call fcn.00452076
mov esp, ebp
pop ebp
ret 0x14