Function at 0x40d0c0
Capabilities:
Check if file exists
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5189b7
mov eax, dword fs:[0]
push eax
sub esp, 0x65c
mov eax, dword [0x55d3e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.004c9210
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004c9210
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004c9210
add esp, 0x24
lea eax, [ebp - 0x628]
mov ecx, esi
push eax
push str.7c1ee
call fcn.0040d450
lea eax, [ebp - 0x420]
mov ecx, esi
push eax
push str.3e0f1
call fcn.0040d450
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
push str.812b2
call fcn.0040d450
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40d435
mov dword [ebp - 0x668], 0
mov dword [ebp - 0x664], 0
mov dword [ebp - 0x660], 0
push 4
xor eax, eax
mov dword [ebp - 4], 0
push str.3bcd
lea ecx, [ebp - 0x640]
mov dword [ebp - 0x62c], 7
mov dword [ebp - 0x630], 0
mov word [ebp - 0x640], ax
call fcn.00407fd0
lea eax, [ebp - 0x640]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x668]
call fcn.0040df50
mov eax, dword [ebp - 0x62c]
mov byte [ebp - 4], 0
cmp eax, 8
jb 0x40d204
inc eax
lea ecx, [ebp - 0x640]
push eax
push dword [ebp - 0x640]
call fcn.0047f630
xor eax, eax
mov dword [ebp - 0x62c], 7
mov dword [ebp - 0x630], 0
mov word [ebp - 0x640], ax
cmp word [ebp - 0x218], ax
jne 0x40d22e
xor ecx, ecx
jmp 0x40d246
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40d237
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x640]
call fcn.00407fd0
lea eax, [ebp - 0x640]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x668]
call fcn.0040df50
mov eax, dword [ebp - 0x62c]
mov byte [ebp - 4], 0
cmp eax, 8
jb 0x40d291
inc eax
lea ecx, [ebp - 0x640]
push eax
push dword [ebp - 0x640]
call fcn.0047f630
push 3
xor eax, eax
mov dword [ebp - 0x62c], 7
push 0x5211b4
lea ecx, [ebp - 0x640]
mov dword [ebp - 0x630], 0
mov word [ebp - 0x640], ax
call fcn.00407fd0
lea eax, [ebp - 0x668]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x640]
push eax
lea eax, [ebp - 0x658]
push eax
call fcn.004206ab
add esp, 0xc
mov eax, dword [ebp - 0x62c]
mov byte [ebp - 4], 5
cmp eax, 8
jb 0x40d303
inc eax
lea ecx, [ebp - 0x640]
push eax
push dword [ebp - 0x640]
call fcn.0047f630
xor eax, eax
mov dword [ebp - 0x62c], 7
cmp dword [ebp - 0x644], 8
mov word [ebp - 0x640], ax
lea eax, [ebp - 0x658]
cmovae eax, dword [ebp - 0x658]
push 0x7530
push 1
push eax
lea eax, [ebp - 0x420]
mov dword [ebp - 0x630], 0
push eax
call fcn.004231f9
add esp, 0x10
mov dword [ebp - 0x65c], 0
lea eax, [ebp - 0x65c]
push eax
push 0xf013f
push 0
push str.SoftWare
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40d394
push str.Janesmft
push dword [ebp - 0x65c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 0x65c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x628]
push eax
call fcn.00423be2
mov eax, dword [ebp - 0x644]
add esp, 4
cmp eax, 8
jb 0x40d3c1
inc eax
lea ecx, [ebp - 0x658]
push eax
push dword [ebp - 0x658]
call fcn.0047f630
xor eax, eax
mov dword [ebp - 0x644], 7
mov word [ebp - 0x658], ax
mov eax, dword [ebp - 0x668]
mov dword [ebp - 0x648], 0
test eax, eax
je 0x40d430
push dword [ebp - 0x65c]
lea ecx, [ebp - 0x668]
push ecx
push dword [ebp - 0x664]
push eax
call fcn.0040cc70
mov ecx, dword [ebp - 0x660]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x668]
add esp, 0x10
sub ecx, esi
imul ecx
lea ecx, [ebp - 0x668]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.0040def0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004974f6
mov esp, ebp
pop ebp
ret