Function at 0x423341
Capabilities:
Encrypt data using aes
Hash data with crc32

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
push edi
mov edi, ecx
test edi, edi
mov esi, eax
je 0x423891
test esi, esi
je 0x423891
mov eax, dword [esp + 0x1c]
mov ecx, 0x80
cmp eax, ecx
je 0x423382
cmp eax, 0xc0
je 0x42337e
cmp eax, 0x100
je 0x42337e
push 0xfffffffffffffffe
pop eax
jmp 0x423894
cmp eax, ecx
jne 0x42338e
mov dword [esi + 0xf0], 0xa
jmp 0x4233a2
xor ecx, ecx
cmp eax, 0xc0
setne cl
lea ecx, [ecx + ecx + 0xc]
mov dword [esi + 0xf0], ecx
push 8
push dword [edi]
call fcn.0045613c
push 8
push dword [edi]
mov dword [esp + 0x24], eax
mov ebp, 0xff00ff00
and dword [esp + 0x24], ebp
call fcn.0045614a
mov ebx, 0xff00ff
and eax, ebx
or eax, dword [esp + 0x24]
push 8
mov dword [esi], eax
push dword [edi + 4]
call fcn.0045613c
mov dword [esp + 0x28], eax
and dword [esp + 0x28], ebp
push 8
push dword [edi + 4]
lea eax, [esi + 4]
mov dword [esp + 0x34], eax
call fcn.0045614a
mov ecx, dword [esp + 0x34]
and eax, ebx
or eax, dword [esp + 0x30]
push 8
mov dword [ecx], eax
push dword [edi + 8]
call fcn.0045613c
push 8
push dword [edi + 8]
mov dword [esp + 0x40], eax
and dword [esp + 0x40], ebp
call fcn.0045614a
and eax, ebx
or eax, dword [esp + 0x40]
push 8
mov dword [esi + 8], eax
push dword [edi + 0xc]
call fcn.0045613c
push 8
push dword [edi + 0xc]
mov dword [esp + 0x50], eax
and dword [esp + 0x50], ebp
call fcn.0045614a
and eax, ebx
or eax, dword [esp + 0x50]
add esp, 0x40
cmp dword [esp + 0x1c], 0x80
mov dword [esi + 0xc], eax
jne 0x423557
mov ebx, eax
shr eax, 0x10
movzx edi, bh
mov edi, dword [edi*4 + 0x48fa20]
mov ecx, 0xff
and eax, ecx
mov eax, dword [eax*4 + 0x48f620]
xor eax, 0x1000000
shr ebx, 0x18
mov edx, 0xff000000
and eax, edx
mov ebp, 0xff0000
and edi, ebp
xor eax, edi
movzx edi, byte [ebx*4 + 0x48f220]
xor eax, edi
mov edi, dword [esi + 0xc]
and edi, ecx
mov ebx, dword [edi*4 + 0x48ee20]
mov edi, 0xff00
and ebx, edi
xor eax, ebx
xor eax, dword [esi]
mov ebx, dword [esp + 0x14]
mov ebx, dword [ebx]
xor ebx, eax
mov dword [esi + 0x10], eax
mov eax, dword [esi + 8]
xor eax, ebx
mov dword [esi + 0x18], eax
xor eax, dword [esi + 0xc]
mov dword [esi + 0x14], ebx
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], 0x490f24
mov ebx, dword [eax + 0x18]
movzx esi, bh
mov esi, dword [esi*4 + 0x48fa20]
mov dword [esp + 0x10], ebx
shr ebx, 0x10
add eax, 0x10
and ebx, ecx
mov ebx, dword [ebx*4 + 0x48f620]
and ebx, edx
and esi, ebp
xor esi, ebx
mov ebx, dword [esp + 0x10]
shr ebx, 0x18
movzx ebx, byte [ebx*4 + 0x48f220]
xor esi, ebx
mov ebx, dword [esp + 0x10]
and ebx, ecx
mov ebx, dword [ebx*4 + 0x48ee20]
and ebx, edi
xor esi, ebx
xor esi, dword [eax - 4]
mov ebx, dword [esp + 0x14]
xor esi, dword [ebx]
add dword [esp + 0x14], 4
mov dword [eax + 0xc], esi
mov ebx, dword [eax]
xor ebx, esi
mov dword [eax + 0x10], ebx
mov esi, dword [eax + 4]
xor esi, ebx
mov dword [eax + 0x14], esi
mov ebx, dword [eax + 8]
xor ebx, esi
cmp dword [esp + 0x14], 0x490f48
mov dword [eax + 0x18], ebx
jne 0x4234d6
xor eax, eax
jmp 0x423894
push 8
push dword [edi + 0x10]
call fcn.0045613c
push 8
push dword [edi + 0x10]
mov dword [esp + 0x20], eax
and dword [esp + 0x20], ebp
call fcn.0045614a
and eax, ebx
or eax, dword [esp + 0x20]
push 8
mov dword [esi + 0x10], eax
push dword [edi + 0x14]
call fcn.0045613c
push 8
push dword [edi + 0x14]
mov dword [esp + 0x30], eax
and dword [esp + 0x30], ebp
call fcn.0045614a
and eax, ebx
or eax, dword [esp + 0x30]
add esp, 0x20
cmp dword [esp + 0x1c], 0xc0
mov dword [esi + 0x14], eax
jne 0x4236ca
mov ebx, eax
shr eax, 0x10
movzx edi, bh
mov edi, dword [edi*4 + 0x48fa20]
mov ecx, 0xff
and eax, ecx
mov eax, dword [eax*4 + 0x48f620]
xor eax, 0x1000000
mov dword [esp + 0x10], ebx
shr ebx, 0x18
mov edx, 0xff000000
and eax, edx
mov ebp, 0xff0000
and edi, ebp
xor eax, edi
movzx edi, byte [ebx*4 + 0x48f220]
xor eax, edi
mov edi, dword [esp + 0x10]
and edi, ecx
mov ebx, dword [edi*4 + 0x48ee20]
mov edi, 0xff00
and ebx, edi
xor eax, ebx
xor eax, dword [esi]
mov ebx, dword [esp + 0x14]
mov ebx, dword [ebx]
xor ebx, eax
mov dword [esi + 0x18], eax
mov eax, dword [esi + 8]
xor eax, ebx
mov dword [esi + 0x1c], ebx
mov ebx, dword [esi + 0xc]
xor ebx, eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ebx
lea eax, [esi + 0x28]
mov dword [esp + 0x14], 0x490f24
mov esi, dword [eax - 0x18]
xor esi, dword [eax - 4]
mov ebx, dword [eax - 0x14]
xor ebx, esi
mov dword [eax + 4], ebx
mov dword [eax], esi
mov ebx, dword [eax + 4]
movzx esi, bh
mov esi, dword [esi*4 + 0x48fa20]
mov dword [esp + 0x10], ebx
shr ebx, 0x10
add eax, 0x18
and ebx, ecx
mov ebx, dword [ebx*4 + 0x48f620]
and ebx, edx
and esi, ebp
xor esi, ebx
mov ebx, dword [esp + 0x10]
shr ebx, 0x18
movzx ebx, byte [ebx*4 + 0x48f220]
xor esi, ebx
mov ebx, dword [esp + 0x10]
and ebx, ecx
mov ebx, dword [ebx*4 + 0x48ee20]
and ebx, edi
xor esi, ebx
xor esi, dword [eax - 0x28]
mov ebx, dword [esp + 0x14]
xor esi, dword [ebx]
add dword [esp + 0x14], 4
mov dword [eax - 0x10], esi
mov ebx, dword [eax - 0x24]
xor ebx, esi
mov dword [eax - 0xc], ebx
mov esi, dword [eax - 0x20]
xor esi, ebx
mov dword [eax - 8], esi
mov ebx, dword [eax - 0x1c]
xor ebx, esi
cmp dword [esp + 0x14], 0x490f40
mov dword [eax - 4], ebx
jne 0x423636
jmp 0x423550
push 8
push dword [edi + 0x18]
call fcn.0045613c
push 8
push dword [edi + 0x18]
mov dword [esp + 0x20], eax
and dword [esp + 0x20], ebp
call fcn.0045614a
and eax, ebx
or eax, dword [esp + 0x20]
push 8
mov dword [esi + 0x18], eax
push dword [edi + 0x1c]
call fcn.0045613c
push 8
push dword [edi + 0x1c]
mov dword [esp + 0x30], eax
and dword [esp + 0x30], ebp
call fcn.0045614a
and eax, ebx
or eax, dword [esp + 0x30]
add esp, 0x20
cmp dword [esp + 0x1c], 0x100
mov dword [esi + 0x1c], eax
jne 0x423550
mov ebx, eax
shr eax, 0x10
movzx edi, bh
mov edi, dword [edi*4 + 0x48fa20]
mov ecx, 0xff
and eax, ecx
mov eax, dword [eax*4 + 0x48f620]
xor eax, 0x1000000
mov dword [esp + 0x10], ebx
shr ebx, 0x18
mov edx, 0xff000000
and eax, edx
mov ebp, 0xff0000
and edi, ebp
xor eax, edi
movzx edi, byte [ebx*4 + 0x48f220]
xor eax, edi
mov edi, dword [esp + 0x10]
and edi, ecx
mov ebx, dword [edi*4 + 0x48ee20]
mov edi, 0xff00
and ebx, edi
xor eax, ebx
xor eax, dword [esi]
mov ebx, dword [esp + 0x14]
mov ebx, dword [ebx]
xor ebx, eax
mov dword [esi + 0x20], eax
mov eax, dword [esi + 8]
xor eax, ebx
mov dword [esi + 0x24], ebx
mov ebx, dword [esi + 0xc]
xor ebx, eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ebx
lea eax, [esi + 0x30]
mov dword [esp + 0x14], 0x490f24
mov esi, dword [eax - 4]
mov dword [esp + 0x10], esi
movzx ebx, byte [esp + 0x11]
mov ebx, dword [ebx*4 + 0x48ee20]
and ebx, edi
shr esi, 0x10
and esi, ecx
mov esi, dword [esi*4 + 0x48fa20]
and esi, ebp
xor esi, ebx
mov ebx, dword [esp + 0x10]
shr ebx, 0x18
mov ebx, dword [ebx*4 + 0x48f620]
and ebx, edx
xor esi, ebx
mov ebx, dword [esp + 0x10]
and ebx, ecx
movzx ebx, byte [ebx*4 + 0x48f220]
xor esi, ebx
xor esi, dword [eax - 0x20]
mov ebx, dword [eax - 0x1c]
xor ebx, esi
mov dword [eax + 4], ebx
mov dword [eax], esi
mov esi, dword [eax - 0x18]
xor esi, ebx
mov ebx, dword [eax - 0x14]
xor ebx, esi
mov dword [eax + 0xc], ebx
mov dword [eax + 8], esi
mov ebx, dword [eax + 0xc]
movzx esi, bh
mov esi, dword [esi*4 + 0x48fa20]
mov dword [esp + 0x10], ebx
shr ebx, 0x10
add eax, 0x20
and ebx, ecx
mov ebx, dword [ebx*4 + 0x48f620]
and ebx, edx
and esi, ebp
xor esi, ebx
mov ebx, dword [esp + 0x10]
shr ebx, 0x18
movzx ebx, byte [ebx*4 + 0x48f220]
xor esi, ebx
mov ebx, dword [esp + 0x10]
and ebx, ecx
mov ebx, dword [ebx*4 + 0x48ee20]
and ebx, edi
xor esi, ebx
xor esi, dword [eax - 0x30]
mov ebx, dword [esp + 0x14]
xor esi, dword [ebx]
add dword [esp + 0x14], 4
mov dword [eax - 0x10], esi
mov ebx, dword [eax - 0x2c]
xor ebx, esi
mov dword [eax - 0xc], ebx
mov esi, dword [eax - 0x28]
xor esi, ebx
mov dword [eax - 8], esi
mov ebx, dword [eax - 0x24]
xor ebx, esi
cmp dword [esp + 0x14], 0x490f3c
mov dword [eax - 4], ebx
jne 0x4237a9
jmp 0x423550
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret