Function at 0x40d7e0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58bc40
mov eax, dword fs:[0]
push eax
sub esp, 0x62c
mov eax, dword [0x616a64]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x61bf58]
test esi, esi
jne 0x40d84d
push 0x120
call fcn.0055f3ff
mov esi, eax
add esp, 4
mov dword [ebp - 0x634], esi
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.0041356e
mov dword [ebp - 4], 0xffffffff
mov dword [esi], vtable.CConfigure.0
mov dword [0x61bf58], esi
push 0
push str.45da4
push str.BKSetting
mov ecx, esi
call fcn.004139db
cmp eax, 1
jne 0x40d90d
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x634]
push eax
push 0xf003f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.WS2_32.dll_accept
call esi
test eax, eax
jne 0x40d906
lea eax, [ebp - 0x638]
push eax
push 0xf003f
push 0
push 0x60be6c
push dword [ebp - 0x634]
call esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x40d8fe
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00565ca0
push 0x60bdf0
push 0x60b0bc
lea eax, [ebp - 0x218]
push str._s_s
push eax
call fcn.00403f70
add esp, 0x1c
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x638]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x638]
call esi
push dword [ebp - 0x634]
call esi
xor eax, eax
jmp 0x40dae6
push 0x60be80
push 0
call fcn.004130c3
add esp, 8
push 0x493e0
call dword [sym.imp.KERNEL32.dll_Sleep]
sub esp, 0xc
call fcn.004033e0
mov ecx, eax
call fcn.0040b9e0
push 0x400
lea eax, [ebp - 0x618]
push 0
push eax
call fcn.00565ca0
add esp, 0xc
lea eax, [ebp - 0x618]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x618]
push 0x5c
push eax
call fcn.00564095
xor ecx, ecx
add esp, 8
mov word [eax + 2], cx
xor eax, eax
mov dword [ebp - 0x620], ecx
lea ecx, [ebp - 0x618]
mov dword [ebp - 0x61c], 7
lea edx, [ecx + 2]
mov word [ebp - 0x630], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40d9a0
sub ecx, edx
lea eax, [ebp - 0x618]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x630]
call fcn.004030d0
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x61c]
mov eax, edx
mov ecx, dword [ebp - 0x620]
sub eax, ecx
cmp eax, 8
jb 0x40da12
cmp edx, 8
lea esi, [ebp - 0x630]
push 0x10
cmovae esi, dword [ebp - 0x630]
lea edi, [ecx + 8]
push str.BKUt.exe
mov dword [ebp - 0x620], edi
lea eax, [esi + ecx*2]
push eax
call fcn.00565720
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x40da33
push 8
push str.BKUt.exe
mov byte [ebp - 0x634], 0
lea ecx, [ebp - 0x630]
push dword [ebp - 0x634]
push 8
call fcn.004036a0
cmp dword [ebp - 0x61c], 8
lea eax, [ebp - 0x630]
cmovae eax, dword [ebp - 0x630]
push eax
call fcn.00411448
add esp, 4
test al, al
je 0x40da7c
cmp dword [ebp - 0x61c], 8
lea eax, [ebp - 0x630]
push 0
cmovae eax, dword [ebp - 0x630]
push 0
push 0
push 0x60beb8
push eax
call fcn.0041f598
add esp, 0x14
cmp dword [ebp - 0x61c], 8
lea eax, [ebp - 0x630]
push 0x60beb8
cmovae eax, dword [ebp - 0x630]
push eax
push 0x60bec0
push 0
call fcn.004130c3
mov edx, dword [ebp - 0x61c]
add esp, 0x10
cmp edx, 8
jb 0x40dae1
mov ecx, dword [ebp - 0x630]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40dad7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40db01
push edx
push ecx
call fcn.0055f42f
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055f3e9
mov esp, ebp
pop ebp
ret
call fcn.00568f31
int3