Function at 0x5fe8e0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x706682
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x831704]
xor eax, esp
mov dword [esp + 0xc0], eax
push ebx
push esi
push edi
mov eax, dword [0x831704]
xor eax, esp
push eax
lea eax, [esp + 0xd4]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0xe4]
push 1
call fcn.005fc120
test al, al
je 0x5fe969
cmp dword [esi + 0x10], 0
jne 0x5fe938
xor eax, eax
jmp 0x5fe944
cmp dword [esi + 0x14], 8
jb 0x5fe942
mov eax, dword [esi]
jmp 0x5fe944
mov eax, esi
push 4
lea ecx, [esp + 0xec]
push ecx
push 4
push 0
push eax
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [edi + 0x30], eax
test eax, eax
jne 0x5fe969
mov al, 1
jmp 0x5fec36
sub esp, 0x20
mov ecx, esp
push 0x721844
call fcn.00418040
push 1
call fcn.00439d10
add esp, 0x24
test al, al
je 0x5fec34
push str.Cant_set_value_of__s
lea ecx, [esp + 0xb4]
call fcn.00418040
xor eax, eax
mov dword [esp + 0xdc], 0
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], 0
mov word [esp + 0x28], ax
mov dword [esp + 0x40], eax
mov byte [esp + 0xdc], 1
call fcn.005eae80
test eax, eax
je 0x5fe9ec
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0xb4]
push ecx
mov ecx, eax
call fcn.005ecae0
mov ebx, eax
test ebx, ebx
jne 0x5fe9fe
lea eax, [esp + 0xb0]
push eax
call fcn.005ed1e0
add esp, 4
mov ebx, eax
call fcn.005c92f0
mov dword [esp + 0x14], eax
mov byte [esp + 0xdc], 2
call fcn.005c92f0
mov dword [esp + 0x18], eax
mov byte [esp + 0xdc], 3
call fcn.005c92f0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], 0
push str.wx.sys_error
lea ecx, [esp + 0x94]
mov byte [esp + 0xe0], 4
call fcn.00418040
sub esp, 0x20
mov byte [esp + 0xfc], 5
mov eax, esp
mov dword [esp + 0x30], esp
push esi
push edi
push eax
call fcn.005fb2b0
push 0
mov byte [esp + 0x10c], 6
mov dword [esp + 0x78], 1
mov dword [esp + 0x80], str....._srcmsw_registry.cpp
mov dword [esp + 0x88], str.wxRegKey::SetValue
mov dword [esp + 0x84], 0x37f
mov dword [esp + 0x8c], 0x721844
call dword [sym.imp.MSVCR120.dll__time64]
add esp, 0x10
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [esp + 0x88], eax
xor eax, eax
mov dword [esp + 0x8c], 0
mov dword [esp + 0xa4], 7
mov dword [esp + 0xa0], 0
mov word [esp + 0x90], ax
mov dword [esp + 0xa8], eax
mov byte [esp + 0xfc], 7
lea eax, [esp + 0x34]
push eax
push dword [edi + 0x30]
call sub.KERNEL32.dll_GetLastError
push eax
lea eax, [esp + 0xbc]
push eax
lea ecx, [esp + 0x78]
call fcn.0049dde0
mov ecx, eax
mov byte [esp + 0x104], 8
call fcn.005f8660
push dword [esp + 0x88]
mov esi, dword [sym.imp.MSVCR120.dll_free]
mov byte [esp + 0xe0], 5
call esi
add esp, 4
cmp dword [esp + 0x84], 8
jb 0x5feb60
push dword [esp + 0x70]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esp + 0x84], 7
lea ecx, [esp + 0x50]
mov dword [esp + 0x80], 0
mov word [esp + 0x70], ax
call fcn.00439c40
push dword [esp + 0xa8]
call esi
add esp, 4
cmp dword [esp + 0xa4], 8
jb 0x5febab
push dword [esp + 0x90]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esp + 0xa4], 7
lea ecx, [esp + 0x14]
mov dword [esp + 0xa0], 0
mov word [esp + 0x90], ax
mov byte [esp + 0xdc], 1
call fcn.00420020
push dword [esp + 0x40]
call esi
add esp, 4
cmp dword [esp + 0x3c], 8
jb 0x5febf8
push dword [esp + 0x28]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
push dword [esp + 0xc8]
xor eax, eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
call esi
add esp, 4
cmp dword [esp + 0xc4], 8
jb 0x5fec34
push dword [esp + 0xb0]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor al, al
mov ecx, dword [esp + 0xd4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc0]
xor ecx, esp
call fcn.006d1ba7
add esp, 0xd0
ret 8