Function at 0x10036ef0
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0x48
mov eax, dword [0x1013567c]
xor eax, esp
mov dword [esp + 0x44], eax
xor eax, eax
cmp eax, 0x40
jae 0x10037154
mov byte [esp + eax + 4], 0
inc eax
cmp eax, 0x40
jb 0x10036f09
push ebx
push ebp
mov ebp, dword [esp + 0x54]
push esi
push edi
xor edi, edi
lea esi, [esp + 0x14]
mov bl, byte [edi + ebp]
xor eax, eax
mov cl, 7
mov dl, bl
sub cl, al
shr dl, cl
and dl, 1
mov byte [esi + eax], dl
inc eax
cmp eax, 7
jb 0x10036f27
inc edi
add esi, 8
cmp edi, 8
jb 0x10036f22
xor ecx, ecx
mov edx, 0x10003bba
mov esi, 0x1013787a
mov edi, 0x10003bd6
mov ebx, 0x10137896
lea ebx, [ebx]
movzx eax, byte [ecx + 0x10003bb8]
movzx eax, byte [esp + eax + 0x14]
mov byte [ecx + 0x10137878], al
movzx eax, byte [ecx + 0x10003bd4]
movzx eax, byte [esp + eax + 0x14]
mov byte [ecx + 0x10137894], al
movzx eax, byte [edx + ecx - 1]
movzx eax, byte [esp + eax + 0x14]
mov byte [esi + ecx - 1], al
movzx eax, byte [edi + ecx - 1]
movzx eax, byte [esp + eax + 0x14]
mov byte [ebx + ecx - 1], al
movzx eax, byte [edx + ecx]
movzx eax, byte [esp + eax + 0x14]
mov byte [esi + ecx], al
movzx eax, byte [edi + ecx]
movzx eax, byte [esp + eax + 0x14]
mov byte [ebx + ecx], al
movzx eax, byte [edx + ecx + 1]
movzx eax, byte [esp + eax + 0x14]
mov byte [esi + ecx + 1], al
movzx eax, byte [edi + ecx + 1]
movzx eax, byte [esp + eax + 0x14]
mov byte [ebx + ecx + 1], al
add ecx, 4
cmp ecx, 0x1c
jb 0x10036f60
mov esi, 0x10
xor ebp, ebp
mov edi, 0x10003c19
mov dword [esp + 0x10], esi
mov edx, 0x101378c8
movzx ebx, byte [ebp + 0x10003bf0]
test ebx, ebx
je 0x10037046
lea esp, [esp]
movzx eax, byte [0x10137878]
mov ecx, 0x1b
mov esi, 0x10137879
mov edi, 0x10137878
rep movsb byte es:[edi], byte [esi]
mov byte [0x10137893], al
mov ecx, 0x1b
movzx eax, byte [0x10137894]
mov esi, 0x10137895
mov edi, 0x10137894
rep movsb byte es:[edi], byte [esi]
mov byte [0x101378af], al
dec ebx
jne 0x10037000
mov esi, dword [esp + 0x10]
mov edi, 0x10003c19
xor ecx, ecx
jmp 0x10037050
movzx eax, byte [ecx + 0x10003c00]
movzx eax, byte [eax + 0x10137878]
mov byte [edx + ecx - 0x18], al
movzx eax, byte [ecx + 0x10003c18]
movzx eax, byte [eax + 0x10137894]
mov byte [edx + ecx], al
movzx eax, byte [ecx + 0x10003c01]
movzx eax, byte [eax + 0x10137878]
mov byte [edx + ecx - 0x17], al
movzx eax, byte [edi + ecx]
movzx eax, byte [eax + 0x10137894]
mov byte [edx + ecx + 1], al
movzx eax, byte [ecx + 0x10003c02]
movzx eax, byte [eax + 0x10137878]
mov byte [edx + ecx - 0x16], al
movzx eax, byte [ecx + 0x10003c1a]
movzx eax, byte [eax + 0x10137894]
mov byte [edx + ecx + 2], al
movzx eax, byte [ecx + 0x10003c03]
movzx eax, byte [eax + 0x10137878]
mov byte [edx + ecx - 0x15], al
movzx eax, byte [ecx + 0x10003c1b]
movzx eax, byte [eax + 0x10137894]
mov byte [edx + ecx + 3], al
movzx eax, byte [ecx + 0x10003c04]
movzx eax, byte [eax + 0x10137878]
mov byte [edx + ecx - 0x14], al
movzx eax, byte [ecx + 0x10003c1c]
movzx eax, byte [eax + 0x10137894]
mov byte [edx + ecx + 4], al
movzx eax, byte [ecx + 0x10003c05]
movzx eax, byte [eax + 0x10137878]
mov byte [edx + ecx - 0x13], al
movzx eax, byte [ecx + 0x10003c1d]
movzx eax, byte [eax + 0x10137894]
mov byte [edx + ecx + 5], al
add ecx, 6
cmp ecx, 0x18
jb 0x10037050
inc ebp
add edx, 0x30
dec esi
mov dword [esp + 0x10], esi
jne 0x10036ff1
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1011720d
add esp, 0x48
ret 4
call fcn.10116ea2
int3