Function at 0x1125660
Capabilities:
Hash data using sha1
Import public key
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1146fe0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x115f604]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x18], ebx
mov eax, dword [edi + 0x38]
cmp eax, ebx
mov byte [ebp - 4], 3
mov dword [ebp - 0x1c], ebx
je 0x112587e
cmp dword [eax + 0xc], ebx
je 0x112587e
push 0xf0000000
push 1
push 0x1069808
push ebx
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x11256e6
call fcn.01071a70
mov esi, eax
cmp esi, ebx
jl 0x112576a
mov edx, dword [edi + 0x38]
mov eax, dword [edx + 0xc]
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x10]
add eax, 0x38
push eax
push 0x10001
push ecx
call dword [sym.imp.CRYPT32.dll_CryptImportPublicKeyInfo]
cmp eax, ebx
jne 0x11257d3
lea ecx, [ebp - 0x10]
call fcn.010c2ec0
push 0xf0000000
push 0xd
push 0x1069808
push ebx
lea edx, [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x1125739
call fcn.01071a70
mov esi, eax
cmp esi, ebx
jl 0x112576a
mov ecx, dword [edi + 0x38]
mov edx, dword [ecx + 0xc]
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x10]
add edx, 0x38
push edx
push 0x10001
push eax
call dword [sym.imp.CRYPT32.dll_CryptImportPublicKeyInfo]
cmp eax, ebx
jne 0x11257d3
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x11257c1
call esi
mov esi, eax
mov eax, dword [ebp - 0x14]
cmp eax, ebx
mov edi, dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
je 0x112577d
push eax
call edi
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x112578e
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x28]
cmp eax, ebx
je 0x112579c
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x1125898
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
test eax, eax
jne 0x1125895
call fcn.01071a70
jmp 0x1125898
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x112576a
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x14]
push edx
push ebx
push ebx
push 0x8004
push eax
mov dword [ebp - 0x18], ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x1125801
call fcn.01071a70
mov esi, eax
cmp esi, ebx
jl 0x112576a
mov eax, dword [edi + 0x2c]
mov ecx, dword [eax - 0xc]
push ebx
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.010d3d60
mov esi, eax
cmp esi, ebx
jl 0x112576a
mov edi, dword [edi + 0x28]
mov esi, dword [edi - 0xc]
lea ecx, [ebp - 0x20]
push ecx
mov eax, esi
push 1
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x20], eax
call fcn.010d42a0
push eax
push esi
push edi
call fcn.010a0220
mov edx, dword [ebp - 0x20]
push 1
push edx
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.010a03e0
cmp esi, ebx
jne 0x112585c
mov esi, 0x80045c0f
jmp 0x112576a
lea ecx, [ebp - 0x2c]
call fcn.011254f0
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
push ebx
lea eax, [ebp - 0x18]
push eax
push ecx
push edx
lea ecx, [ebp - 0x14]
call fcn.01125450
jmp 0x1125768
mov eax, 0x80070057
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 dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x11258a2
push eax
call edi
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