Function at 0x43ef0b
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48990c
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2264
call fcn.00484d20
mov eax, dword [0x49600c]
xor eax, esp
mov dword [esp + 0x2260], eax
push ebx
push esi
push edi
mov eax, dword [0x49600c]
xor eax, esp
push eax
lea eax, [esp + 0x2278]
mov dword fs:[0], eax
mov eax, ecx
mov dword [esp + 0x18], eax
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [esp + 0x20], ecx
xor ecx, ecx
mov ebx, ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2280], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x38], ecx
mov ecx, eax
push edi
call fcn.0043ed90
mov esi, eax
test esi, esi
js 0x43f4e7
jmp 0x43f4a4
push 0x402c70
push edi
mov dword [esp + 0x1c], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x402c44
sbb esi, esi
inc esi
push edi
mov dword [esp + 0x24], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x43efd0
test esi, esi
je 0x43f056
mov ecx, dword [esp + 0x18]
push edi
call fcn.0043ed90
mov esi, eax
test esi, esi
js 0x43f4dc
cmp dword [ebp + 0x10], 0
je 0x43f056
xor eax, eax
mov ecx, edi
push 0x5c
pop edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
call fcn.0043e564
test eax, eax
jne 0x43f4d7
push edi
call fcn.0043ebcb
test eax, eax
je 0x43f02c
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x3c]
push edi
mov dword [esp + 0x40], eax
call fcn.0043ec01
xor eax, eax
mov dword [esp + 0x3c], eax
cmp dword [esp + 0x1c], 0
je 0x43f056
mov ecx, dword [esp + 0x18]
push edi
call fcn.0043ed90
mov esi, eax
test esi, esi
js 0x43f4dc
mov ecx, dword [esp + 0x18]
push edi
call fcn.0043eb5d
jmp 0x43f296
push 0x402c5c
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x43f07e
mov ecx, dword [esp + 0x18]
push edi
mov dword [esp + 0x18], eax
call fcn.0043ed90
mov esi, eax
test esi, esi
js 0x43f4dc
push 0x402c3c
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x43f199
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x26c]
push eax
call fcn.0043ed90
mov esi, eax
test esi, esi
js 0x43f4dc
mov ecx, dword [esp + 0x18]
push edi
call fcn.0043ed90
mov esi, eax
test esi, esi
js 0x43f4dc
push 0x3d
pop eax
cmp word [edi], ax
jne 0x43f4d7
cmp dword [ebp + 0x10], 0
je 0x43f120
xor eax, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x2280], 1
mov dword [esp + 0x48], eax
lea eax, [esp + 0x26c]
push edi
push eax
lea eax, [esp + 0x50]
push eax
call fcn.0043e6f7
mov esi, eax
xor eax, eax
mov dword [esp + 0x48], eax
test esi, esi
js 0x43f4dc
mov byte [esp + 0x2280], al
jmp 0x43f2a0
cmp dword [ebp + 0x14], 0
jne 0x43f180
cmp dword [esp + 0x14], 0
je 0x43f180
lea eax, [esp + 0x14]
xor ecx, ecx
push eax
push 0x20006
push ecx
push ecx
push dword [esp + 0x30]
mov dword [esp + 0x28], ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43f4cc
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x26c]
push eax
push esi
mov dword [esp + 0x24], esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x43f175
cmp eax, 2
jne 0x43f4b2
test esi, esi
je 0x43f180
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x18]
push edi
call fcn.0043eb5d
mov esi, eax
test esi, esi
js 0x43f4dc
jmp 0x43f4a4
push 0x5c
pop edx
mov ecx, edi
call fcn.0043e564
test eax, eax
jne 0x43f4d7
cmp dword [ebp + 0x10], eax
je 0x43f2f5
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x14]
push eax
push 0x2001f
xor ecx, ecx
push ecx
push edi
push esi
mov dword [esp + 0x28], ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43f1ec
test ebx, ebx
je 0x43f1e0
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
test eax, eax
je 0x43f264
lea eax, [esp + 0x14]
xor ecx, ecx
push eax
push 0x20019
push ecx
push edi
push esi
mov dword [esp + 0x28], ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43f220
test ebx, ebx
je 0x43f214
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
test eax, eax
je 0x43f264
lea eax, [esp + 0x60]
xor ecx, ecx
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x18], ecx
push eax
push ecx
push 0x2001f
push ecx
push ecx
push ecx
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x43f4cc
test ebx, ebx
je 0x43f254
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
test eax, eax
jne 0x43f4cc
mov ecx, dword [esp + 0x18]
push edi
call fcn.0043ed90
mov esi, eax
test esi, esi
js 0x43f4dc
push 0x3d
pop eax
cmp word [edi], ax
jne 0x43f2a0
mov ecx, dword [esp + 0x18]
xor eax, eax
push edi
push eax
lea eax, [esp + 0x30]
push eax
call fcn.0043e6f7
mov ebx, dword [esp + 0x28]
mov esi, eax
test esi, esi
js 0x43f4dc
push 0x7b
pop eax
cmp word [edi], ax
jne 0x43f4a4
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [esp + 0x34]
jne 0x43f2b1
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x43f4a4
mov ecx, dword [esp + 0x18]
xor eax, eax
push eax
push dword [ebp + 0x10]
push ebx
push edi
call fcn.0043ef0b
mov esi, eax
test esi, esi
js 0x43f4dc
mov ecx, dword [esp + 0x18]
push edi
call fcn.0043ed90
jmp 0x43f18a
cmp dword [ebp + 0x14], 0
jne 0x43f33e
lea eax, [esp + 0x1c]
xor esi, esi
push eax
push 0x20019
push esi
push edi
push dword [esp + 0x30]
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [esp + 0x24], eax
test eax, eax
jne 0x43f349
mov dword [esp + 0x24], esi
mov eax, esi
test ebx, ebx
je 0x43f334
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x24], eax
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x28], ebx
jmp 0x43f345
push 2
pop eax
mov dword [esp + 0x24], eax
test eax, eax
je 0x43f350
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x6c]
push 0x104
push eax
call dword [sym.imp.msvcrt.dll_wcsncpy_s]
add esp, 0x10
push eax
call fcn.00418cd2
mov ecx, dword [esp + 0x18]
push edi
call fcn.0043ed90
mov esi, eax
test esi, esi
js 0x43f4dc
mov ecx, dword [esp + 0x18]
push edi
call fcn.0043eb5d
mov esi, eax
test esi, esi
js 0x43f4dc
push 0x7b
pop eax
cmp word [edi], ax
jne 0x43f3ec
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [esp + 0x34]
jne 0x43f3a1
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x43f3ec
push dword [ebp + 0x14]
mov ecx, dword [esp + 0x1c]
xor eax, eax
push eax
push ebx
push edi
call fcn.0043ef0b
mov esi, eax
test esi, esi
jns 0x43f3d8
cmp dword [ebp + 0x14], 0
je 0x43f4dc
mov ecx, dword [esp + 0x18]
push edi
call fcn.0043ed90
mov esi, eax
test esi, esi
js 0x43f4dc
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x38]
mov dword [ebp + 0x14], eax
cmp ecx, 2
je 0x43f4a4
test ecx, ecx
je 0x43f411
test eax, eax
je 0x43f4ce
jmp 0x43f4a4
test eax, eax
je 0x43f448
push ebx
call fcn.0043ed3d
test eax, eax
je 0x43f448
lea eax, [esp + 0x64]
push eax
call fcn.0043ebcb
test eax, eax
je 0x43f4a4
cmp dword [esp + 0x14], 0
je 0x43f4a4
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x2c]
call fcn.0043ec01
mov ebx, dword [esp + 0x28]
jmp 0x43f4a4
push ebx
call fcn.0043ed3d
mov dword [esp + 0x1c], eax
test ebx, ebx
je 0x43f46f
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov ebx, ecx
mov dword [esp + 0x28], ebx
test eax, eax
jne 0x43f4cc
mov eax, dword [esp + 0x1c]
jmp 0x43f471
xor ecx, ecx
cmp dword [esp + 0x14], 0
je 0x43f4a4
test eax, eax
jne 0x43f4a4
mov eax, dword [esp + 0x20]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x64]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
lea ecx, [esp + 0x54]
push eax
call fcn.00418d32
xor ecx, ecx
mov dword [esp + 0x54], ecx
test eax, eax
jne 0x43f4cc
push 0x7d
pop eax
cmp word [edi], ax
jne 0x43ef9b
jmp 0x43f4dc
mov ecx, eax
call fcn.0043ed7b
mov esi, eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x43f4dc
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x43f4dc
mov ecx, eax
call fcn.0043ed7b
mov esi, eax
jmp 0x43f4dc
mov esi, 0x80020009
test ebx, ebx
je 0x43f4e7
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x2278]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2260]
xor ecx, esp
call fcn.00484070
mov esp, ebp
pop ebp
ret 0x10