Function at 0x423ed0
Capabilities:
Hash data using sha1
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447f20
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x45e084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
push 0x4566e4
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
call fcn.0040b3b0
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x40], 0
call fcn.00409eb0
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [esi + 4]
mov dword [esi], eax
call fcn.00409dc0
mov edx, dword [ebp - 0x28]
cmp edx, 0x10
jb 0x423f7a
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x423f70
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424235
push edx
push ecx
call fcn.00426dff
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
cmp edx, 0x10
jb 0x423fb5
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x423fab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42423a
push edx
push ecx
call fcn.00426dff
add esp, 8
cmp dword [esi + 0x1c], 0
lea edi, [esi + 0x1c]
lea ebx, [esi + 0x20]
je 0x424096
cmp dword [ebx], 0
je 0x424096
push 0x28
push str.Cryptographic_provider_already_acquired_
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
call fcn.0040b3b0
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x40], 0
call fcn.00409eb0
mov eax, dword [ebp - 0x40]
lea ecx, [esi + 4]
mov dword [esi], eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00409dc0
mov edx, dword [ebp - 0x28]
cmp edx, 0x10
jb 0x42404e
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x424044
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42423f
push edx
push ecx
call fcn.00426dff
add esp, 8
mov edx, dword [ebp - 0x10]
cmp edx, 0x10
jb 0x424082
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x424078
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424244
push edx
push ecx
call fcn.00426dff
add esp, 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x24]
push 0xf0000020
push 1
push 0
push 0
push edi
mov dword [esi + 0x28], eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x424136
push 0x28
push str.Failed_to_acquire_cryptographic_context.
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], al
call fcn.0040b3b0
mov dword [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
lea eax, [ebp - 0x24]
push eax
call fcn.00409eb0
mov eax, dword [ebp - 0x40]
lea ecx, [esi + 4]
mov dword [esi], eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00409dc0
mov edx, dword [ebp - 0x28]
cmp edx, 0x10
jb 0x42404e
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x424044
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424249
jmp 0x424044
push ebx
push 0
push 0
push 0x8004
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x424221
push 0x28
push str.Failed_to_acquire_cryptographic_context.
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], al
call fcn.0040b3b0
mov dword [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
lea eax, [ebp - 0x24]
push eax
call fcn.00409eb0
mov eax, dword [ebp - 0x40]
lea ecx, [esi + 4]
mov dword [esi], eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00409dc0
mov edx, dword [ebp - 0x28]
cmp edx, 0x10
jb 0x4241cd
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4241c3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42424e
push edx
push ecx
call fcn.00426dff
add esp, 8
mov edx, dword [ebp - 0x10]
cmp edx, 0x10
jb 0x4241fd
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4241f3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424253
push edx
push ecx
call fcn.00426dff
add esp, 8
push 0
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [edi], 0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0042bce9
call fcn.0042bce9
call fcn.0042bce9
call fcn.0042bce9
call fcn.0042bce9
call fcn.0042bce9
call fcn.0042bce9
int3