Function at 0x452540
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x48948c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0x108], 0
jmp 0x452574
mov eax, dword [ebp - 0x108]
add eax, 1
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0x38
jge 0x4525d1
mov ecx, dword [ebp - 0x108]
movzx edx, byte [ecx + str.80_]
mov dword [ebp - 0x100], edx
mov eax, dword [ebp - 0x100]
and eax, 7
mov dword [ebp - 0x104], eax
mov ecx, dword [ebp - 0x100]
sar ecx, 3
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
mov ecx, dword [ebp - 0x104]
movzx edx, word [ecx*2 + 0x48aff8]
and eax, edx
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 0x108]
mov byte [ebp + ecx - 0x3c], al
jmp 0x452565
mov dword [ebp - 0xfc], 0
jmp 0x4525ec
mov edx, dword [ebp - 0xfc]
add edx, 1
mov dword [ebp - 0xfc], edx
cmp dword [ebp - 0xfc], 0x10
jge 0x4527d3
cmp dword [ebp + 0xc], 1
jne 0x452614
mov eax, 0xf
sub eax, dword [ebp - 0xfc]
shl eax, 1
mov dword [ebp - 0x104], eax
jmp 0x452622
mov ecx, dword [ebp - 0xfc]
shl ecx, 1
mov dword [ebp - 0x104], ecx
mov edx, dword [ebp - 0x104]
add edx, 1
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x78]
mov dword [ebp + eax*4 - 0xf8], 0
mov ecx, dword [ebp - 0x104]
mov dword [ebp + ecx*4 - 0xf8], 0
mov dword [ebp - 0x108], 0
jmp 0x452668
mov edx, dword [ebp - 0x108]
add edx, 1
mov dword [ebp - 0x108], edx
cmp dword [ebp - 0x108], 0x1c
jge 0x4526bf
mov eax, dword [ebp - 0xfc]
movzx ecx, byte [eax + 0x48b0a0]
add ecx, dword [ebp - 0x108]
mov dword [ebp - 0x100], ecx
cmp dword [ebp - 0x100], 0x1c
jge 0x4526a9
mov edx, dword [ebp - 0x108]
mov eax, dword [ebp - 0x100]
mov cl, byte [ebp + eax - 0x3c]
mov byte [ebp + edx - 0x74], cl
jmp 0x4526bd
mov edx, dword [ebp - 0x108]
mov eax, dword [ebp - 0x100]
mov cl, byte [ebp + eax - 0x58]
mov byte [ebp + edx - 0x74], cl
jmp 0x452659
mov dword [ebp - 0x108], 0x1c
jmp 0x4526da
mov edx, dword [ebp - 0x108]
add edx, 1
mov dword [ebp - 0x108], edx
cmp dword [ebp - 0x108], 0x38
jge 0x452731
mov eax, dword [ebp - 0xfc]
movzx ecx, byte [eax + 0x48b0a0]
add ecx, dword [ebp - 0x108]
mov dword [ebp - 0x100], ecx
cmp dword [ebp - 0x100], 0x38
jge 0x45271b
mov edx, dword [ebp - 0x108]
mov eax, dword [ebp - 0x100]
mov cl, byte [ebp + eax - 0x3c]
mov byte [ebp + edx - 0x74], cl
jmp 0x45272f
mov edx, dword [ebp - 0x108]
mov eax, dword [ebp - 0x100]
mov cl, byte [ebp + eax - 0x58]
mov byte [ebp + edx - 0x74], cl
jmp 0x4526cb
mov dword [ebp - 0x108], 0
jmp 0x45274c
mov edx, dword [ebp - 0x108]
add edx, 1
mov dword [ebp - 0x108], edx
cmp dword [ebp - 0x108], 0x18
jge 0x4527ce
mov eax, dword [ebp - 0x108]
movzx ecx, byte [eax + 0x48b0b0]
movzx edx, byte [ebp + ecx - 0x74]
test edx, edx
je 0x452792
mov eax, dword [ebp - 0x104]
mov ecx, dword [ebp - 0x108]
mov edx, dword [ebp + eax*4 - 0xf8]
or edx, dword [ecx*4 + 0x48b008]
mov eax, dword [ebp - 0x104]
mov dword [ebp + eax*4 - 0xf8], edx
mov ecx, dword [ebp - 0x108]
movzx edx, byte [ecx + 0x48b0c8]
movzx eax, byte [ebp + edx - 0x74]
test eax, eax
je 0x4527c9
mov ecx, dword [ebp - 0x78]
mov edx, dword [ebp - 0x108]
mov eax, dword [ebp + ecx*4 - 0xf8]
or eax, dword [edx*4 + 0x48b008]
mov ecx, dword [ebp - 0x78]
mov dword [ebp + ecx*4 - 0xf8], eax
jmp 0x45273d
jmp 0x4525dd
lea edx, [ebp - 0xf8]
push edx
mov ecx, dword [ebp - 0x10c]
call fcn.004523d0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004314f7
mov esp, ebp
pop ebp
ret 8