Function at 0x43f380
Capabilities:
Set registry value

Disassembly:
sub esp, 0x124
mov eax, dword [0x489348]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push ebp
push esi
mov esi, ecx
cmp dword [esi + 0x114], 0
push edi
je 0x43f73e
cmp dword [esi + 0x110], 0
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x43f433
lea eax, [esp + 0x24]
call fcn.00448060
test eax, eax
je 0x43f73e
mov edx, 0x47a387
lea ecx, [esp + 0x24]
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x43f3f0
test al, al
je 0x43f3ec
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x43f3f0
add ecx, 2
add edx, 2
test al, al
jne 0x43f3d0
xor eax, eax
jmp 0x43f3f5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x43f73e
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push 0x4791fc
push reloc.WSOCK32.dll_accept
call ebx
test eax, eax
jne 0x43f73e
jmp 0x43f4b7
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x14]
push eax
push 0
push 0x20019
push 0
push 0
push 0
push 0x4791fc
push reloc.WSOCK32.dll_bind
call ebx
test eax, eax
je 0x43f479
push 0
push 0x4a56e4
push 0x4a6524
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x43f73e
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
push 0
push 0x2001f
push 0
push 0
push 0
push str.Default
push eax
call ebx
test eax, eax
je 0x43f4b0
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x43f73e
mov edx, dword [esp + 0x10]
push edx
call ebp
mov edi, dword [esp + 0x20]
call fcn.0043f760
mov eax, dword [esp + 0x20]
push eax
call ebp
push reloc.WSOCK32.dll_accept
call ebp
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push 0x2001f
push 0
push 0
push 0
push 0x4791fc
push reloc.WSOCK32.dll_bind
call ebx
test eax, eax
jne 0x43f73e
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push str.Default
push edx
call ebx
test eax, eax
je 0x43f528
mov dword [esp + 0x18], 0
mov edx, dword [esp + 0x14]
mov eax, dword [0x48b3fc]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
push 0
push str.DebugMode
push edx
mov dword [esp + 0x28], eax
call edi
mov edx, dword [esp + 0x14]
mov eax, dword [0x48b400]
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
push 0
push str.DebugLevel
push edx
mov dword [esp + 0x28], eax
call edi
mov ecx, dword [esi + 0x10c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1a8]
call edx
mov ecx, dword [esp + 0x14]
push 4
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push 4
push 0
push str.AllowLoopback
push ecx
call edi
mov ecx, dword [esi + 0x10c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x140]
call eax
mov edx, dword [esp + 0x14]
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
push 0
push str.LoopbackOnly
push edx
mov dword [esp + 0x28], eax
call edi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x43f633
mov ecx, dword [esi + 0x118]
push 4
lea edx, [esp + 0x14]
push edx
push 4
push 0
push str.AllowShutdown
push eax
mov dword [esp + 0x28], ecx
call edi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x43f633
mov ecx, dword [esi + 0x114]
push 4
lea edx, [esp + 0x14]
push edx
push 4
push 0
push str.AllowProperties
push eax
mov dword [esp + 0x28], ecx
call edi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x43f633
mov ecx, dword [esi + 0x11c]
push 4
lea edx, [esp + 0x14]
push edx
push 4
push 0
push str.AllowEditClients
push eax
mov dword [esp + 0x28], ecx
call edi
mov ecx, dword [esi + 0x10c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x148]
call edx
mov ecx, dword [esp + 0x14]
push 4
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push 4
push 0
push str.DisableTrayIcon
push ecx
call edi
mov ecx, dword [esi + 0x10c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1e4]
call eax
mov edx, dword [esp + 0x14]
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
push 0
push str.MSLogonRequired
push edx
mov dword [esp + 0x28], eax
call edi
mov ecx, dword [esi + 0x10c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1ec]
call edx
mov ecx, dword [esp + 0x14]
push 4
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push 4
push 0
push str.NewMSLogon
push ecx
call edi
mov ecx, dword [esi + 0x10c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1f4]
call eax
mov edx, dword [esp + 0x14]
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
push 0
push str.UseDSMPlugin
push edx
mov dword [esp + 0x28], eax
call edi
mov ecx, dword [esi + 0x10c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x130]
call edx
mov ecx, dword [esp + 0x14]
push 4
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push 4
push 0
push str.ConnectPriority
push ecx
call edi
mov ecx, dword [esi + 0x10c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1fc]
call eax
mov ecx, dword [esp + 0x14]
push 0x100
push eax
push 3
push 0
push str.DSMPlugin
push ecx
call edi
mov edx, dword [esp + 0x18]
push edx
call ebp
mov eax, dword [esp + 0x14]
push eax
call ebp
mov ecx, dword [esp + 0x130]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0045c77f
add esp, 0x124
ret