Function at 0x41db20
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43e078
mov eax, dword fs:[0]
push eax
sub esp, 0x1a8
mov eax, dword [0x4550d8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x24], ebx
push 1
lea ecx, [ebp - 0xfc]
call fcn.00401f70
push str.UpdateRegistry__
mov dword [eax + 0x60], 0x64
add eax, 0x10
push eax
call fcn.00401240
mov esi, eax
add esp, 8
mov ecx, dword [esi]
push 0xa
mov ecx, dword [ecx + 4]
add ecx, esi
call fcn.00407680
movzx ecx, ax
push ecx
mov ecx, esi
call fcn.00406f10
mov ecx, esi
call fcn.00406780
lea ecx, [ebp - 0x8c]
call fcn.0040c690
lea eax, [ebp - 0x8c]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x8c], vtable.std::ios_base.0
call fcn.0041f324
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x14]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push eax
push 0x20019
push 0
push str.AppID
push SysReAllocString
mov dword [ebp - 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41e00f
mov ebx, dword [ebp - 0x14]
xor edi, edi
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x14]
push eax
push 0x20019
push edi
push 0x441dc8
push ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x14], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [ebp - 0xfc]
push 1
test eax, eax
jne 0x41dd77
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x14], edi
call fcn.00401f70
push str.Registry_is_up_to_date
mov dword [eax + 0x60], 0x64
add eax, 0x10
push eax
call fcn.00401240
mov esi, eax
add esp, 8
mov ecx, dword [esi]
push 0xa
mov ecx, dword [ecx + 4]
add ecx, esi
call fcn.00407680
movzx ecx, ax
push ecx
mov ecx, esi
call fcn.00406f10
mov ecx, esi
call fcn.00406780
lea ecx, [ebp - 0x8c]
call fcn.0040c690
lea eax, [ebp - 0x8c]
mov dword [ebp - 4], 1
push eax
mov dword [ebp - 0x8c], vtable.std::ios_base.0
call fcn.0041f324
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xfc]
push 1
call fcn.00401f70
push str.Registering_Server
mov dword [eax + 0x60], 0xa
add eax, 0x10
push eax
call fcn.00401240
mov esi, eax
add esp, 8
mov ecx, dword [esi]
push 0xa
mov ecx, dword [ecx + 4]
add ecx, esi
call fcn.00407680
movzx ecx, ax
push ecx
mov ecx, esi
call fcn.00406f10
mov ecx, esi
call fcn.00406780
lea ecx, [ebp - 0x8c]
call fcn.0040c690
lea eax, [ebp - 0x8c]
mov dword [ebp - 4], 2
push eax
mov dword [ebp - 0x8c], vtable.std::ios_base.0
call fcn.0041f324
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0
push 1
push 0x45503c
call fcn.00419d40
mov esi, eax
test esi, esi
js 0x41dd6b
mov edi, dword [0x456a9c]
test edi, edi
je 0x41dd68
push dword [0x45735c]
mov ecx, edi
call dword [0x43f300]
call edi
add esp, 4
mov esi, eax
mov edi, dword [ebp - 0x14]
xor eax, eax
test esi, esi
cmovns esi, eax
jmp 0x41dff5
call fcn.00401f70
push str.Registry_update_needed
mov dword [eax + 0x60], 0xa
add eax, 0x10
push eax
call fcn.00401240
mov esi, eax
add esp, 8
mov ecx, dword [esi]
push 0xa
mov ecx, dword [ecx + 4]
add ecx, esi
call fcn.00407680
movzx ecx, ax
push ecx
mov ecx, esi
call fcn.00406f10
mov ecx, esi
call fcn.00406780
lea ecx, [ebp - 0x8c]
call fcn.0040c690
lea eax, [ebp - 0x8c]
mov dword [ebp - 4], 3
push eax
mov dword [ebp - 0x8c], vtable.std::ios_base.0
call fcn.0041f324
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], str.APPID
mov dword [ebp - 0x3c], 0x441dc8
mov dword [ebp - 0x38], 0
push eax
push 1
push 0x65
push dword [0x456a84]
mov dword [ebp - 0x34], 0
call fcn.00413260
mov esi, eax
test esi, esi
js 0x41dff5
test ebx, ebx
je 0x41de33
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x20], 0
push 0x20006
push str.AppID
push SysReAllocString
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x1c], 0
call fcn.00411c80
test eax, eax
je 0x41de63
push eax
call fcn.00410650
mov ebx, dword [ebp - 0x20]
jmp 0x41dff0
mov ebx, dword [ebp - 0x20]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push 0x441dc8
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x41dfea
mov eax, dword [ebp - 0x14]
push str.LocalService
push eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push 1
lea ecx, [ebp - 0xfc]
call fcn.00401f70
mov edi, dword [ebp - 0x24]
add edi, 0x40
push edi
mov dword [eax + 0x60], 0xa
add eax, 0x10
push str.LocalService_:
push eax
call fcn.00401240
add esp, 8
push eax
call fcn.0040ba80
mov esi, eax
add esp, 8
mov ecx, dword [esi]
push 0xa
mov ecx, dword [ecx + 4]
add ecx, esi
call fcn.00407680
movzx ecx, ax
push ecx
mov ecx, esi
call fcn.00406f10
mov ecx, esi
call fcn.00406780
lea ecx, [ebp - 0xfc]
call fcn.00402f60
push 1
push edi
push str.LocalService
lea ecx, [ebp - 0x30]
call fcn.00413100
mov edi, dword [ebp - 0x14]
push edi
call fcn.0041cce0
add esp, 4
lea ecx, [ebp - 0xfc]
push 1
call fcn.00401f70
push str.Registering_Server
mov dword [eax + 0x60], 0xa
add eax, 0x10
push eax
call fcn.00401240
mov esi, eax
add esp, 8
mov ecx, dword [esi]
push 0xa
mov ecx, dword [ecx + 4]
add ecx, esi
call fcn.00407680
movzx ecx, ax
push ecx
mov ecx, esi
call fcn.00406f10
mov ecx, esi
call fcn.00406780
lea ecx, [ebp - 0xfc]
call fcn.00402f60
mov ecx, dword [ebp - 0x24]
push 0
push 1
call fcn.0041c750
mov esi, eax
test esi, esi
js 0x41dff5
push 1
lea ecx, [ebp - 0x1b4]
call fcn.00401f70
push str.UpdateRegistry___done
mov dword [eax + 0x60], 0x64
add eax, 0x10
push eax
call fcn.00401240
mov esi, eax
add esp, 8
mov ecx, dword [esi]
push 0xa
mov ecx, dword [ecx + 4]
add ecx, esi
call fcn.00407680
movzx ecx, ax
push ecx
mov ecx, esi
call fcn.00406f10
mov ecx, esi
call fcn.00406780
lea ecx, [ebp - 0x1b4]
call fcn.00402f60
xor esi, esi
jmp 0x41dff5
push eax
call fcn.00410650
mov esi, eax
add esp, 4
test edi, edi
je 0x41e000
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x41e00b
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x41e015
mov dword [ebx + 0x250], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004202ef
mov esp, ebp
pop ebp
ret