Function at 0x10015b30
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x1011b040]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xf8], 0
jmp 0x10015b5e
mov eax, dword [ebp - 0xf8]
add eax, 1
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 0x38
jge 0x10015bd6
mov ecx, dword [ebp - 0xf8]
movzx edx, byte [ecx + 0x1011b2d8]
mov dword [ebp - 0xfc], edx
mov eax, dword [ebp - 0xfc]
and eax, 7
mov dword [ebp - 0x100], eax
mov ecx, dword [ebp - 0xfc]
sar ecx, 3
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
mov ecx, dword [ebp - 0x100]
movzx edx, word [ecx*2 + 0x1011b7b0]
and eax, edx
je 0x10015bb7
mov dword [ebp - 0x10c], 1
jmp 0x10015bc1
mov dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0xf8]
mov cl, byte [ebp - 0x10c]
mov byte [ebp + eax - 0x74], cl
jmp 0x10015b4f
mov dword [ebp - 0x104], 0
jmp 0x10015bf1
mov edx, dword [ebp - 0x104]
add edx, 1
mov dword [ebp - 0x104], edx
cmp dword [ebp - 0x104], 0x10
jge 0x10015ded
movsx eax, word [ebp + 0xc]
cmp eax, 1
jne 0x10015c1c
mov ecx, 0xf
sub ecx, dword [ebp - 0x104]
shl ecx, 1
mov dword [ebp - 0x100], ecx
jmp 0x10015c2a
mov edx, dword [ebp - 0x104]
shl edx, 1
mov dword [ebp - 0x100], edx
mov eax, dword [ebp - 0x100]
add eax, 1
mov dword [ebp - 0x108], eax
mov ecx, dword [ebp - 0x108]
mov dword [ebp + ecx*4 - 0xf4], 0
mov edx, dword [ebp - 0x100]
mov dword [ebp + edx*4 - 0xf4], 0
mov dword [ebp - 0xf8], 0
jmp 0x10015c76
mov eax, dword [ebp - 0xf8]
add eax, 1
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 0x1c
jge 0x10015cd0
mov ecx, dword [ebp - 0x104]
movzx edx, byte [ecx + 0x1011b770]
add edx, dword [ebp - 0xf8]
mov dword [ebp - 0xfc], edx
cmp dword [ebp - 0xfc], 0x1c
jge 0x10015cb7
mov eax, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0xfc]
mov dl, byte [ebp + ecx - 0x74]
mov byte [ebp + eax - 0x3c], dl
jmp 0x10015cce
mov eax, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0xfc]
mov dl, byte [ebp + ecx - 0x90]
mov byte [ebp + eax - 0x3c], dl
jmp 0x10015c67
mov dword [ebp - 0xf8], 0x1c
jmp 0x10015ceb
mov eax, dword [ebp - 0xf8]
add eax, 1
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 0x38
jge 0x10015d45
mov ecx, dword [ebp - 0x104]
movzx edx, byte [ecx + 0x1011b770]
add edx, dword [ebp - 0xf8]
mov dword [ebp - 0xfc], edx
cmp dword [ebp - 0xfc], 0x38
jge 0x10015d2c
mov eax, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0xfc]
mov dl, byte [ebp + ecx - 0x74]
mov byte [ebp + eax - 0x3c], dl
jmp 0x10015d43
mov eax, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0xfc]
mov dl, byte [ebp + ecx - 0x90]
mov byte [ebp + eax - 0x3c], dl
jmp 0x10015cdc
mov dword [ebp - 0xf8], 0
jmp 0x10015d60
mov eax, dword [ebp - 0xf8]
add eax, 1
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 0x18
jge 0x10015de8
mov ecx, dword [ebp - 0xf8]
movzx edx, byte [ecx + 0x1011b780]
movzx eax, byte [ebp + edx - 0x3c]
test eax, eax
je 0x10015da6
mov ecx, dword [ebp - 0x100]
mov edx, dword [ebp - 0xf8]
mov eax, dword [ebp + ecx*4 - 0xf4]
or eax, dword [edx*4 + 0x1011b610]
mov ecx, dword [ebp - 0x100]
mov dword [ebp + ecx*4 - 0xf4], eax
mov edx, dword [ebp - 0xf8]
movzx eax, byte [edx + 0x1011b798]
movzx ecx, byte [ebp + eax - 0x3c]
test ecx, ecx
je 0x10015de3
mov edx, dword [ebp - 0x108]
mov eax, dword [ebp - 0xf8]
mov ecx, dword [ebp + edx*4 - 0xf4]
or ecx, dword [eax*4 + 0x1011b610]
mov edx, dword [ebp - 0x108]
mov dword [ebp + edx*4 - 0xf4], ecx
jmp 0x10015d51
jmp 0x10015be2
lea eax, [ebp - 0xf4]
push eax
call fcn.10015e10
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ec36e
mov esp, ebp
pop ebp
ret