Function at 0x4da8e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e8176
mov eax, dword fs:[0]
push eax
sub esp, 0x468
mov eax, dword [0x651ea8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x474], esi
mov edx, dword [ebp + 8]
mov eax, 4
mov dword [ebp - 0x45c], edx
mov dword [ebp - 0x464], 0
mov dword [ebp - 0x468], 0
mov ecx, dword [edx]
mov dword [ebp - 0x470], ecx
test ecx, ecx
jle 0x4dadbc
mov edi, closesocket
nop dword [eax]
mov ecx, dword [edx + eax]
sub ecx, 4
mov dword [ebp - 0x460], ecx
mov ecx, dword [edx + eax + 4]
add eax, 8
cmp dword [esi + 0x1424], 0
mov dword [ebp - 0x46c], ecx
mov dword [ebp - 0x450], eax
je 0x4da9a0
mov ecx, dword [esi + 0x1420]
mov eax, dword [esi + 0x1430]
mov esi, dword [eax + ecx*4]
test esi, esi
je 0x4da996
mov eax, dword [ebp - 0x450]
add esi, 0xffffffe4
jmp 0x4da9a2
mov eax, dword [ebp - 0x450]
xor esi, esi
jmp 0x4da9a2
xor esi, esi
mov dword [ebp - 0x44c], esi
test esi, esi
je 0x4dacf3
cmp dword [esi + 0x14], 0x10
mov ecx, esi
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x448], eax
mov dword [ebp - 0x444], esi
jb 0x4da9e3
mov ecx, dword [esi]
mov dword [ebp - 0x444], ecx
cmp eax, 0x10
jae 0x4daa08
movups xmm0, xmmword [ecx]
mov edx, 0xf
mov dword [ebp - 0x458], edx
movups xmmword [ebp - 0x440], xmm0
mov edi, dword [ebp - 0x440]
jmp 0x4daa89
or eax, 0xf
cmp eax, 0x7fffffff
cmova eax, edi
mov dword [ebp - 0x458], eax
lea ecx, [eax + 1]
cmp ecx, 0x1000
jb 0x4daa4d
lea eax, [ecx + 0x23]
cmp eax, ecx
mov ecx, 0xffffffff
cmovbe eax, ecx
push eax
call fcn.00552c5c
add esp, 4
test eax, eax
je 0x4dadde
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x4daa60
test ecx, ecx
je 0x4daa5e
push ecx
call fcn.00552c5c
add esp, 4
mov edi, eax
jmp 0x4daa60
xor edi, edi
mov eax, dword [ebp - 0x448]
inc eax
mov dword [ebp - 0x440], edi
push eax
push dword [ebp - 0x444]
push edi
call fcn.0058f350
mov eax, dword [ebp - 0x448]
add esp, 0xc
mov edx, dword [ebp - 0x458]
mov dword [ebp - 0x444], edx
mov dword [ebp - 0x42c], edx
mov dword [ebp - 0x430], eax
mov dword [ebp - 4], 0
mov byte [ebp - 0x410], 0
test eax, eax
je 0x4dab9a
cmp edx, 0x10
lea ecx, [ebp - 0x440]
lea eax, [ebp - 0x410]
cmovae ecx, edi
sub eax, ecx
mov dword [ebp - 0x444], eax
mov edx, eax
nop dword [eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x4daad0
mov eax, dword [ebp - 0x448]
mov edx, dword [ebp - 0x458]
add eax, 0xffffffff
je 0x4dab9a
cmp edx, 0x10
lea ecx, [ebp - 0x440]
cmovae ecx, edi
cmp byte [ecx + eax], 0x2f
je 0x4dab25
cmp edx, 0x10
lea ecx, [ebp - 0x440]
cmovae ecx, edi
cmp byte [ecx + eax], 0x5c
je 0x4dab25
test eax, eax
je 0x4dab9a
sub eax, 1
jne 0x4daaf2
jmp 0x4dab9a
lea ecx, [eax + 1]
mov dword [ebp - 0x444], 0
cmp ecx, dword [ebp - 0x448]
jae 0x4dab90
lea eax, [ebp - 0x410]
sub eax, ecx
mov dword [ebp - 0x454], eax
nop dword [eax + eax]
mov esi, dword [ebp - 0x454]
lea eax, [ebp - 0x440]
cmp edx, 0x10
cmovae eax, edi
inc dword [ebp - 0x444]
mov al, byte [eax + ecx]
mov byte [esi + ecx], al
inc ecx
cmp ecx, dword [ebp - 0x448]
jb 0x4dab50
mov eax, dword [ebp - 0x444]
mov esi, dword [ebp - 0x44c]
cmp eax, 0x400
jae 0x4dadd9
jmp 0x4dab92
xor eax, eax
mov byte [ebp + eax - 0x410], 0
lea ecx, [ebp - 0x410]
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x428], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4dabc0
sub ecx, edx
lea eax, [ebp - 0x410]
push ecx
push eax
lea ecx, [ebp - 0x428]
call fcn.00406cf0
or dword [ebp - 0x464], 1
mov eax, dword [ebp - 0x458]
mov byte [ebp - 4], 2
cmp eax, 0x10
jb 0x4dac1d
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x4dac13
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4dadde
push ecx
push edi
call fcn.00552c1d
add esp, 8
cmp dword [ebp - 0x414], 0x10
lea edx, [ebp - 0x428]
mov eax, dword [ebp - 0x428]
cmovae edx, eax
mov dword [ebp - 0x444], eax
mov eax, dword [ebp - 0x418]
xor ecx, ecx
add eax, edx
xor edi, edi
cmp edx, eax
mov eax, dword [ebp - 0x418]
cmova eax, ecx
mov dword [ebp - 0x454], eax
test eax, eax
je 0x4dac79
mov esi, eax
nop dword [eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
imul ecx, ecx, 0x1000193
inc edi
xor ecx, eax
cmp edi, esi
jb 0x4dac60
mov esi, dword [ebp - 0x44c]
cmp dword [ebp - 0x46c], ecx
je 0x4dad1f
mov eax, dword [ebp - 0x414]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x4dacc8
mov edx, dword [ebp - 0x444]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x4dacbe
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4dadde
push ecx
push edx
call fcn.00552c1d
add esp, 8
mov eax, dword [esi + 0x1c]
mov edi, closesocket
mov esi, eax
add eax, 0xffffffe4
neg esi
sbb esi, esi
and esi, eax
mov dword [ebp - 0x44c], esi
jne 0x4da9b0
mov eax, dword [ebp - 0x450]
mov edx, dword [ebp - 0x45c]
mov esi, dword [ebp - 0x460]
add eax, esi
mov esi, dword [ebp - 0x468]
inc esi
mov dword [ebp - 0x468], esi
cmp esi, dword [ebp - 0x470]
jge 0x4dadbc
mov esi, dword [ebp - 0x474]
jmp 0x4da950
mov ecx, dword [esi + 0x18]
call fcn.004dfb60
mov ecx, dword [ebp - 0x450]
add ecx, dword [ebp - 0x45c]
push ecx
mov ecx, eax
call fcn.004e4d60
mov esi, dword [ebp - 0x460]
cmp esi, eax
je 0x4dad69
cmp dword [ebp - 0x414], 0x10
lea ecx, [ebp - 0x428]
push eax
cmovae ecx, dword [ebp - 0x428]
push esi
push ecx
push str.CEterPackManager::RetrieveHybridCryptPackKeys_tcryptokey_length_of_file__s__is_not_matched._received__d____haved__d_
call fcn.004a4c60
add esp, 0x10
mov edx, dword [ebp - 0x414]
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x4dada6
mov ecx, dword [ebp - 0x428]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4dad9c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4dadde
push edx
push ecx
call fcn.00552c1d
add esp, 8
mov eax, dword [ebp - 0x450]
mov edi, closesocket
mov edx, dword [ebp - 0x45c]
jmp 0x4dacf9
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00552c0c
mov esp, ebp
pop ebp
ret 4
call fcn.0055345c
call fcn.0059841a
int3