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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d103b
mov eax, dword fs:[0]
push eax
mov eax, 0x2250
call fcn.004a1750
mov eax, dword [0x513b94]
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 - 0x2220], eax
mov dword [ebp - 0x2230], 0
mov dword [ebp - 0x222c], 0
mov dword [ebp - 0x2228], 0
push ebx
mov dword [ebp - 4], 0
call fcn.00455390
mov esi, eax
test esi, esi
js 0x45d160
cmp word [ebx], 0x7d
je 0x45d14d
nop dword [eax]
nop word [eax + eax]
push 0x4e42a8
push ebx
mov dword [ebp - 0x2234], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x4e6198
sbb edi, edi
push ebx
inc edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x45c7c3
test edi, edi
je 0x45c8cf
mov ecx, dword [ebp - 0x2224]
push ebx
call fcn.00455390
mov esi, eax
test esi, esi
js 0x45d14d
cmp dword [ebp + 0x10], 0
je 0x45c8cf
movzx eax, word [ebx]
mov edx, ebx
mov dword [ebp - 0x2240], 0
mov dword [ebp - 0x2238], 0
test ax, ax
je 0x45c824
cmp ax, 0x5c
je 0x45c81c
push edx
call dword [sym.imp.USER32.dll_CharNextW]
mov edx, eax
movzx ecx, word [edx]
mov eax, ecx
test cx, cx
jne 0x45c801
jmp 0x45c824
test edx, edx
jne 0x45d13b
mov esi, 0x4e61c4
nop dword [eax]
push dword [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x45c888
add esi, 4
cmp esi, 0x4e61f4
jl 0x45c830
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.0045c170
mov dword [ebp - 0x2240], 0
mov dword [ebp - 0x2238], 0
test edi, edi
je 0x45c8c5
mov edi, dword [ebp - 0x2224]
mov ecx, edi
push ebx
call fcn.00455390
mov esi, eax
test esi, esi
js 0x45d14d
push ebx
mov ecx, edi
call fcn.0045d350
mov esi, eax
test esi, esi
js 0x45d14d
mov dword [ebp - 0x223c], 0
jmp 0x45cd5a
mov dword [ebp - 0x223c], 0
push 0x4e61b0
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x45c8ff
mov ecx, dword [ebp - 0x2224]
xor edi, edi
push ebx
mov dword [ebp - 0x2234], edi
call fcn.00455390
mov esi, eax
test esi, esi
js 0x45d14d
jmp 0x45c905
mov edi, dword [ebp - 0x2234]
push 0x4e6190
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x45ca7d
mov ecx, dword [ebp - 0x2224]
lea eax, [ebp - 0x2218]
push eax
call fcn.00455390
mov esi, eax
test esi, esi
js 0x45d14d
mov ecx, dword [ebp - 0x2224]
push ebx
call fcn.00455390
mov esi, eax
test esi, esi
js 0x45d14d
cmp word [ebx], 0x3d
jne 0x45d13b
cmp dword [ebp + 0x10], 0
je 0x45c9d6
mov eax, dword [ebp - 0x2220]
mov edi, dword [ebp - 0x2224]
mov ecx, edi
mov dword [ebp - 0x2250], eax
lea eax, [ebp - 0x2218]
push ebx
push eax
lea eax, [ebp - 0x2250]
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x224c], 0
mov dword [ebp - 0x2248], 0
call fcn.004530e0
mov esi, eax
mov dword [ebp - 0x2250], 0
mov dword [ebp - 0x224c], 0
mov dword [ebp - 0x2248], 0
test esi, esi
js 0x45d14d
mov byte [ebp - 4], 0
mov dword [ebp - 0x224c], 0
jmp 0x45cd5a
cmp dword [ebp + 0x14], 0
jne 0x45ca62
test edi, edi
je 0x45ca62
push 0x20006
push 0
push dword [ebp - 0x2220]
lea ecx, [ebp - 0x225c]
mov dword [ebp - 0x225c], 0
mov dword [ebp - 0x2258], 0
mov dword [ebp - 0x2254], 0
call fcn.00459bf0
test eax, eax
jne 0x45d11d
mov edi, dword [ebp - 0x225c]
lea eax, [ebp - 0x2218]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x45ca43
cmp eax, 2
jne 0x45d105
test edi, edi
je 0x45ca58
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x225c], 0
mov dword [ebp - 0x2258], 0
mov ecx, dword [ebp - 0x2224]
push ebx
call fcn.0045d350
mov esi, eax
test esi, esi
js 0x45d14d
jmp 0x45d0f9
movzx ecx, word [ebx]
mov eax, ebx
test cx, cx
je 0x45cab1
mov edx, ecx
nop dword [eax]
cmp dx, 0x5c
je 0x45caa9
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
mov edx, ecx
test cx, cx
jne 0x45ca90
jmp 0x45cab1
test eax, eax
jne 0x45d13b
cmp dword [ebp + 0x10], 0
je 0x45cdbc
mov esi, dword [ebp - 0x2228]
mov byte [ebp - 4], 2
mov dword [ebp - 0x221c], 0
test esi, esi
je 0x45cb7c
cmp dword [esi], 0
je 0x45cb6f
push 0x4e6080
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x45cb42
mov eax, 1
mov edi, dword [ebp - 0x2230]
mov byte [ebp - 4], 0
test eax, eax
je 0x45cd21
mov byte [ebp - 4], 3
mov dword [ebp - 0x221c], 0
test esi, esi
je 0x45cc05
cmp dword [esi], 0
je 0x45cbf8
push 0x4e6080
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x45cbcb
mov eax, 1
jmp 0x45cc45
push 0x4e609c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x45cb75
push 0
push dword [esi]
lea ecx, [ebp - 0x221c]
push ecx
push 0x2001f
push 0
push ebx
push dword [ebp - 0x2220]
call eax
jmp 0x45cb97
cmp dword [esi + 4], 0
jne 0x45cb7c
mov eax, 1
jmp 0x45cb97
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 0x45caf4
mov ecx, dword [ebp - 0x2230]
test ecx, ecx
je 0x45cbb0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 0x221c]
mov dword [ebp - 0x2230], edi
mov dword [ebp - 0x222c], 0
jmp 0x45cafa
push 0x4e609c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x45cbfe
push 0
push dword [esi]
lea ecx, [ebp - 0x221c]
push ecx
push 0x20019
push 0
push ebx
push dword [ebp - 0x2220]
call eax
jmp 0x45cc20
cmp dword [esi + 4], 0
jne 0x45cc05
mov eax, 1
jmp 0x45cc20
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 0x45cc45
test edi, edi
je 0x45cc2f
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 0x221c]
mov dword [ebp - 0x2230], edi
mov dword [ebp - 0x222c], 0
mov byte [ebp - 4], 0
test eax, eax
je 0x45cd21
mov byte [ebp - 4], 4
mov dword [ebp - 0x221c], 0
test esi, esi
je 0x45ccc8
cmp dword [esi], 0
je 0x45ccbb
push 0x4e6080
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x45cc81
mov eax, 1
jmp 0x45cd15
push 0x4e60b4
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x45ccc1
push 0
push dword [esi]
lea ecx, [ebp - 0x2244]
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 0x45ccf0
cmp dword [esi + 4], 0
jne 0x45ccc8
mov eax, 1
jmp 0x45ccf0
lea eax, [ebp - 0x2244]
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 0x45cd15
test edi, edi
je 0x45ccff
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x221c]
mov dword [ebp - 0x2230], ecx
mov dword [ebp - 0x222c], 0
mov byte [ebp - 4], 0
test eax, eax
jne 0x45d142
mov edi, dword [ebp - 0x2224]
mov ecx, edi
push ebx
call fcn.00455390
mov esi, eax
test esi, esi
js 0x45d14d
cmp word [ebx], 0x3d
jne 0x45cd5a
push ebx
push 0
lea eax, [ebp - 0x2230]
mov ecx, edi
push eax
call fcn.004530e0
mov esi, eax
test esi, esi
js 0x45d14d
cmp word [ebx], 0x7b
jne 0x45d0f9
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45cd70
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x45d0f9
push 0
push dword [ebp + 0x10]
mov ecx, edi
push dword [ebp - 0x2230]
push ebx
call fcn.0045c700
mov esi, eax
test esi, esi
js 0x45d14d
push ebx
mov ecx, edi
call fcn.00455390
mov esi, eax
test esi, esi
js 0x45d14d
jmp 0x45d0f9
cmp dword [ebp + 0x14], 0
jne 0x45ce87
mov esi, dword [ebp - 0x2228]
mov byte [ebp - 4], 5
mov dword [ebp - 0x221c], 0
test esi, esi
je 0x45ce37
cmp dword [esi], 0
je 0x45ce2a
push 0x4e6080
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x45cdfd
lea edi, [eax + 1]
mov byte [ebp - 4], al
jmp 0x45ce8c
push 0x4e609c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x45ce30
push 0
push dword [esi]
lea ecx, [ebp - 0x221c]
push ecx
push 0x20019
push 0
push ebx
push dword [ebp - 0x2220]
call eax
jmp 0x45ce52
cmp dword [esi + 4], 0
jne 0x45ce37
mov edi, 1
jmp 0x45ce54
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 0x45ce81
mov eax, dword [ebp - 0x2230]
test eax, eax
je 0x45ce6b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
mov eax, dword [ebp - 0x221c]
mov dword [ebp - 0x2230], eax
mov dword [ebp - 0x222c], 0
mov byte [ebp - 4], 0
jmp 0x45ce8c
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.004a863e
push eax
call fcn.00439aa0
mov ecx, dword [ebp - 0x2224]
add esp, 0x14
push ebx
call fcn.00455390
mov esi, eax
test esi, esi
js 0x45d14d
mov ecx, dword [ebp - 0x2224]
push ebx
call fcn.0045d350
mov esi, eax
test esi, esi
js 0x45d14d
cmp word [ebx], 0x7b
jne 0x45cf48
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45cef1
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x45cf48
push dword [ebp - 0x221c]
mov ecx, dword [ebp - 0x2224]
push 0
push dword [ebp - 0x2230]
push ebx
call fcn.0045c700
mov esi, eax
test esi, esi
jns 0x45cf32
cmp dword [ebp - 0x221c], 0
je 0x45d14d
mov ecx, dword [ebp - 0x2224]
push ebx
call fcn.00455390
mov esi, eax
test esi, esi
js 0x45d14d
cmp edi, 2
je 0x45d0f9
test edi, edi
je 0x45cf65
cmp dword [ebp + 0x14], 0
jne 0x45d0f9
push edi
jmp 0x45d143
cmp dword [ebp + 0x14], 0
je 0x45cffb
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 0x45cffb
cmp eax, dword [ebp - 0x221c]
sbb eax, eax
neg eax
je 0x45cffb
mov edi, 0x4e61c4
push dword [edi]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x45d0f9
add edi, 4
cmp edi, 0x4e61f4
jl 0x45cfb5
cmp dword [ebp - 0x2234], 0
je 0x45d0f9
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2230]
call fcn.0045c170
jmp 0x45d0f9
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 0x45d034
xor edi, edi
jmp 0x45d040
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 0x45d05b
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 0x45d142
cmp dword [ebp - 0x2234], eax
je 0x45d0f9
test edi, edi
jne 0x45d0f9
mov byte [ebp - 4], 6
cmp byte [0x5183ac], al
jne 0x45d0c0
push 0x4e6080
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x45d0b2
push 0x4e612c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5183a8], eax
mov byte [0x5183ac], 1
jmp 0x45d0c5
mov eax, dword [0x5183a8]
mov byte [0x5183ac], 1
jmp 0x45d0c5
mov eax, dword [0x5183a8]
test eax, eax
je 0x45d0de
push 0
push 0
lea ecx, [ebp - 0x218]
push ecx
push dword [ebp - 0x2220]
call eax
jmp 0x45d0f1
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x2220]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov byte [ebp - 4], 0
test eax, eax
jne 0x45d142
cmp word [ebx], 0x7d
jne 0x45c790
jmp 0x45d14d
push eax
call fcn.004536d0
add esp, 4
mov esi, eax
test edi, edi
je 0x45d14d
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x45d14d
push eax
call fcn.004536d0
mov esi, eax
add esp, 4
mov eax, dword [ebp - 0x225c]
test eax, eax
je 0x45d14d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x45d14d
mov esi, 0x80020009
jmp 0x45d14d
push eax
call fcn.004536d0
add esp, 4
mov esi, eax
mov eax, dword [ebp - 0x2230]
test eax, eax
je 0x45d15e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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.004a0e13
mov esp, ebp
pop ebp
ret 0x10