Function at 0x472060
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0x104
mov eax, dword [0x5eb3c0]
xor eax, esp
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x108]
push ebx
push ebp
push esi
mov dword [esp + 0x18], eax
xor eax, eax
push edi
jmp 0x472090
movzx ecx, byte [eax + str.80_]
mov esi, ecx
sar ecx, 3
movsx ecx, byte [ecx + edx]
and esi, 7
movzx esi, word [esi*2 + 0x5ef450]
test ecx, esi
setne cl
mov byte [esp + eax + 0xd8], cl
movzx ecx, byte [eax + 0x5ef4c1]
mov esi, ecx
sar ecx, 3
movsx ecx, byte [ecx + edx]
and esi, 7
movzx esi, word [esi*2 + 0x5ef450]
test ecx, esi
setne cl
mov byte [esp + eax + 0xd9], cl
movzx ecx, byte [eax + 0x5ef4c2]
mov esi, ecx
sar ecx, 3
movsx ecx, byte [ecx + edx]
and esi, 7
movzx esi, word [esi*2 + 0x5ef450]
test ecx, esi
setne cl
mov byte [esp + eax + 0xda], cl
movzx ecx, byte [eax + 0x5ef4c3]
mov esi, ecx
sar ecx, 3
movsx ecx, byte [ecx + edx]
and esi, 7
movzx esi, word [esi*2 + 0x5ef450]
test ecx, esi
setne cl
mov byte [esp + eax + 0xdb], cl
add eax, 4
cmp eax, 0x38
jl 0x472090
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], 0x1e
jmp 0x472154
mov ecx, dword [esp + 0x14]
cmp dword [esp + 0x11c], 1
mov eax, dword [esp + 0x10]
je 0x472165
lea eax, [ecx + ecx]
movzx ebp, byte [ecx + 0x5ef4f8]
lea ebx, [esp + eax*4 + 0x24]
lea eax, [esp + eax*4 + 0x20]
mov dword [ebx], 0
mov dword [esp + 0x18], eax
mov dword [eax], 0
xor esi, esi
lea ecx, [ebp + 3]
lea eax, [ebp + 2]
lea esp, [esp]
lea edi, [ecx - 3]
cmp edi, 0x1c
jge 0x4721a1
mov dl, byte [esp + eax + 0xd6]
jmp 0x4721a8
mov dl, byte [esp + edi + 0xbc]
lea edi, [ecx - 2]
cmp edi, 0x1c
mov byte [esp + esi + 0xa0], dl
jge 0x4721c0
mov dl, byte [esp + eax + 0xd7]
jmp 0x4721c7
mov dl, byte [esp + edi + 0xbc]
cmp eax, 0x1c
mov byte [esp + esi + 0xa1], dl
jge 0x4721dc
mov dl, byte [esp + eax + 0xd8]
jmp 0x4721e3
mov dl, byte [esp + eax + 0xbc]
cmp ecx, 0x1c
mov byte [esp + esi + 0xa2], dl
jge 0x4721f8
mov dl, byte [esp + eax + 0xd9]
jmp 0x4721ff
mov dl, byte [esp + ecx + 0xbc]
mov byte [esp + esi + 0xa3], dl
add esi, 4
add eax, 4
add ecx, 4
cmp esi, 0x1c
jl 0x472190
mov edi, 0x1c
lea edx, [ebp + 0x1f]
lea eax, [ebp + 0x1e]
lea ecx, [edx - 3]
cmp ecx, 0x38
jge 0x472234
mov cl, byte [esp + eax + 0xd6]
jmp 0x47223b
mov cl, byte [esp + ecx + 0xbc]
lea esi, [edx - 2]
cmp esi, 0x38
mov byte [esp + edi + 0xa0], cl
jge 0x472253
mov cl, byte [esp + eax + 0xd7]
jmp 0x47225a
mov cl, byte [esp + esi + 0xbc]
cmp eax, 0x38
mov byte [esp + edi + 0xa1], cl
jge 0x47226f
mov cl, byte [esp + eax + 0xd8]
jmp 0x472276
mov cl, byte [esp + eax + 0xbc]
cmp edx, 0x38
mov byte [esp + edi + 0xa2], cl
jge 0x47228b
mov cl, byte [esp + eax + 0xd9]
jmp 0x472292
mov cl, byte [esp + edx + 0xbc]
mov byte [esp + edi + 0xa3], cl
add edi, 4
add eax, 4
add edx, 4
cmp edi, 0x38
jl 0x472223
xor eax, eax
lea ecx, [ecx]
movzx edx, byte [eax + 0x5ef508]
cmp byte [esp + edx + 0xa0], 0
mov ecx, dword [esp + 0x18]
je 0x4722ce
mov edx, dword [eax*4 + 0x5ef460]
or dword [ecx], edx
movzx edx, byte [eax + 0x5ef520]
cmp byte [esp + edx + 0xa0], 0
je 0x4722e8
mov edx, dword [eax*4 + 0x5ef460]
or dword [ebx], edx
movzx edx, byte [eax + 0x5ef509]
cmp byte [esp + edx + 0xa0], 0
je 0x472302
mov edx, dword [eax*4 + 0x5ef464]
or dword [ecx], edx
movzx edx, byte [eax + 0x5ef521]
cmp byte [esp + edx + 0xa0], 0
je 0x47231c
mov edx, dword [eax*4 + 0x5ef464]
or dword [ebx], edx
movzx edx, byte [eax + 0x5ef50a]
cmp byte [esp + edx + 0xa0], 0
je 0x472336
mov edx, dword [eax*4 + 0x5ef468]
or dword [ecx], edx
movzx edx, byte [eax + 0x5ef522]
cmp byte [esp + edx + 0xa0], 0
je 0x472350
mov edx, dword [eax*4 + 0x5ef468]
or dword [ebx], edx
movzx edx, byte [eax + 0x5ef50b]
cmp byte [esp + edx + 0xa0], 0
je 0x47236a
mov edx, dword [eax*4 + 0x5ef46c]
or dword [ecx], edx
movzx edx, byte [eax + 0x5ef523]
cmp byte [esp + edx + 0xa0], 0
je 0x472384
mov edx, dword [eax*4 + 0x5ef46c]
or dword [ebx], edx
movzx edx, byte [eax + 0x5ef50c]
cmp byte [esp + edx + 0xa0], 0
je 0x47239e
mov edx, dword [eax*4 + 0x5ef470]
or dword [ecx], edx
movzx edx, byte [eax + 0x5ef524]
cmp byte [esp + edx + 0xa0], 0
je 0x4723b8
mov edx, dword [eax*4 + 0x5ef470]
or dword [ebx], edx
movzx edx, byte [eax + 0x5ef50d]
cmp byte [esp + edx + 0xa0], 0
je 0x4723d2
mov edx, dword [eax*4 + 0x5ef474]
or dword [ecx], edx
movzx ecx, byte [eax + 0x5ef525]
cmp byte [esp + ecx + 0xa0], 0
je 0x4723ec
mov edx, dword [eax*4 + 0x5ef474]
or dword [ebx], edx
add eax, 6
cmp eax, 0x18
jl 0x4722b0
mov eax, dword [esp + 0x10]
add dword [esp + 0x14], 1
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x472150
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
call fcn.00472440
mov ecx, dword [esp + 0x110]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00564207
add esp, 0x104
ret 8