Function at 0x417890
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0x100
mov eax, dword [0x449654]
xor eax, esp
mov dword [esp + 0xfc], eax
push ebx
push ebp
push esi
push edi
mov esi, ecx
xor eax, eax
lea esp, [esp]
movzx ecx, byte [eax + 0x44a7a0]
mov edx, ecx
sar edx, 3
movzx edx, byte [edx + esi]
and ecx, 7
test byte [ecx*2 + 0x44a730], dl
setne cl
mov byte [esp + eax + 0xd4], cl
movzx ecx, byte [eax + 0x44a7a1]
mov edx, ecx
sar edx, 3
movzx edx, byte [edx + esi]
and ecx, 7
test byte [ecx*2 + 0x44a730], dl
setne cl
mov byte [esp + eax + 0xd5], cl
movzx ecx, byte [eax + 0x44a7a2]
mov edx, ecx
sar edx, 3
movzx edx, byte [edx + esi]
and ecx, 7
test byte [ecx*2 + 0x44a730], dl
setne cl
mov byte [esp + eax + 0xd6], cl
movzx ecx, byte [eax + 0x44a7a3]
mov edx, ecx
sar edx, 3
movzx edx, byte [edx + esi]
and ecx, 7
test byte [ecx*2 + 0x44a730], dl
setne cl
mov byte [esp + eax + 0xd7], cl
add eax, 4
cmp eax, 0x38
jl 0x4178b0
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 0x1e
jmp 0x417964
mov ecx, dword [esp + 0x10]
cmp word [esp + 0x114], 1
mov eax, dword [esp + 0x14]
je 0x417976
lea eax, [ecx + ecx]
movzx ebp, byte [ecx + 0x44a7d8]
lea ebx, [esp + eax*4 + 0x20]
lea eax, [esp + eax*4 + 0x1c]
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 ecx, [ecx]
lea edi, [ecx - 3]
cmp edi, 0x1c
jge 0x4179b1
mov dl, byte [esp + eax + 0xd2]
jmp 0x4179b8
mov dl, byte [esp + edi + 0xb8]
lea edi, [ecx - 2]
cmp edi, 0x1c
mov byte [esp + esi + 0x9c], dl
jge 0x4179d0
mov dl, byte [esp + eax + 0xd3]
jmp 0x4179d7
mov dl, byte [esp + edi + 0xb8]
cmp eax, 0x1c
mov byte [esp + esi + 0x9d], dl
jge 0x4179ec
mov dl, byte [esp + eax + 0xd4]
jmp 0x4179f3
mov dl, byte [esp + eax + 0xb8]
cmp ecx, 0x1c
mov byte [esp + esi + 0x9e], dl
jge 0x417a08
mov dl, byte [esp + eax + 0xd5]
jmp 0x417a0f
mov dl, byte [esp + ecx + 0xb8]
mov byte [esp + esi + 0x9f], dl
add esi, 4
add eax, 4
add ecx, 4
cmp esi, 0x1c
jl 0x4179a0
mov edi, 0x1c
lea edx, [ebp + 0x1f]
lea eax, [ebp + 0x1e]
lea ecx, [edx - 3]
cmp ecx, 0x38
jge 0x417a44
mov cl, byte [esp + eax + 0xd2]
jmp 0x417a4b
mov cl, byte [esp + ecx + 0xb8]
lea esi, [edx - 2]
cmp esi, 0x38
mov byte [esp + edi + 0x9c], cl
jge 0x417a63
mov cl, byte [esp + eax + 0xd3]
jmp 0x417a6a
mov cl, byte [esp + esi + 0xb8]
cmp eax, 0x38
mov byte [esp + edi + 0x9d], cl
jge 0x417a7f
mov cl, byte [esp + eax + 0xd4]
jmp 0x417a86
mov cl, byte [esp + eax + 0xb8]
cmp edx, 0x38
mov byte [esp + edi + 0x9e], cl
jge 0x417a9b
mov cl, byte [esp + eax + 0xd5]
jmp 0x417aa2
mov cl, byte [esp + edx + 0xb8]
mov byte [esp + edi + 0x9f], cl
add edi, 4
add eax, 4
add edx, 4
cmp edi, 0x38
jl 0x417a33
xor eax, eax
lea ecx, [ecx]
movzx edx, byte [eax + 0x44a7e8]
cmp byte [esp + edx + 0x9c], 0
mov ecx, dword [esp + 0x18]
je 0x417ade
mov edx, dword [eax*4 + 0x44a740]
or dword [ecx], edx
movzx edx, byte [eax + 0x44a800]
cmp byte [esp + edx + 0x9c], 0
je 0x417af8
mov edx, dword [eax*4 + 0x44a740]
or dword [ebx], edx
movzx edx, byte [eax + 0x44a7e9]
cmp byte [esp + edx + 0x9c], 0
je 0x417b12
mov edx, dword [eax*4 + 0x44a744]
or dword [ecx], edx
movzx edx, byte [eax + 0x44a801]
cmp byte [esp + edx + 0x9c], 0
je 0x417b2c
mov edx, dword [eax*4 + 0x44a744]
or dword [ebx], edx
movzx edx, byte [eax + 0x44a7ea]
cmp byte [esp + edx + 0x9c], 0
je 0x417b46
mov edx, dword [eax*4 + 0x44a748]
or dword [ecx], edx
movzx edx, byte [eax + 0x44a802]
cmp byte [esp + edx + 0x9c], 0
je 0x417b60
mov edx, dword [eax*4 + 0x44a748]
or dword [ebx], edx
movzx edx, byte [eax + 0x44a7eb]
cmp byte [esp + edx + 0x9c], 0
je 0x417b7a
mov edx, dword [eax*4 + 0x44a74c]
or dword [ecx], edx
movzx edx, byte [eax + 0x44a803]
cmp byte [esp + edx + 0x9c], 0
je 0x417b94
mov edx, dword [eax*4 + 0x44a74c]
or dword [ebx], edx
movzx edx, byte [eax + 0x44a7ec]
cmp byte [esp + edx + 0x9c], 0
je 0x417bae
mov edx, dword [eax*4 + 0x44a750]
or dword [ecx], edx
movzx edx, byte [eax + 0x44a804]
cmp byte [esp + edx + 0x9c], 0
je 0x417bc8
mov edx, dword [eax*4 + 0x44a750]
or dword [ebx], edx
movzx edx, byte [eax + 0x44a7ed]
cmp byte [esp + edx + 0x9c], 0
je 0x417be2
mov edx, dword [eax*4 + 0x44a754]
or dword [ecx], edx
movzx ecx, byte [eax + 0x44a805]
cmp byte [esp + ecx + 0x9c], 0
je 0x417bfc
mov edx, dword [eax*4 + 0x44a754]
or dword [ebx], edx
add eax, 6
cmp eax, 0x18
jl 0x417ac0
mov eax, dword [esp + 0x14]
inc dword [esp + 0x10]
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x14], eax
jg 0x417960
lea ecx, [esp + 0x1c]
call fcn.00417c50
mov ecx, dword [esp + 0x10c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0041cb8e
add esp, 0x100
ret