Function at 0x413525
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 [0x4276d4]
push ebx
push 0xf0000000
xor ebx, ebx
push 0x18
push ebx
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x448]
push eax
mov dword [ebp - 0x450], 0x20
mov dword [ebp - 0x448], ebx
mov dword [ebp - 0x444], ebx
mov byte [ebp - 0x40], 0x29
mov byte [ebp - 0x3f], 0xaf
mov byte [ebp - 0x3e], 0x15
mov byte [ebp - 0x3d], 0xc8
mov byte [ebp - 0x3c], 0xe3
mov byte [ebp - 0x3b], 0x4e
mov byte [ebp - 0x3a], 0xc8
mov byte [ebp - 0x39], 0x8c
mov byte [ebp - 0x38], 0xd
mov byte [ebp - 0x37], 0xbc
mov byte [ebp - 0x36], 0x8d
mov byte [ebp - 0x35], 0xce
mov byte [ebp - 0x34], 0xc3
mov byte [ebp - 0x33], 0x52
mov byte [ebp - 0x32], 0xa
mov byte [ebp - 0x31], 0x5c
mov byte [ebp - 0x30], 0x4d
mov byte [ebp - 0x2f], 0x61
mov byte [ebp - 0x2e], 0x27
mov byte [ebp - 0x2d], 0x6b
mov byte [ebp - 0x2c], 0xcf
mov byte [ebp - 0x2b], 0x44
mov byte [ebp - 0x2a], 0xcc
mov byte [ebp - 0x29], 0x82
mov byte [ebp - 0x28], 0xcc
mov byte [ebp - 0x27], 0xb5
mov byte [ebp - 0x26], 0xf1
mov byte [ebp - 0x25], 0x87
mov byte [ebp - 0x24], 0x8b
mov byte [ebp - 0x23], 0xa3
mov byte [ebp - 0x22], 0xb0
mov byte [ebp - 0x21], 0x84
mov byte [ebp - 0x20], 0xe5
mov byte [ebp - 0x1f], 0x64
mov byte [ebp - 0x1e], 0x93
mov byte [ebp - 0x1d], 0xac
mov byte [ebp - 0x1c], 0xc2
mov byte [ebp - 0x1b], 0x82
mov byte [ebp - 0x1a], 3
mov byte [ebp - 0x19], 0x86
mov byte [ebp - 0x18], 0xf9
mov byte [ebp - 0x17], 0x3d
mov byte [ebp - 0x16], 0xe3
mov byte [ebp - 0x15], 0xc1
mov byte [ebp - 0x14], 0x65
mov byte [ebp - 0x13], 0x38
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xb3
mov byte [ebp - 0x10], 0x98
mov byte [ebp - 0xf], 0xf5
mov byte [ebp - 0xe], 0x8f
mov byte [ebp - 0xd], bl
mov byte [ebp - 0xc], 0x7d
mov byte [ebp - 0xb], 0xe3
mov byte [ebp - 0xa], 0xc0
mov byte [ebp - 9], 0x89
mov byte [ebp - 8], 0xfb
mov byte [ebp - 7], 0x66
mov byte [ebp - 6], 0x3d
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x413743
push esi
push edi
lea eax, [ebp - 0x444]
push eax
push ebx
push ebx
push 0x800c
push dword [ebp - 0x448]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x41367f
xor esi, esi
jmp 0x413732
mov esi, dword [sym.imp.ADVAPI32.dll_CryptHashData]
push ebx
push 0x3b
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x444]
call esi
test eax, eax
jne 0x41369f
xor esi, esi
jmp 0x413726
push 0x401ea4
push dword [ebp + 8]
mov dword [ebp - 0x44c], ebx
call dword [sym.imp.msvcrt.dll__wfopen]
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
je 0x413706
push edi
push 0x400
lea eax, [ebp - 0x440]
push 1
push eax
call dword [sym.imp.msvcrt.dll_fread]
add esp, 0x10
cmp eax, ebx
jbe 0x4136fe
add dword [ebp - 0x44c], eax
push ebx
push eax
lea eax, [ebp - 0x440]
push eax
push dword [ebp - 0x444]
call esi
test eax, eax
je 0x413750
cmp dword [ebp - 0x44c], 0x4000
jb 0x4136bb
push edi
call dword [sym.imp.msvcrt.dll_fclose]
pop ecx
push ebx
lea eax, [ebp - 0x450]
push eax
push dword [ebp + 0xc]
push 2
push dword [ebp - 0x444]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
xor esi, esi
test eax, eax
je 0x413726
inc esi
push dword [ebp - 0x444]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push ebx
push dword [ebp - 0x448]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
pop ebx
call fcn.00416507
leave
ret 8
push dword [ebp - 0x444]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push ebx
push dword [ebp - 0x448]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push edi
call dword [sym.imp.msvcrt.dll_fclose]
pop ecx
xor eax, eax
jmp 0x413741