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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4485f0
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 0x456738
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
call fcn.0040ba30
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x40], 0
call fcn.0040a4b0
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [esi + 4]
mov dword [esi], eax
call fcn.0040a3c0
mov edx, dword [ebp - 0x28]
cmp edx, 0x10
jb 0x42451a
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x424510
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4247d5
push edx
push ecx
call fcn.00427410
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
cmp edx, 0x10
jb 0x424555
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42454b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4247da
push edx
push ecx
call fcn.00427410
add esp, 8
cmp dword [esi + 0x1c], 0
lea edi, [esi + 0x1c]
lea ebx, [esi + 0x20]
je 0x424636
cmp dword [ebx], 0
je 0x424636
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.0040ba30
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x40], 0
call fcn.0040a4b0
mov eax, dword [ebp - 0x40]
lea ecx, [esi + 4]
mov dword [esi], eax
lea eax, [ebp - 0x3c]
push eax
call fcn.0040a3c0
mov edx, dword [ebp - 0x28]
cmp edx, 0x10
jb 0x4245ee
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4245e4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4247df
push edx
push ecx
call fcn.00427410
add esp, 8
mov edx, dword [ebp - 0x10]
cmp edx, 0x10
jb 0x424622
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x424618
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4247e4
push edx
push ecx
call fcn.00427410
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 0x4246d6
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.0040ba30
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.0040a4b0
mov eax, dword [ebp - 0x40]
lea ecx, [esi + 4]
mov dword [esi], eax
lea eax, [ebp - 0x3c]
push eax
call fcn.0040a3c0
mov edx, dword [ebp - 0x28]
cmp edx, 0x10
jb 0x4245ee
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4245e4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4247e9
jmp 0x4245e4
push ebx
push 0
push 0
push 0x8004
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x4247c1
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.0040ba30
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.0040a4b0
mov eax, dword [ebp - 0x40]
lea ecx, [esi + 4]
mov dword [esi], eax
lea eax, [ebp - 0x3c]
push eax
call fcn.0040a3c0
mov edx, dword [ebp - 0x28]
cmp edx, 0x10
jb 0x42476d
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x424763
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4247ee
push edx
push ecx
call fcn.00427410
add esp, 8
mov edx, dword [ebp - 0x10]
cmp edx, 0x10
jb 0x42479d
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x424793
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4247f3
push edx
push ecx
call fcn.00427410
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.0042c2f9
call fcn.0042c2f9
call fcn.0042c2f9
call fcn.0042c2f9
call fcn.0042c2f9
call fcn.0042c2f9
call fcn.0042c2f9
int3