Function at 0x275a1af0
Capabilities:
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x275acf10
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x275ba2ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x5c], 0x8004
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x1c], eax
mov edi, dword [ebp + 0x1c]
cmp edi, eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], eax
jne 0x275a1b52
mov edi, 0x27535eb0
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x275a1b57
mov ebx, dword [ebp + 0x18]
sub eax, edx
lea esi, [eax + ebx]
xor eax, eax
cmp esi, eax
jne 0x275a1b79
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x40], eax
jmp 0x275a1ba4
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
test eax, eax
mov dword [ebp - 0x44], eax
jne 0x275a1b9e
push 0x275ae2bc
lea eax, [ebp + 8]
push eax
mov dword [ebp + 8], 0x8007000e
call fcn.2757e9b1
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x40], esi
cmp dword [ebp + 0x14], 0
mov byte [ebp - 4], 3
je 0x275a1ea6
test ebx, ebx
je 0x275a1ea6
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x275a1ea6
mov eax, edi
lea edx, [eax + 1]
jmp 0x275a1bd0
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x275a1bd0
mov esi, dword [ebp - 0x44]
sub eax, edx
push eax
push edi
push esi
call fcn.2757fff0
mov eax, edi
add esp, 0xc
lea ecx, [eax + 1]
mov edi, edi
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x275a1bf0
mov edx, dword [ebp + 0x14]
sub eax, ecx
push ebx
push edx
add esi, eax
push esi
call fcn.2757fff0
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x24]
mov eax, dword [eax]
add esp, 0xc
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [ebp + 0x10]
lea edx, [ebp - 0x1c]
push edx
mov edx, dword [ebp + 0xc]
push ecx
push edx
push esi
push eax
call fcn.275a18d0
test eax, eax
jne 0x275a1c3a
call fcn.27539290
mov esi, eax
jmp 0x275a1eab
mov edx, dword [ebp + 0x28]
mov edi, dword [ebp - 0x20]
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x1c]
push edx
push esi
push edi
push ecx
push eax
call fcn.275a14c0
mov esi, eax
test esi, esi
jl 0x275a1eab
cmp dword [ebp - 0x18], 0
jne 0x275a1c70
mov esi, 0x8000ffff
jmp 0x275a1eab
mov eax, dword [ebp + 0x20]
test eax, eax
jne 0x275a1c79
mov eax, edi
mov edi, dword [ebp + 0x2c]
push 1
push eax
mov ecx, edi
call fcn.27548520
cmp dword [edi + 4], 0
jne 0x275a1c96
mov esi, 0x8007000e
jmp 0x275a1eab
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebx]
lea edx, [ebp - 0x10]
push edx
push 0
push eax
push 0x8009
push ecx
mov dword [ebp - 0x14], eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x275a1cc4
call fcn.27539290
mov esi, eax
test esi, esi
jl 0x275a1eab
push 0
lea eax, [ebp - 0x5c]
push eax
push 5
lea ecx, [ebp - 0x10]
call fcn.2754ecb0
mov esi, eax
test esi, esi
jl 0x275a1eab
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
push 0
push ecx
push edx
lea ecx, [ebp - 0x10]
call fcn.2754ec80
mov esi, eax
test esi, esi
jl 0x275a1eab
mov dword [ebp + 0x14], 0
push 1
mov esi, 0x14
push esi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.27593bf0
push 1
push esi
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 5
call fcn.27593bf0
mov eax, dword [edi]
mov ebx, dword [ebp - 0x24]
sub eax, ebx
cmp eax, esi
mov dword [ebp + 0x1c], esi
mov dword [ebp + 0x18], esi
jae 0x275a1d38
mov dword [ebp + 0x18], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
lea ecx, [ebp + 0x14]
push ecx
push 0
push edx
push 0x8009
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x275a1d66
call fcn.27539290
mov esi, eax
test esi, esi
jl 0x275a1e8c
push 0
lea eax, [ebp - 0x5c]
push eax
push 5
lea ecx, [ebp + 0x14]
call fcn.2754ecb0
mov esi, eax
test esi, esi
jl 0x275a1e8c
mov edi, dword [ebp - 0x2c]
lea ecx, [ebp + 0x1c]
push ecx
push edi
lea ecx, [ebp - 0x10]
call fcn.2754ed20
mov esi, eax
test esi, esi
jl 0x275a1e8c
lea ecx, [ebp - 0x10]
call fcn.275a0f70
mov esi, eax
test esi, esi
jl 0x275a1e8c
mov edx, dword [ebp + 0x1c]
push 0
push edx
push edi
lea ecx, [ebp + 0x14]
call fcn.2754ec80
mov esi, eax
test esi, esi
jl 0x275a1e8c
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
push 0
push eax
push ecx
lea ecx, [ebp + 0x14]
call fcn.2754ec80
mov esi, eax
test esi, esi
jl 0x275a1e8c
mov edi, dword [ebp - 0x38]
lea edx, [ebp + 0x1c]
push edx
push edi
lea ecx, [ebp + 0x14]
call fcn.2754ed20
mov esi, eax
test esi, esi
jl 0x275a1e8c
mov eax, dword [ebp + 0x18]
push eax
push edi
mov edi, dword [ebp + 0x2c]
mov ecx, dword [edi + 4]
add ecx, ebx
push ecx
call fcn.2757fff0
add ebx, dword [ebp + 0x18]
add esp, 0xc
cmp ebx, dword [edi]
mov dword [ebp - 0x24], ebx
je 0x275a1e8c
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
push ecx
push 0
push edx
push 0x8009
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x275a1e45
call fcn.27539290
mov esi, eax
test esi, esi
jl 0x275a1e8c
push 0
lea eax, [ebp - 0x5c]
push eax
push 5
lea ecx, [ebp - 0x10]
call fcn.2754ecb0
mov esi, eax
test esi, esi
jl 0x275a1e8c
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp - 0x2c]
push 0
push ecx
push edx
lea ecx, [ebp - 0x10]
call fcn.2754ec80
lea ecx, [ebp - 0x3c]
mov esi, eax
call fcn.2753a160
lea ecx, [ebp - 0x30]
call fcn.2753a160
lea ecx, [ebp + 0x14]
call fcn.27593c50
jmp 0x275a1cf2
lea ecx, [ebp - 0x3c]
call fcn.2753a160
lea ecx, [ebp - 0x30]
call fcn.2753a160
lea ecx, [ebp + 0x14]
call fcn.27593c50
jmp 0x275a1eab
mov esi, 0x80070057
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x275a1eb9
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x1c]
push eax
call fcn.2757eea0
mov eax, dword [ebp - 0x14]
add esp, 4
test eax, eax
je 0x275a1eda
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x275a1ee8
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28