Function at 0x1003cb20
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x10072414]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x10c], 0
jmp 0x1003cb4e
mov eax, dword [ebp - 0x10c]
add eax, 1
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0x38
jge 0x1003cbab
mov ecx, dword [ebp - 0x10c]
movzx edx, byte [ecx + str.80_]
mov dword [ebp - 0x104], edx
mov eax, dword [ebp - 0x104]
and eax, 7
mov dword [ebp - 0x108], eax
mov ecx, dword [ebp - 0x104]
sar ecx, 3
mov edx, dword [ebp + 8]
movsx eax, byte [edx + ecx]
mov ecx, dword [ebp - 0x108]
movzx edx, word [ecx*2 + 0x10068198]
and eax, edx
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 0x10c]
mov byte [ebp + ecx - 0x3c], al
jmp 0x1003cb3f
mov dword [ebp - 0x7c], 0
jmp 0x1003cbbd
mov edx, dword [ebp - 0x7c]
add edx, 1
mov dword [ebp - 0x7c], edx
cmp dword [ebp - 0x7c], 0x10
jge 0x1003cd98
movsx eax, word [ebp + 0xc]
cmp eax, 1
jne 0x1003cbe2
mov ecx, 0xf
sub ecx, dword [ebp - 0x7c]
shl ecx, 1
mov dword [ebp - 0x108], ecx
jmp 0x1003cbed
mov edx, dword [ebp - 0x7c]
shl edx, 1
mov dword [ebp - 0x108], edx
mov eax, dword [ebp - 0x108]
add eax, 1
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
mov dword [ebp + ecx*4 - 0x100], 0
mov edx, dword [ebp - 0x108]
mov dword [ebp + edx*4 - 0x100], 0
mov dword [ebp - 0x10c], 0
jmp 0x1003cc33
mov eax, dword [ebp - 0x10c]
add eax, 1
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0x1c
jge 0x1003cc87
mov ecx, dword [ebp - 0x7c]
movzx edx, byte [ecx + 0x10068240]
add edx, dword [ebp - 0x10c]
mov dword [ebp - 0x104], edx
cmp dword [ebp - 0x104], 0x1c
jge 0x1003cc71
mov eax, dword [ebp - 0x10c]
mov ecx, dword [ebp - 0x104]
mov dl, byte [ebp + ecx - 0x3c]
mov byte [ebp + eax - 0x74], dl
jmp 0x1003cc85
mov eax, dword [ebp - 0x10c]
mov ecx, dword [ebp - 0x104]
mov dl, byte [ebp + ecx - 0x58]
mov byte [ebp + eax - 0x74], dl
jmp 0x1003cc24
mov dword [ebp - 0x10c], 0x1c
jmp 0x1003cca2
mov eax, dword [ebp - 0x10c]
add eax, 1
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0x38
jge 0x1003ccf6
mov ecx, dword [ebp - 0x7c]
movzx edx, byte [ecx + 0x10068240]
add edx, dword [ebp - 0x10c]
mov dword [ebp - 0x104], edx
cmp dword [ebp - 0x104], 0x38
jge 0x1003cce0
mov eax, dword [ebp - 0x10c]
mov ecx, dword [ebp - 0x104]
mov dl, byte [ebp + ecx - 0x3c]
mov byte [ebp + eax - 0x74], dl
jmp 0x1003ccf4
mov eax, dword [ebp - 0x10c]
mov ecx, dword [ebp - 0x104]
mov dl, byte [ebp + ecx - 0x58]
mov byte [ebp + eax - 0x74], dl
jmp 0x1003cc93
mov dword [ebp - 0x10c], 0
jmp 0x1003cd11
mov eax, dword [ebp - 0x10c]
add eax, 1
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0x18
jge 0x1003cd93
mov ecx, dword [ebp - 0x10c]
movzx edx, byte [ecx + 0x10068250]
movzx eax, byte [ebp + edx - 0x74]
test eax, eax
je 0x1003cd57
mov ecx, dword [ebp - 0x108]
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp + ecx*4 - 0x100]
or eax, dword [edx*4 + 0x100681a8]
mov ecx, dword [ebp - 0x108]
mov dword [ebp + ecx*4 - 0x100], eax
mov edx, dword [ebp - 0x10c]
movzx eax, byte [edx + 0x10068268]
movzx ecx, byte [ebp + eax - 0x74]
test ecx, ecx
je 0x1003cd8e
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x10c]
mov ecx, dword [ebp + edx*4 - 0x100]
or ecx, dword [eax*4 + 0x100681a8]
mov edx, dword [ebp - 0x78]
mov dword [ebp + edx*4 - 0x100], ecx
jmp 0x1003cd02
jmp 0x1003cbb4
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x100]
push ecx
call fcn.1003c970
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10042ec5
mov esp, ebp
pop ebp
ret