Function at 0x42c019
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push 0x7c
mov eax, 0x43192b
call fcn.00413ec1
mov dword [ebp - 0x84], ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x6d]
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x88], eax
call fcn.0040999c
xor ebx, ebx
mov dword [ebp - 4], ebx
push dword [ebp - 0x78]
lea ecx, [ebp - 0x6d]
mov dword [ebp - 0x74], ebx
mov byte [ebp - 0x6e], bl
call fcn.00409a6e
push eax
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x2c]
push str.requires__lu_bytes_to_decode
push eax
call fcn.004098ba
add esp, 0xc
mov dword [ebp - 0x7c], eax
mov byte [ebp - 4], 1
push 0x32
mov edi, str.WT::LMS::CLicenseManager::DecryptValue
push edi
push 0x35f
mov esi, str.SourceWtLicensingLMSLicenseManager.cpp
push esi
lea ecx, [ebp - 0x6c]
call fcn.00403b3f
mov byte [ebp - 4], 2
push dword [ebp - 0x7c]
push eax
call fcn.004086d9
pop ecx
pop ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x6c]
call fcn.00403489
mov byte [ebp - 4], bl
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401250
cmp dword [ebp - 0x74], ebx
je 0x42c234
inc dword [ebp - 0x74]
push dword [ebp - 0x74]
call fcn.004128d8
pop ecx
mov dword [ebp - 0x80], eax
cmp eax, ebx
je 0x42c234
push 0x32
push edi
push 0x369
push esi
lea ecx, [ebp - 0x6c]
call fcn.00403b3f
mov byte [ebp - 4], 3
push str.allocating_decoding_buffer
push eax
call fcn.00408721
pop ecx
pop ecx
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x6c]
call fcn.00403489
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x80]
lea ecx, [ebp - 0x6d]
push dword [ebp - 0x78]
call fcn.00409aac
mov byte [ebp - 0x6e], al
cmp al, bl
je 0x42c234
mov eax, dword [ebp - 0x78]
cmp dword [eax + 0x14], 0x10
jb 0x42c12a
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x2c]
push str.decoding_Base64_encoded_string__s
push eax
call fcn.004098ba
add esp, 0xc
mov dword [ebp - 0x7c], eax
mov byte [ebp - 4], 4
push 0x32
push edi
push 0x371
push esi
lea ecx, [ebp - 0x6c]
call fcn.00403b3f
mov byte [ebp - 4], 5
push dword [ebp - 0x7c]
push eax
call fcn.004086d9
pop ecx
pop ecx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x6c]
call fcn.00403489
mov byte [ebp - 4], bl
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401250
mov ecx, dword [ebp - 0x84]
lea eax, [ebp - 0x78]
push eax
lea edx, [ebp - 0x7c]
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
call fcn.0042bc5f
test al, al
je 0x42c234
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x80]
push ebx
push 1
push ebx
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
push dword [ebp - 0x74]
lea eax, [ebp - 0x2c]
push str.decoded_binary_of_length__lu
push eax
call fcn.004098ba
add esp, 0xc
mov dword [ebp - 0x84], eax
mov byte [ebp - 4], 6
push 0x32
push edi
push 0x381
push esi
lea ecx, [ebp - 0x6c]
call fcn.00403b3f
mov byte [ebp - 4], 7
push dword [ebp - 0x84]
push eax
call fcn.004086d9
pop ecx
pop ecx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x6c]
call fcn.00403489
mov byte [ebp - 4], bl
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401250
mov ecx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x80]
mov byte [eax + ecx], bl
mov ecx, dword [ebp - 0x88]
push eax
call fcn.00401ec0
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push ebx
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6d]
call fcn.0040999f
mov al, byte [ebp - 0x6e]
call fcn.00413f44
ret 4