Function at 0x433f10
Capabilities:
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x64dff0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x40], edx
push 0x10
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0xc], 0
call fcn.0045dc27
mov ecx, esi
mov dword [ebp - 0x14], 0x10
add esp, 4
mov dword [ebp - 0x30], eax
xor ebx, ebx
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], ebx
lea edx, [ecx + 1]
mov dword [ebp - 0x2c], 0x8003
mov dword [ebp - 0x48], ebx
mov dword [eax], ebx
mov al, byte [ecx]
inc ecx
test al, al
jne 0x433f74
sub ecx, edx
lea eax, [ecx + 0xc]
push eax
mov dword [ebp - 0x3c], eax
call fcn.005ad210
mov edx, eax
mov ecx, esi
add esp, 4
mov dword [ebp - 0x34], edx
lea eax, [ecx + 1]
mov dword [edx], 0x208
mov dword [edx + 4], 0x6602
mov dword [ebp - 0x38], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x433fa6
sub ecx, dword [ebp - 0x38]
lea eax, [edx + 0xc]
push ecx
push esi
push eax
call fcn.005a74a0
add esp, 0xc
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x433fc1
mov eax, dword [ebp - 0x34]
sub esi, ecx
push 0xf0000008
push 1
push 0x620380
mov dword [eax + 8], esi
lea eax, [ebp - 0x10]
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x433ff4
lea ebx, [eax + 1]
jmp 0x434116
lea eax, [ebp - 0x18]
push eax
push 0x100
push 0
push dword [ebp - 0x3c]
push dword [ebp - 0x34]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
jne 0x43401a
lea ebx, [eax + 1]
jmp 0x434116
lea eax, [ebp - 0xc]
push eax
push 0
push dword [ebp - 0x18]
push 0x8009
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x43403d
lea ebx, [eax + 1]
jmp 0x434116
push 0
lea eax, [ebp - 0x2c]
push eax
push 5
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptSetHashParam]
test eax, eax
jne 0x43405a
lea ebx, [eax + 1]
jmp 0x434116
mov esi, dword [ebp - 0x40]
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x434062
push 0
sub ecx, edx
push ecx
push esi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x434084
lea ebx, [eax + 1]
jmp 0x434116
push 0
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x30]
push 2
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x4340a1
lea ebx, [eax + 1]
jmp 0x434116
mov esi, dword [ebp - 0x14]
lea eax, [esi + esi]
push eax
push 0
push edi
call fcn.005a7a20
xor eax, eax
add esp, 0xc
xor edi, edi
mov word [ebp - 8], ax
mov byte [ebp - 6], al
test esi, esi
je 0x434116
mov ebx, dword [ebp - 0x44]
lea esi, [eax + 0x30]
mov eax, dword [ebp - 0x30]
movzx eax, byte [edi + eax]
push eax
lea eax, [ebp - 8]
push 0x6203e0
push eax
call fcn.00435790
cmp byte [ebp - 7], 0x20
lea eax, [ebp - 8]
movzx ecx, byte [ebp - 7]
cmove ecx, esi
cmp byte [ebp - 8], 0x20
push eax
mov byte [ebp - 7], cl
movzx ecx, byte [ebp - 8]
push ebx
cmove ecx, esi
push 0x6203e4
push ebx
mov byte [ebp - 8], cl
call fcn.00435790
inc edi
add esp, 0x1c
cmp edi, dword [ebp - 0x14]
jb 0x4340c8
mov ebx, dword [ebp - 0x48]
push dword [ebp - 0x30]
call fcn.0045dc22
push dword [ebp - 0x34]
call fcn.005ad20b
mov eax, dword [ebp - 0xc]
add esp, 8
test eax, eax
je 0x434137
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x434145
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x434155
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop edi
pop esi
cmp ebx, 1
pop ebx
jne 0x43416d
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005a3521
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
xor ecx, ebp
add eax, eax
call fcn.005a3521
mov esp, ebp
pop ebp
ret