Function at 0x41b8eb
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x128
mov eax, 0x46bcf6
call fcn.0042dc79
mov eax, dword [ebp + 0x10]
mov ecx, 0x493f4c
mov edi, dword [ebp + 0xc]
push 0
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp + 0x14]
push str.In_Operations::regPathOp_:_Entered
mov dword [ebp - 0x134], eax
call fcn.0040c5b8
push 0x104
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.0042f1f0
add esp, 0xc
mov dword [ebp - 0x124], 0xff
xor ebx, ebx
lea ecx, [ebp - 0x11c]
inc ebx
mov dword [ebp - 0x128], ebx
call fcn.0040699e
and dword [ebp - 4], 0
lea eax, [ebp - 0x120]
push eax
push 0x2011f
push 0
push edi
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [ebp - 4], bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
push ebx
test esi, esi
je 0x41bb31
push str.In_Operations::regPathOp_:_RegOpenKeyEx_not_returned_ERROR_SUCCESS__return_false
mov ecx, 0x493f4c
call fcn.0040c5b8
push esi
lea eax, [ebp - 0x11c]
push str.In_Operations::regPathOp_:_Failed_RegOpenKeyEx_returned__ld
push eax
call fcn.00406b1a
mov eax, dword [ebp - 0x11c]
add esp, 0xc
cmp dword [eax - 4], ebx
jle 0x41b9c3
push dword [eax - 0xc]
lea ecx, [ebp - 0x11c]
call fcn.00406aae
mov eax, dword [ebp - 0x11c]
push ebx
mov esi, 0x493f4c
push eax
mov ecx, esi
call fcn.0040c5b8
push edi
lea eax, [ebp - 0x11c]
push str.In_Operations::regPathOp_:_Failed_Reg_path_is__s
push eax
call fcn.00406b1a
add esp, 0xc
mov ecx, esi
push ebx
push str.In_Operations::regPathOp_:_Checking_for_WOW6432Node
call fcn.0040c5b8
mov esi, dword [ebp - 0x11c]
cmp dword [esi - 4], ebx
jle 0x41ba12
push dword [esi - 0xc]
lea ecx, [ebp - 0x11c]
call fcn.00406aae
mov esi, dword [ebp - 0x11c]
push ebx
push esi
mov ecx, 0x493f4c
call fcn.0040c5b8
lea eax, [ebp - 0x120]
push eax
push 0xf023f
push 0
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x130], eax
push ebx
test eax, eax
je 0x41badf
mov esi, 0x493f4c
push str.In_Operations::regPathOp_:_RegOpenKeyEx_KEY_WOW64_32KEY__not_returned_ERROR_SUCCESS__return_false
mov ecx, esi
call fcn.0040c5b8
push dword [ebp - 0x130]
lea eax, [ebp - 0x11c]
push str.In_Operations::regPathOp_:_Failed_RegOpenKeyEx_returned__ld
push eax
call fcn.00406b1a
mov eax, dword [ebp - 0x11c]
add esp, 0xc
cmp dword [eax - 4], ebx
jle 0x41ba91
push dword [eax - 0xc]
lea ecx, [ebp - 0x11c]
call fcn.00406aae
mov eax, dword [ebp - 0x11c]
push ebx
push eax
mov ecx, esi
call fcn.0040c5b8
push edi
lea eax, [ebp - 0x11c]
push str.In_Operations::regPathOp_:_Failed_Reg_path_is__s
push eax
call fcn.00406b1a
mov esi, dword [ebp - 0x11c]
add esp, 0xc
cmp dword [esi - 4], ebx
jle 0x41bace
push dword [esi - 0xc]
lea ecx, [ebp - 0x11c]
call fcn.00406aae
mov esi, dword [ebp - 0x11c]
push ebx
push esi
mov ecx, 0x493f4c
call fcn.0040c5b8
jmp 0x41bb89
mov edi, 0x493f4c
push str.In_Operations::regPathOp_:_RegOpenKeyEx__KEY_WOW64_32KEY__Success
mov ecx, edi
call fcn.0040c5b8
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x128]
push eax
push 0
push dword [ebp - 0x12c]
push dword [ebp - 0x120]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp byte [ebp - 0x118], 0
mov ecx, edi
push ebx
jne 0x41bb98
push str.In_Operations::regPathOp_:_Error_reading_reg_value__return_false
call fcn.0040c5b8
jmp 0x41bb87
mov edi, 0x493f4c
push str.In_Operations::regPathOp_:_RegOpenKeyEx_Success
mov ecx, edi
call fcn.0040c5b8
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x128]
push eax
push 0
push dword [ebp - 0x12c]
push dword [ebp - 0x120]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp byte [ebp - 0x118], 0
mov ecx, edi
push ebx
jne 0x41bb98
push str.In_Operations::regPathOp_:_Error_reading_reg_value__return_false
call fcn.0040c5b8
mov esi, dword [ebp - 0x11c]
xor bl, bl
lea ecx, [esi - 0x10]
call fcn.00406c57
mov al, bl
jmp 0x41bc5c
push str.In_Operations::regPathOp_:_RegQueryValueEx_Success
call fcn.0040c5b8
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x11c]
push str.In_Operations::regPathOp_:_Folder_path_from_registry_is__s
push eax
call fcn.00406b1a
mov esi, dword [ebp - 0x11c]
add esp, 0xc
cmp dword [esi - 4], ebx
jle 0x41bbdc
push dword [esi - 0xc]
lea ecx, [ebp - 0x11c]
call fcn.00406aae
mov esi, dword [ebp - 0x11c]
push 0
push esi
mov ecx, edi
call fcn.0040c5b8
and dword [ebp - 4], 0
push str.remove
push dword [ebp - 0x134]
call fcn.00435a9e
pop ecx
pop ecx
mov ecx, edi
push 0
test eax, eax
jne 0x41bc2b
push str.In_Operations::regPathOp_:_Action___Removing_folder
call fcn.0040c5b8
push 0
lea eax, [ebp - 0x118]
push eax
push str.directory
call fcn.0041b2ad
add esp, 0xc
mov bl, al
jmp 0x41bb89
push str.In_Operations::regPathOp_:_Action_not_specified
jmp 0x41bad5
call fcn.0042dbc6
ret