Function at 0x434260
Capabilities:
Hash data via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x537b18
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x5a9008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov esi, dword [edx]
mov eax, dword [edx + 4]
sub eax, esi
push eax
push esi
push 0x10001
call dword [sym.imp.CRYPT32.dll_CertCreateCertificateContext]
push ecx
lea ecx, [ebp - 0x34]
mov esi, eax
call fcn.00440490
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x30], esi
mov eax, dword [esi + 0xc]
push ecx
add eax, 0x38
push eax
push 0x10001
push dword [ebp - 0x34]
call dword [sym.imp.CRYPT32.dll_CryptImportPublicKeyInfo]
mov ecx, dword [ebp - 0x18]
xor edx, edx
test eax, eax
cmove ecx, edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], 2
cmp dword [ebp - 0x2c], edx
je 0x4344dd
mov eax, dword fs:[0x2c]
mov ebx, dword [ebp - 0x30]
mov dword [ebp - 0x20], edx
mov ecx, dword [eax]
mov eax, dword [0x5b2c44]
cmp eax, dword [ecx + 4]
jle 0x4343da
push 0x5b2c44
call fcn.004ef756
add esp, 4
cmp dword [0x5b2c44], 0xffffffff
jne 0x4343da
mov byte [ebp - 4], 3
push 4
call fcn.004ef5e0
mov edi, eax
add esp, 4
mov dword [ebp - 0x28], edi
mov byte [ebp - 4], 4
test edi, edi
je 0x4343ba
push 0
push 0
push 0
push 0x10001
push str.Memory
call dword [sym.imp.CRYPT32.dll_CertOpenStore]
push 0x5ea
push 0x5aa128
push 0x10001
mov dword [edi], eax
call dword [sym.imp.CRYPT32.dll_CertCreateCertificateContext]
mov esi, dword [sym.imp.CRYPT32.dll_CertAddCertificateContextToStore]
push 0
push 3
push eax
push dword [edi]
call esi
push 0x3b8
push 0x5a9d70
push 0x10001
call dword [sym.imp.CRYPT32.dll_CertCreateCertificateContext]
push 0
push 3
push eax
push dword [edi]
call esi
push 0x3b6
push 0x5a99b8
push 0x10001
call dword [sym.imp.CRYPT32.dll_CertCreateCertificateContext]
push 0
push 3
push eax
push dword [edi]
call esi
jmp 0x4343bc
xor edi, edi
mov byte [ebp - 4], 3
mov dword [0x5b2c48], edi
mov byte [ebp - 4], 2
push 0x5b2c44
call fcn.004ef70c
mov edi, dword [ebp - 0x1c]
add esp, 4
mov eax, dword [0x5b2c48]
lea ecx, [ebp - 0x20]
push ecx
push 0
push ebx
push dword [eax]
call dword [sym.imp.CRYPT32.dll_CertGetIssuerCertificateFromStore]
test eax, eax
je 0x4344dd
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 1
push ecx
push eax
push dword [ebp - 0x30]
call dword [sym.imp.CRYPT32.dll_CertVerifySubjectCertificateContext]
cmp eax, 1
jne 0x4344dd
cmp dword [ebp - 0x14], 0
jne 0x4344dd
push 0x800c
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x10]
call fcn.004405c0
mov byte [ebp - 4], 5
mov eax, dword [ebp + 8]
push 0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
push eax
push ecx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x4344cc
mov ecx, dword [edi]
mov eax, dword [edi + 4]
push 0
push 0
push dword [ebp - 0x2c]
sub eax, ecx
push eax
push ecx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptVerifySignatureW]
test eax, eax
je 0x4344cc
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x10]
call fcn.00440680
mov esi, eax
mov byte [ebp - 4], 6
mov edi, dword [ebp + 0xc]
cmp edi, esi
je 0x4344af
mov ecx, edi
call fcn.004121e0
mov ecx, dword [esi]
mov dword [edi], ecx
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.004121e0
mov bl, 1
mov byte [ebp - 4], 2
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
jmp 0x4344df
xor bl, bl
mov byte [ebp - 4], 2
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
jmp 0x4344df
xor bl, bl
mov dword [ebp - 4], 8
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4344f4
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x434506
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov dword [ebp - 4], 0xffffffff
push 0
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret