Function at 0x4c2040
Capabilities:
Encrypt data using chaskey
Hash data using murmur3

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebx, dword [esp + 0x40]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x14], eax
call fcn.004c12c0
lea esi, [eax + 0x38]
mov ebp, eax
mov dword [esp], esi
call fcn.004c0b70
cmp dword [ebp + 0x28], ebx
jbe 0x4c1ed0
mov eax, dword [ebp + 0x2c]
mov ecx, dword [esp + 0x44]
mov dword [eax + ebx*4], ecx
mov eax, dword [ebp + 0x30]
mov byte [eax + ebx], 1
mov dword [esp], esi
call fcn.004c0bb0
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
sub esp, 4
xor eax, eax
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
lea edi, [ebx + 1]
lea eax, [edi*4]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x2c]
mov dword [esp], eax
call sub.msvcrt.dll_realloc
test eax, eax
je 0x4c1f70
mov dword [esp + 0x1c], eax
mov dword [esp + 4], edi
mov eax, dword [ebp + 0x30]
mov dword [esp], eax
call sub.msvcrt.dll_realloc
test eax, eax
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x1c]
je 0x4c1f70
mov ecx, dword [ebp + 0x28]
mov eax, edi
mov dword [esp + 4], 0
mov dword [esp + 0x1c], edx
sub eax, ecx
lea ecx, [edx + ecx*4]
shl eax, 2
mov dword [esp], ecx
mov dword [esp + 8], eax
call sub.msvcrt.dll_memset
mov ecx, dword [ebp + 0x28]
mov eax, edi
mov dword [esp + 4], 0
sub eax, ecx
add ecx, dword [esp + 0x18]
mov dword [esp + 8], eax
mov dword [esp], ecx
call sub.msvcrt.dll_memset
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov dword [ebp + 0x28], edi
mov dword [ebp + 0x30], eax
mov dword [ebp + 0x2c], edx
xor eax, 0xb0c5e9ef
neg ecx
cmp dword [0x6154f6], 0x799c434
push esp
popal
add byte [esp + eax*8], dh
cdq
pop es
jns 0x4c1f7b
not ebx
test dword [0x61d12f], ecx
jo 0x4c1f89
and ecx, 0x25e264f5
call fcn.005acf09
sub edx, ebx
shl esi, 0x1b
call fcn.005d6150
mov ecx, 0x314b5de9
ror eax, 0x1e
and dword [0x633e19], ebx
xor eax, edi
shl eax, 0x10
inc esi
cmp edi, 0xaa76eb9c
jns 0x4c1fb6
xor eax, edx
xor dword [0x633e09], edi
sub esi, 0x981154cd
dec ecx
jne 0x4c1f9d
xor ebx, 0xeaa00521
not ebx
or ecx, eax
xor eax, edx
inc esi
mov dword [0x633e4f], eax
dec edx
inc esi
or ebx, esp
or esi, edx
dec ebx
mov ecx, 0x7c81a9cb
xor dword [0x633e71], ebx
shr edi, 0x1c
dec ebx
mov edx, dword [0x61e1f9]
adc eax, 0x61e1f9
or ebx, esi
xor edx, ecx
sub dword [0x633ea2], esi
test edi, 0x37858ce1
jns 0x4c2009
mov esi, edx
ror esi, 0xc
dec edx
shr ebx, 0x12
dec ecx
jne 0x4c1fe5
xchg ecx, esi
or edi, ebp
not eax
ror edx, 0x17
cmp dword [0x6122da], esp
js 0x4c2028
shl ebx, 0x1d
and edi, 0x5c44ca52
xor esi, esp
and edi, 0x31c2db3c
neg edi
mov esi, 0xb0594229
or esi, 0xe393253c
and eax, 0xce8be393
or esi, ebx
xchg ebx, esi
inc edi
add ecx, edi
cmp edx, eax
jb 0x4c2052
or esi, eax
test dword [0x619a46], edi
jnp 0x4c205c
or edi, esp
not ebx
sub esi, 0xb006e198
mov esi, ebx
shl eax, 0x13
sub ebx, ebp
rol eax, 0x13
call fcn.0053ef01
xchg esi, edx
neg esi
xor ecx, ecx
add dword [0x633ec6], edi
rol esi, 0x12
add edx, 0x9324eca5
inc edi
neg esi
mov eax, 0xc39a54c4
xor ecx, 0xfe3e786
mov ecx, 0x6792d955
dec edi
add ebx, ebp
shr edx, 5
xor ebx, 0xf2ff2cd0
shr edi, 0x1f
mov eax, dword [0x62569a]
neg esi
mov eax, edi
sub eax, ebx
xchg eax, edx
dec edi
mov ebx, dword [str.tttttttttttO__iXg_gO_.Goc.l__Oxr0O_8ttoW_x._oRX7._1Xetttttttttt]
test ebp, 0xdd95c867
jp 0x4c20cc
call fcn.0043a494
not edi
shr ebx, 2
dec ecx
jne 0x4c209b
add esi, dword [0x61c1da]
mov edx, 0x48e11a8a
xor dword [0x633e6c], ebx
dec ebx
cmp edx, eax
jns 0x4c20ee
rol ecx, 0x1e
mov edi, 0x4f710d90
xor esi, 0x3c869101
inc edi
and edx, 0xf6f4197f
call fcn.0054da49
rol ebx, 0x14
dec edx
sub edx, ebx
sub edx, edi
xor edi, ebx
dec ebx
ror eax, 0x17
xor ebx, ebx
cmp dword [0x61bec4], esp
jbe 0x4c2120
ror edx, 0x1c
cmp dword [0x63016f], ebp
je 0x4c212a
neg esi
sub ecx, edx
mov esi, 0x7d3f2c56
xchg edx, esi
sub ebx, 0x1b9a1132
or edi, 0xb67efea4
and dword [0x633e66], ecx
dec edi
neg esi
mov edi, 0x2aa5b4e3
mov dword [0x633e75], 0x33c640f6
mov edx, 0x87c3038d
add dword [0x633e93], eax
ror edi, 0x18
call fcn.005daf1a
xchg ebx, esi
and dword [0x633ebe], esi
xor dword [0x633e8b], ecx
dec eax
xchg eax, esi
invalid
invalid
clc
invalid
invalid