Function at 0x4123c0
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xfc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10c]
push edi
xor eax, eax
movzx ecx, byte [eax + str.80_]
mov edx, ecx
and ecx, 7
mov bl, byte [ecx*2 + 0x426430]
sar edx, 3
mov dl, byte [edx + esi]
test bl, dl
setne cl
mov byte [esp + eax + 0x54], cl
movzx ecx, byte [eax + 0x4264a1]
mov edx, ecx
and ecx, 7
mov bl, byte [ecx*2 + 0x426430]
sar edx, 3
mov dl, byte [edx + esi]
test bl, dl
setne cl
mov byte [esp + eax + 0x55], cl
movzx ecx, byte [eax + 0x4264a2]
mov edx, ecx
and ecx, 7
mov bl, byte [ecx*2 + 0x426430]
sar edx, 3
mov dl, byte [edx + esi]
test bl, dl
setne cl
mov byte [esp + eax + 0x56], cl
movzx ecx, byte [eax + 0x4264a3]
mov edx, ecx
and ecx, 7
mov bl, byte [ecx*2 + 0x426430]
sar edx, 3
mov dl, byte [edx + esi]
test bl, dl
setne cl
mov byte [esp + eax + 0x57], cl
add eax, 4
cmp eax, 0x38
jl 0x4123d3
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 0x1e
jmp 0x412480
mov ecx, dword [esp + 0x10]
jmp 0x412480
cmp word [esp + 0x114], 1
mov eax, dword [esp + 0x14]
je 0x412492
lea eax, [ecx + ecx]
movzx ebp, byte [ecx + 0x4264d8]
lea ebx, [esp + eax*4 + 0x90]
lea eax, [esp + eax*4 + 0x8c]
mov dword [ebx], 0
mov dword [esp + 0x18], eax
mov dword [eax], 0
xor esi, esi
lea ecx, [ebp + 3]
lea eax, [ebp + 2]
nop
lea edi, [ecx - 3]
cmp edi, 0x1c
jge 0x4124ce
mov dl, byte [esp + eax + 0x52]
jmp 0x4124d2
mov dl, byte [esp + edi + 0x38]
lea edi, [ecx - 2]
cmp edi, 0x1c
mov byte [esp + esi + 0x1c], dl
jge 0x4124e4
mov dl, byte [esp + eax + 0x53]
jmp 0x4124e8
mov dl, byte [esp + edi + 0x38]
cmp eax, 0x1c
mov byte [esp + esi + 0x1d], dl
jge 0x4124f7
mov dl, byte [esp + eax + 0x54]
jmp 0x4124fb
mov dl, byte [esp + eax + 0x38]
cmp ecx, 0x1c
mov byte [esp + esi + 0x1e], dl
jge 0x41250a
mov dl, byte [esp + eax + 0x55]
jmp 0x41250e
mov dl, byte [esp + ecx + 0x38]
mov byte [esp + esi + 0x1f], dl
add esi, 4
add eax, 4
add ecx, 4
cmp esi, 0x1c
jl 0x4124c0
mov edi, 0x1c
lea edx, [ebp + 0x1f]
lea eax, [ebp + 0x1e]
jmp 0x412530
lea ecx, [edx - 3]
cmp ecx, 0x38
jge 0x41253e
mov cl, byte [esp + eax + 0x52]
jmp 0x412542
mov cl, byte [esp + ecx + 0x38]
lea esi, [edx - 2]
cmp esi, 0x38
mov byte [esp + edi + 0x1c], cl
jge 0x412554
mov cl, byte [esp + eax + 0x53]
jmp 0x412558
mov cl, byte [esp + esi + 0x38]
cmp eax, 0x38
mov byte [esp + edi + 0x1d], cl
jge 0x412567
mov cl, byte [esp + eax + 0x54]
jmp 0x41256b
mov cl, byte [esp + eax + 0x38]
cmp edx, 0x38
mov byte [esp + edi + 0x1e], cl
jge 0x41257a
mov cl, byte [esp + eax + 0x55]
jmp 0x41257e
mov cl, byte [esp + edx + 0x38]
mov byte [esp + edi + 0x1f], cl
add edi, 4
add eax, 4
add edx, 4
cmp edi, 0x38
jl 0x412530
xor eax, eax
movzx edx, byte [eax + 0x4264e8]
mov cl, byte [esp + edx + 0x1c]
test cl, cl
mov ecx, dword [esp + 0x18]
je 0x4125b2
mov esi, dword [ecx]
mov edx, dword [eax*4 + 0x426440]
or esi, edx
mov dword [ecx], esi
movzx edx, byte [eax + 0x426500]
cmp byte [esp + edx + 0x1c], 0
je 0x4125cd
mov esi, dword [ebx]
mov edx, dword [eax*4 + 0x426440]
or esi, edx
mov dword [ebx], esi
movzx edx, byte [eax + 0x4264e9]
cmp byte [esp + edx + 0x1c], 0
je 0x4125e8
mov esi, dword [ecx]
mov edx, dword [eax*4 + 0x426444]
or esi, edx
mov dword [ecx], esi
movzx edx, byte [eax + 0x426501]
cmp byte [esp + edx + 0x1c], 0
je 0x412603
mov esi, dword [ebx]
mov edx, dword [eax*4 + 0x426444]
or esi, edx
mov dword [ebx], esi
movzx edx, byte [eax + 0x4264ea]
cmp byte [esp + edx + 0x1c], 0
je 0x41261e
mov esi, dword [ecx]
mov edx, dword [eax*4 + 0x426448]
or esi, edx
mov dword [ecx], esi
movzx edx, byte [eax + 0x426502]
cmp byte [esp + edx + 0x1c], 0
je 0x412639
mov esi, dword [ebx]
mov edx, dword [eax*4 + 0x426448]
or esi, edx
mov dword [ebx], esi
movzx edx, byte [eax + 0x4264eb]
cmp byte [esp + edx + 0x1c], 0
je 0x412654
mov esi, dword [ecx]
mov edx, dword [eax*4 + 0x42644c]
or esi, edx
mov dword [ecx], esi
movzx edx, byte [eax + 0x426503]
cmp byte [esp + edx + 0x1c], 0
je 0x41266f
mov esi, dword [ebx]
mov edx, dword [eax*4 + 0x42644c]
or esi, edx
mov dword [ebx], esi
movzx edx, byte [eax + 0x4264ec]
cmp byte [esp + edx + 0x1c], 0
je 0x41268a
mov esi, dword [ecx]
mov edx, dword [eax*4 + 0x426450]
or esi, edx
mov dword [ecx], esi
movzx edx, byte [eax + 0x426504]
cmp byte [esp + edx + 0x1c], 0
je 0x4126a5
mov esi, dword [ebx]
mov edx, dword [eax*4 + 0x426450]
or esi, edx
mov dword [ebx], esi
movzx edx, byte [eax + 0x4264ed]
cmp byte [esp + edx + 0x1c], 0
je 0x4126c0
mov esi, dword [ecx]
mov edx, dword [eax*4 + 0x426454]
or esi, edx
mov dword [ecx], esi
movzx ecx, byte [eax + 0x426505]
mov dl, byte [esp + ecx + 0x1c]
test dl, dl
je 0x4126dc
mov ecx, dword [ebx]
mov edx, dword [eax*4 + 0x426454]
or ecx, edx
mov dword [ebx], ecx
add eax, 6
cmp eax, 0x18
jl 0x412592
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 0x412477
lea ecx, [esp + 0x8c]
call fcn.00412160
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xfc
ret