Function at 0x407a1e
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, 0x448
mov eax, dword [0x418890]
push esi
push 0xf0000000
xor esi, esi
push 0x18
push esi
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x440]
push eax
mov dword [ebp - 0x448], 0x20
mov dword [ebp - 0x440], esi
mov dword [ebp - 0x43c], esi
mov byte [ebp - 0x38], 0x7d
mov byte [ebp - 0x37], 0x31
mov byte [ebp - 0x36], 0xf1
mov byte [ebp - 0x35], 0x40
mov byte [ebp - 0x34], 0x8b
mov byte [ebp - 0x33], 0x43
mov byte [ebp - 0x32], 0x16
mov byte [ebp - 0x31], 0x1e
mov byte [ebp - 0x30], 0x34
mov byte [ebp - 0x2f], 0x5d
mov byte [ebp - 0x2e], 0x4c
mov byte [ebp - 0x2d], 0x1d
mov byte [ebp - 0x2c], 0x8e
mov byte [ebp - 0x2b], 0x24
mov byte [ebp - 0x2a], 0x72
mov byte [ebp - 0x29], 8
mov byte [ebp - 0x28], 0x34
mov byte [ebp - 0x27], 0xd1
mov byte [ebp - 0x26], 0x93
mov byte [ebp - 0x25], 0x35
mov byte [ebp - 0x24], 0xd8
mov byte [ebp - 0x23], 5
mov byte [ebp - 0x22], 0x79
mov byte [ebp - 0x21], 0xe3
mov byte [ebp - 0x20], 0x4f
mov byte [ebp - 0x1f], 0x8a
mov byte [ebp - 0x1e], 0x2b
mov byte [ebp - 0x1d], 0xe5
mov byte [ebp - 0x1c], 0x7f
mov byte [ebp - 0x1b], 0x4b
mov byte [ebp - 0x1a], 0xae
mov byte [ebp - 0x19], 0xa5
mov byte [ebp - 0x18], 0x44
mov byte [ebp - 0x17], 0xb4
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], 0x2e
mov byte [ebp - 0x14], 0xf1
mov byte [ebp - 0x13], 0x7e
mov byte [ebp - 0x12], 0x82
mov byte [ebp - 0x11], 0x61
mov byte [ebp - 0x10], 0xce
mov byte [ebp - 0xf], 0xf
mov byte [ebp - 0xe], 0x31
mov byte [ebp - 0xd], 0xcb
mov byte [ebp - 0xc], 0xe7
mov byte [ebp - 0xb], 0xd4
mov byte [ebp - 0xa], 0xb3
mov byte [ebp - 9], 0x2c
mov byte [ebp - 8], 0x36
mov byte [ebp - 7], 0x15
mov byte [ebp - 6], 0x40
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x407c1d
push ebx
push edi
lea eax, [ebp - 0x43c]
push eax
push esi
push esi
push 0x800c
push dword [ebp - 0x440]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x407b59
xor edi, edi
jmp 0x407c0c
mov edi, dword [sym.imp.ADVAPI32.dll_CryptHashData]
push esi
push 0x33
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x43c]
call edi
test eax, eax
jne 0x407b79
xor edi, edi
jmp 0x407c00
push 0x4018c4
push dword [ebp + 8]
mov dword [ebp - 0x444], esi
call dword [sym.imp.msvcrt.dll__wfopen]
mov ebx, eax
cmp ebx, esi
pop ecx
pop ecx
je 0x407be0
push ebx
push 0x400
lea eax, [ebp - 0x438]
push 1
push eax
call dword [sym.imp.msvcrt.dll_fread]
add esp, 0x10
cmp eax, esi
jbe 0x407bd8
add dword [ebp - 0x444], eax
push esi
push eax
lea eax, [ebp - 0x438]
push eax
push dword [ebp - 0x43c]
call edi
test eax, eax
je 0x407c2a
cmp dword [ebp - 0x444], 0x1000
jb 0x407b95
push ebx
call dword [sym.imp.msvcrt.dll_fclose]
pop ecx
push esi
lea eax, [ebp - 0x448]
push eax
push dword [ebp + 0xc]
push 2
push dword [ebp - 0x43c]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
xor edi, edi
test eax, eax
je 0x407c00
inc edi
push dword [ebp - 0x43c]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push esi
push dword [ebp - 0x440]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, edi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
pop esi
call fcn.00414145
leave
ret 8
push dword [ebp - 0x43c]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push esi
push dword [ebp - 0x440]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push ebx
call dword [sym.imp.msvcrt.dll_fclose]
pop ecx
xor eax, eax
jmp 0x407c1b