Function at 0x4040dc
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, 0x44c
mov eax, dword [0x418894]
push ebx
push 0xf0000000
xor ebx, ebx
push 0x18
push ebx
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x444]
push eax
mov dword [ebp - 0x44c], 0x20
mov dword [ebp - 0x444], ebx
mov dword [ebp - 0x440], ebx
mov byte [ebp - 0x3c], 0xb2
mov byte [ebp - 0x3b], 3
mov byte [ebp - 0x3a], 0xee
mov byte [ebp - 0x39], 0x4c
mov byte [ebp - 0x38], 0x72
mov byte [ebp - 0x37], 4
mov byte [ebp - 0x36], 0xce
mov byte [ebp - 0x35], bl
mov byte [ebp - 0x34], 0xb5
mov byte [ebp - 0x33], 0x3f
mov byte [ebp - 0x32], 0x38
mov byte [ebp - 0x31], 0x90
mov byte [ebp - 0x30], 0xe4
mov byte [ebp - 0x2f], 0xda
mov byte [ebp - 0x2e], 0x6c
mov byte [ebp - 0x2d], 0x19
mov byte [ebp - 0x2c], 0xc5
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 1
mov byte [ebp - 0x29], 0x8f
mov byte [ebp - 0x28], 0x1c
mov byte [ebp - 0x27], 0x27
mov byte [ebp - 0x26], 0x74
mov byte [ebp - 0x25], 0x52
mov byte [ebp - 0x24], 0x7a
mov byte [ebp - 0x23], 0xbe
mov byte [ebp - 0x22], 0x46
mov byte [ebp - 0x21], 0xa7
mov byte [ebp - 0x20], 0xa
mov byte [ebp - 0x1f], pe_nt_image_headers32
mov byte [ebp - 0x1e], 0xd4
mov byte [ebp - 0x1d], 0x10
mov byte [ebp - 0x1c], 0xd9
mov byte [ebp - 0x1b], 0x9e
mov byte [ebp - 0x1a], 0x46
mov byte [ebp - 0x19], 0x77
mov byte [ebp - 0x18], 0xd
mov byte [ebp - 0x17], 0x9a
mov byte [ebp - 0x16], 0x19
mov byte [ebp - 0x15], 0xd
mov byte [ebp - 0x14], 0x1c
mov byte [ebp - 0x13], 0x49
mov byte [ebp - 0x12], 0xfd
mov byte [ebp - 0x11], 0x18
mov byte [ebp - 0x10], 7
mov byte [ebp - 0xf], 0x9b
mov byte [ebp - 0xe], 0xc
mov byte [ebp - 0xd], 0xff
mov byte [ebp - 0xc], 0x8f
mov byte [ebp - 0xb], 0x88
mov byte [ebp - 0xa], 0x77
mov byte [ebp - 9], 0xc7
mov byte [ebp - 8], 0x61
mov byte [ebp - 7], 0xf2
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x4042e5
push esi
push edi
lea eax, [ebp - 0x440]
push eax
push ebx
push ebx
push 0x800c
push dword [ebp - 0x444]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x404221
xor esi, esi
jmp 0x4042d4
mov esi, dword [sym.imp.ADVAPI32.dll_CryptHashData]
push ebx
push 0x36
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x440]
call esi
test eax, eax
jne 0x404241
xor esi, esi
jmp 0x4042c8
push 0x40159c
push dword [ebp + 8]
mov dword [ebp - 0x448], ebx
call dword [sym.imp.msvcrt.dll__wfopen]
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
je 0x4042a8
push edi
push 0x400
lea eax, [ebp - 0x43c]
push 1
push eax
call dword [sym.imp.msvcrt.dll_fread]
add esp, 0x10
cmp eax, ebx
jbe 0x4042a0
add dword [ebp - 0x448], eax
push ebx
push eax
lea eax, [ebp - 0x43c]
push eax
push dword [ebp - 0x440]
call esi
test eax, eax
je 0x4042f2
cmp dword [ebp - 0x448], 0x2400
jb 0x40425d
push edi
call dword [sym.imp.msvcrt.dll_fclose]
pop ecx
push ebx
lea eax, [ebp - 0x44c]
push eax
push dword [ebp + 0xc]
push 2
push dword [ebp - 0x440]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
xor esi, esi
test eax, eax
je 0x4042c8
inc esi
push dword [ebp - 0x440]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push ebx
push dword [ebp - 0x444]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
pop ebx
call fcn.0041413e
leave
ret 8
push dword [ebp - 0x440]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push ebx
push dword [ebp - 0x444]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push edi
call dword [sym.imp.msvcrt.dll_fclose]
pop ecx
xor eax, eax
jmp 0x4042e3