Function at 0x41dce0
Capabilities:
Delete file
Delete registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49ab0c
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x4cf500]
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
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x216]
push ecx
mov edi, 1
mov dword [ebp - 0x234], 0x104
mov word [ebp - 0x218], ax
call fcn.00477f60
add esp, 0xc
push str.CLSIDA5662DF9_0C2E_4A56_9FE1_BACFF6966D88
lea ecx, [ebp - 0x224]
call fcn.00401c90
lea edx, [ebp - 0x224]
push edx
lea eax, [ebp - 0x220]
push eax
mov ebx, str.InprocServer32
mov dword [ebp - 4], 0
call fcn.004066b0
add esp, 8
lea ecx, [ebp - 0x228]
push ecx
push 0xf013f
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x220]
push 0
push edx
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x41ddee
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ddbb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41dde4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x41df9c
mov eax, dword [ebp - 0x228]
lea ecx, [ebp - 0x234]
push ecx
lea edx, [ebp - 0x218]
push edx
push 0
push 0
push 0x4aac6c
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
push str.RegDeleteKeyExW
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x41de5d
mov ecx, dword [ebp - 0x220]
push 0
push pe_nt_image_headers32
push ecx
push 0x80000000
call esi
mov edx, dword [ebp - 0x224]
push 0
push pe_nt_image_headers32
push edx
push 0x80000000
call esi
jmp 0x41de7f
mov eax, dword [ebp - 0x220]
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push eax
push 0x80000000
call esi
mov ecx, dword [ebp - 0x224]
push ecx
push 0x80000000
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [ebp - 0x228]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x41df4b
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x22c]
call fcn.00401c90
mov bl, 2
mov byte [ebp - 4], bl
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x230], esi
lea ecx, [ebp - 0x230]
push ecx
lea edx, [ebp - 0x22c]
push edx
mov byte [ebp - 4], 3
call fcn.0040df40
add esp, 8
test eax, eax
lea eax, [esi - 0x10]
sete byte [ebp - 0x219]
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41df1a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41df40
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0x219], 0
je 0x41df4b
xor edi, edi
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41df71
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41df9a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
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.00472ba1
mov esp, ebp
pop ebp
ret