Function at 0x46092d
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e6aa7
mov eax, dword fs:[0]
push eax
mov eax, 0x2258
call fcn.004d6520
mov eax, dword [0x566f9c]
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 eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x221c], eax
xor eax, eax
mov dword [ebp - 0x2230], eax
mov dword [ebp - 0x222c], eax
mov dword [ebp - 0x2228], eax
mov dword [ebp - 4], eax
push edi
mov ecx, ebx
call fcn.0046012e
mov esi, eax
test esi, esi
js 0x460ebb
push 0x7d
pop eax
cmp word [edi], ax
je 0x460ebb
xor eax, eax
push 0x4ebb74
inc eax
push edi
mov dword [ebp - 0x2224], eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x4ebb48
sbb esi, esi
inc esi
push edi
mov dword [ebp - 0x2220], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4609da
test esi, esi
je 0x460a9a
push edi
mov ecx, ebx
call fcn.0046012e
mov esi, eax
test esi, esi
js 0x460ebb
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x460a9c
push 0x5c
push edi
mov dword [ebp - 0x223c], esi
mov dword [ebp - 0x2238], esi
mov dword [ebp - 0x2234], esi
call fcn.004610d0
pop ecx
pop ecx
test eax, eax
jne 0x460eab
push edi
mov ecx, ebx
call fcn.0045fcc2
test eax, eax
je 0x460a51
mov eax, dword [ebp - 0x221c]
lea ecx, [ebp - 0x223c]
push edi
mov dword [ebp - 0x223c], eax
call fcn.00454c50
mov dword [ebp - 0x223c], esi
mov dword [ebp - 0x2238], esi
mov dword [ebp - 0x2234], esi
cmp dword [ebp - 0x2220], esi
je 0x460a8d
push edi
mov ecx, ebx
call fcn.0046012e
mov esi, eax
test esi, esi
js 0x460ea3
push edi
mov ecx, ebx
call fcn.00461049
lea ecx, [ebp - 0x223c]
mov esi, eax
call fcn.0040414f
test esi, esi
js 0x460ebb
jmp 0x460e5e
lea ecx, [ebp - 0x223c]
call fcn.0040414f
jmp 0x460a9c
xor esi, esi
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x460ac4
push edi
mov ecx, ebx
mov dword [ebp - 0x2224], esi
call fcn.0046012e
mov esi, eax
test esi, esi
js 0x460ebb
push 0x4ebb40
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x460bf0
lea eax, [ebp - 0x2218]
mov ecx, ebx
push eax
call fcn.0046012e
mov esi, eax
test esi, esi
js 0x460ebb
push edi
mov ecx, ebx
call fcn.0046012e
mov esi, eax
test esi, esi
js 0x460ebb
push 0x3d
pop eax
cmp word [edi], ax
jne 0x460eb6
cmp dword [ebp + 0x10], 0
je 0x460b76
and dword [ebp - 0x2248], 0
xor eax, eax
and dword [ebp - 0x2244], 0
inc eax
mov byte [ebp - 4], al
mov ecx, ebx
mov eax, dword [ebp - 0x221c]
mov dword [ebp - 0x224c], eax
lea eax, [ebp - 0x2218]
push edi
push eax
lea eax, [ebp - 0x224c]
push eax
call fcn.0045f715
mov esi, eax
lea ecx, [ebp - 0x224c]
xor eax, eax
mov dword [ebp - 0x224c], eax
mov dword [ebp - 0x2248], eax
mov dword [ebp - 0x2244], eax
test esi, esi
js 0x460ef3
mov byte [ebp - 4], al
jmp 0x460e59
cmp dword [ebp + 0x14], 0
jne 0x460be3
cmp dword [ebp - 0x2224], 0
je 0x460be3
xor eax, eax
lea ecx, [ebp - 0x2258]
push 0x20006
push eax
push dword [ebp - 0x221c]
mov dword [ebp - 0x2258], eax
mov dword [ebp - 0x2254], eax
mov dword [ebp - 0x2250], eax
call fcn.00404741
test eax, eax
jne 0x460ee4
lea eax, [ebp - 0x2218]
push eax
push dword [ebp - 0x2258]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x460bd8
cmp eax, 2
jne 0x460ee4
lea ecx, [ebp - 0x2258]
call fcn.0040414f
push edi
mov ecx, ebx
call fcn.00461049
jmp 0x46098c
push 0x5c
push edi
call fcn.004610d0
pop ecx
pop ecx
test eax, eax
jne 0x460eb6
cmp dword [ebp + 0x10], eax
je 0x460c93
mov esi, dword [ebp - 0x221c]
lea ecx, [ebp - 0x2230]
push 0x2001f
push edi
push esi
call fcn.00404741
test eax, eax
je 0x460c5d
push 0x20019
push edi
push esi
lea ecx, [ebp - 0x2230]
call fcn.00404741
test eax, eax
je 0x460c5d
xor eax, eax
lea ecx, [ebp - 0x2230]
push eax
push eax
push 0x2001f
push eax
push eax
push edi
push esi
call fcn.004549e5
test eax, eax
jne 0x460d7b
push edi
mov ecx, ebx
call fcn.0046012e
mov esi, eax
test esi, esi
js 0x460ebb
push 0x3d
pop eax
cmp word [edi], ax
jne 0x460e5e
push edi
push 0
lea eax, [ebp - 0x2230]
mov ecx, ebx
push eax
call fcn.0045f715
mov esi, eax
jmp 0x460a80
cmp dword [ebp + 0x14], 0
jne 0x460cb2
push 0x20019
push edi
push dword [ebp - 0x221c]
lea ecx, [ebp - 0x2230]
call fcn.00404741
jmp 0x460cb5
push 2
pop eax
mov ecx, dword [ebp + 0x14]
test eax, eax
push 1
mov dword [ebp - 0x2220], eax
pop eax
push 0xffffffffffffffff
cmovne ecx, eax
lea eax, [ebp - 0x218]
push edi
push 0x104
push eax
mov dword [ebp - 0x2240], ecx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
push eax
call fcn.00403e04
add esp, 0x14
mov ecx, ebx
push edi
call fcn.0046012e
mov esi, eax
test esi, esi
js 0x460ebb
push edi
mov ecx, ebx
call fcn.00461049
mov esi, eax
test esi, esi
js 0x460ebb
push 0x7b
pop eax
cmp word [edi], ax
jne 0x460d5e
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
pop ecx
cmp eax, 1
jne 0x460d5e
push dword [ebp - 0x2240]
mov ecx, ebx
push 0
push dword [ebp - 0x2230]
push edi
call fcn.0046092d
mov esi, eax
test esi, esi
jns 0x460d4c
cmp dword [ebp - 0x2240], 0
je 0x460ebb
push edi
mov ecx, ebx
call fcn.0046012e
mov esi, eax
test esi, esi
js 0x460ebb
mov eax, dword [ebp - 0x2220]
cmp eax, 2
je 0x460996
test eax, eax
je 0x460d89
cmp dword [ebp + 0x14], 0
jne 0x460996
push eax
call fcn.0045fcad
pop ecx
mov esi, eax
jmp 0x460ebb
cmp dword [ebp + 0x14], 0
je 0x460dda
push dword [ebp - 0x2230]
mov ecx, ebx
call fcn.0045ffcd
test eax, eax
je 0x460dda
lea eax, [ebp - 0x218]
mov ecx, ebx
push eax
call fcn.0045fcc2
test eax, eax
je 0x460996
cmp dword [ebp - 0x2224], 0
je 0x460996
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2230]
call fcn.00454c50
jmp 0x460996
push dword [ebp - 0x2230]
mov ecx, ebx
call fcn.0045ffcd
lea ecx, [ebp - 0x2230]
mov dword [ebp - 0x2220], eax
call fcn.0040414f
test eax, eax
jne 0x460d7b
cmp dword [ebp - 0x2224], eax
je 0x460996
cmp dword [ebp - 0x2220], eax
jne 0x460996
mov eax, dword [ebp - 0x221c]
lea ecx, [ebp - 0x2264]
and dword [ebp - 0x2260], 0
and dword [ebp - 0x225c], 0
mov dword [ebp - 0x2264], eax
lea eax, [ebp - 0x218]
push eax
call fcn.00454a54
and dword [ebp - 0x2264], 0
test eax, eax
jne 0x460efa
lea ecx, [ebp - 0x2264]
call fcn.0040414f
cmp dword [ebp + 0x10], 0
je 0x460996
push 0x7b
pop eax
cmp word [edi], ax
jne 0x460996
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
pop ecx
cmp eax, 1
jne 0x460996
push 0
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp - 0x2230]
push edi
call fcn.0046092d
mov esi, eax
test esi, esi
js 0x460ebb
jmp 0x460984
lea ecx, [ebp - 0x223c]
jmp 0x460ef3
lea ecx, [ebp - 0x223c]
call fcn.0040414f
mov esi, 0x80020009
lea ecx, [ebp - 0x2230]
call fcn.0040414f
mov eax, esi
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.004d62a0
leave
ret 0x10
push eax
call fcn.0045fcad
pop ecx
lea ecx, [ebp - 0x2258]
mov esi, eax
call fcn.0040414f
jmp 0x460ebb
push eax
call fcn.0045fcad
pop ecx
lea ecx, [ebp - 0x2264]
jmp 0x460ef1