Function at 0x40f4f0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4a39f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
xor ecx, ecx
push 0x208
push ecx
lea edx, [ebp - 0x20e]
push edx
mov dword [ebp - 0x214], eax
mov word [ebp - 0x210], cx
call fcn.00405300
add esp, 0xc
test esi, esi
je 0x40f5db
push esi
call fcn.00412b30
add esp, 4
test eax, eax
jge 0x40f56d
push str.VNLDeleteNetLibConfigKey:_invalid_vnet_name_parameter
push 1
call fcn.004343f0
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040506e
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x40f5ba
test ebx, ebx
je 0x40f598
push ebx
push edi
push esi
push str.SOFTWAREVMware__Inc.VMnetLibVMnetConfig
push str._s_S_S_S
lea eax, [ebp - 0x210]
push 0x105
push eax
call fcn.00457d45
add esp, 0x1c
jmp 0x40f5f9
push edi
push esi
push str.SOFTWAREVMware__Inc.VMnetLibVMnetConfig
push str._s_S_S
lea ecx, [ebp - 0x210]
push 0x105
push ecx
call fcn.00457d45
add esp, 0x18
jmp 0x40f5f9
push esi
push str.SOFTWAREVMware__Inc.VMnetLibVMnetConfig
push str._s_S
lea edx, [ebp - 0x210]
push 0x105
push edx
call fcn.00457d45
add esp, 0x14
jmp 0x40f5f9
push str.SOFTWAREVMware__Inc.VMnetLibVMnetConfig
push 0x469ab0
lea eax, [ebp - 0x210]
push 0x105
push eax
call fcn.00457d45
add esp, 0x10
lea ecx, [ebp - 0x210]
push ecx
push str.VNLDeleteNetLibConfigKey:_keyname:__S
push 0x20
call fcn.004343f0
mov esi, dword [ebp - 0x214]
add esp, 0xc
test esi, esi
je 0x40f6ec
lea edx, [ebp - 0x214]
push edx
push 0x10002
push 0
lea eax, [ebp - 0x210]
push eax
push 0x80000002
call dword [0x4650cc]
test eax, eax
je 0x40f654
call dword [0x4651b0]
push eax
push str.VNLDeleteNetLibConfigKey:_could_not_open_key_for_deleting_value:_0x_08x
push 4
jmp 0x40f74f
mov ecx, dword [ebp - 0x214]
push esi
push ecx
call fcn.004392d0
add esp, 8
test eax, eax
je 0x40f6c6
cmp eax, 2
je 0x40f69d
push eax
push str.VNLDeleteNetLibConfigKey:_could_not_delete_value:_0x_08x
push 4
call fcn.004343f0
mov edx, dword [ebp - 0x214]
add esp, 0xc
push edx
call dword [0x4650d0]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040506e
mov esp, ebp
pop ebp
ret
push esi
lea eax, [ebp - 0x210]
push eax
push str.VNLDeleteNetLibConfigKey:_cant_delete_value_since_not_present:__S_s
push 0x20
call fcn.004343f0
mov ecx, dword [ebp - 0x214]
add esp, 0x10
push ecx
call dword [0x4650d0]
jmp 0x40f757
push esi
lea edx, [ebp - 0x210]
push edx
push str.VNLDeleteNetLibConfigKey:_deleted_value:__S_s
push 2
call fcn.004343f0
mov eax, dword [ebp - 0x214]
add esp, 0x10
push eax
call dword [0x4650d0]
jmp 0x40f757
lea ecx, [ebp - 0x210]
push ecx
push 0x80000002
call dword [section..rdata]
test eax, eax
je 0x40f741
cmp eax, 2
je 0x40f731
lea edx, [ebp - 0x210]
push edx
push eax
push str.VNLDeleteNetLibConfigKey:_could_not_delete_key:_0x_08x__S
push 4
call fcn.004343f0
add esp, 0x10
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040506e
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x210]
push eax
push str.VNLDeleteNetLibConfigKey:_cant_delete_key_since_not_present:__S
push 0x20
jmp 0x40f74f
lea ecx, [ebp - 0x210]
push ecx
push str.VNLDeleteNetLibConfigKey:_deleted_key:__S
push 2
call fcn.004343f0
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.0040506e
mov esp, ebp
pop ebp
ret