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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b286c
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x4ed4e0]
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.0048ac40
add esp, 0xc
push str.CLSIDA5662DF9_0C2E_4A56_9FE1_BACFF6966D88
lea ecx, [ebp - 0x224]
call fcn.00401bb0
lea edx, [ebp - 0x224]
push edx
lea eax, [ebp - 0x220]
push eax
mov ebx, str.InprocServer32
mov dword [ebp - 4], 0
call fcn.00406680
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 0x439b2e
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 0x439afb
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 0x439b24
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x439cdc
mov eax, dword [ebp - 0x228]
lea ecx, [ebp - 0x234]
push ecx
lea edx, [ebp - 0x218]
push edx
push 0
push 0
push 0x4c4720
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 0x439b9d
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 0x439bbf
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 0x439c8b
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x22c]
call fcn.00401bb0
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.00419de0
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 0x439c5a
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 0x439c80
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0x219], 0
je 0x439c8b
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 0x439cb1
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 0x439cda
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.00485532
mov esp, ebp
pop ebp
ret