Function at 0x40d730
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x464d8d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x63c00c]
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
push ecx
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp + 8]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
or esi, 0xffffffff
call fcn.00402a30
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x2c]
push eax
push 0x2011f
push 0
push str.SOFTWARERansompod
lea ebx, [ebp - 0x28]
cmovae ebx, dword [ebp - 0x28]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x40d7b4
mov esi, 0xfffffffe
jmp 0x40d8f0
lea eax, [ebp - 0x30]
push eax
push 0
push 0
push 0
push str.cLOEM
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x30]
push 4
push 0x3000
lea eax, [eax*2 + 2]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
test edi, edi
jne 0x40d7fd
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea esi, [edi - 3]
jmp 0x40d8f0
lea eax, [ebp - 0x30]
push eax
push edi
push 0
push 0
push str.cLOEM
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x40d839
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x8000
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov esi, 0xfffffffc
jmp 0x40d8f0
push 4
push str.FILE
push ebx
call fcn.0045657d
add esp, 0xc
test eax, eax
jne 0x40d850
mov esi, dword [edi + 0xc]
push 6
push str.FOLDER
push ebx
call fcn.0045657d
add esp, 0xc
test eax, eax
jne 0x40d866
mov esi, dword [edi]
push 3
push 0x46d124
push ebx
call fcn.0045657d
add esp, 0xc
test eax, eax
jne 0x40d87d
mov esi, dword [edi + 4]
push 9
push str.BLACKLIST
push ebx
call fcn.0045657d
add esp, 0xc
test eax, eax
jne 0x40d894
mov esi, dword [edi + 8]
push 6
push str.BACKUP
push ebx
call fcn.0045657d
add esp, 0xc
test eax, eax
jne 0x40d8ab
mov esi, dword [edi + 0x10]
push 4
push str.OTFE
push ebx
call fcn.0045657d
add esp, 0xc
test eax, eax
jne 0x40d8c2
mov esi, dword [edi + 0x14]
push 0xa
push str.HEURISTICS
push ebx
call fcn.0045657d
add esp, 0xc
test eax, eax
jne 0x40d8d9
mov esi, dword [edi + 0x18]
push 0x8000
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40d926
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40d91c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d972
push edx
push ecx
call fcn.0044df88
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 4
call fcn.004016b0
lea ecx, [ebp + 8]
push ecx
mov ecx, dword [eax + 0x200]
call ecx
mov eax, esi
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.0044daed
mov esp, ebp
pop ebp
ret 0x10
call fcn.0045376f
int3