Function at 0x4cc8d0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x258
cmp dword [0x82a4b4], 0
push esi
push edi
mov edi, dword [ebx + 0xc]
jne 0x4cc8fe
xor eax, eax
jmp 0x4cc911
lea eax, [ebp - 0x38]
push eax
push 7
push str.CCrypto::SymmetricEncrypt
call fcn.00540320
add esp, 0xc
mov esi, dword [ebx + 8]
mov dword [ebp - 0x38], eax
test esi, esi
jne 0x4cc934
push str.pubPlaintextData
push 0x5c
push str.C:_buildworker_steam_rel_client_win32_build_srccommoncrypto_aescbc_openssl.cpp
call fcn.0053aea0
add esp, 0xc
test al, al
jne 0x4cc934
int3
test edi, edi
jne 0x4cc951
push str.cubPlaintextData
push 0x5d
push str.C:_buildworker_steam_rel_client_win32_build_srccommoncrypto_aescbc_openssl.cpp
call fcn.0053aea0
add esp, 0xc
test al, al
jne 0x4cc951
int3
cmp dword [ebx + 0x10], 0
jne 0x4cc970
push 0x705660
push 0x5e
push str.C:_buildworker_steam_rel_client_win32_build_srccommoncrypto_aescbc_openssl.cpp
call fcn.0053aea0
add esp, 0xc
test al, al
jne 0x4cc970
int3
cmp dword [ebx + 0x14], 0x10
jae 0x4cc98f
push str.cubIV___k_nSymmetricBlockSize
push 0x5f
push str.C:_buildworker_steam_rel_client_win32_build_srccommoncrypto_aescbc_openssl.cpp
call fcn.0053aea0
add esp, 0xc
test al, al
jne 0x4cc98f
int3
cmp dword [ebx + 0x18], 0
jne 0x4cc9ae
push str.pubEncryptedData
push 0x60
push str.C:_buildworker_steam_rel_client_win32_build_srccommoncrypto_aescbc_openssl.cpp
call fcn.0053aea0
add esp, 0xc
test al, al
jne 0x4cc9ae
int3
mov eax, dword [ebx + 0x1c]
test eax, eax
jne 0x4cc9d1
push 0x705698
push 0x61
push str.C:_buildworker_steam_rel_client_win32_build_srccommoncrypto_aescbc_openssl.cpp
call fcn.0053aea0
add esp, 0xc
test al, al
jne 0x4cc9ce
int3
mov eax, dword [ebx + 0x1c]
cmp dword [eax], 0
jne 0x4cc9ef
push str.pcubEncryptedData
push 0x62
push str.C:_buildworker_steam_rel_client_win32_build_srccommoncrypto_aescbc_openssl.cpp
call fcn.0053aea0
add esp, 0xc
test al, al
jne 0x4cc9ef
int3
cmp dword [ebx + 0x20], 0
jne 0x4cca0e
push str.pubKey
push 0x63
push str.C:_buildworker_steam_rel_client_win32_build_srccommoncrypto_aescbc_openssl.cpp
call fcn.0053aea0
add esp, 0xc
test al, al
jne 0x4cca0e
int3
mov ecx, dword [ebx + 0x24]
cmp ecx, 0x20
je 0x4cca37
cmp ecx, 0x10
je 0x4cca37
push str.k_nSymmetricKeyLen256__cubKey__k_nSymmetricKeyLen128__cubKey
push 0x64
push str.C:_buildworker_steam_rel_client_win32_build_srccommoncrypto_aescbc_openssl.cpp
call fcn.0053aea0
add esp, 0xc
test al, al
jne 0x4cca34
int3
mov ecx, dword [ebx + 0x24]
mov eax, dword [ebx + 0x1c]
mov edx, 0x10
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov eax, edi
and eax, 0xf
sub edx, eax
movzx eax, byte [ebx + 0x28]
shl eax, 4
add eax, edx
mov dword [ebp - 0x4c], edx
add eax, edi
mov dword [ebp - 0x50], eax
cmp dword [ebp - 8], eax
jae 0x4cca84
push str.cubEncryptedData___cubTotalOutput
push 0x6e
push str.C:_buildworker_steam_rel_client_win32_build_srccommoncrypto_aescbc_openssl.cpp
call fcn.0053aea0
add esp, 0xc
test al, al
jne 0x4ccaaa
int3
mov eax, edi
shr eax, 4
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x258]
push eax
lea eax, [ecx*8]
push eax
push dword [ebx + 0x20]
call fcn.005f0fe0
add esp, 0xc
test eax, eax
jns 0x4ccab4
xor dl, dl
mov byte [ebp - 1], dl
jmp 0x4cce0a
mov ecx, dword [ebx + 0x18]
mov dword [ebp - 0x34], 0
cmp ecx, esi
jae 0x4ccacd
mov eax, dword [ebp - 8]
add eax, ecx
cmp esi, eax
jb 0x4ccad6
cmp ecx, esi
jbe 0x4ccb28
lea eax, [edi + esi]
cmp ecx, eax
jae 0x4ccb28
test edi, edi
jns 0x4ccaf8
push str.num___0
push 0x213
push str.C:_buildworker_steam_rel_client_win32_build_srcpublic_tier1utlmemory.h
call fcn.0053aea0
add esp, 0xc
test al, al
jne 0x4ccb1a
int3
jle 0x4ccb1a
call fcn.0053aa60
push 0
push 0
push 0x22a
mov ecx, dword [eax]
push str.C:_buildworker_steam_rel_client_win32_build_srcpublic_tier1utlmemory.h
push edi
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
mov dword [ebp - 0x34], eax
push edi
push esi
mov esi, dword [ebp - 0x34]
push esi
call fcn.00553b80
add esp, 0xc
cmp edi, 0x10
mov eax, 0x10
cmovb eax, edi
push eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x20]
push esi
push eax
call fcn.00553b80
mov ecx, dword [ebx + 0x10]
add esp, 0xc
add esi, dword [ebp - 8]
sub edi, dword [ebp - 8]
cmp byte [ebx + 0x28], 0
mov eax, dword [ecx]
mov dword [ebp - 0x30], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x2c], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x24], eax
je 0x4ccb81
lea eax, [ebp - 0x258]
push eax
push dword [ebx + 0x18]
push ecx
call fcn.005f0850
add esp, 0xc
add dword [ebx + 0x18], 0x10
mov dword [ebp - 8], 0
call fcn.00542550
test byte [eax + 5], 0x20
je 0x4ccc9d
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x160]
push eax
lea eax, [ebp - 0x258]
push 0
push eax
call fcn.004cc3d0
mov edx, dword [ebp - 0xc]
add esp, 0x10
test al, al
je 0x4ccca0
movups xmm1, xmmword [ebp - 0x30]
test edx, edx
je 0x4ccc81
mov ecx, dword [ebp - 8]
mov eax, ecx
movups xmm2, xmmword [ebp - 0x160]
add eax, eax
movups xmm3, xmmword [ebp + eax*8 - 0x160]
movups xmmword [ebp - 0x70], xmm3
movups xmm0, xmmword [ebp - 0x20]
xorps xmm1, xmm0
xorps xmm1, xmm2
movaps xmmword [ebp - 0x60], xmm1
cmp edi, 0x10
jb 0x4ccc16
mov eax, dword [esi]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0xc]
add esi, 0x10
mov dword [ebp - 0x14], eax
add edi, 0xfffffff0
jmp 0x4ccc3b
push edi
lea eax, [ebp - 0x20]
push esi
push eax
call fcn.00553b80
movaps xmm1, xmmword [ebp - 0x60]
add esp, 0xc
movups xmm2, xmmword [ebp - 0x160]
mov ecx, dword [ebp - 8]
xor edi, edi
movups xmm3, xmmword [ebp - 0x70]
mov edx, dword [ebp - 0xc]
cmp ecx, 1
jle 0x4ccc64
lea eax, [ebp - 0x150]
dec ecx
jmp 0x4ccc50
lea eax, [eax + 0x10]
movups xmm0, xmmword [eax - 0x10]
aesenc xmm1, xmm0
sub ecx, 1
jne 0x4ccc50
mov ecx, dword [ebp - 8]
mov eax, dword [ebx + 0x18]
aesenclast xmm1, xmm3
movups xmmword [eax], xmm1
add eax, 0x10
sub edx, 1
mov dword [ebx + 0x18], eax
mov dword [ebp - 0xc], edx
jne 0x4ccbe4
movups xmmword [ebp - 0x30], xmm1
mov ecx, 0xf0
lea eax, [ebp - 0x160]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x4ccc90
jmp 0x4ccca0
mov edx, dword [ebp - 0xc]
test edx, edx
je 0x4ccd48
mov edx, dword [ebp - 0x24]
jmp 0x4cccb0
mov ecx, dword [ebp - 0x20]
xor ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 0x2c]
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp - 0x18]
xor ecx, dword [ebp - 0x28]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x14]
xor eax, edx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], eax
cmp edi, 0x10
jb 0x4cccf7
mov eax, dword [esi]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0xc]
add esi, 0x10
mov dword [ebp - 0x14], eax
add edi, 0xfffffff0
jmp 0x4ccd07
push edi
lea eax, [ebp - 0x20]
push esi
push eax
call fcn.00553b80
add esp, 0xc
xor edi, edi
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.005f0850
mov eax, dword [ebx + 0x18]
add esp, 0xc
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x24]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x28]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
add eax, 0x10
sub dword [ebp - 0xc], 1
mov dword [ebx + 0x18], eax
jne 0x4cccb0
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp - 0x10]
push ecx
push ecx
sub eax, ecx
push eax
call fcn.00554100
mov eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
xor ecx, dword [ebp - 0x30]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x14]
xor eax, dword [ebp - 0x24]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x258]
push eax
push dword [ebx + 0x18]
mov dword [ebp - 0x48], ecx
lea eax, [ebp - 0x48]
mov ecx, dword [ebp - 0x18]
xor ecx, dword [ebp - 0x28]
push eax
mov dword [ebp - 0x40], ecx
call fcn.005f0850
add esp, 0x18
lea eax, [ebp - 0x258]
mov ecx, 0xf4
lea ecx, [ecx]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x4ccda0
mov ecx, dword [ebx + 0x1c]
mov dl, 1
mov eax, dword [ebp - 0x50]
mov byte [ebp - 1], dl
mov dword [ecx], eax
mov ecx, 0x10
lea eax, [ebp - 0x30]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x4ccdc0
mov ecx, 0x10
lea eax, [ebp - 0x48]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x4ccdd3
mov ecx, 0x10
lea eax, [ebp - 0x20]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x4ccde6
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x4cce0a
call fcn.0053aa60
push 0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov dl, byte [ebp - 1]
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x4cce26
push ecx
call fcn.005402e0
mov al, byte [ebp - 1]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
pop edi
mov al, dl
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret