Function at 0x4033f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi + 0x14]
or dword [esi], 1
push edi
push eax
push str.Yettie_daemon_:__s_n
xor edi, edi
mov dword [esi + 4], 1
call dword [0x463230]
add esp, 8
test byte [esi], 0x10
je 0x4034a8
mov ecx, dword [esi + 8]
push ebx
push ecx
push str._Initialize_registry___s__...
call dword [0x463230]
mov eax, dword [esi + 0x18]
mov ebx, dword [esi + 8]
add esp, 8
lea edx, [ebp - 4]
push edx
push eax
push reloc.WS2_32.dll_bind
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov edi, eax
test edi, edi
jne 0x40347b
push ebx
call dword [0x4631c8]
add esp, 4
inc eax
push eax
mov eax, dword [ebp - 4]
push ebx
push 1
push edi
push str.ConfigPath
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 4]
push ecx
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop ebx
je 0x403494
push edi
push str.fail__d__n
call dword [0x463230]
add esp, 8
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
or dword [esi], 0x1000
push 0x430048
call dword [0x463230]
add esp, 4
test byte [esi], 0x40
je 0x40353b
mov edx, dword [esi + 0x14]
push edx
push str._Install_service___s__...
call dword [0x463230]
mov ecx, dword [esi + 0x14]
add esp, 8
call fcn.00405ac0
mov edi, eax
test edi, edi
jne 0x40347e
or dword [esi], 0x1000
push 0x430048
call dword [0x463230]
mov ecx, dword [esi + 0x14]
call fcn.00405e70
mov eax, dword [esi + 8]
push eax
push str._Initialize_registry___s__...
call dword [0x463230]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x18]
add esp, 0xc
call fcn.00405da0
mov edi, eax
test edi, edi
jne 0x40347e
mov ecx, dword [esi + 0x14]
or dword [esi], 0x1000
push ecx
call fcn.00405ce0
mov edi, eax
add esp, 4
test edi, edi
jne 0x40347e
push 0x430048
call dword [0x463230]
add esp, 4
test byte [esi], 0x80
je 0x4035ae
mov edx, dword [esi + 0x14]
push edx
push str._Uninstall_service___s__...
call dword [0x463230]
mov ecx, dword [esi + 0x14]
add esp, 8
call fcn.00405c20
mov edi, eax
test edi, edi
jne 0x40347e
or dword [esi], 0x1000
push 0x430048
call dword [0x463230]
mov eax, dword [esi + 0x14]
push eax
push str._Remove_registry___s__...
call dword [0x463230]
mov ecx, dword [esi + 0x14]
push ecx
call fcn.00406090
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x40347e
or dword [esi], 0x1000
push 0x430048
call dword [0x463230]
add esp, 4
test byte [esi], 0x20
je 0x4035ec
mov edx, dword [esi + 0x14]
push edx
push str._Remove_registry___s__...
call dword [0x463230]
mov eax, dword [esi + 0x14]
push eax
call fcn.00406090
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x40347e
or dword [esi], 0x1000
push 0x430048
call dword [0x463230]
add esp, 4
mov eax, dword [esi]
test al, 2
jne 0x40363a
test eax, 0x1000
jne 0x40363a
push str._Load_registry_data_...
call dword [0x463230]
mov ecx, dword [esi + 0x18]
add esp, 4
lea edi, [esi + 8]
call fcn.00405f60
mov edi, eax
test edi, edi
je 0x403629
push edi
push str.fail__d__n
call dword [0x463230]
add esp, 8
jmp 0x403637
push 0x430048
call dword [0x463230]
add esp, 4
or dword [esi], 2
mov eax, dword [esi + 8]
test eax, eax
je 0x403650
push eax
push str._Configuration_info___s__n
call dword [0x463230]
add esp, 8
test dword [esi], 0x200
je 0x403666
push str._Console_service_start__n
call dword [0x463230]
add esp, 4
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret