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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aa61c
mov eax, dword fs:[0]
push eax
mov eax, 0x225c
call fcn.0047e1b0
mov eax, dword [0x4e54fc]
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 dword [ebp - 0x2224], ecx
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x2230], 0
mov dword [ebp - 0x2220], eax
mov dword [ebp - 0x222c], 0
mov dword [ebp - 0x2228], 0
mov dword [ebp - 4], 0
push ebx
call fcn.00443b80
mov esi, eax
test esi, esi
js 0x445480
cmp word [ebx], 0x7d
je 0x445480
nop dword [eax]
nop word [eax + eax]
push str.Delete
push ebx
mov dword [ebp - 0x2234], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x4cc5d8
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x444a00
test edi, edi
jne 0x444b31
mov ecx, dword [ebp - 0x2224]
push ebx
call fcn.00443b80
mov esi, eax
test esi, esi
js 0x445480
cmp dword [ebp + 0x10], 0
je 0x444b31
mov dword [ebp - 0x2240], 0
mov dword [ebp - 0x223c], 0
mov dword [ebp - 0x2238], 0
mov byte [ebp - 4], 1
mov edx, ebx
movzx eax, word [ebx]
test ax, ax
je 0x444a73
mov ecx, eax
nop
cmp cx, 0x5c
je 0x444a6b
push edx
call dword [sym.imp.USER32.dll_CharNextW]
mov edx, eax
movzx eax, word [edx]
mov ecx, eax
test ax, ax
jne 0x444a50
jmp 0x444a73
test edx, edx
jne 0x44540b
mov esi, 0x4b46bc
nop dword [eax + eax]
push dword [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x444ae2
add esi, 4
cmp esi, 0x4b46ec
jl 0x444a80
mov eax, dword [ebp - 0x2220]
lea ecx, [ebp - 0x2240]
push ebx
mov dword [ebp - 0x2240], eax
mov dword [ebp - 0x223c], 0
mov dword [ebp - 0x2238], 0
call fcn.004441a0
mov dword [ebp - 0x2240], 0
mov dword [ebp - 0x223c], 0
mov dword [ebp - 0x2238], 0
test edi, edi
jne 0x444b23
mov edi, dword [ebp - 0x2224]
mov ecx, edi
push ebx
call fcn.00443b80
mov esi, eax
test esi, esi
js 0x445420
push ebx
mov ecx, edi
call fcn.00445a90
mov esi, eax
test esi, esi
js 0x445420
mov byte [ebp - 4], 0
mov dword [ebp - 0x223c], 0
jmp 0x445002
mov byte [ebp - 4], 0
mov dword [ebp - 0x223c], 0
push str.NoRemove
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x444b61
mov ecx, dword [ebp - 0x2224]
xor edi, edi
push ebx
mov dword [ebp - 0x2234], edi
call fcn.00443b80
mov esi, eax
test esi, esi
js 0x445480
jmp 0x444b67
mov edi, dword [ebp - 0x2234]
push 0x4cc5d0
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x444d2a
mov ecx, dword [ebp - 0x2224]
lea eax, [ebp - 0x2218]
push eax
call fcn.00443b80
mov esi, eax
test esi, esi
js 0x445480
mov ecx, dword [ebp - 0x2224]
push ebx
call fcn.00443b80
mov esi, eax
test esi, esi
js 0x445480
cmp word [ebx], 0x3d
jne 0x445419
cmp dword [ebp + 0x10], 0
je 0x444c5a
mov dword [ebp - 0x224c], 0
mov dword [ebp - 0x2248], 0
mov dword [ebp - 0x2244], 0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2220]
mov edi, dword [ebp - 0x2224]
mov ecx, edi
mov dword [ebp - 0x224c], eax
lea eax, [ebp - 0x2218]
push ebx
push eax
lea eax, [ebp - 0x224c]
mov dword [ebp - 0x2248], 0
push eax
mov dword [ebp - 0x2244], 0
call fcn.00442bd0
mov esi, eax
mov dword [ebp - 0x224c], 0
mov dword [ebp - 0x2248], 0
mov dword [ebp - 0x2244], 0
test esi, esi
js 0x445430
mov byte [ebp - 4], 0
mov dword [ebp - 0x2248], 0
jmp 0x445002
cmp dword [ebp + 0x14], 0
jne 0x444d0f
test edi, edi
je 0x444d0f
xor edi, edi
mov dword [ebp - 0x2258], edi
mov dword [ebp - 0x2254], edi
mov dword [ebp - 0x2250], edi
mov byte [ebp - 4], 3
lea eax, [ebp - 0x2234]
push eax
push 0x20006
push edi
push edi
push dword [ebp - 0x2220]
mov dword [ebp - 0x2234], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, eax
test ecx, ecx
jne 0x444cc2
mov edi, dword [ebp - 0x2234]
mov dword [ebp - 0x2254], eax
mov dword [ebp - 0x2258], edi
mov dword [ebp - 0x2254], eax
xor eax, eax
test ecx, ecx
cmovne eax, ecx
test eax, eax
jne 0x445440
lea eax, [ebp - 0x2218]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x444cec
cmp eax, 2
jne 0x445440
mov byte [ebp - 4], 0
test edi, edi
je 0x444d05
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2258], 0
mov dword [ebp - 0x2254], 0
mov ecx, dword [ebp - 0x2224]
push ebx
call fcn.00445a90
mov esi, eax
test esi, esi
js 0x445480
jmp 0x4453ff
movzx eax, word [ebx]
mov ecx, ebx
test ax, ax
je 0x444d59
mov edx, eax
cmp dx, 0x5c
je 0x444d51
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, eax
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x444d36
jmp 0x444d59
test ecx, ecx
jne 0x445419
cmp dword [ebp + 0x10], 0
je 0x44505d
mov esi, dword [ebp - 0x2228]
mov dword [ebp - 0x221c], 0
test esi, esi
je 0x444dc9
cmp dword [esi], 0
je 0x444dbc
push 0x4c79a8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x444e2d
push str.RegOpenKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x444dc2
push 0
push dword [esi]
lea ecx, [ebp - 0x221c]
push ecx
push 0x2001f
push 0
push ebx
push dword [ebp - 0x2220]
call eax
jmp 0x444de4
cmp dword [esi + 4], 0
jne 0x444dc9
mov eax, 1
jmp 0x444de4
lea eax, [ebp - 0x221c]
push eax
push 0x2001f
push 0
push ebx
push dword [ebp - 0x2220]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x444e2d
mov ecx, dword [ebp - 0x2230]
test ecx, ecx
je 0x444e03
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2230], 0
mov edi, dword [ebp - 0x221c]
mov dword [ebp - 0x222c], 0
mov dword [ebp - 0x2230], edi
mov dword [ebp - 0x222c], 0
test eax, eax
je 0x444fc9
jmp 0x444e33
mov edi, dword [ebp - 0x2230]
mov dword [ebp - 0x221c], 0
test esi, esi
je 0x444e93
cmp dword [esi], 0
je 0x444e86
push 0x4c79a8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x444eef
push str.RegOpenKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x444e8c
push 0
push dword [esi]
lea ecx, [ebp - 0x221c]
push ecx
push 0x20019
push 0
push ebx
push dword [ebp - 0x2220]
call eax
jmp 0x444eae
cmp dword [esi + 4], 0
jne 0x444e93
mov eax, 1
jmp 0x444eae
lea eax, [ebp - 0x221c]
push eax
push 0x20019
push 0
push ebx
push dword [ebp - 0x2220]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x444eef
test edi, edi
je 0x444ec7
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2230], 0
mov edi, dword [ebp - 0x221c]
mov dword [ebp - 0x222c], 0
mov dword [ebp - 0x2230], edi
mov dword [ebp - 0x222c], 0
test eax, eax
je 0x444fc9
mov dword [ebp - 0x221c], 0
test esi, esi
je 0x444f5c
cmp dword [esi], 0
je 0x444f4f
push 0x4c79a8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x445470
push str.RegCreateKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x444f55
push 0
push dword [esi]
lea ecx, [ebp - 0x2268]
push ecx
lea ecx, [ebp - 0x221c]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push ebx
push dword [ebp - 0x2220]
call eax
jmp 0x444f84
cmp dword [esi + 4], 0
jne 0x444f5c
mov eax, 1
jmp 0x444f84
lea eax, [ebp - 0x2268]
push eax
lea eax, [ebp - 0x221c]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push ebx
push dword [ebp - 0x2220]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x445475
test edi, edi
je 0x444fa1
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2230], 0
mov ecx, dword [ebp - 0x221c]
mov dword [ebp - 0x222c], 0
mov dword [ebp - 0x2230], ecx
mov dword [ebp - 0x222c], 0
test eax, eax
jne 0x445475
mov edi, dword [ebp - 0x2224]
mov ecx, edi
push ebx
call fcn.00443b80
mov esi, eax
test esi, esi
js 0x445480
cmp word [ebx], 0x3d
jne 0x445002
push ebx
push 0
lea eax, [ebp - 0x2230]
mov ecx, edi
push eax
call fcn.00442bd0
mov esi, eax
test esi, esi
js 0x445480
cmp word [ebx], 0x7b
jne 0x4453ff
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x445011
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x4453ff
push 0
push dword [ebp + 0x10]
mov ecx, edi
push dword [ebp - 0x2230]
push ebx
call fcn.00444940
mov esi, eax
test esi, esi
js 0x445480
push ebx
mov ecx, edi
call fcn.00443b80
mov esi, eax
test esi, esi
js 0x445480
jmp 0x4453ff
cmp dword [ebp + 0x14], 0
jne 0x445131
mov esi, dword [ebp - 0x2228]
mov dword [ebp - 0x221c], 0
test esi, esi
je 0x4450d1
cmp dword [esi], 0
je 0x4450c4
push 0x4c79a8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x445097
lea edi, [eax + 1]
jmp 0x445136
push str.RegOpenKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4450ca
push 0
push dword [esi]
lea ecx, [ebp - 0x221c]
push ecx
push 0x20019
push 0
push ebx
push dword [ebp - 0x2220]
call eax
jmp 0x4450ec
cmp dword [esi + 4], 0
jne 0x4450d1
mov edi, 1
jmp 0x4450ee
lea eax, [ebp - 0x221c]
push eax
push 0x20019
push 0
push ebx
push dword [ebp - 0x2220]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x445136
mov eax, dword [ebp - 0x2230]
test eax, eax
je 0x44510f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
mov dword [ebp - 0x2230], 0
mov eax, dword [ebp - 0x221c]
mov dword [ebp - 0x222c], 0
mov dword [ebp - 0x2230], eax
mov dword [ebp - 0x222c], 0
jmp 0x445136
mov edi, 2
test edi, edi
mov eax, 1
push 0xffffffffffffffff
cmove eax, dword [ebp + 0x14]
push ebx
mov dword [ebp - 0x221c], eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0048d34b
push eax
call fcn.00406930
mov ecx, dword [ebp - 0x2224]
add esp, 0x14
push ebx
call fcn.00443b80
mov esi, eax
test esi, esi
js 0x445480
mov ecx, dword [ebp - 0x2224]
push ebx
call fcn.00445a90
mov esi, eax
test esi, esi
js 0x445480
cmp word [ebx], 0x7b
jne 0x4451f7
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4451a0
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x4451f7
push dword [ebp - 0x221c]
mov ecx, dword [ebp - 0x2224]
push 0
push dword [ebp - 0x2230]
push ebx
call fcn.00444940
mov esi, eax
test esi, esi
jns 0x4451e1
cmp dword [ebp - 0x221c], 0
je 0x445480
mov ecx, dword [ebp - 0x2224]
push ebx
call fcn.00443b80
mov esi, eax
test esi, esi
js 0x445480
cmp edi, 2
je 0x4453ff
test edi, edi
je 0x445214
cmp dword [ebp + 0x14], 0
jne 0x4453ff
push edi
jmp 0x445476
cmp dword [ebp + 0x14], 0
je 0x4452aa
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x221c]
mov dword [ebp - 0x221c], 0
push eax
push 0
push 0
push 0
push dword [ebp - 0x2230]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x4452aa
cmp eax, dword [ebp - 0x221c]
sbb eax, eax
neg eax
je 0x4452aa
mov edi, 0x4b46bc
push dword [edi]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4453ff
add edi, 4
cmp edi, 0x4b46ec
jl 0x445264
cmp dword [ebp - 0x2234], 0
je 0x4453ff
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2230]
call fcn.004441a0
jmp 0x4453ff
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x221c]
mov dword [ebp - 0x221c], 0
push eax
push 0
push 0
push 0
push dword [ebp - 0x2230]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x4452e3
xor edi, edi
jmp 0x4452ef
xor eax, eax
cmp eax, dword [ebp - 0x221c]
sbb edi, edi
neg edi
mov ecx, dword [ebp - 0x2230]
xor eax, eax
test ecx, ecx
je 0x44530a
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov dword [ebp - 0x2230], ecx
mov dword [ebp - 0x222c], 0
test eax, eax
jne 0x445475
cmp dword [ebp - 0x2234], eax
je 0x4453ff
test edi, edi
jne 0x4453ff
mov dword [ebp - 0x2264], edi
mov dword [ebp - 0x2260], edi
mov dword [ebp - 0x225c], edi
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x2220]
mov dword [ebp - 0x2264], ecx
mov dword [ebp - 0x2260], edi
mov dword [ebp - 0x225c], edi
cmp byte [0x4fc84c], al
jne 0x4453a9
push 0x4c79a8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x445395
push str.RegDeleteKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x2220]
mov dword [0x4fc848], eax
mov byte [0x4fc84c], 1
jmp 0x4453ae
mov eax, dword [0x4fc848]
mov ecx, dword [ebp - 0x2220]
mov byte [0x4fc84c], 1
jmp 0x4453ae
mov eax, dword [0x4fc848]
test eax, eax
je 0x4453c2
push 0
push 0
lea edx, [ebp - 0x218]
push edx
push ecx
call eax
jmp 0x4453d0
lea eax, [ebp - 0x218]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [ebp - 0x2264], 0
mov dword [ebp - 0x2260], 0
mov dword [ebp - 0x225c], 0
test eax, eax
jne 0x4454cc
mov byte [ebp - 4], al
mov dword [ebp - 0x2260], eax
cmp word [ebx], 0x7d
jne 0x4449d0
jmp 0x445480
mov byte [ebp - 4], 0
mov dword [ebp - 0x223c], 0
mov esi, 0x80020009
jmp 0x445480
mov byte [ebp - 4], 0
mov dword [ebp - 0x223c], 0
jmp 0x445480
mov byte [ebp - 4], 0
mov dword [ebp - 0x2248], 0
jmp 0x445480
push eax
call fcn.004432c0
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0
test edi, edi
je 0x445464
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2258], 0
mov dword [ebp - 0x2254], 0
jmp 0x445480
mov eax, 1
push eax
call fcn.004432c0
add esp, 4
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2230]
test eax, eax
je 0x4454a2
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2230], 0
mov eax, esi
mov dword [ebp - 0x222c], 0
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.0047df69
mov esp, ebp
pop ebp
ret 0x10
push eax
call fcn.004432c0
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0
mov dword [ebp - 0x2260], 0
jmp 0x445480