Function at 0x447430
Capabilities:
Set registry value

Disassembly:
sub esp, 0x124
mov eax, dword [0x4ba700]
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 0x447849
cmp dword [esi + 0x110], 0
je 0x4474e9
lea eax, [esp + 0x24]
call fcn.00451550
test eax, eax
je 0x447849
mov edx, 0x4a3fbe
lea ecx, [esp + 0x24]
mov edi, edi
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x4474a0
test al, al
je 0x44749c
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x4474a0
add ecx, 2
add edx, 2
test al, al
jne 0x447480
xor eax, eax
jmp 0x4474a5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x447849
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 0x4a85fc
push reloc.WSOCK32.dll_accept
call ebx
test eax, eax
jne 0x447849
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x447573
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 0x4a85fc
push reloc.WSOCK32.dll_bind
call ebx
test eax, eax
je 0x44752f
push 0
push 0x4f26e4
push 0x4f3524
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x447849
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 0x447566
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x447849
mov edx, dword [esp + 0x10]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call ebp
mov edi, dword [esp + 0x20]
call fcn.00447870
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 0x4a85fc
push reloc.WSOCK32.dll_bind
call ebx
test eax, eax
jne 0x447849
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 0x4475e4
mov dword [esp + 0x18], 0
mov edx, dword [esp + 0x14]
mov eax, dword [0x4bc99c]
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
movzx eax, byte [0x4bcba9]
mov edx, dword [esp + 0x14]
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
push 0
push str.Avilog
push edx
mov dword [esp + 0x28], eax
call edi
call fcn.0043e180
mov ecx, eax
lea ebp, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x447636
sub ecx, ebp
inc ecx
push ecx
push eax
mov eax, dword [esp + 0x1c]
push 3
push 0
push str.path
push eax
call edi
mov eax, dword [esp + 0x14]
mov ecx, dword [0x4bc9a0]
push 4
lea edx, [esp + 0x14]
push edx
push 4
push 0
push str.DebugLevel
push eax
mov dword [esp + 0x28], ecx
call edi
mov ecx, dword [esi + 0x10c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c4]
call eax
mov edx, dword [esp + 0x14]
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
push 0
push str.AllowLoopback
push edx
mov dword [esp + 0x28], eax
call edi
mov ecx, dword [esi + 0x10c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x15c]
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 0x4a94fc
push ecx
call edi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x447738
mov edx, dword [esi + 0x118]
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
push 0
push str.AllowShutdown
push eax
mov dword [esp + 0x28], edx
call edi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x447738
mov edx, dword [esi + 0x114]
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
push 0
push str.AllowProperties
push eax
mov dword [esp + 0x28], edx
call edi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x447738
mov edx, dword [esi + 0x11c]
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
push 0
push str.AllowEditClients
push eax
mov dword [esp + 0x28], edx
call edi
mov ecx, dword [esi + 0x10c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x164]
call eax
mov edx, dword [esp + 0x14]
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
push 0
push 0x4a94ec
push edx
mov dword [esp + 0x28], eax
call edi
mov ecx, dword [esi + 0x10c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x208]
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.MSLogonRequired
push ecx
call edi
mov ecx, dword [esi + 0x10c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x210]
call eax
mov edx, dword [esp + 0x14]
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
push 0
push str.NewMSLogon
push edx
mov dword [esp + 0x28], eax
call edi
mov ecx, dword [esi + 0x10c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x228]
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.UseDSMPlugin
push ecx
call edi
mov ecx, dword [esi + 0x10c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14c]
call eax
mov edx, dword [esp + 0x14]
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
push 0
push str.ConnectPriority
push edx
mov dword [esp + 0x28], eax
call edi
mov ecx, dword [esi + 0x10c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x230]
call edx
push 0x100
push eax
mov eax, dword [esp + 0x1c]
push 3
push 0
push str.DSMPlugin
push eax
call edi
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call esi
mov edx, dword [esp + 0x14]
push edx
call esi
mov ecx, dword [esp + 0x130]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0047c3ff
add esp, 0x124
ret