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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49270c
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x4c81d0]
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.00471430
add esp, 0xc
push str.CLSIDA5662DF9_0C2E_4A56_9FE1_BACFF6966D88
lea ecx, [ebp - 0x224]
call fcn.00401e90
lea edx, [ebp - 0x224]
push edx
lea eax, [ebp - 0x220]
push eax
mov ebx, str.InprocServer32
mov dword [ebp - 4], 0
call fcn.0040ac70
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 0x43038e
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 0x43035b
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 0x430384
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x43053c
mov eax, dword [ebp - 0x228]
lea ecx, [ebp - 0x234]
push ecx
lea edx, [ebp - 0x218]
push edx
push 0
push 0
push 0x4a3aec
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 0x4303fd
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 0x43041f
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 0x4304eb
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x22c]
call fcn.00401e90
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.00411210
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 0x4304ba
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 0x4304e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0x219], 0
je 0x4304eb
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 0x430511
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 0x43053a
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.0046d96b
mov esp, ebp
pop ebp
ret