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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48fafc
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x4c11d0]
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.0046ed60
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.004066e0
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 0x431abe
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 0x431a8b
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 0x431ab4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x431c6c
mov eax, dword [ebp - 0x228]
lea ecx, [ebp - 0x234]
push ecx
lea edx, [ebp - 0x218]
push edx
push 0
push 0
push 0x4a2608
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 0x431b2d
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 0x431b4f
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 0x431c1b
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.0040ea70
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 0x431bea
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 0x431c10
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0x219], 0
je 0x431c1b
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 0x431c41
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 0x431c6a
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.0046b255
mov esp, ebp
pop ebp
ret