Function at 0x4100d0
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0x100
mov eax, dword [0x42aa60]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x110]
mov dword [esp + 0x108], eax
push edi
xor eax, eax
nop
movzx ecx, byte [eax + str.80_]
mov edx, ecx
and ecx, 7
mov bl, byte [ecx*2 + 0x42a160]
sar edx, 3
mov dl, byte [edx + esi]
test bl, dl
setne cl
mov byte [esp + eax + 0xd4], cl
movzx ecx, byte [eax + 0x42a1d1]
mov edx, ecx
and ecx, 7
mov bl, byte [ecx*2 + 0x42a160]
sar edx, 3
mov dl, byte [edx + esi]
test bl, dl
setne cl
mov byte [esp + eax + 0xd5], cl
movzx ecx, byte [eax + 0x42a1d2]
mov edx, ecx
and ecx, 7
mov bl, byte [ecx*2 + 0x42a160]
sar edx, 3
mov dl, byte [edx + esi]
test bl, dl
setne cl
mov byte [esp + eax + 0xd6], cl
movzx ecx, byte [eax + 0x42a1d3]
mov edx, ecx
and ecx, 7
mov bl, byte [ecx*2 + 0x42a160]
sar edx, 3
mov dl, byte [edx + esi]
test bl, dl
setne cl
mov byte [esp + eax + 0xd7], cl
add eax, 4
cmp eax, 0x38
jl 0x4100f0
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 0x1e
jmp 0x4101b0
mov ecx, dword [esp + 0x10]
jmp 0x4101b0
cmp word [esp + 0x118], 1
mov eax, dword [esp + 0x14]
je 0x4101c2
lea eax, [ecx + ecx]
movzx ebp, byte [ecx + 0x42a208]
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 esp, [esp]
lea edi, [ecx - 3]
cmp edi, 0x1c
jge 0x410201
mov dl, byte [esp + eax + 0xd2]
jmp 0x410208
mov dl, byte [esp + edi + 0xb8]
lea edi, [ecx - 2]
cmp edi, 0x1c
mov byte [esp + esi + 0x9c], dl
jge 0x410220
mov dl, byte [esp + eax + 0xd3]
jmp 0x410227
mov dl, byte [esp + edi + 0xb8]
cmp eax, 0x1c
mov byte [esp + esi + 0x9d], dl
jge 0x41023c
mov dl, byte [esp + eax + 0xd4]
jmp 0x410243
mov dl, byte [esp + eax + 0xb8]
cmp ecx, 0x1c
mov byte [esp + esi + 0x9e], dl
jge 0x410258
mov dl, byte [esp + eax + 0xd5]
jmp 0x41025f
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 0x4101f0
mov edi, 0x1c
lea edx, [ebp + 0x1f]
lea eax, [ebp + 0x1e]
lea ecx, [edx - 3]
cmp ecx, 0x38
jge 0x410294
mov cl, byte [esp + eax + 0xd2]
jmp 0x41029b
mov cl, byte [esp + ecx + 0xb8]
lea esi, [edx - 2]
cmp esi, 0x38
mov byte [esp + edi + 0x9c], cl
jge 0x4102b3
mov cl, byte [esp + eax + 0xd3]
jmp 0x4102ba
mov cl, byte [esp + esi + 0xb8]
cmp eax, 0x38
mov byte [esp + edi + 0x9d], cl
jge 0x4102cf
mov cl, byte [esp + eax + 0xd4]
jmp 0x4102d6
mov cl, byte [esp + eax + 0xb8]
cmp edx, 0x38
mov byte [esp + edi + 0x9e], cl
jge 0x4102eb
mov cl, byte [esp + eax + 0xd5]
jmp 0x4102f2
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 0x410283
xor eax, eax
lea ecx, [ecx]
movzx edx, byte [eax + 0x42a218]
mov cl, byte [esp + edx + 0x9c]
test cl, cl
mov ecx, dword [esp + 0x18]
je 0x410333
mov esi, dword [ecx]
mov edx, dword [eax*4 + 0x42a170]
or esi, edx
mov dword [ecx], esi
movzx edx, byte [eax + 0x42a230]
cmp byte [esp + edx + 0x9c], 0
je 0x410351
mov esi, dword [ebx]
mov edx, dword [eax*4 + 0x42a170]
or esi, edx
mov dword [ebx], esi
movzx edx, byte [eax + 0x42a219]
cmp byte [esp + edx + 0x9c], 0
je 0x41036f
mov esi, dword [ecx]
mov edx, dword [eax*4 + 0x42a174]
or esi, edx
mov dword [ecx], esi
movzx edx, byte [eax + 0x42a231]
cmp byte [esp + edx + 0x9c], 0
je 0x41038d
mov esi, dword [ebx]
mov edx, dword [eax*4 + 0x42a174]
or esi, edx
mov dword [ebx], esi
movzx edx, byte [eax + 0x42a21a]
cmp byte [esp + edx + 0x9c], 0
je 0x4103ab
mov esi, dword [ecx]
mov edx, dword [eax*4 + 0x42a178]
or esi, edx
mov dword [ecx], esi
movzx edx, byte [eax + 0x42a232]
cmp byte [esp + edx + 0x9c], 0
je 0x4103c9
mov esi, dword [ebx]
mov edx, dword [eax*4 + 0x42a178]
or esi, edx
mov dword [ebx], esi
movzx edx, byte [eax + 0x42a21b]
cmp byte [esp + edx + 0x9c], 0
je 0x4103e7
mov esi, dword [ecx]
mov edx, dword [eax*4 + 0x42a17c]
or esi, edx
mov dword [ecx], esi
movzx edx, byte [eax + 0x42a233]
cmp byte [esp + edx + 0x9c], 0
je 0x410405
mov esi, dword [ebx]
mov edx, dword [eax*4 + 0x42a17c]
or esi, edx
mov dword [ebx], esi
movzx edx, byte [eax + 0x42a21c]
cmp byte [esp + edx + 0x9c], 0
je 0x410423
mov esi, dword [ecx]
mov edx, dword [eax*4 + 0x42a180]
or esi, edx
mov dword [ecx], esi
movzx edx, byte [eax + 0x42a234]
cmp byte [esp + edx + 0x9c], 0
je 0x410441
mov esi, dword [ebx]
mov edx, dword [eax*4 + 0x42a180]
or esi, edx
mov dword [ebx], esi
movzx edx, byte [eax + 0x42a21d]
cmp byte [esp + edx + 0x9c], 0
je 0x41045f
mov esi, dword [ecx]
mov edx, dword [eax*4 + 0x42a184]
or esi, edx
mov dword [ecx], esi
movzx ecx, byte [eax + 0x42a235]
mov dl, byte [esp + ecx + 0x9c]
test dl, dl
je 0x41047e
mov ecx, dword [ebx]
mov edx, dword [eax*4 + 0x42a184]
or ecx, edx
mov dword [ebx], ecx
add eax, 6
cmp eax, 0x18
jl 0x410310
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
sub eax, 2
inc esi
cmp eax, 0xfffffffe
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
jg 0x4101a0
lea ecx, [esp + 0x1c]
call fcn.0040fe70
mov ecx, dword [esp + 0x10c]
pop edi
pop esi
pop ebp
pop ebx
call fcn.00410c16
add esp, 0x100
ret