Function at 0x435390
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0x84
mov eax, dword [0x477af4]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
mov ebx, dword [esp + 0x8c]
push ebp
push esi
push edi
push 0x1880
push 0
push ebx
mov dword [esp + 0x1c], ebx
call fcn.00444550
add esp, 0xc
mov esi, ebx
call fcn.00435370
mov edx, dword [esp + 0x9c]
xor eax, eax
movsx ecx, byte [eax + str.91__]
dec ecx
mov esi, ecx
sar esi, 3
movsx esi, byte [esi + edx]
and ecx, 7
test dword [ecx*4 + 0x4766e0], esi
setne cl
mov byte [esp + eax + 0x58], cl
movsx ecx, byte [eax + 0x476449]
dec ecx
mov esi, ecx
sar esi, 3
movsx esi, byte [esi + edx]
and ecx, 7
test dword [ecx*4 + 0x4766e0], esi
setne cl
mov byte [esp + eax + 0x59], cl
movsx ecx, byte [eax + 0x47644a]
dec ecx
mov esi, ecx
sar esi, 3
movsx esi, byte [esi + edx]
and ecx, 7
test dword [ecx*4 + 0x4766e0], esi
setne cl
mov byte [esp + eax + 0x5a], cl
movsx ecx, byte [eax + 0x47644b]
dec ecx
mov esi, ecx
sar esi, 3
movsx esi, byte [esi + edx]
and ecx, 7
test dword [ecx*4 + 0x4766e0], esi
setne cl
mov byte [esp + eax + 0x5b], cl
add eax, 4
cmp eax, 0x38
jl 0x4353d3
xor ebp, ebp
lea esp, [esp]
movsx ecx, byte [ebp + 0x476480]
xor eax, eax
sub ecx, 0x1a
lea esp, [esp]
xor edx, edx
cmp eax, 0x1c
setge dl
lea edi, [ecx + 0x1a]
dec edx
and edx, 0xffffffe4
add edx, 0x38
cmp edi, edx
jl 0x435499
lea edi, [ecx - 2]
mov dl, byte [esp + edi + 0x58]
lea esi, [esp + 0x20]
mov byte [esi + eax], dl
xor edx, edx
cmp eax, 0x1b
setge dl
lea edi, [ecx + 0x1b]
dec edx
and edx, 0xffffffe4
add edx, 0x38
cmp edi, edx
jl 0x4354bd
lea edi, [ecx - 1]
mov dl, byte [esp + edi + 0x58]
mov byte [esp + eax + 0x21], dl
lea edx, [eax + 2]
mov dword [esp + 0x14], eax
xor eax, eax
cmp edx, 0x1c
setge al
lea edi, [ecx + 0x1c]
dec eax
and eax, 0xffffffe4
add eax, 0x38
cmp edi, eax
mov eax, dword [esp + 0x14]
jl 0x4354e8
mov edi, ecx
mov dl, byte [esp + edi + 0x58]
lea esi, [esp + 0x22]
mov byte [esi + eax], dl
xor edx, edx
cmp eax, 0x19
setge dl
lea edi, [ecx + 0x1d]
dec edx
and edx, 0xffffffe4
add edx, 0x38
cmp edi, edx
jl 0x43550c
lea edi, [ecx + 1]
mov dl, byte [esp + edi + 0x58]
mov byte [esp + eax + 0x23], dl
add eax, 4
add ecx, 4
cmp eax, 0x38
jl 0x435480
xor ecx, ecx
mov dword [esp + 0x14], 5
mov dword [esp + 0x18], 4
mov dword [esp + 0x1c], 3
lea esi, [ecx + 2]
mov edi, 1
jmp 0x435550
movsx eax, byte [edi + 0x47648f]
cmp byte [esp + eax + 0x1f], 0
je 0x435586
mov eax, 0xaaaaaaab
mul ecx
shr edx, 2
lea eax, [edx + ebp*8]
add eax, ebx
lea edx, [edx + edx*2]
add edx, edx
mov ebx, ecx
sub ebx, edx
mov edx, dword [ebx*4 + 0x4766e0]
mov ebx, dword [esp + 0x10]
sar edx, 2
or byte [eax], dl
movsx eax, byte [edi + 0x476490]
cmp byte [esp + eax + 0x1f], 0
je 0x4355bc
mov eax, 0xaaaaaaab
mul edi
shr edx, 2
lea eax, [edx + ebp*8]
add eax, ebx
lea edx, [edx + edx*2]
add edx, edx
mov ebx, ecx
sub ebx, edx
mov edx, dword [ebx*4 + 0x4766e4]
mov ebx, dword [esp + 0x10]
sar edx, 2
or byte [eax], dl
movsx eax, byte [esi + 0x476490]
cmp byte [esp + eax + 0x1f], 0
je 0x4355f2
mov eax, 0xaaaaaaab
mul esi
shr edx, 2
lea eax, [edx + ebp*8]
add eax, ebx
lea edx, [edx + edx*2]
add edx, edx
mov ebx, ecx
sub ebx, edx
mov edx, dword [ebx*4 + 0x4766e8]
mov ebx, dword [esp + 0x10]
sar edx, 2
or byte [eax], dl
mov edx, dword [esp + 0x1c]
movsx eax, byte [edx + 0x476490]
cmp byte [esp + eax + 0x1f], 0
je 0x43562c
mov eax, 0xaaaaaaab
mul edx
shr edx, 2
lea eax, [edx + ebp*8]
add eax, ebx
lea edx, [edx + edx*2]
add edx, edx
mov ebx, ecx
sub ebx, edx
mov edx, dword [ebx*4 + 0x4766ec]
mov ebx, dword [esp + 0x10]
sar edx, 2
or byte [eax], dl
mov edx, dword [esp + 0x18]
movsx eax, byte [edx + 0x476490]
cmp byte [esp + eax + 0x1f], 0
je 0x435666
mov eax, 0xaaaaaaab
mul edx
shr edx, 2
lea eax, [edx + ebp*8]
add eax, ebx
lea edx, [edx + edx*2]
add edx, edx
mov ebx, ecx
sub ebx, edx
mov edx, dword [ebx*4 + 0x4766f0]
mov ebx, dword [esp + 0x10]
sar edx, 2
or byte [eax], dl
mov edx, dword [esp + 0x14]
movsx eax, byte [edx + 0x476490]
cmp byte [esp + eax + 0x1f], 0
je 0x4356a0
mov eax, 0xaaaaaaab
mul edx
shr edx, 2
lea eax, [edx + ebp*8]
add eax, ebx
lea edx, [edx + edx*2]
add edx, edx
mov ebx, ecx
sub ebx, edx
mov edx, dword [ebx*4 + 0x4766f4]
mov ebx, dword [esp + 0x10]
sar edx, 2
or byte [eax], dl
mov eax, 6
add dword [esp + 0x1c], eax
add dword [esp + 0x18], eax
add dword [esp + 0x14], eax
add edi, eax
add ecx, eax
add esi, eax
cmp edi, 0x31
jl 0x435550
inc ebp
cmp ebp, 0x10
jl 0x435470
mov ecx, dword [esp + 0x90]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00443817
add esp, 0x84
ret