Function at 0x407a70
Capabilities:
Decode data using base64 via winapi
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Import public key
Initialize hashing via wincrypt

Disassembly:
push 0xffffffffffffffff
push 0x41111c
mov eax, dword fs:[0]
push eax
mov eax, 0x2034
call fcn.004096b0
mov eax, dword [0x417a78]
xor eax, esp
mov dword [esp + 0x2030], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x417a78]
xor eax, esp
push eax
lea eax, [esp + 0x2048]
mov dword fs:[0], eax
mov edi, dword [esp + 0x205c]
push edi
lea eax, [esp + 0x3c]
xor ebx, ebx
push eax
mov esi, ecx
mov byte [esp + 0x1f], bl
call fcn.00407390
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2054], ebx
call fcn.00406e20
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
or ebp, 0xffffffff
mov byte [esp + 0x2050], 2
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407b06
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
lea ecx, [esp + 0x40]
push ecx
mov ecx, esi
call fcn.00407520
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x2054], 3
call fcn.00406e20
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0x2050], 5
lea edx, [eax + 0xc]
mov ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x407b4e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
cmp eax, 1
mov eax, dword [esp + 0x1c]
jl 0x407d81
cmp dword [eax - 0xc], 1
jl 0x407d81
mov edi, 0x800
mov eax, 0x417420
mov dword [esp + 0x30], edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], ebx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x407b90
sub eax, edx
push eax
lea edx, [esp + 0x1048]
push 0x417420
push edx
call fcn.00409f70
mov esi, dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
add esp, 0xc
push ebx
push ebx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x50]
push ecx
push ebx
push ebx
lea edx, [esp + 0x105c]
push edx
call esi
test eax, eax
je 0x407cf3
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x28]
push ecx
push ebx
push 0x8000
push edx
lea eax, [esp + 0x58]
push eax
push 8
push 1
call dword [sym.imp.CRYPT32.dll_CryptDecodeObjectEx]
test eax, eax
je 0x407cf3
push 0xf0000000
push 1
push ebx
push ebx
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x407cf3
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x2c]
push edx
push eax
push 1
push ecx
call dword [sym.imp.CRYPT32.dll_CryptImportPublicKeyInfo]
test eax, eax
je 0x407cf3
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x28]
push edx
push ebx
push ebx
push 0x8004
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x407cf3
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
push ebx
push eax
lea ecx, [esp + 0x20]
call fcn.00405dc0
mov edx, dword [esp + 0x30]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x407cf3
mov eax, dword [esp + 0x1c]
push ebx
push ebx
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x850]
push edx
mov dword [esp + 0x44], edi
mov eax, dword [eax - 0xc]
push 1
push eax
lea ecx, [esp + 0x34]
call fcn.00405dc0
push eax
call esi
test eax, eax
je 0x407cf3
mov esi, dword [esp + 0x34]
xor eax, eax
cmp esi, ebx
jbe 0x407ccf
lea ecx, [esp + esi + 0x843]
jmp 0x407cc0
mov dl, byte [ecx]
mov byte [esp + eax + 0x1844], dl
inc eax
dec ecx
cmp eax, esi
jb 0x407cc0
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push ebx
push ebx
push eax
push esi
lea ecx, [esp + 0x1854]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_CryptVerifySignatureA]
test eax, eax
je 0x407cf3
mov byte [esp + 0x17], 1
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x407d02
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x407d11
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x407d20
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x407d30
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x2050], 2
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407d57
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x2050], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x407d7b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, byte [esp + 0x17]
jmp 0x407dca
add eax, 0xfffffff0
mov byte [esp + 0x2050], 2
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407da4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x2050], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x407dc8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x2048]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2030]
xor ecx, esp
call fcn.0040969c
add esp, 0x2040
ret 8