Function at 0x404b70
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x447004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov eax, edx
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 8]
xorps xmm0, xmm0
push esi
lea esi, [ecx + 0x1c]
mov dword [ebp - 0x24], edx
mov edx, dword [ebp + 0xc]
mov ecx, dword [eax + 0x1c]
push edi
mov dword [ebp - 0x20], edx
mov edx, str.isActive
push esi
push 8
mov dword [ebp - 0x18], eax
movlpd qword [ebp - 0xc], xmm0
call fcn.0041c300
add esp, 8
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push 0
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push str.SoftwareCleverFilesDisk_Drill
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, eax
test edi, edi
jne 0x404c70
mov eax, dword [esi]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x404c1e
mov edx, dword [ebp - 8]
test edx, edx
je 0x404c0e
mov ecx, dword [edx]
mov eax, dword [ecx]
add eax, edx
push eax
mov eax, dword [ecx + 4]
call eax
mov eax, dword [ebp - 0x10]
add esp, 4
mov dword [ebp - 0xc], 0x1c
mov dword [ebp - 8], 0x447988
jmp 0x404c9a
push 4
lea ecx, [ebp - 0x1c]
push ecx
push 4
push 0
push 0x4434a8
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test esi, esi
jne 0x404c42
lea ebx, [eax + 1]
mov eax, dword [ebp - 0x10]
jmp 0x404c9c
mov edx, dword [ebp - 8]
test edx, edx
je 0x404c58
mov ecx, dword [edx]
mov eax, dword [ecx]
add eax, edx
push eax
mov eax, dword [ecx + 4]
call eax
add esp, 4
mov ecx, esi
mov dword [ebp - 0xc], 0x19
call fcn.0041b480
mov dword [ebp - 8], eax
xor ebx, ebx
mov eax, dword [ebp - 0x10]
jmp 0x404c9c
mov edx, dword [ebp - 8]
test edx, edx
je 0x404c86
mov ecx, dword [edx]
mov eax, dword [ecx]
add eax, edx
push eax
mov eax, dword [ecx + 4]
call eax
add esp, 4
mov ecx, edi
mov dword [ebp - 0xc], 0x19
call fcn.0041b480
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
xor ebx, ebx
test eax, eax
je 0x404ca7
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x404d22
mov esi, dword [ebp - 0x14]
mov esi, dword [esi + 4]
lea eax, [esi + 0x98]
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esi + 0x8c]
lea edi, [esi + 0x8c]
cmp edx, edi
je 0x404d19
mov esi, dword [edx]
test edx, edx
je 0x404d19
nop word [eax + eax]
mov ecx, 2
lea eax, [edx + 0x284]
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x404d0d
push dword [edx + 0x27c]
mov eax, dword [edx + 0x278]
push 0
push 0
push dword [eax + 0x20]
call dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
cmp esi, edi
je 0x404d19
mov edx, esi
mov esi, dword [esi]
test edx, edx
jne 0x404ce0
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0xc]
push eax
mov edx, ebx
mov esi, dword [esi + 0x1c]
mov ecx, esi
call fcn.004200f0
mov ebx, dword [ebp - 0x18]
add esp, 4
mov edi, 1
mov dword [ebx], 1
mov dword [ebx + 0x14], 0
test esi, esi
je 0x404d64
lea eax, [ebp - 0xc]
mov ecx, esi
push eax
lea edx, [ebx + 8]
call fcn.0041d3e0
add esp, 4
mov edi, eax
mov ecx, dword [esi + 0x20]
call fcn.0041b7e0
lea eax, [ebp - 0xc]
mov dword [ebx + 0x1c], 0
push eax
push ebx
push edi
push dword [ebp - 0x20]
call dword [ebp - 0x24]
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00425576
mov esp, ebp
pop ebp
ret