Function at 0x4465a0
Capabilities:
Delete registry key
Delete registry value
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2244
call fcn.00449d30
mov eax, dword [0x4d9694]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push ebx
mov dword [ebp - 0x2218], ecx
mov dword [ebp - 0x2214], eax
mov dword [ebp - 0x2224], 0
mov dword [ebp - 0x2220], 0
mov dword [ebp - 0x221c], 0
call fcn.0043f7a0
mov esi, eax
test esi, esi
js 0x446f27
cmp word [ebx], 0x7d
push edi
je 0x446f13
nop dword [eax]
nop dword [eax + eax]
push 0x4bdc14
push ebx
mov dword [ebp - 0x2228], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x4bdbe0
sbb edi, edi
push ebx
inc edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x446643
test edi, edi
je 0x446745
mov ecx, dword [ebp - 0x2218]
push ebx
call fcn.0043f7a0
mov esi, eax
test esi, esi
js 0x446f13
cmp dword [ebp + 0x10], 0
je 0x446745
movzx eax, word [ebx]
mov edx, ebx
mov dword [ebp - 0x2238], 0
mov dword [ebp - 0x2230], 0
test ax, ax
je 0x4466a4
cmp ax, 0x5c
je 0x44669c
push edx
call dword [sym.imp.USER32.dll_CharNextW]
mov edx, eax
movzx ecx, word [edx]
mov eax, ecx
test cx, cx
jne 0x446681
jmp 0x4466a4
test edx, edx
jne 0x446efc
mov esi, 0x4be060
nop dword [eax]
push dword [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4466fe
add esi, 4
cmp esi, 0x4be090
jl 0x4466b0
mov eax, dword [ebp - 0x2214]
lea ecx, [ebp - 0x2238]
push ebx
mov dword [ebp - 0x2238], eax
mov dword [ebp - 0x2234], 0
call fcn.00445c40
mov dword [ebp - 0x2238], 0
mov dword [ebp - 0x2230], 0
test edi, edi
je 0x44673b
mov edi, dword [ebp - 0x2218]
mov ecx, edi
push ebx
call fcn.0043f7a0
mov esi, eax
test esi, esi
js 0x446f13
push ebx
mov ecx, edi
call fcn.00447650
mov esi, eax
test esi, esi
js 0x446f13
mov dword [ebp - 0x2234], 0
jmp 0x446b53
mov dword [ebp - 0x2234], 0
push 0x4bdbfc
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x446775
mov ecx, dword [ebp - 0x2218]
xor edi, edi
push ebx
mov dword [ebp - 0x2228], edi
call fcn.0043f7a0
mov esi, eax
test esi, esi
js 0x446f13
jmp 0x44677b
mov edi, dword [ebp - 0x2228]
push 0x4bdbd4
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4468b9
mov ecx, dword [ebp - 0x2218]
lea eax, [ebp - 0x220c]
push eax
call fcn.0043f7a0
mov esi, eax
test esi, esi
js 0x446f13
mov ecx, dword [ebp - 0x2218]
push ebx
call fcn.0043f7a0
mov esi, eax
test esi, esi
js 0x446f13
cmp word [ebx], 0x3d
jne 0x446efc
cmp dword [ebp + 0x10], 0
je 0x44683a
mov eax, dword [ebp - 0x2214]
mov edi, dword [ebp - 0x2218]
mov ecx, edi
mov dword [ebp - 0x2244], eax
lea eax, [ebp - 0x220c]
push ebx
push eax
lea eax, [ebp - 0x2244]
mov dword [ebp - 0x2240], 0
push eax
mov dword [ebp - 0x223c], 0
call fcn.0043bcb0
mov esi, eax
mov dword [ebp - 0x2244], 0
mov dword [ebp - 0x223c], 0
test esi, esi
js 0x446f13
mov dword [ebp - 0x2240], 0
jmp 0x446b53
cmp dword [ebp + 0x14], 0
jne 0x44689e
test edi, edi
je 0x44689e
lea eax, [ebp - 0x2228]
mov dword [ebp - 0x2228], 0
push eax
push 0x20006
push 0
push 0
push dword [ebp - 0x2214]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x446f08
mov edi, dword [ebp - 0x2228]
lea eax, [ebp - 0x220c]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x446893
cmp eax, 2
jne 0x446ee4
test edi, edi
je 0x44689e
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x2218]
push ebx
call fcn.00447650
mov esi, eax
test esi, esi
js 0x446f13
jmp 0x446ed8
movzx ecx, word [ebx]
mov eax, ebx
test cx, cx
je 0x4468e6
mov edx, ecx
cmp dx, 0x5c
je 0x4468de
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
mov edx, ecx
test cx, cx
jne 0x4468c5
jmp 0x4468e6
test eax, eax
jne 0x446efc
cmp dword [ebp + 0x10], 0
je 0x446bae
mov esi, dword [ebp - 0x221c]
mov dword [ebp - 0x2210], 0
test esi, esi
je 0x446956
cmp dword [esi], 0
je 0x446949
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4469a6
push str.RegOpenKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x44694f
push 0
push dword [esi]
lea ecx, [ebp - 0x2210]
push ecx
push 0x2001f
push 0
push ebx
push dword [ebp - 0x2214]
call eax
jmp 0x446971
cmp dword [esi + 4], 0
jne 0x446956
mov eax, 1
jmp 0x446971
lea eax, [ebp - 0x2210]
push eax
push 0x2001f
push 0
push ebx
push dword [ebp - 0x2214]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4469a6
mov ecx, dword [ebp - 0x2224]
test ecx, ecx
je 0x446986
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 0x2210]
mov dword [ebp - 0x2224], edi
mov dword [ebp - 0x2220], 0
test eax, eax
je 0x446b1a
jmp 0x4469ac
mov edi, dword [ebp - 0x2224]
mov dword [ebp - 0x2210], 0
test esi, esi
je 0x446a0c
cmp dword [esi], 0
je 0x4469ff
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x446a54
push str.RegOpenKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x446a05
push 0
push dword [esi]
lea ecx, [ebp - 0x2210]
push ecx
push 0x20019
push 0
push ebx
push dword [ebp - 0x2214]
call eax
jmp 0x446a27
cmp dword [esi + 4], 0
jne 0x446a0c
mov eax, 1
jmp 0x446a27
lea eax, [ebp - 0x2210]
push eax
push 0x20019
push 0
push ebx
push dword [ebp - 0x2214]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x446a54
test edi, edi
je 0x446a36
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 0x2210]
mov dword [ebp - 0x2224], edi
mov dword [ebp - 0x2220], 0
test eax, eax
je 0x446b1a
mov dword [ebp - 0x2210], 0
test esi, esi
je 0x446ac1
cmp dword [esi], 0
je 0x446ab4
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x446f03
push str.RegCreateKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x446aba
push 0
push dword [esi]
lea ecx, [ebp - 0x222c]
push ecx
lea ecx, [ebp - 0x2210]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push ebx
push dword [ebp - 0x2214]
call eax
jmp 0x446ae9
cmp dword [esi + 4], 0
jne 0x446ac1
mov eax, 1
jmp 0x446ae9
lea eax, [ebp - 0x222c]
push eax
lea eax, [ebp - 0x2210]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push ebx
push dword [ebp - 0x2214]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x446f08
test edi, edi
je 0x446afc
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 0x2210]
mov dword [ebp - 0x2224], edi
mov dword [ebp - 0x2220], 0
test eax, eax
jne 0x446f08
mov edi, dword [ebp - 0x2218]
mov ecx, edi
push ebx
call fcn.0043f7a0
mov esi, eax
test esi, esi
js 0x446f13
cmp word [ebx], 0x3d
jne 0x446b53
push ebx
push 0
lea eax, [ebp - 0x2224]
mov ecx, edi
push eax
call fcn.0043bcb0
mov esi, eax
test esi, esi
js 0x446f13
cmp word [ebx], 0x7b
jne 0x446ed8
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x446b62
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x446ed8
push 0
push dword [ebp + 0x10]
mov ecx, edi
push dword [ebp - 0x2224]
push ebx
call fcn.004465a0
mov esi, eax
test esi, esi
js 0x446f13
push ebx
mov ecx, edi
call fcn.0043f7a0
mov esi, eax
test esi, esi
js 0x446f13
jmp 0x446ed8
cmp dword [ebp + 0x14], 0
jne 0x446c6e
mov esi, dword [ebp - 0x221c]
mov dword [ebp - 0x2210], 0
test esi, esi
je 0x446c22
cmp dword [esi], 0
je 0x446c15
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x446be8
lea edi, [eax + 1]
jmp 0x446c73
push str.RegOpenKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x446c1b
push 0
push dword [esi]
lea ecx, [ebp - 0x2210]
push ecx
push 0x20019
push 0
push ebx
push dword [ebp - 0x2214]
call eax
jmp 0x446c3d
cmp dword [esi + 4], 0
jne 0x446c22
mov edi, 1
jmp 0x446c3f
lea eax, [ebp - 0x2210]
push eax
push 0x20019
push 0
push ebx
push dword [ebp - 0x2214]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x446c73
mov eax, dword [ebp - 0x2224]
test eax, eax
je 0x446c56
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
mov eax, dword [ebp - 0x2210]
mov dword [ebp - 0x2224], eax
mov dword [ebp - 0x2220], 0
jmp 0x446c73
mov edi, 2
test edi, edi
mov eax, 1
push 0xffffffffffffffff
cmove eax, dword [ebp + 0x14]
push ebx
mov dword [ebp - 0x2210], eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0048dbaa
push eax
call fcn.004291d0
mov ecx, dword [ebp - 0x2218]
add esp, 0x14
push ebx
call fcn.0043f7a0
mov esi, eax
test esi, esi
js 0x446f13
mov ecx, dword [ebp - 0x2218]
push ebx
call fcn.00447650
mov esi, eax
test esi, esi
js 0x446f13
cmp word [ebx], 0x7b
jne 0x446d37
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x446ce0
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x446d37
push dword [ebp - 0x2210]
mov ecx, dword [ebp - 0x2218]
push 0
push dword [ebp - 0x2224]
push ebx
call fcn.004465a0
mov esi, eax
test esi, esi
jns 0x446d21
cmp dword [ebp - 0x2210], 0
je 0x446f13
mov ecx, dword [ebp - 0x2218]
push ebx
call fcn.0043f7a0
mov esi, eax
test esi, esi
js 0x446f13
cmp edi, 2
je 0x446ed8
test edi, edi
je 0x446d54
cmp dword [ebp + 0x14], 0
jne 0x446ed8
push edi
jmp 0x446f09
cmp dword [ebp + 0x14], 0
je 0x446de6
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x2210]
mov dword [ebp - 0x2210], 0
push eax
push 0
push 0
push 0
push dword [ebp - 0x2224]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x446de6
cmp dword [ebp - 0x2210], eax
jbe 0x446de6
mov edi, 0x4be060
push dword [edi]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x446ed8
add edi, 4
cmp edi, 0x4be090
jl 0x446da0
cmp dword [ebp - 0x2228], 0
je 0x446ed8
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x2224]
call fcn.00445c40
jmp 0x446ed8
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x2210]
mov dword [ebp - 0x2210], 0
push eax
push 0
push 0
push 0
push dword [ebp - 0x2224]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x446e1f
xor edi, edi
jmp 0x446e2b
xor eax, eax
cmp eax, dword [ebp - 0x2210]
sbb edi, edi
neg edi
mov ecx, dword [ebp - 0x2224]
xor eax, eax
test ecx, ecx
je 0x446e46
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov dword [ebp - 0x2224], ecx
mov dword [ebp - 0x2220], 0
test eax, eax
jne 0x446f08
cmp dword [ebp - 0x2228], eax
je 0x446ed8
test edi, edi
jne 0x446ed8
cmp byte [0x4dde10], al
jne 0x446ea3
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x446e95
push str.RegDeleteKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4dde0c], eax
mov byte [0x4dde10], 1
jmp 0x446ea8
mov eax, dword [0x4dde0c]
mov byte [0x4dde10], 1
jmp 0x446ea8
mov eax, dword [0x4dde0c]
test eax, eax
je 0x446ec1
push 0
push 0
lea ecx, [ebp - 0x20c]
push ecx
push dword [ebp - 0x2214]
call eax
jmp 0x446ed4
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x2214]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x446f08
cmp word [ebx], 0x7d
jne 0x446610
jmp 0x446f13
push eax
call fcn.0043c300
add esp, 4
mov esi, eax
test edi, edi
je 0x446f13
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x446f13
mov esi, 0x80020009
jmp 0x446f13
mov eax, 1
push eax
call fcn.0043c300
add esp, 4
mov esi, eax
mov eax, dword [ebp - 0x2224]
pop edi
test eax, eax
je 0x446f25
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00448f14
mov esp, ebp
pop ebp
ret 0x10