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

Disassembly:
push 0x144
mov eax, 0x10013088
call fcn.10011927
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push edi
push str._callRegistry__mode:__d_n
push dword [0x1001b748]
call fcn.10001026
push dword [0x1001b748]
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
call esi
add esp, 0x10
lea ecx, [ebp - 0x144]
push str.SOFTWARETibiazQt_DLL_Gorgo
call fcn.10002c95
and dword [ebp - 4], 0
lea ecx, [ebp - 0x12c]
push str.remember
call fcn.10002c95
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x12c]
cmp dword [ebp - 0x118], 0x10
jb 0x1000effc
mov ecx, dword [ebp - 0x12c]
cmp dword [ebp - 0x130], 0x10
lea eax, [ebp - 0x144]
jb 0x1000f011
mov eax, dword [ebp - 0x144]
push ecx
push eax
push str._callRegistry__subKey:__s__valueName:__s_n
push dword [0x1001b748]
call fcn.10001026
push dword [0x1001b748]
call esi
xor edx, edx
mov dword [ebp - 0x150], 0xff
add esp, 0x14
mov dword [ebp - 0x14c], edx
test edi, edi
jne 0x1000f157
cmp dword [ebp - 0x130], 0x10
lea eax, [ebp - 0x144]
jb 0x1000f05d
mov eax, dword [ebp - 0x144]
lea ecx, [ebp - 0x148]
push ecx
push 0x20019
push edx
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000f2c5
cmp dword [ebp - 0x118], 0x10
lea eax, [ebp - 0x12c]
jb 0x1000f093
mov eax, dword [ebp - 0x12c]
lea ecx, [ebp - 0x150]
push ecx
lea ecx, [ebp - 0x114]
push ecx
lea ecx, [ebp - 0x14c]
push ecx
push 0
push eax
push dword [ebp - 0x148]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1000f14c
cmp dword [ebp - 0x14c], 1
jne 0x1000f12c
lea eax, [ebp - 0x114]
push eax
push str._callRegistry__Value:__s_n
push dword [0x1001b748]
call fcn.10001026
push dword [0x1001b748]
call esi
lea eax, [ebp - 0x114]
mov byte [0x1001b6fc], 1
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strlen]
add esp, 0x14
mov edi, 0x1001b700
mov ecx, edi
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.10002e9b
cmp dword [0x1001b714], 0x10
jb 0x1000f121
mov edi, dword [0x1001b700]
push edi
push str._callRegistry__rememberData:__s_n
jmp 0x1000f2a1
push str._callRegistry__Unexpected_value_type._n
push dword [0x1001b748]
call fcn.10001026
push dword [0x1001b748]
call esi
add esp, 0xc
jmp 0x1000f2b7
push eax
push str._callRegistry__Failed_to_read_the_value__status:__d._n
jmp 0x1000f2a1
cmp edi, 1
jne 0x1000f204
cmp dword [ebp - 0x130], 0x10
lea eax, [ebp - 0x144]
jb 0x1000f175
mov eax, dword [ebp - 0x144]
push edx
lea ecx, [ebp - 0x148]
push ecx
push edx
push 0x20006
push edx
push edx
push edx
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1000f2c5
cmp dword [ebp - 0x118], 0x10
lea edi, [ebp - 0x12c]
jb 0x1000f1af
mov edi, dword [ebp - 0x12c]
push ebx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strlen]
pop ecx
inc eax
push eax
push ebx
push 1
push 0
push edi
push dword [ebp - 0x148]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x1000f1f9
push ebx
push str._callRegistry__Value__s_written_successfully._n
push dword [0x1001b748]
call fcn.10001026
push dword [0x1001b748]
call esi
push ebx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strlen]
add esp, 0x14
push eax
push ebx
jmp 0x1000f28f
push eax
push str._callRegistry__Failed_to_write_the_value__status:__d._n
jmp 0x1000f2a1
cmp edi, 2
jne 0x1000f2e1
cmp dword [ebp - 0x130], 0x10
lea eax, [ebp - 0x144]
jb 0x1000f222
mov eax, dword [ebp - 0x144]
lea ecx, [ebp - 0x148]
push ecx
push 2
push edx
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000f2c5
cmp dword [ebp - 0x118], 0x10
lea eax, [ebp - 0x12c]
jb 0x1000f255
mov eax, dword [ebp - 0x12c]
push eax
push dword [ebp - 0x148]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x1000f29b
push str._callRegistry__Value_deleted_successfully._n
push dword [0x1001b748]
call fcn.10001026
push dword [0x1001b748]
call esi
mov esi, 0x1001435f
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strlen]
add esp, 0x10
push eax
push esi
mov ecx, 0x1001b700
call fcn.10002e9b
jmp 0x1000f2b7
push eax
push str._callRegistry__Failed_to_delete_the_value__status:__d._n
push dword [0x1001b748]
call fcn.10001026
push dword [0x1001b748]
call esi
add esp, 0x10
push dword [ebp - 0x148]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1000f2e1
push eax
push str._callRegistry__Failed_to_open_the_registry_key__status:__d._n
push dword [0x1001b748]
call fcn.10001026
push dword [0x1001b748]
call esi
add esp, 0x10
lea ecx, [ebp - 0x12c]
call fcn.10002c3b
lea ecx, [ebp - 0x144]
call fcn.10002c3b
call fcn.100118d6
ret 8