Function at 0x440360
Capabilities:
Set registry value

Disassembly:
sub esp, 0x124
mov eax, dword [0x48a348]
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 0x44071e
cmp dword [esi + 0x110], 0
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x440413
lea eax, [esp + 0x24]
call fcn.00449210
test eax, eax
je 0x44071e
mov edx, 0x47b37f
lea ecx, [esp + 0x24]
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x4403d0
test al, al
je 0x4403cc
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x4403d0
add ecx, 2
add edx, 2
test al, al
jne 0x4403b0
xor eax, eax
jmp 0x4403d5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x44071e
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 0x47a1ec
push reloc.WSOCK32.dll_accept
call ebx
test eax, eax
jne 0x44071e
jmp 0x440497
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 0x47a1ec
push reloc.WSOCK32.dll_bind
call ebx
test eax, eax
je 0x440459
push 0
push 0x4a67dc
push 0x4a761c
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x44071e
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 0x440490
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x44071e
mov edx, dword [esp + 0x10]
push edx
call ebp
mov edi, dword [esp + 0x20]
call fcn.00440740
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 0x47a1ec
push reloc.WSOCK32.dll_bind
call ebx
test eax, eax
jne 0x44071e
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 0x440508
mov dword [esp + 0x18], 0
mov edx, dword [esp + 0x14]
mov eax, dword [0x48c4f4]
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 [0x48c4f8]
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 0x47b06c
push edx
mov dword [esp + 0x28], eax
call edi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x440613
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 0x440613
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 0x440613
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 0x47b05c
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 pe_nt_image_headers32
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.0045dc1f
add esp, 0x124
ret