Function at 0x4158ec
Capabilities:
Contain obfuscated stackstrings
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
mov eax, dword [0x4276e0]
push esi
push 0xf0000000
xor esi, esi
push 0x18
push esi
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x448]
push eax
mov dword [ebp - 0x450], 0x20
mov dword [ebp - 0x448], esi
mov dword [ebp - 0x444], esi
mov byte [ebp - 0x40], 0xd
mov byte [ebp - 0x3f], 0x19
mov byte [ebp - 0x3e], 0x71
mov byte [ebp - 0x3d], 0xf5
mov byte [ebp - 0x3c], 0xc9
mov byte [ebp - 0x3b], 0x4f
mov byte [ebp - 0x3a], 0x48
mov byte [ebp - 0x39], pe_nt_image_headers32
mov byte [ebp - 0x38], 0x95
mov byte [ebp - 0x37], 0x43
mov byte [ebp - 0x36], 9
mov byte [ebp - 0x35], 5
mov byte [ebp - 0x34], 0x3f
mov byte [ebp - 0x33], 0x45
mov byte [ebp - 0x32], 5
mov byte [ebp - 0x31], 0xda
mov byte [ebp - 0x30], 0x85
mov byte [ebp - 0x2f], 0x91
mov byte [ebp - 0x2e], 0x5f
mov byte [ebp - 0x2d], 0x9e
mov byte [ebp - 0x2c], 0xeb
mov byte [ebp - 0x2b], 0x56
mov byte [ebp - 0x2a], 0x52
mov byte [ebp - 0x29], 0xe5
mov byte [ebp - 0x28], 0x85
mov byte [ebp - 0x27], 0x1e
mov byte [ebp - 0x26], 0x4c
mov byte [ebp - 0x25], 0x59
mov byte [ebp - 0x24], 0x74
mov byte [ebp - 0x23], 0xd6
mov byte [ebp - 0x22], 0x6a
mov byte [ebp - 0x21], 0x69
mov byte [ebp - 0x20], 0x50
mov byte [ebp - 0x1f], 0x6b
mov byte [ebp - 0x1e], 0x4f
mov byte [ebp - 0x1d], 0x2d
mov byte [ebp - 0x1c], 0x99
mov byte [ebp - 0x1b], 0x12
mov byte [ebp - 0x1a], 0x64
mov byte [ebp - 0x19], 0x98
mov byte [ebp - 0x18], 0xa3
mov byte [ebp - 0x17], 0x18
mov byte [ebp - 0x16], 0x67
mov byte [ebp - 0x15], 0xf1
mov byte [ebp - 0x14], 0xec
mov byte [ebp - 0x13], 0xee
mov byte [ebp - 0x12], 0xaf
mov byte [ebp - 0x11], 1
mov byte [ebp - 0x10], 0xb8
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0x2c
mov byte [ebp - 0xd], 0xb3
mov byte [ebp - 0xc], 0x2c
mov byte [ebp - 0xb], 0xcb
mov byte [ebp - 0xa], 0x3e
mov byte [ebp - 9], 0x3a
mov byte [ebp - 8], 0x3e
mov byte [ebp - 7], 0xcc
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x415b07
push ebx
push edi
lea eax, [ebp - 0x444]
push eax
push esi
push esi
push 0x800c
push dword [ebp - 0x448]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x415a43
xor edi, edi
jmp 0x415af6
mov edi, dword [sym.imp.ADVAPI32.dll_CryptHashData]
push esi
push 0x3a
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x444]
call edi
test eax, eax
jne 0x415a63
xor edi, edi
jmp 0x415aea
push 0x4034f4
push dword [ebp + 8]
mov dword [ebp - 0x44c], esi
call dword [sym.imp.msvcrt.dll__wfopen]
mov ebx, eax
cmp ebx, esi
pop ecx
pop ecx
je 0x415aca
push ebx
push 0x400
lea eax, [ebp - 0x440]
push 1
push eax
call dword [sym.imp.msvcrt.dll_fread]
add esp, 0x10
cmp eax, esi
jbe 0x415ac2
add dword [ebp - 0x44c], eax
push esi
push eax
lea eax, [ebp - 0x440]
push eax
push dword [ebp - 0x444]
call edi
test eax, eax
je 0x415b14
cmp dword [ebp - 0x44c], 0x5000
jb 0x415a7f
push ebx
call dword [sym.imp.msvcrt.dll_fclose]
pop ecx
push esi
lea eax, [ebp - 0x450]
push eax
push dword [ebp + 0xc]
push 2
push dword [ebp - 0x444]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
xor edi, edi
test eax, eax
je 0x415aea
inc edi
push dword [ebp - 0x444]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push esi
push dword [ebp - 0x448]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, edi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
pop esi
call fcn.004164d8
leave
ret 8
push dword [ebp - 0x444]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push esi
push dword [ebp - 0x448]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push ebx
call dword [sym.imp.msvcrt.dll_fclose]
pop ecx
xor eax, eax
jmp 0x415b05