Function at 0x10109ed0
Capabilities:
Encrypt data using des
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x14
push ebx
push esi
push edi
push 0x78
mov esi, ecx
call fcn.100567f4
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x10109efd
call fcn.1007bc50
push 0x78
call fcn.100567f4
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10109ee8
mov ecx, 0x1016eb9d
sub ecx, ebx
mov dword [esp + 0x14], ecx
mov ecx, 0x1016eb9e
sub ecx, ebx
mov dword [esp + 0x10], ecx
mov edx, str.91__
sub edx, ebx
mov ecx, 0x1016eb9f
sub ecx, ebx
push ebp
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x2c]
lea ebp, [ebx + 0x70]
mov eax, ebx
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], 0xe
jmp 0x10109f41
mov edx, dword [esp + 0x20]
movzx edi, byte [edx + eax]
dec edi
mov edx, edi
sar edx, 3
mov dl, byte [edx + ecx]
and edi, 7
test byte [edi*4 + 0x1016ec14], dl
setne dl
mov byte [eax], dl
mov edx, dword [esp + 0x18]
movzx edi, byte [edx + eax]
dec edi
mov edx, edi
sar edx, 3
mov dl, byte [edx + ecx]
and edi, 7
test byte [edi*4 + 0x1016ec14], dl
setne dl
mov byte [eax + 1], dl
mov edx, dword [esp + 0x14]
movzx edi, byte [eax + edx]
dec edi
mov edx, edi
sar edx, 3
mov dl, byte [edx + ecx]
and edi, 7
test byte [edi*4 + 0x1016ec14], dl
setne dl
mov byte [eax + 2], dl
mov edx, dword [esp + 0x10]
movzx edi, byte [eax + edx]
dec edi
mov edx, edi
sar edx, 3
mov dl, byte [edx + ecx]
and edi, 7
test byte [edi*4 + 0x1016ec14], dl
setne dl
mov byte [eax + 3], dl
mov edx, dword [esp + 0x1c]
add eax, 4
dec edx
mov dword [esp + 0x1c], edx
jne 0x10109f3d
xor ecx, ecx
mov dword [esp + 0x2c], ecx
xor eax, eax
mov edx, ebp
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x10109ff0
mov ecx, dword [esp + 0x2c]
jmp 0x10109ff0
movzx edi, byte [ecx + 0x1016ebd4]
xor edx, edx
add edi, eax
cmp eax, 0x1c
setge dl
dec edx
and edx, 0xffffffe4
add edx, 0x38
cmp edi, edx
mov edx, edi
jl 0x1010a011
lea edx, [edi - 0x1c]
mov dl, byte [edx + ebx]
mov byte [eax + ebx + 0x38], dl
movzx ecx, byte [ecx + 0x1016ebd4]
xor edx, edx
lea edi, [eax + 1]
cmp edi, 0x1c
setge dl
lea ecx, [ecx + eax + 1]
dec edx
and edx, 0xffffffe4
add edx, 0x38
cmp ecx, edx
jl 0x1010a03c
add ecx, 0xffffffe4
mov cl, byte [ecx + ebx]
mov edx, dword [esp + 0x2c]
mov byte [edi + ebx + 0x38], cl
movzx ecx, byte [edx + 0x1016ebd4]
lea edx, [ecx + eax + 2]
mov dword [esp + 0x20], edx
xor edx, edx
lea ecx, [edi + 1]
cmp ecx, 0x1c
mov ecx, dword [esp + 0x20]
setge dl
dec edx
and edx, 0xffffffe4
add edx, 0x38
cmp ecx, edx
jl 0x1010a073
add ecx, 0xffffffe4
mov cl, byte [ecx + ebx]
mov edx, dword [esp + 0x2c]
mov byte [ebx + eax + 0x3a], cl
movzx ecx, byte [edx + 0x1016ebd4]
lea edx, [ecx + eax + 3]
xor ecx, ecx
add edi, 2
cmp edi, 0x1c
setge cl
mov edi, edx
dec ecx
and ecx, 0xffffffe4
add ecx, 0x38
cmp edx, ecx
jl 0x1010a0a4
lea edi, [edx - 0x1c]
mov dl, byte [edi + ebx]
mov byte [ebx + eax + 0x3b], dl
add eax, 4
cmp eax, 0x38
jl 0x10109fe3
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 5
mov dword [esp + 0x18], 4
mov dword [esp + 0x14], 3
mov dword [esp + 0x10], 2
mov edi, 1
movzx ecx, byte [edi + 0x1016ebe3]
mov dl, byte [ecx + ebx + 0x37]
test dl, dl
je 0x1010a10c
xor edx, edx
mov ecx, 6
div ecx
mov edx, dword [edx*4 + 0x1016ec14]
mov cl, byte [eax + ebp]
sar edx, 2
or cl, dl
mov byte [eax + ebp], cl
movzx eax, byte [edi + 0x1016ebe4]
mov cl, byte [eax + ebx + 0x37]
test cl, cl
je 0x1010a138
xor edx, edx
mov ecx, 6
mov eax, edi
div ecx
mov edx, dword [edx*4 + 0x1016ec14]
mov cl, byte [eax + ebp]
sar edx, 2
or cl, dl
mov byte [eax + ebp], cl
mov eax, dword [esp + 0x10]
movzx ecx, byte [eax + 0x1016ebe4]
mov dl, byte [ecx + ebx + 0x37]
test dl, dl
je 0x1010a166
xor edx, edx
mov ecx, 6
div ecx
mov edx, dword [edx*4 + 0x1016ec14]
mov cl, byte [eax + ebp]
sar edx, 2
or cl, dl
mov byte [eax + ebp], cl
mov eax, dword [esp + 0x14]
movzx ecx, byte [eax + 0x1016ebe4]
mov dl, byte [ecx + ebx + 0x37]
test dl, dl
je 0x1010a194
xor edx, edx
mov ecx, 6
div ecx
mov edx, dword [edx*4 + 0x1016ec14]
mov cl, byte [eax + ebp]
sar edx, 2
or cl, dl
mov byte [eax + ebp], cl
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 0x1016ebe4]
mov dl, byte [ecx + ebx + 0x37]
test dl, dl
je 0x1010a1c2
xor edx, edx
mov ecx, 6
div ecx
mov edx, dword [edx*4 + 0x1016ec14]
mov cl, byte [eax + ebp]
sar edx, 2
or cl, dl
mov byte [eax + ebp], cl
mov eax, dword [esp + 0x1c]
movzx ecx, byte [eax + 0x1016ebe4]
mov dl, byte [ecx + ebx + 0x37]
test dl, dl
je 0x1010a1f0
xor edx, edx
mov ecx, 6
div ecx
mov edx, dword [edx*4 + 0x1016ec14]
mov cl, byte [eax + ebp]
sar edx, 2
or cl, dl
mov byte [eax + ebp], cl
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov ecx, 6
add edx, ecx
mov dword [esp + 0x10], edx
add dword [esp + 0x14], ecx
add dword [esp + 0x18], ecx
mov edx, dword [esp + 0x1c]
add eax, ecx
add edi, ecx
add edx, ecx
cmp edi, 0x31
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edx
jl 0x1010a0e2
movzx ecx, byte [ebp + 4]
movzx edx, byte [ebp + 6]
xor eax, eax
mov ah, byte [ebp]
mov al, byte [ebp + 2]
shl eax, 8
or eax, ecx
mov ecx, dword [esp + 0x2c]
shl eax, 8
or eax, edx
mov edx, dword [esi + 0x8c]
mov dword [edx + ecx*8], eax
movzx edx, byte [ebp + 5]
xor eax, eax
mov ah, byte [ebp + 1]
mov al, byte [ebp + 3]
shl eax, 8
or eax, edx
movzx edx, byte [ebp + 7]
shl eax, 8
or eax, edx
mov edx, dword [esi + 0x8c]
mov dword [edx + ecx*8 + 4], eax
inc ecx
cmp ecx, 0x10
mov dword [esp + 0x2c], ecx
jl 0x10109fd8
cmp dword [esp + 0x28], 1
pop ebp
jne 0x1010a3a9
mov eax, dword [esi + 0x8c]
mov edx, dword [eax + 0x78]
mov ecx, dword [eax]
mov dword [eax], edx
mov dword [eax + 0x78], ecx
mov eax, dword [esi + 0x8c]
mov edx, dword [eax + 0x7c]
mov ecx, dword [eax + 4]
mov dword [eax + 4], edx
mov dword [eax + 0x7c], ecx
mov eax, dword [esi + 0x8c]
mov edx, dword [eax + 0x70]
mov ecx, dword [eax + 8]
mov dword [eax + 8], edx
mov dword [eax + 0x70], ecx
mov eax, dword [esi + 0x8c]
mov edx, dword [eax + 0x74]
mov ecx, dword [eax + 0xc]
mov dword [eax + 0xc], edx
mov dword [eax + 0x74], ecx
mov eax, dword [esi + 0x8c]
mov edx, dword [eax + 0x68]
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x10], edx
mov dword [eax + 0x68], ecx
mov eax, dword [esi + 0x8c]
mov edx, dword [eax + 0x6c]
mov ecx, dword [eax + 0x14]
mov dword [eax + 0x14], edx
mov dword [eax + 0x6c], ecx
mov eax, dword [esi + 0x8c]
mov edx, dword [eax + 0x60]
mov ecx, dword [eax + 0x18]
mov dword [eax + 0x18], edx
mov dword [eax + 0x60], ecx
mov eax, dword [esi + 0x8c]
mov edx, dword [eax + 0x64]
mov ecx, dword [eax + 0x1c]
mov dword [eax + 0x1c], edx
mov dword [eax + 0x64], ecx
mov eax, dword [esi + 0x8c]
mov edx, dword [eax + 0x58]
mov ecx, dword [eax + 0x20]
mov dword [eax + 0x20], edx
mov dword [eax + 0x58], ecx
mov eax, dword [esi + 0x8c]
mov edx, dword [eax + 0x5c]
mov ecx, dword [eax + 0x24]
mov dword [eax + 0x24], edx
mov dword [eax + 0x5c], ecx
mov eax, dword [esi + 0x8c]
mov edx, dword [eax + 0x50]
mov ecx, dword [eax + 0x28]
mov dword [eax + 0x28], edx
mov dword [eax + 0x50], ecx
mov eax, dword [esi + 0x8c]
mov edx, dword [eax + 0x54]
mov ecx, dword [eax + 0x2c]
mov dword [eax + 0x2c], edx
mov dword [eax + 0x54], ecx
mov eax, dword [esi + 0x8c]
mov edx, dword [eax + 0x48]
mov ecx, dword [eax + 0x30]
mov dword [eax + 0x30], edx
mov dword [eax + 0x48], ecx
mov eax, dword [esi + 0x8c]
mov edx, dword [eax + 0x4c]
mov ecx, dword [eax + 0x34]
mov dword [eax + 0x34], edx
mov dword [eax + 0x4c], ecx
mov eax, dword [esi + 0x8c]
mov ecx, dword [eax + 0x38]
mov edx, dword [eax + 0x40]
mov dword [eax + 0x38], edx
mov dword [eax + 0x40], ecx
mov esi, dword [esi + 0x8c]
mov ecx, dword [esi + 0x44]
mov eax, dword [esi + 0x3c]
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x44], eax
xor eax, eax
mov ecx, 0x1e
mov edi, ebx
push ebx
rep stosd dword es:[edi], eax
call fcn.100569b3
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x14
ret 8