Function at 0x40b138
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, 0x440
mov eax, dword [0x414050]
push esi
push 0xf0000000
xor esi, esi
push 0x18
push esi
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x438]
push eax
mov dword [ebp - 0x440], 0x20
mov dword [ebp - 0x438], esi
mov dword [ebp - 0x434], esi
mov byte [ebp - 0x30], 0xf9
mov byte [ebp - 0x2f], 0x37
mov byte [ebp - 0x2e], 0xe2
mov byte [ebp - 0x2d], 0x26
mov byte [ebp - 0x2c], 0xfa
mov byte [ebp - 0x2b], 0x89
mov byte [ebp - 0x2a], 0xa9
mov byte [ebp - 0x29], 0x22
mov byte [ebp - 0x28], 0xe
mov byte [ebp - 0x27], 0x78
mov byte [ebp - 0x26], 0x8a
mov byte [ebp - 0x25], 0xaa
mov byte [ebp - 0x24], 0x94
mov byte [ebp - 0x23], 0xe8
mov byte [ebp - 0x22], 0x4b
mov byte [ebp - 0x21], 0x1f
mov byte [ebp - 0x20], 0xa0
mov byte [ebp - 0x1f], 0x4b
mov byte [ebp - 0x1e], 0x31
mov byte [ebp - 0x1d], 0x73
mov byte [ebp - 0x1c], 0xea
mov byte [ebp - 0x1b], 0x68
mov byte [ebp - 0x1a], 0x2d
mov byte [ebp - 0x19], 0x76
mov byte [ebp - 0x18], 0x46
mov byte [ebp - 0x17], 0xd2
mov byte [ebp - 0x16], 0x3c
mov byte [ebp - 0x15], 0xfb
mov byte [ebp - 0x14], 0xdc
mov byte [ebp - 0x13], 0x69
mov byte [ebp - 0x12], 0xeb
mov byte [ebp - 0x11], 0xd0
mov byte [ebp - 0x10], 0x76
mov byte [ebp - 0xf], 0x8c
mov byte [ebp - 0xe], 0x6a
mov byte [ebp - 0xd], 0x81
mov byte [ebp - 0xc], 0x60
mov byte [ebp - 0xb], 0xee
mov byte [ebp - 0xa], 0x5a
mov byte [ebp - 9], 0xda
mov byte [ebp - 8], 0xb8
mov byte [ebp - 7], 0xe7
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x40b313
push ebx
push edi
lea eax, [ebp - 0x434]
push eax
push esi
push esi
push 0x800c
push dword [ebp - 0x438]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x40b24f
xor edi, edi
jmp 0x40b302
mov edi, dword [sym.imp.ADVAPI32.dll_CryptHashData]
push esi
push 0x2a
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x434]
call edi
test eax, eax
jne 0x40b26f
xor edi, edi
jmp 0x40b2f6
push 0x40139c
push dword [ebp + 8]
mov dword [ebp - 0x43c], esi
call dword [sym.imp.msvcrt.dll__wfopen]
mov ebx, eax
cmp ebx, esi
pop ecx
pop ecx
je 0x40b2d6
push ebx
push 0x400
lea eax, [ebp - 0x430]
push 1
push eax
call dword [sym.imp.msvcrt.dll_fread]
add esp, 0x10
cmp eax, esi
jbe 0x40b2ce
add dword [ebp - 0x43c], eax
push esi
push eax
lea eax, [ebp - 0x430]
push eax
push dword [ebp - 0x434]
call edi
test eax, eax
je 0x40b320
cmp dword [ebp - 0x43c], 0x5400
jb 0x40b28b
push ebx
call dword [sym.imp.msvcrt.dll_fclose]
pop ecx
push esi
lea eax, [ebp - 0x440]
push eax
push dword [ebp + 0xc]
push 2
push dword [ebp - 0x434]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
xor edi, edi
test eax, eax
je 0x40b2f6
inc edi
push dword [ebp - 0x434]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push esi
push dword [ebp - 0x438]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, edi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
pop esi
call fcn.00412b09
leave
ret 8
push dword [ebp - 0x434]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push esi
push dword [ebp - 0x438]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push ebx
call dword [sym.imp.msvcrt.dll_fclose]
pop ecx
xor eax, eax
jmp 0x40b311