Function at 0x43a219
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x4ae428
call fcn.0049f0d0
sub esp, 0x444
mov eax, dword [0x4f0dd0]
mov ecx, dword [ebp + 0xc]
push ebx
xor eax, ebp
push esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
push edi
mov dword [ebp - 0x440], ecx
mov ecx, dword [ebp + 0x10]
push eax
mov dword [ebp - 0x44c], ecx
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov edx, eax
xor esi, esi
cmp edx, esi
je 0x43a3a6
cmp word [edx], si
je 0x43a3a6
push 0x7f
pop ecx
mov word [ebp - 0x210], si
xor eax, eax
lea edi, [ebp - 0x20e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x438]
push eax
mov edi, 0x20019
push edi
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edx
mov ebx, Ordinal_1
push ebx
mov dword [ebp - 0x434], 0x100
mov dword [ebp - 0x43c], 1
call esi
test eax, eax
jne 0x43a3a6
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x43c]
push eax
push 0
push 0x4b82fc
push dword [ebp - 0x438]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43a4ab
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x42c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
and dword [ebp - 4], 0
push str._shellopen
lea ecx, [ebp - 0x42c]
call dword [0x4b7454]
lea eax, [ebp - 0x430]
push eax
push edi
xor edi, edi
push edi
lea ecx, [ebp - 0x42c]
mov dword [ebp - 0x434], 0x100
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
push ebx
call esi
test eax, eax
jne 0x43a38d
push 0x200
lea eax, [ebp - 0x210]
push edi
push eax
call sub.MSVCR71.dll_memset
add esp, 0xc
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x43c]
push eax
push edi
push 0x4b82fc
push dword [ebp - 0x430]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x430]
mov dword [ebp - 0x444], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x444], edi
jne 0x43a396
cmp word [ebp - 0x210], di
jne 0x43a3c4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x42c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.0049f127
leave
ret 0xc
mov ecx, dword [ebp - 0x440]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
mov word [ebp - 0x410], di
push 0x7f
pop ecx
xor eax, eax
lea edi, [ebp - 0x40e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor edi, edi
inc edi
push str.command
lea ecx, [ebp - 0x42c]
mov dword [ebp - 0x448], 0x100
mov dword [ebp - 0x450], edi
call dword [0x4b7454]
lea eax, [ebp - 0x430]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x42c]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
push ebx
call esi
test eax, eax
jne 0x43a467
lea eax, [ebp - 0x448]
push eax
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x450]
push eax
push 0
push 0x4b82fc
push dword [ebp - 0x430]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x430]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp word [ebp - 0x410], 0
jne 0x43a488
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x42c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, edi
jmp 0x43a3a9
mov ecx, dword [ebp - 0x44c]
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x42c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push dword [ebp - 0x438]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x43a3a9