Function at 0x6e901610
Capabilities:
Initialize hashing via wincrypt

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0xb8
mov eax, dword [ecx + 4]
test byte [0x6e927978], 8
mov esi, dword [ecx]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x80], eax
mov eax, dword [ecx + 0x10]
mov ebx, dword [ecx + 0xc]
mov edi, dword [ecx + 0x14]
mov dword [ebp - 0x84], eax
jne 0x6e901848
and esi, 0xffff0000
cmp esi, 0x10000
jne 0x6e901721
cmp edx, 3
je 0x6e901950
ja 0x6e901750
cmp edx, 1
je 0x6e9018a0
cmp edx, 2
nop
lea esi, [esi]
jne 0x6e901930
mov eax, dword [ebp - 0x80]
mov edx, dword [ebx]
mov dword [ebp - 0x4c], eax
lea eax, [edx - 0x1c]
and eax, 0xfffffff7
mov dword [ebp - 0x80], eax
jne 0x6e901721
cmp edx, 0x24
je 0x6e901f30
mov eax, dword fs:[0x18]
mov dword [ebp - 0x88], eax
mov eax, dword [ebx + 4]
xor esi, esi
xor edx, edx
test eax, eax
je 0x6e901cdd
mov dword [ebp - 0x7c], edi
mov edi, ebx
mov ebx, edx
jmp 0x6e90170c
cmp eax, 0x30
je 0x6e901bf0
cmp eax, 0x54
je 0x6e901c10
mov eax, dword [ecx + 8]
test eax, eax
je 0x6e901721
mov eax, dword [ecx + 0x10]
mov dword [esp], eax
call sym.crypt32.dll_CertOIDToAlgId
sub esp, 4
test eax, eax
je 0x6e901c88
inc ebx
add esi, 0x54
cmp ebx, dword [edi + 4]
jae 0x6e901cd8
mov ecx, dword [edi + 8]
add ecx, esi
mov eax, dword [ecx]
cmp eax, 0x30
je 0x6e901bf0
cmp eax, 0x54
je 0x6e9016d0
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], 0x80070057
mov dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x7c]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x18
cmp edx, 5
jne 0x6e901930
cmp dword [ebx], 0x18
jne 0x6e901721
mov eax, dword [ebx + 8]
mov dword [esp], eax
call sym.crypt32.dll_CertOIDToAlgId
sub esp, 4
test eax, eax
mov esi, eax
je 0x6e901c88
mov ebx, dword [ebx + 4]
test ebx, ebx
je 0x6e901ed0
mov dword [esp], 0x3c
call sym.crypt32.dll_CryptMemAlloc
mov dword [ebp - 0x7c], eax
sub esp, 4
test eax, eax
je 0x6e901be0
mov dword [eax], 1
mov ecx, dword [ebp - 0x80]
test edi, edi
mov dword [eax + 4], ecx
je 0x6e902178
mov dword [eax + 8], 1
mov ecx, eax
mov eax, dword [edi]
mov dword [ecx + 0xc], eax
mov eax, dword [edi + 4]
mov dword [ecx + 0x10], eax
mov eax, dword [edi + 8]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 0x7c]
mov dword [eax + 0x1c], 0x6e8fd2f0
add eax, 0x30
mov dword [eax - 0xc], 0x6e902b70
mov dword [eax - 0x10], 0x6e8feff0
mov dword [eax - 8], 0x6e8ff1c0
mov dword [eax - 0x18], 0
mov dword [eax - 4], ebx
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.advapi32.dll_CryptCreateHash
sub esp, 0x14
test eax, eax
jne 0x6e901735
mov eax, dword [ebp - 0x7c]
mov dword [esp], eax
call sym.crypt32.dll_CryptMsgClose
mov dword [ebp - 0x7c], 0
sub esp, 4
jmp 0x6e901735
mov dword [ebp - 0x7c], edx
call fcn.6e8ff290
mov edx, dword [ebp - 0x7c]
mov ecx, 0x6e927978
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], edx
mov edx, 0x6e930c18
mov dword [esp + 8], edx
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0x80]
mov dword [esp + 4], ecx
mov dword [esp], 3
mov dword [esp + 0x14], eax
mov eax, str.__08x___08x___08x___p___s___p__n
mov dword [esp + 0xc], eax
call fcn.6e8fde10
mov edx, dword [ebp - 0x7c]
jmp 0x6e90164e
test ebx, ebx
jne 0x6e901721
mov dword [esp], 0x34
call sym.crypt32.dll_CryptMemAlloc
mov dword [ebp - 0x7c], eax
sub esp, 4
test eax, eax
je 0x6e901be0
mov eax, dword [ebp - 0x7c]
test edi, edi
mov ebx, dword [ebp - 0x80]
mov dword [eax], 1
mov dword [eax + 4], ebx
je 0x6e90202c
mov dword [eax + 8], 1
mov ebx, eax
mov eax, dword [edi]
mov dword [ebx + 0xc], eax
mov eax, dword [edi + 4]
mov dword [ebx + 0x10], eax
mov eax, dword [edi + 8]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 0x7c]
mov dword [eax + 0x1c], 0x6e8fbc40
mov dword [eax + 0x24], 0x6e8fc5c0
mov dword [eax + 0x20], 0x6e8fbd20
mov dword [eax + 0x28], 0x6e8ff1c0
mov dword [eax + 0x18], 0
mov dword [eax + 0x2c], 2
mov dword [eax + 0x30], 0x6e930c2d
jmp 0x6e901735
mov eax, dword fs:[0x18]
mov dword [ebp - 0x7c], 0
mov dword [eax + 0x34], 0x80091004
jmp 0x6e901735
mov eax, dword [ebx]
cmp eax, 0x20
je 0x6e901cc0
cmp eax, 0x44
jne 0x6e901721
test byte [0x6e927978], 1
je 0x6e9019a0
mov dword [esp], 0
mov eax, str.CMS_fields_unsupported_n
mov dword [esp + 0xc], eax
mov eax, str.CEnvelopedEncodeMsg_Open
mov dword [esp + 8], eax
mov eax, 0x6e927978
mov dword [esp + 4], eax
call fcn.6e8fde10
lea esi, [esi]
lea edi, [edi]
mov eax, dword [ebx + 8]
mov dword [esp], eax
call sym.crypt32.dll_CertOIDToAlgId
mov dword [ebp - 0x84], eax
sub esp, 4
test eax, eax
je 0x6e901c88
mov esi, dword [ebx + 0x18]
test esi, esi
jne 0x6e901ea8
mov eax, dword [ebx + 4]
mov dword [ebp - 0x8c], eax
test eax, eax
je 0x6e901fa0
mov dword [esp], 0x50
call sym.crypt32.dll_CryptMemAlloc
mov dword [ebp - 0x7c], eax
sub esp, 4
test eax, eax
mov esi, eax
je 0x6e901bbf
mov dword [eax], 1
mov eax, dword [ebp - 0x80]
test edi, edi
mov dword [esi + 4], eax
je 0x6e902008
mov dword [esi + 8], 1
mov eax, dword [edi]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 4]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 8]
mov dword [esi + 0x14], eax
mov edx, dword [ebp - 0x7c]
lea esi, [ebx + 8]
mov dword [edx + 0x1c], 0x6e8fc280
lea eax, [edx + 0x2c]
mov dword [edx + 0x24], 0x6e9033c0
mov dword [edx + 0x20], 0x6e8fe400
mov dword [edx + 0x28], 0x6e8ff1c0
mov dword [edx + 0x18], 0
mov edx, esi
call fcn.6e8fc8a0
mov edx, dword [ebp - 0x7c]
mov dword [edx + 0x48], 0
mov dword [edx + 0x4c], 0
mov edi, eax
mov eax, dword [ebp - 0x8c]
mov dword [edx + 0x38], eax
mov eax, dword [ebx + 0x18]
mov dword [edx + 0x40], eax
lea edx, [eax + eax*4]
lea eax, [eax + edx*2]
shl eax, 2
mov dword [esp], eax
call sym.crypt32.dll_CryptMemAlloc
mov edx, dword [ebp - 0x7c]
mov dword [edx + 0x44], eax
sub esp, 4
test eax, eax
je 0x6e901ef8
xor edx, edx
xor eax, eax
mov dword [ebp + eax - 0x4c], edx
mov dword [ebp + eax - 0x48], edx
add eax, 8
cmp eax, 0x30
jb 0x6e901a9b
xor edx, edx
test edi, edi
mov dword [ebp + eax - 0x4c], edx
je 0x6e901fde
mov dword [ebp - 0x4c], 0x34
mov eax, dword [ebp - 0x8c]
mov edx, esi
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x44]
call fcn.6e8fc8a0
mov edx, eax
mov eax, dword [ebx + 0x14]
test edx, edx
mov dword [ebp - 0x38], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x34], eax
jne 0x6e902050
mov dword [ebp - 0x2c], 0x6e8fc3b0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x28], 0x6e8fc370
lea esi, [esi]
mov dword [esp], eax
call sym.crypt32.dll_CryptMemFree
mov eax, dword [ebp - 0x3c]
sub esp, 4
mov dword [esp], eax
call sym.crypt32.dll_CryptMemFree
mov eax, dword [ebp - 0x30]
sub esp, 4
test eax, eax
je 0x6e901bb1
mov edx, dword [ebp - 0x34]
xor esi, esi
test edx, edx
je 0x6e901f17
xor edi, edi
lea esi, [esi]
lea edi, [edi]
mov ebx, dword [eax + edi*8 + 4]
inc edi
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sym.crypt32.dll_CryptMemFree
mov eax, dword [ebx + 0xc]
sub esp, 4
mov dword [esp], eax
call sym.crypt32.dll_CryptMemFree
mov eax, dword [ebx + 0x1c]
sub esp, 4
mov dword [esp], eax
call sym.crypt32.dll_CryptMemFree
mov eax, dword [ebx + 0x2c]
sub esp, 4
mov dword [esp], eax
call sym.crypt32.dll_CryptMemFree
mov eax, dword [ebx + 0x34]
sub esp, 4
mov dword [esp], eax
call sym.crypt32.dll_CryptMemFree
sub esp, 4
mov dword [esp], ebx
call sym.crypt32.dll_CryptMemFree
mov eax, dword [ebp - 0x30]
sub esp, 4
cmp edi, dword [ebp - 0x34]
jb 0x6e901b40
mov dword [esp], eax
call sym.crypt32.dll_CryptMemFree
sub esp, 4
test esi, esi
jne 0x6e901735
mov eax, dword [ebp - 0x7c]
mov dword [esp], eax
call sym.crypt32.dll_CryptMsgClose
sub esp, 4
test dword [ebp - 0x80], 0x8000
je 0x6e901be0
mov eax, dword [ebp - 0x8c]
xor ebx, ebx
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.advapi32.dll_CryptReleaseContext
sub esp, 8
nop
mov dword [ebp - 0x7c], 0
jmp 0x6e901735
mov eax, dword [ecx + 4]
mov edx, dword [eax + 4]
test edx, edx
je 0x6e901721
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x6e9016e2
jmp 0x6e901721
mov eax, dword [ecx + 0x30]
cmp eax, 1
je 0x6e901ca8
cmp eax, 2
nop
je 0x6e901cb3
test eax, eax
je 0x6e901f80
mov eax, dword [ebp - 0x88]
mov dword [eax + 0x34], 0x80070057
mov eax, dword [ecx + 0x44]
test eax, eax
je 0x6e9016e2
test byte [0x6e927978], 1
je 0x6e901be0
mov dword [esp], 0
mov eax, str.CMSG_SIGNER_ENCODE_INFO_with_CMS_fields_unsupported_n
mov dword [esp + 0xc], eax
mov eax, str.CRYPT_IsValidSigner
mov dword [esp + 8], eax
mov eax, 0x6e927978
mov dword [esp + 4], eax
call fcn.6e8fde10
mov dword [ebp - 0x7c], 0
jmp 0x6e901735
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], 0x80091002
mov dword [ebp - 0x7c], 0
jmp 0x6e901735
mov eax, dword [ecx + 0x3c]
test eax, eax
je 0x6e901721
mov edx, dword [ecx + 0x34]
test edx, edx
jne 0x6e901c3b
jmp 0x6e901721
cmp eax, 0x44
jne 0x6e9019a0
lea esi, [esi]
jmp 0x6e901964
mov ebx, edi
mov edi, dword [ebp - 0x7c]
mov dword [esp], 0x44
call sym.crypt32.dll_CryptMemAlloc
mov dword [ebp - 0x7c], eax
sub esp, 4
test eax, eax
je 0x6e901be0
mov eax, dword [ebp - 0x4c]
test edi, edi
mov esi, dword [ebp - 0x7c]
mov dword [esi], 1
mov dword [esi + 4], eax
je 0x6e90219c
mov dword [esi + 8], 1
mov eax, dword [edi]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 4]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 8]
mov dword [esi + 0x14], eax
mov esi, dword [ebp - 0x84]
mov edi, dword [ebp - 0x7c]
test esi, esi
mov dword [edi + 0x1c], fcn.6e8fcfa0
mov dword [edi + 0x24], 0x6e903010
mov dword [edi + 0x20], 0x6e8fed10
mov dword [edi + 0x28], 0x6e8ff1c0
mov dword [edi + 0x18], 0
je 0x6e901fe8
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
inc eax
mov dword [esp], eax
call sym.crypt32.dll_CryptMemAlloc
mov dword [edi + 0x2c], eax
sub esp, 4
test eax, eax
je 0x6e901fc1
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_strcpy]
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [esp], 0x2c
call sym.crypt32.dll_CryptMemAlloc
mov edi, dword [ebp - 0x7c]
mov dword [edi + 0x38], eax
sub esp, 4
test eax, eax
je 0x6e901e80
xor ecx, ecx
test al, 1
mov edi, 0x2c
jne 0x6e90292e
test al, 2
jne 0x6e90291e
mov esi, edi
xor edx, edx
and esi, 0xfffffff8
mov dword [eax + edx], ecx
mov dword [eax + edx + 4], ecx
add edx, 8
cmp edx, esi
jb 0x6e901dd0
add eax, edx
test edi, 4
je 0x6e901df1
mov dword [eax], 0
add eax, 4
test edi, 2
je 0x6e901e01
mov word [eax], 0
add eax, 2
and edi, 1
je 0x6e901e09
mov byte [eax], 0
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x38]
mov dword [eax], 1
mov eax, dword [ebx + 4]
test eax, eax
jne 0x6e9021c0
mov edi, dword [ebp - 0x7c]
mov eax, dword [edi + 0x38]
mov dword [eax + 0x20], 0
mov dword [edi + 0x40], 0
mov eax, dword [edi + 0x38]
mov dword [edi + 0x3c], 0
mov esi, dword [ebx + 0x10]
lea edx, [eax + 8]
add eax, 4
mov ecx, dword [ebx + 0xc]
mov dword [esp], esi
call fcn.6e8fccc0
test eax, eax
je 0x6e901e80
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebx + 0x14]
mov ebx, dword [ebx + 0x18]
mov eax, dword [eax + 0x38]
mov dword [esp], ebx
lea edx, [eax + 0x10]
add eax, 0xc
call fcn.6e8fccc0
test eax, eax
jne 0x6e901735
nop
lea esi, [esi]
mov ebx, dword [ebp - 0x7c]
mov dword [esp], ebx
call fcn.6e8fcfa0
mov dword [esp], ebx
call sym.crypt32.dll_CryptMemFree
mov dword [ebp - 0x7c], 0
sub esp, 4
jmp 0x6e901735
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x7c], eax
test eax, eax
jne 0x6e9019c7
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], 0x80070057
jmp 0x6e901735
mov dword [esp], eax
call sym.crypt32.dll_I_CryptGetDefaultCryptProv
and dword [ebp - 0x80], 0xffff7fff
sub esp, 4
test eax, eax
mov ebx, eax
jne 0x6e901781
jmp 0x6e901721
xor ecx, ecx
xor edx, edx
mov dword [ebp + edx - 0x4c], ecx
mov dword [ebp + edx - 0x48], ecx
add edx, 8
cmp edx, 0x30
jb 0x6e901efc
xor ecx, ecx
mov dword [ebp + edx - 0x4c], ecx
jmp 0x6e901b00
mov dword [esp], eax
call sym.crypt32.dll_CryptMemFree
sub esp, 4
jmp 0x6e901bb1
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x6e9016a6
test byte [0x6e927978], 1
je 0x6e901be0
mov ecx, str.CMSG_SIGNED_ENCODE_INFO_with_CMS_fields_unsupported_n
mov ebx, str.CSignedEncodeMsg_Open
mov dword [esp + 0xc], ecx
mov esi, 0x6e927978
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], 0
call fcn.6e8fde10
mov dword [ebp - 0x7c], 0
jmp 0x6e901735
mov eax, dword [ecx + 4]
mov edx, dword [eax + 4]
test edx, edx
je 0x6e901721
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x6e901c3b
jmp 0x6e901721
mov dword [esp], 0
call sym.crypt32.dll_I_CryptGetDefaultCryptProv
and dword [ebp - 0x80], 0xffff7fff
mov dword [ebp - 0x8c], eax
sub esp, 4
jmp 0x6e9019d8
mov eax, dword [ebp - 0x7c]
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
mov dword [eax + 0x38], 0
jmp 0x6e901e80
xor eax, eax
jmp 0x6e901b00
mov eax, dword [ebp - 0x7c]
mov dword [eax + 0x2c], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
jmp 0x6e901d95
mov edi, dword [ebp - 0x7c]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
jmp 0x6e901a20
mov ebx, dword [ebp - 0x7c]
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
jmp 0x6e9018f3
shl eax, 3
xor edi, edi
mov dword [esp], eax
call sym.crypt32.dll_CryptMemAlloc
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x30], eax
sub esp, 4
test eax, eax
je 0x6e901ae9
mov dword [ebp - 0x90], ebx
mov eax, dword [ebp - 0x90]
mov ebx, dword [ebp - 0x88]
cmp dword [eax + 0x18], ebx
jbe 0x6e902568
mov eax, dword [ebp - 0x90]
mov edi, dword [ebp - 0x88]
mov eax, dword [eax + 0x1c]
lea esi, [edi*8]
mov eax, dword [eax + edi*4]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x30]
mov dword [eax + esi], 1
mov dword [esp], 0x38
call sym.crypt32.dll_CryptMemAlloc
mov ebx, eax
mov eax, dword [ebp - 0x30]
sub esp, 4
test ebx, ebx
mov dword [eax + esi + 4], ebx
je 0x6e901ae9
mov dword [ebx], 0x38
mov eax, dword [ebp - 0x94]
lea edx, [eax + 0x38]
lea eax, [ebx + 4]
call fcn.6e8fc8a0
mov edi, dword [ebp - 0x8c]
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], edi
test eax, eax
je 0x6e901ae9
mov edi, dword [ebp - 0x94]
mov eax, dword [edi + 0x44]
mov dword [ebx + 0x18], eax
test eax, eax
mov edx, dword [edi + 0x4c]
mov dword [ebx + 0x20], edx
jne 0x6e902502
mov dword [ebx + 0x1c], 0
mov edi, dword [ebp - 0x94]
lea edx, [ebx + 0x2c]
lea eax, [ebx + 0x28]
mov ecx, dword [edi + 0x18]
lea esi, [edi + 0x1c]
mov dword [esp], esi
call fcn.6e8fc7f0
test eax, eax
je 0x6e901ae9
mov ecx, dword [edi + 4]
lea edx, [ebx + 0x34]
mov eax, edi
add eax, 8
add ebx, 0x30
mov dword [esp], eax
mov eax, ebx
call fcn.6e8fc7f0
inc dword [ebp - 0x88]
test eax, eax
jne 0x6e902077
jmp 0x6e901ae9
mov edi, dword [ebp - 0x7c]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
jmp 0x6e9017c9
mov edi, dword [ebp - 0x7c]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
jmp 0x6e901d26
mov edi, dword [ebp - 0x7c]
lea eax, [eax + eax*8]
shl eax, 3
mov esi, dword [edi + 0x38]
mov dword [esp], eax
call sym.crypt32.dll_CryptMemAlloc
mov dword [esi + 0x24], eax
sub esp, 4
mov eax, dword [edi + 0x38]
mov esi, dword [eax + 0x24]
test esi, esi
je 0x6e901e80
mov edx, dword [ebx + 4]
mov dword [eax + 0x20], edx
mov eax, dword [edi + 0x38]
mov edx, dword [eax + 0x20]
mov edi, dword [eax + 0x24]
lea edx, [edx + edx*8]
shl edx, 3
cmp edx, 8
jae 0x6e90299e
test dl, 4
je 0x6e902214
mov dword [edi], 0
add edi, 4
test dl, 2
je 0x6e902221
mov word [edi], 0
add edi, 2
test dl, 1
je 0x6e902229
mov byte [edi], 0
mov esi, dword [ebp - 0x7c]
lea eax, [esi + 0x38]
mov dword [ebp - 0x8c], eax
call fcn.6e8fc140
mov dword [ebp - 0x7c], esi
mov esi, dword [esi + 0x38]
mov edi, eax
mov eax, dword [ebx + 4]
shl eax, 2
mov dword [esp], eax
call sym.crypt32.dll_CryptMemAlloc
mov dword [esi + 0x28], eax
mov esi, dword [ebp - 0x7c]
sub esp, 4
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + 0x28]
mov edx, eax
test ecx, ecx
je 0x6e901e80
add esi, 0x40
test edi, edi
mov dword [ebp - 0x90], esi
je 0x6e901e80
mov dword [ebp - 0x84], ebx
mov ebx, dword [ebp - 0x80]
lea esi, [esi]
lea edi, [edi]
cmp dword [eax + 0x20], ebx
jbe 0x6e902993
lea ecx, [ebx + ebx*4]
lea ecx, [ebx + ecx*4]
lea edi, [ecx*4]
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x88], edi
mov esi, dword [ecx + 8]
add esi, edi
cmp dword [esi + 0x30], 2
jne 0x6e9022ce
mov dword [eax], 3
mov eax, dword [ebp - 0x7c]
mov esi, dword [ecx + 8]
mov edx, dword [eax + 0x38]
add esi, edi
mov edx, dword [edx + 0x24]
lea eax, [ebx + ebx*8]
cmp dword [esi], 0x30
lea edi, [edx + eax*8]
lea eax, [edi + 8]
mov dword [ebp - 0x80], eax
lea edx, [edi + 0xc]
je 0x6e902480
mov eax, dword [esi + 0x30]
test eax, eax
je 0x6e902360
lea ecx, [esi + 0x38]
dec eax
je 0x6e9024c0
mov dword [edi], 3
mov dword [edi + 4], 2
mov eax, dword [esi + 0x34]
mov dword [esp], ecx
mov ecx, eax
lea eax, [edi + 8]
call fcn.6e8fc7f0
mov edx, eax
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x6e902472
lea eax, [esi + 0x44]
mov dword [edi + 0x24], ecx
test edx, edx
jne 0x6e90238d
mov dword [ebp - 0x80], ebx
mov ebx, dword [ebp - 0x84]
mov eax, dword [esi + 0x10]
mov dword [edi + 0x18], eax
mov eax, dword [ebx + 8]
mov ebx, dword [ebp - 0x88]
mov edx, dword [eax + ebx + 0xc]
mov eax, dword [ebp - 0x7c]
mov ebx, dword [ebp - 0x80]
mov eax, dword [eax + 0x38]
mov eax, dword [eax + 0x28]
mov dword [eax + ebx*4], edx
jmp 0x6e901e80
mov dword [edi], 1
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x18]
add eax, 0x1c
mov dword [esp], eax
lea eax, [edi + 8]
call fcn.6e8fc7f0
test eax, eax
mov edx, eax
jne 0x6e9028cb
mov dword [edi + 4], 1
jmp 0x6e902319
mov ecx, dword [eax + 4]
lea edx, [edi + 0x2c]
add eax, 8
mov dword [esp], eax
lea eax, [edi + 0x28]
call fcn.6e8fc7f0
mov edx, dword [esi + 0x10]
test eax, eax
mov dword [edi + 0x18], edx
je 0x6e902a27
mov ecx, dword [esi + 0x14]
lea eax, [esi + 0x18]
mov dword [esp], eax
lea edx, [edi + 0x20]
lea eax, [edi + 0x1c]
call fcn.6e8fc7f0
test eax, eax
je 0x6e902a27
mov ecx, dword [esi + 0x20]
lea eax, [esi + 0x24]
mov dword [esp], eax
lea edx, [edi + 0x3c]
lea eax, [edi + 0x38]
call fcn.6e8fd430
test eax, eax
je 0x6e902a27
mov ecx, dword [esi + 0x28]
lea edx, [edi + 0x44]
add esi, 0x2c
mov dword [esp], esi
lea eax, [edi + 0x40]
call fcn.6e8fd430
test eax, eax
je 0x6e902a27
mov edi, dword [ebp - 0x84]
lea eax, [ebp - 0x4c]
mov ecx, ebx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x88]
mov edx, dword [edi + 8]
add eax, edx
mov edx, dword [ebp - 0x90]
add eax, 8
mov dword [esp], eax
mov eax, dword [ebp - 0x8c]
call fcn.6e8fce30
test byte [ebp - 0x4b], 0x80
mov esi, eax
jne 0x6e9028a2
mov eax, dword [ebp - 0x84]
mov edi, dword [ebp - 0x88]
mov eax, dword [eax + 8]
mov edx, dword [eax + edi + 0xc]
mov edi, dword [ebp - 0x7c]
mov eax, dword [edi + 0x38]
mov eax, dword [eax + 0x28]
mov dword [eax + ebx*4], edx
inc ebx
test esi, esi
je 0x6e901e80
mov eax, dword [edi + 0x38]
mov edx, eax
jmp 0x6e902290
mov ecx, dword [esi + 4]
lea eax, [ecx + 0x38]
mov ecx, dword [ecx + 0x38]
jmp 0x6e902327
mov dword [edi], 1
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x18]
add eax, 0x1c
mov dword [esp], eax
lea eax, [edi + 8]
call fcn.6e8fc7f0
test eax, eax
jne 0x6e90293c
mov dword [edi + 4], 1
mov dword [ebp - 0x80], ebx
mov eax, dword [esi + 4]
mov ebx, dword [ebp - 0x84]
mov eax, dword [eax + 0x38]
mov dword [edi + 0x24], eax
jmp 0x6e902337
mov dword [edi], 1
mov dword [edi + 4], 1
mov eax, dword [esi + 0x34]
mov dword [esp], ecx
mov ecx, eax
lea eax, [edi + 8]
call fcn.6e8fc7f0
test eax, eax
mov edx, eax
je 0x6e902319
mov ecx, dword [esi + 0x3c]
lea eax, [esi + 0x40]
mov dword [esp], eax
lea edx, [edi + 0x14]
lea eax, [edi + 0x10]
call fcn.6e8fc7f0
mov edx, eax
jmp 0x6e902319
mov dword [esp], eax
call sym.crypt32.dll_CryptMemAlloc
mov dword [ebx + 0x1c], eax
sub esp, 4
test eax, eax
je 0x6e901ae9
mov edi, dword [ebp - 0x94]
mov ecx, dword [ebx + 0x18]
mov edx, dword [edi + 0x48]
mov edi, eax
cmp ecx, 8
mov esi, edx
jae 0x6e902534
rep movsb byte es:[edi], byte [esi]
jmp 0x6e902125
test al, 1
jne 0x6e9029dc
test edi, 2
jne 0x6e9029c7
test edi, 4
je 0x6e90252d
mov eax, dword [esi]
add edi, 4
add esi, 4
sub ecx, 4
mov dword [edi - 4], eax
rep movsb byte es:[edi], byte [esi]
jmp 0x6e902125
mov dword [ebp - 0x2c], 0x6e8fc3b0
mov eax, dword [0x6e946058]
mov dword [ebp - 0x28], 0x6e8fc370
mov ebx, dword [ebp - 0x90]
mov dword [ebp - 0x70], 0
test eax, eax
jne 0x6e9025a6
mov dword [esp], str.CryptMsgDllGenContentEncryptKey
xor esi, esi
mov dword [esp + 4], esi
call sym.crypt32.dll_CryptInitOIDFunctionSet
mov dword [0x6e946058], eax
sub esp, 8
xor edx, edx
mov ecx, 1
mov dword [esp + 0xc], edx
mov edx, dword [ebp - 0x44]
lea edi, [ebp - 0x6c]
mov dword [esp + 0x14], edi
lea edi, [ebp - 0x70]
mov dword [esp + 0x10], edi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp], eax
call sym.crypt32.dll_CryptGetOIDFunctionAddress
mov eax, dword [ebp - 0x70]
sub esp, 0x18
test eax, eax
je 0x6e9028ef
xor edx, edx
xor ecx, ecx
mov dword [esp + 8], edx
lea edi, [ebp - 0x4c]
mov dword [esp + 4], ecx
mov dword [esp], edi
xor edi, edi
call eax
mov esi, eax
mov eax, dword [ebp - 0x6c]
sub esp, 0xc
mov dword [esp + 4], edi
mov dword [esp], eax
call sym.crypt32.dll_CryptFreeOIDFunctionAddress
sub esp, 8
test esi, esi
je 0x6e9027d4
mov dword [ebp - 0x90], ebx
mov edi, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x20]
mov dword [edi + 0x3c], eax
xor edi, edi
lea esi, [esi]
lea edi, [edi]
mov eax, dword [ebp - 0x7c]
cmp dword [eax + 0x40], edi
jbe 0x6e902860
mov dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x30]
xor edx, edx
mov dword [ebp - 0x74], 0
mov esi, dword [eax + edi*8 + 4]
xor eax, eax
mov dword [ebp + eax - 0x64], edx
mov dword [ebp + eax - 0x60], edx
add eax, 8
cmp eax, 0x18
jb 0x6e902655
mov dword [ebp - 0x6c], 0x20
lea edx, [esi + 4]
mov dword [ebp - 0x68], edi
lea eax, [ebp - 0x64]
call fcn.6e8fc8a0
mov ebx, eax
mov eax, dword [0x6e946054]
test eax, eax
je 0x6e9027f0
mov dword [esp], eax
lea edx, [ebp - 0x70]
mov ecx, 1
mov dword [esp + 0x14], edx
lea edx, [ebp - 0x74]
mov dword [esp + 0x10], edx
xor edx, edx
mov dword [esp + 0xc], edx
mov edx, dword [ebp - 0x64]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.crypt32.dll_CryptGetOIDFunctionAddress
mov eax, dword [ebp - 0x74]
sub esp, 0x18
test eax, eax
je 0x6e9027e0
test ebx, ebx
je 0x6e9027a0
lea eax, [ebp - 0x6c]
xor ecx, ecx
mov dword [esp + 8], eax
lea eax, [ebp - 0x4c]
xor ebx, ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [ebp - 0x74]
sub esp, 0x14
test eax, eax
je 0x6e9027a0
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x6e902720
mov dword [esp], eax
xor edx, edx
mov dword [esp + 4], edx
call sym.crypt32.dll_CryptFreeOIDFunctionAddress
sub esp, 8
mov eax, dword [ebp - 0x64]
mov dword [esp], eax
call sym.crypt32.dll_CryptMemFree
mov eax, dword [ebp - 0x5c]
sub esp, 4
mov dword [esp], eax
call sym.crypt32.dll_CryptMemFree
mov eax, dword [ebp - 0x90]
mov eax, dword [eax + 0x1c]
sub esp, 4
mov esi, dword [eax + edi*4]
lea eax, [edi + edi*4]
lea edx, [edi + eax*2]
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x44]
lea ebx, [eax + edx*4]
mov dword [ebx], 0
lea eax, [esi + 0x1c]
mov dword [ebx + 4], 1
lea edx, [ebx + 0xc]
mov ecx, dword [esi + 0x18]
mov dword [esp], eax
lea eax, [ebx + 8]
call fcn.6e8fc7f0
test eax, eax
jne 0x6e902810
mov edi, dword [ebp - 0x84]
mov eax, ebx
mov dword [ebx + 0x24], edi
mov ebx, dword [ebp - 0x88]
mov dword [eax + 0x28], ebx
mov eax, dword [ebp - 0x44]
jmp 0x6e901b00
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x6e9027b8
mov dword [esp], eax
xor ecx, ecx
mov dword [esp + 4], ecx
call sym.crypt32.dll_CryptFreeOIDFunctionAddress
sub esp, 8
mov eax, dword [ebp - 0x64]
mov dword [esp], eax
call sym.crypt32.dll_CryptMemFree
mov eax, dword [ebp - 0x5c]
sub esp, 4
mov dword [esp], eax
call sym.crypt32.dll_CryptMemFree
sub esp, 4
mov eax, dword [ebp - 0x44]
jmp 0x6e901b00
mov dword [ebp - 0x74], 0x6e8fc910
jmp 0x6e9026c3
mov dword [esp], str.CryptMsgDllExportKeyTrans
xor eax, eax
mov dword [esp + 4], eax
call sym.crypt32.dll_CryptInitOIDFunctionSet
mov dword [0x6e946054], eax
sub esp, 8
jmp 0x6e902689
mov ecx, dword [esi + 4]
lea eax, [esi + 8]
mov dword [esp], eax
lea edx, [ebx + 0x14]
lea eax, [ebx + 0x10]
call fcn.6e8fc7f0
test eax, eax
je 0x6e902a0b
lea edx, [esi + 0x38]
inc edi
lea eax, [ebx + 0x18]
call fcn.6e8fc8a0
mov esi, eax
mov eax, dword [ebp - 0x84]
test esi, esi
mov dword [ebx + 0x24], eax
mov eax, dword [ebp - 0x88]
mov dword [ebx + 0x28], eax
jne 0x6e902630
jmp 0x6e9027d4
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
call sym.crypt32.dll_CryptMemFree
mov eax, dword [ebp - 0x3c]
sub esp, 4
mov dword [esp], eax
call sym.crypt32.dll_CryptMemFree
mov eax, dword [ebp - 0x30]
sub esp, 4
test eax, eax
je 0x6e901735
mov edi, dword [ebp - 0x34]
test edi, edi
jne 0x6e901b31
mov dword [esp], eax
call sym.crypt32.dll_CryptMemFree
sub esp, 4
jmp 0x6e901735
xor eax, eax
mov edi, dword [ebp - 0x88]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x84]
mov eax, dword [eax + 8]
mov eax, dword [eax + edi + 8]
mov dword [esp], eax
call sub.advapi32.dll_CryptReleaseContext
sub esp, 8
jmp 0x6e902440
mov eax, dword [esi + 4]
lea edx, [edi + 0x14]
mov dword [ebp - 0x80], eax
mov ecx, dword [eax + 4]
mov eax, dword [ebp - 0x80]
add eax, 8
mov dword [esp], eax
lea eax, [edi + 0x10]
call fcn.6e8fc7f0
mov edx, eax
jmp 0x6e902384
lea eax, [ebp - 0x20]
mov dword [esp + 0xc], eax
mov eax, 1
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x84]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
call sub.advapi32.dll_CryptGenKey
sub esp, 0x10
mov esi, eax
jmp 0x6e90260d
mov word [eax], 0
sub edi, 2
add eax, 2
jmp 0x6e901dc9
mov byte [eax], 0
mov edi, 0x2b
inc eax
jmp 0x6e901dc1
mov eax, dword [esi + 4]
lea edx, [edi + 0x14]
mov dword [ebp - 0x80], eax
mov ecx, dword [eax + 4]
mov eax, dword [ebp - 0x80]
add eax, 8
mov dword [esp], eax
lea eax, [edi + 0x10]
call fcn.6e8fc7f0
mov dword [edi + 4], 1
mov edx, dword [esi + 4]
mov edx, dword [edx + 0x38]
test eax, eax
mov dword [edi + 0x24], edx
je 0x6e90232e
mov eax, dword [esi + 4]
lea edx, [edi + 0x2c]
mov dword [ebp - 0x80], eax
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 0x80]
add eax, 0x40
mov dword [esp], eax
lea eax, [edi + 0x28]
call fcn.6e8fc7f0
jmp 0x6e9023a1
mov ebx, dword [ebp - 0x84]
jmp 0x6e901e3e
test edi, 1
jne 0x6e902a04
test edi, 2
jne 0x6e9029f7
test edi, 4
jne 0x6e9029e9
mov ecx, edx
xor eax, eax
shr ecx, 2
and edx, 3
rep stosd dword es:[edi], eax
jmp 0x6e902206
movzx eax, word [esi]
add edi, 2
add esi, 2
sub ecx, 2
mov word [edi - 2], ax
jmp 0x6e902548
movzx edx, byte [edx]
inc edi
inc esi
dec ecx
mov byte [eax], dl
jmp 0x6e90253c
mov dword [edi], 0
sub edx, 4
add edi, 4
jmp 0x6e9029b6
mov word [edi], 0
sub edx, 2
add edi, 2
jmp 0x6e9029ae
mov byte [edi], 0
dec edx
inc edi
jmp 0x6e9029a6
mov eax, ebx
mov ebx, dword [ebp - 0x84]
mov dword [eax + 0x24], ebx
mov ebx, dword [ebp - 0x88]
mov dword [eax + 0x28], ebx
mov eax, dword [ebp - 0x44]
jmp 0x6e901b00
mov dword [ebp - 0x80], ebx
mov ebx, dword [ebp - 0x84]
jmp 0x6e90233d