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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4847cc
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x4b81d0]
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.00465760
add esp, 0xc
push str.CLSIDA5662DF9_0C2E_4A56_9FE1_BACFF6966D88
lea ecx, [ebp - 0x224]
call fcn.00401c40
lea edx, [ebp - 0x224]
push edx
lea eax, [ebp - 0x220]
push eax
mov ebx, str.InprocServer32
mov dword [ebp - 4], 0
call fcn.00406660
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 0x429ade
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 0x429aab
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 0x429ad4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x429c8c
mov eax, dword [ebp - 0x228]
lea ecx, [ebp - 0x234]
push ecx
lea edx, [ebp - 0x218]
push edx
push 0
push 0
push 0x496310
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 0x429b4d
mov ecx, dword [ebp - 0x220]
push 0
push 0x100
push ecx
push 0x80000000
call esi
mov edx, dword [ebp - 0x224]
push 0
push 0x100
push edx
push 0x80000000
call esi
jmp 0x429b6f
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 0x429c3b
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x22c]
call fcn.00401c40
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.0040e3e0
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 0x429c0a
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 0x429c30
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0x219], 0
je 0x429c3b
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 0x429c61
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 0x429c8a
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.00461edc
mov esp, ebp
pop ebp
ret