Function at 0x41bc62
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x338
mov eax, 0x46bd46
call fcn.0042dc79
mov eax, dword [ebp + 0x10]
mov ecx, 0x493f4c
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x33c], eax
mov eax, dword [ebp + 0x14]
push 0
mov dword [ebp - 0x32c], eax
mov eax, dword [ebp + 0x1c]
push str.In_Operations::regPathRegister_:_Entered
mov dword [ebp - 0x330], esi
mov dword [ebp - 0x344], eax
call fcn.0040c5b8
push 0x104
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.0042f1f0
add esp, 0xc
mov dword [ebp - 0x334], 0xff
xor ebx, ebx
lea ecx, [ebp - 0x324]
inc ebx
mov dword [ebp - 0x338], ebx
call fcn.0040699e
and dword [ebp - 4], 0
lea eax, [ebp - 0x340]
push eax
push 0x2011f
push 0
push esi
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 0x41bd9b
mov edi, 0x493f4c
push str.In_Operations::regPathRegister_:_RegOpenKeyEx_not_returned_ERROR_SUCCESS__return_false
mov ecx, edi
call fcn.0040c5b8
push esi
lea eax, [ebp - 0x324]
push str.In_Operations::regPathRegister_:_Failed_RegOpenKeyEx_returned__ld
push eax
call fcn.00406b1a
mov eax, dword [ebp - 0x324]
add esp, 0xc
cmp dword [eax - 4], ebx
jle 0x41bd4e
push dword [eax - 0xc]
lea ecx, [ebp - 0x324]
call fcn.00406aae
mov eax, dword [ebp - 0x324]
push ebx
push eax
mov ecx, edi
call fcn.0040c5b8
push dword [ebp - 0x330]
lea eax, [ebp - 0x324]
push str.In_Operations::regPathRegister_:_Failed_Reg_path_is__s
push eax
call fcn.00406b1a
mov esi, dword [ebp - 0x324]
add esp, 0xc
cmp dword [esi - 4], ebx
jle 0x41bd90
push dword [esi - 0xc]
lea ecx, [ebp - 0x324]
call fcn.00406aae
mov esi, dword [ebp - 0x324]
push ebx
push esi
mov ecx, edi
call fcn.0040c5b8
jmp 0x41bdf3
mov esi, 0x493f4c
push str.In_Operations::regPathRegister_:_RegOpenKeyEx_Success
mov ecx, esi
call fcn.0040c5b8
lea eax, [ebp - 0x334]
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x338]
push eax
push 0
push dword [ebp - 0x33c]
push dword [ebp - 0x340]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp byte [ebp - 0x118], 0
mov ecx, esi
push ebx
jne 0x41be02
push str.In_Operations::regPathRegister_:_Error_reading_reg_value__return_false
call fcn.0040c5b8
mov esi, dword [ebp - 0x324]
xor bl, bl
lea ecx, [esi - 0x10]
call fcn.00406c57
mov al, bl
jmp 0x41c009
push str.In_Operations::regPathRegister_:_RegQueryValueEx_Success
call fcn.0040c5b8
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x324]
push str.In_Operations::regPathRegister_:_Folder_path_from_registry_is__s
push eax
call fcn.00406b1a
mov esi, dword [ebp - 0x324]
add esp, 0xc
cmp dword [esi - 4], ebx
jle 0x41be46
push dword [esi - 0xc]
lea ecx, [ebp - 0x324]
call fcn.00406aae
mov esi, dword [ebp - 0x324]
push 0
push esi
mov ecx, 0x493f4c
call fcn.0040c5b8
push dword [ebp - 0x344]
and dword [ebp - 4], 0
lea eax, [ebp - 0x320]
push 0x208
push eax
call fcn.004360d6
add esp, 0xc
lea eax, [ebp - 0x320]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
push str.register
push dword [ebp - 0x32c]
call fcn.00435a9e
pop ecx
pop ecx
test eax, eax
jne 0x41beba
push eax
push str.In_Operations::regPathRegister_:_Action___Register
mov ecx, 0x493f4c
call fcn.0040c5b8
push str.regsvr32__s
lea ecx, [ebp - 0x328]
call fcn.0040c993
mov byte [ebp - 4], 3
jmp 0x41bef9
push str.unregister
push dword [ebp - 0x32c]
call fcn.00435a9e
pop ecx
pop ecx
mov ecx, 0x493f4c
push 0
test eax, eax
jne 0x41bfd8
push str.In_Operations::regPathRegister_:_Action___Unregister
call fcn.0040c5b8
push str.regsvr32__s__u
lea ecx, [ebp - 0x328]
call fcn.0040c993
mov byte [ebp - 4], 4
lea eax, [ebp - 0x118]
push eax
call fcn.00436130
pop ecx
push eax
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x328]
call fcn.0040c295
mov esi, 0x46f9b8
push esi
call fcn.00436130
pop ecx
push eax
push esi
lea ecx, [ebp - 0x328]
call fcn.0040c295
test edi, edi
jne 0x41bf3a
xor eax, eax
jmp 0x41bf41
push edi
call fcn.00436130
pop ecx
push eax
push edi
lea ecx, [ebp - 0x328]
call fcn.0040c295
mov edi, dword [ebp - 0x328]
cmp dword [edi - 4], ebx
jle 0x41bf6d
push dword [edi - 0xc]
lea ecx, [ebp - 0x328]
call fcn.00406aae
mov edi, dword [ebp - 0x328]
push edi
lea eax, [ebp - 0x324]
push str.In_Operations::regPathRegister_:_cmdline_is__s
push eax
call fcn.00406b1a
mov esi, dword [ebp - 0x324]
add esp, 0xc
cmp dword [esi - 4], ebx
jle 0x41bfa1
push dword [esi - 0xc]
lea ecx, [ebp - 0x324]
call fcn.00406aae
mov esi, dword [ebp - 0x324]
push 0
push esi
mov ecx, 0x493f4c
call fcn.0040c5b8
lea eax, [ebp - 0x320]
push eax
push edi
push 0x474640
call fcn.0041a429
mov ecx, dword [ebp - 0x328]
add esp, 0xc
mov bl, al
lea ecx, [ecx - 0x10]
call fcn.00406c57
jmp 0x41bdf3
push str.In_Operations::regPathRegister_:_Action_not_specified
jmp 0x41bd94
call fcn.0042dbc6
ret