Function at 0x40f941
Capabilities:
Delete registry value
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
push 0xffffffffffffffff
push dword [0x42f164]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xf003f
call fcn.0040ef62
xor ebx, ebx
pop ecx
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x40faed
push ebx
lea ecx, [ebp - 4]
push ebx
push ecx
lea ecx, [ebp - 0x18]
push ebx
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov esi, eax
cmp esi, ebx
je 0x40f9ac
push dword [0x42f164]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
push str.Error__ld_querying_Softwrap_registry_key._nTo_run_this_program__ask_your_administrator_to_create_give_you_full_registry_access_nto_HKEY_CLASSES_ROOT._Until_this_is_done__Softwrap_cannot_continue._If_the_problem_npersists__please_contact_Softwrap_Support__details_on_http:__www.softwrap.com_
call fcn.004099b6
pop ecx
pop ecx
jmp 0x40fb02
mov eax, dword [ebp + 0xc]
cmp eax, ebx
jle 0x40f9b6
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
add eax, 0x230
push eax
mov dword [ebp - 0xc], eax
call fcn.004179b4
mov edi, eax
mov dword [esp], 0x22c
call fcn.004179b4
mov dword [ebp - 0x10], eax
pop ecx
lea eax, [ebp - 0xc]
mov esi, str.size10
push eax
push edi
push ebx
push ebx
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp + 0xc], eax
cmp eax, ebx
mov eax, dword [ebp - 4]
je 0x40fa1b
cmp eax, ebx
je 0x40fa1b
push dword [0x42f164]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [ebp + 0xc]
push str.Error__ld_querying_Softwrap_registry_key._nTo_run_this_program__ask_your_administrator_to_create_give_you_full_registry_access_nto_HKEY_CLASSES_ROOT._Until_this_is_done__Softwrap_cannot_continue._If_the_problem_npersists__please_contact_Softwrap_Support__details_on_http:__www.softwrap.com_
call fcn.004099b6
jmp 0x40faeb
and dword [ebp - 0x14], 0
and dword [ebp + 0xc], 0
xor bl, bl
test eax, eax
jbe 0x40fa76
mov eax, dword [ebp + 0xc]
push 2
add eax, edi
push eax
push dword [ebp - 0x10]
call fcn.0040ced0
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
add eax, 0x18
push 0x14
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x18
push eax
call fcn.004185f0
add esp, 0x18
test eax, eax
jne 0x40fa60
mov eax, dword [ebp + 0xc]
mov bl, 1
mov dword [ebp - 0x14], eax
add dword [ebp + 0xc], 0x230
mov eax, dword [ebp - 4]
cmp dword [ebp + 0xc], eax
jb 0x40fa29
test bl, bl
je 0x40fa76
mov eax, dword [ebp - 0x14]
add eax, edi
push 1
push eax
push dword [ebp + 8]
call fcn.0040ced0
add esp, 0xc
mov dword [ebp - 0xc], eax
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
neg bl
sbb ebx, ebx
and bx, 0xfdd0
add ebx, 0x230
add ebx, dword [ebp - 4]
push ebx
push edi
push 3
push 0
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
test esi, esi
je 0x40fad4
push dword [0x42f164]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
push str.Error__ld_setting_Softwrap_registry_key_value._nTo_run_this_program__ask_your_administrator_to_create_give_you_full_registry_access_nto_HKEY_CLASSES_ROOT._Until_this_is_done__Softwrap_cannot_continue._If_the_problem_npersists__please_contact_Softwrap_Support__details_on_http:__www.softwrap.com_
call fcn.004099b6
pop ecx
pop ecx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
push dword [ebp - 0x10]
call fcn.00417985
push edi
call fcn.00417985
pop ecx
pop ecx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [0x42f164]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop edi
pop esi
pop ebx
leave
ret