Function at 0x5fe1c0
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 ebx, ecx
mov edi, dword [esp + 0xe4]
mov esi, dword [esp + 0xe8]
push 1
call fcn.005fc120
test al, al
je 0x5fe25a
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x5fe220
mov esi, dword [esi]
cmp dword [edi + 0x10], 0
jne 0x5fe22a
xor ecx, ecx
jmp 0x5fe236
cmp dword [edi + 0x14], 8
jb 0x5fe234
mov ecx, dword [edi]
jmp 0x5fe236
mov ecx, edi
lea eax, [eax*2 + 2]
push eax
push esi
push 1
push 0
push ecx
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebx + 0x30], eax
test eax, eax
jne 0x5fe25a
mov al, 1
jmp 0x5fe527
sub esp, 0x20
mov ecx, esp
push 0x721844
call fcn.00418040
push 1
call fcn.00439d10
add esp, 0x24
test al, al
je 0x5fe525
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 0x5fe2dd
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0xb4]
push ecx
mov ecx, eax
call fcn.005ecae0
mov esi, eax
test esi, esi
jne 0x5fe2ef
lea eax, [esp + 0xb0]
push eax
call fcn.005ed1e0
add esp, 4
mov esi, 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], esi
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 edi
push ebx
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], 0x429
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 [ebx + 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 0x5fe451
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 0x5fe49c
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 0x5fe4e9
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 0x5fe525
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