Function at 0x568820
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c0
mov eax, dword [0x7db1e8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x288], ecx
xor esi, esi
nop
lea edi, [ebp - 0x27c]
xor edx, edx
add edi, esi
nop word [eax + eax]
mov ecx, edx
mov eax, edx
and eax, 1
sar ecx, 1
shl eax, 4
and ecx, 0xf
or ecx, eax
mov eax, edx
and eax, 0x20
or ecx, eax
mov al, byte [ecx + esi + 0x743188]
mov byte [edi + edx], al
inc edx
cmp edx, 0x40
jl 0x568850
add esi, 0x40
cmp esi, 0x200
jl 0x568840
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x28c], ecx
nop dword [eax]
xor eax, eax
mov dword [ebp - 0x294], ecx
lea esi, [ecx + 0x41]
mov dword [ebp - 0x290], eax
mov dword [ebp - 0x298], esi
mov bl, byte [ecx]
mov edi, eax
shl bl, 4
mov edx, 2
shl edi, 6
mov dword [ebp - 0x284], edi
nop dword [eax]
movzx ecx, byte [esi - 1]
lea eax, [edx - 2]
or eax, edi
lea esi, [esi + 4]
add eax, dword [ebp - 0x280]
or cl, bl
mov edi, dword [ebp - 0x288]
mov byte [eax + edi + 0x80], cl
lea eax, [edx - 1]
or eax, dword [ebp - 0x284]
add eax, dword [ebp - 0x280]
movzx ecx, byte [esi - 4]
or cl, bl
mov byte [eax + edi + 0x80], cl
mov eax, edx
or eax, dword [ebp - 0x284]
add eax, dword [ebp - 0x280]
movzx ecx, byte [esi - 3]
or cl, bl
mov byte [eax + edi + 0x80], cl
lea eax, [edx + 1]
or eax, dword [ebp - 0x284]
add edx, 4
add eax, dword [ebp - 0x280]
movzx ecx, byte [esi - 2]
or cl, bl
mov byte [eax + edi + 0x80], cl
lea eax, [edx - 2]
mov edi, dword [ebp - 0x284]
cmp eax, 0x40
jl 0x5688d0
mov eax, dword [ebp - 0x290]
mov ecx, dword [ebp - 0x294]
inc eax
mov esi, dword [ebp - 0x298]
inc ecx
mov dword [ebp - 0x290], eax
mov dword [ebp - 0x294], ecx
cmp eax, 0x40
jl 0x5688b7
mov eax, dword [ebp - 0x280]
mov ecx, dword [ebp - 0x28c]
add eax, 0x1000
sub ecx, 0xffffff80
mov dword [ebp - 0x280], eax
mov dword [ebp - 0x28c], ecx
cmp eax, 0x4000
jl 0x5688a0
movaps xmm0, xmmword [0x7c49e0]
xor ecx, ecx
mov edx, dword [ebp - 0x288]
movups xmmword [ebp - 0x7c], xmm0
movups xmmword [ebp - 0x6c], xmm0
movups xmmword [ebp - 0x5c], xmm0
movups xmmword [ebp - 0x4c], xmm0
nop dword [eax]
mov al, byte [ecx + 0x7430d0]
dec al
mov byte [edx + ecx + 0x40], al
movzx eax, al
mov byte [eax + edx], cl
inc ecx
cmp ecx, 0x40
jl 0x5689d0
movaps xmm0, xmmword [0x7c49e0]
xor ecx, ecx
movups xmmword [ebp - 0x3c], xmm0
movups xmmword [ebp - 0x2c], xmm0
movups xmmword [ebp - 0x1c], xmm0
movq qword [ebp - 0xc], xmm0
movzx eax, byte [ecx + 0x743110]
mov byte [ebp + eax - 0x7d], cl
inc ecx
cmp ecx, 0x38
jl 0x568a02
xor ecx, ecx
nop word [eax + eax]
movzx eax, byte [ecx + 0x743158]
mov byte [ebp + eax - 0x3d], cl
inc ecx
cmp ecx, 0x30
jl 0x568a20
lea eax, [ebp - 0x3b]
mov dword [ebp - 0x28c], 8
mov dword [ebp - 0x280], eax
lea ecx, [edx + 0xd080]
lea eax, [ebp - 0x7c]
mov edi, edx
sub eax, edx
mov dword [ebp - 0x284], edi
mov dword [ebp - 0x298], eax
lea esi, [edx + 0x7080]
lea eax, [ebp - 0x7b]
sub eax, edx
mov dword [ebp - 0x294], eax
lea eax, [ebp - 0x7a]
sub eax, edx
mov dword [ebp - 0x290], eax
lea eax, [ebp - 0x79]
sub eax, edx
mov dword [ebp - 0x29c], eax
lea eax, [ebp - 0x78]
sub eax, edx
mov dword [ebp - 0x2a0], eax
lea eax, [ebp - 0x77]
sub eax, edx
mov dword [ebp - 0x2a4], eax
lea eax, [ebp - 0x76]
sub eax, edx
mov dword [ebp - 0x2a8], eax
nop word [eax + eax]
xor ebx, ebx
mov dword [esi - 0x2000], 0
xor edx, edx
mov dword [esi], 0
mov dword [esi + 0x2000], 0
mov dword [esi + 0x4000], 0
test byte [edx + 0x7433a8], bl
je 0x568b27
movzx eax, byte [edi + edx]
cmp eax, 0x20
jae 0x568af8
mov eax, dword [eax*4 + 0x743050]
or dword [esi - 0x2000], eax
jmp 0x568b01
mov eax, dword [eax*4 + 0x742fd0]
or dword [esi], eax
movzx eax, byte [edi + edx + 0x40]
cmp eax, 0x20
jae 0x568b1a
mov eax, dword [eax*4 + 0x743050]
or dword [esi + 0x2000], eax
jmp 0x568b27
mov eax, dword [eax*4 + 0x742fd0]
or dword [esi + 0x4000], eax
inc edx
cmp edx, 8
jl 0x568ad8
inc ebx
add esi, 4
cmp ebx, 0x100
jl 0x568ab2
mov dword [ebp - 0x2c0], esi
xor ebx, ebx
mov esi, dword [ebp - 0x280]
nop dword [eax + eax]
mov edx, ebx
mov dword [ecx], 0
mov dword [ecx + 0x1000], 0
and edx, 0x40
je 0x568b95
mov eax, dword [ebp - 0x298]
movzx eax, byte [edi + eax]
cmp eax, 0xff
je 0x568b95
cmp eax, 0x1c
jae 0x568b88
mov eax, dword [eax*4 + 0x743060]
or dword [ecx], eax
jmp 0x568b95
mov eax, dword [eax*4 + 0x742ff0]
mov dword [ecx + 0x1000], eax
mov edi, ebx
and edi, 0x20
je 0x568bd6
mov esi, dword [ebp - 0x294]
mov eax, dword [ebp - 0x284]
movzx eax, byte [eax + esi]
mov esi, dword [ebp - 0x280]
cmp eax, 0xff
je 0x568bd6
cmp eax, 0x1c
jae 0x568bc9
mov eax, dword [eax*4 + 0x743060]
or dword [ecx], eax
jmp 0x568bd6
mov eax, dword [eax*4 + 0x742ff0]
or dword [ecx + 0x1000], eax
mov eax, ebx
and eax, 0x10
mov dword [ebp - 0x2ac], eax
je 0x568c1d
mov esi, dword [ebp - 0x290]
mov eax, dword [ebp - 0x284]
movzx eax, byte [eax + esi]
mov esi, dword [ebp - 0x280]
cmp eax, 0xff
je 0x568c1d
cmp eax, 0x1c
jae 0x568c10
mov eax, dword [eax*4 + 0x743060]
or dword [ecx], eax
jmp 0x568c1d
mov eax, dword [eax*4 + 0x742ff0]
or dword [ecx + 0x1000], eax
mov eax, ebx
and eax, 8
mov dword [ebp - 0x2b0], eax
je 0x568c64
mov esi, dword [ebp - 0x29c]
mov eax, dword [ebp - 0x284]
movzx eax, byte [eax + esi]
mov esi, dword [ebp - 0x280]
cmp eax, 0xff
je 0x568c64
cmp eax, 0x1c
jae 0x568c57
mov eax, dword [eax*4 + 0x743060]
or dword [ecx], eax
jmp 0x568c64
mov eax, dword [eax*4 + 0x742ff0]
or dword [ecx + 0x1000], eax
mov eax, ebx
and eax, 4
mov dword [ebp - 0x2b4], eax
je 0x568cab
mov esi, dword [ebp - 0x2a0]
mov eax, dword [ebp - 0x284]
movzx eax, byte [eax + esi]
mov esi, dword [ebp - 0x280]
cmp eax, 0xff
je 0x568cab
cmp eax, 0x1c
jae 0x568c9e
mov eax, dword [eax*4 + 0x743060]
or dword [ecx], eax
jmp 0x568cab
mov eax, dword [eax*4 + 0x742ff0]
or dword [ecx + 0x1000], eax
mov eax, ebx
and eax, 2
mov dword [ebp - 0x2b8], eax
je 0x568cf2
mov esi, dword [ebp - 0x2a4]
mov eax, dword [ebp - 0x284]
movzx eax, byte [eax + esi]
mov esi, dword [ebp - 0x280]
cmp eax, 0xff
je 0x568cf2
cmp eax, 0x1c
jae 0x568ce5
mov eax, dword [eax*4 + 0x743060]
or dword [ecx], eax
jmp 0x568cf2
mov eax, dword [eax*4 + 0x742ff0]
or dword [ecx + 0x1000], eax
mov eax, ebx
and eax, 1
mov dword [ebp - 0x2bc], eax
je 0x568d39
mov esi, dword [ebp - 0x2a8]
mov eax, dword [ebp - 0x284]
movzx eax, byte [eax + esi]
mov esi, dword [ebp - 0x280]
cmp eax, 0xff
je 0x568d39
cmp eax, 0x1c
jae 0x568d2c
mov eax, dword [eax*4 + 0x743060]
or dword [ecx], eax
jmp 0x568d39
mov eax, dword [eax*4 + 0x742ff0]
or dword [ecx + 0x1000], eax
mov dword [ecx + 0x2000], 0
mov dword [ecx + 0x3000], 0
test edx, edx
je 0x568d7d
movzx eax, byte [esi - 1]
cmp eax, 0xff
je 0x568d7d
cmp eax, 0x18
jae 0x568d70
mov eax, dword [eax*4 + 0x743070]
or dword [ecx + 0x2000], eax
jmp 0x568d7d
mov eax, dword [eax*4 + 0x743010]
mov dword [ecx + 0x3000], eax
test edi, edi
je 0x568dac
movzx eax, byte [esi]
cmp eax, 0xff
je 0x568dac
cmp eax, 0x18
jae 0x568d9f
mov eax, dword [eax*4 + 0x743070]
or dword [ecx + 0x2000], eax
jmp 0x568dac
mov eax, dword [eax*4 + 0x743010]
or dword [ecx + 0x3000], eax
cmp dword [ebp - 0x2ac], 0
je 0x568de1
movzx eax, byte [esi + 1]
cmp eax, 0xff
je 0x568de1
cmp eax, 0x18
jae 0x568dd4
mov eax, dword [eax*4 + 0x743070]
or dword [ecx + 0x2000], eax
jmp 0x568de1
mov eax, dword [eax*4 + 0x743010]
or dword [ecx + 0x3000], eax
cmp dword [ebp - 0x2b0], 0
je 0x568e16
movzx eax, byte [esi + 2]
cmp eax, 0xff
je 0x568e16
cmp eax, 0x18
jae 0x568e09
mov eax, dword [eax*4 + 0x743070]
or dword [ecx + 0x2000], eax
jmp 0x568e16
mov eax, dword [eax*4 + 0x743010]
or dword [ecx + 0x3000], eax
cmp dword [ebp - 0x2b4], 0
je 0x568e4b
movzx eax, byte [esi + 3]
cmp eax, 0xff
je 0x568e4b
cmp eax, 0x18
jae 0x568e3e
mov eax, dword [eax*4 + 0x743070]
or dword [ecx + 0x2000], eax
jmp 0x568e4b
mov eax, dword [eax*4 + 0x743010]
or dword [ecx + 0x3000], eax
cmp dword [ebp - 0x2b8], 0
je 0x568e80
movzx eax, byte [esi + 4]
cmp eax, 0xff
je 0x568e80
cmp eax, 0x18
jae 0x568e73
mov eax, dword [eax*4 + 0x743070]
or dword [ecx + 0x2000], eax
jmp 0x568e80
mov eax, dword [eax*4 + 0x743010]
or dword [ecx + 0x3000], eax
cmp dword [ebp - 0x2bc], 0
je 0x568eb5
movzx eax, byte [esi + 5]
cmp eax, 0xff
je 0x568eb5
cmp eax, 0x18
jae 0x568ea8
mov eax, dword [eax*4 + 0x743070]
or dword [ecx + 0x2000], eax
jmp 0x568eb5
mov eax, dword [eax*4 + 0x743010]
or dword [ecx + 0x3000], eax
mov edi, dword [ebp - 0x284]
inc ebx
add ecx, 4
cmp ebx, 0x80
jl 0x568b50
add esi, 7
add edi, 8
sub dword [ebp - 0x28c], 1
mov dword [ebp - 0x280], esi
mov esi, dword [ebp - 0x2c0]
mov dword [ebp - 0x284], edi
jne 0x568ab0
xor ecx, ecx
movzx eax, byte [ecx + 0x743388]
mov byte [ebp + eax - 0x25], cl
inc ecx
cmp ecx, 0x20
jl 0x568ef2
mov ebx, dword [ebp - 0x288]
xor edi, edi
lea esi, [ebx + 0x4080]
xor edx, edx
xor eax, eax
mov dword [esi], 0
test dl, dl
jns 0x568f2d
movzx eax, byte [ebp + edi*8 - 0x24]
mov eax, dword [eax*4 + 0x743050]
mov dword [esi], eax
test dl, 0x40
je 0x568f44
movzx ecx, byte [ebp + edi*8 - 0x23]
mov ecx, dword [ecx*4 + 0x743050]
or ecx, eax
mov dword [esi], ecx
mov eax, ecx
test dl, 0x20
je 0x568f5b
movzx ecx, byte [ebp + edi*8 - 0x22]
mov ecx, dword [ecx*4 + 0x743050]
or ecx, eax
mov dword [esi], ecx
mov eax, ecx
test dl, 0x10
je 0x568f72
movzx ecx, byte [ebp + edi*8 - 0x21]
mov ecx, dword [ecx*4 + 0x743050]
or ecx, eax
mov dword [esi], ecx
mov eax, ecx
test dl, 8
je 0x568f89
movzx ecx, byte [ebp + edi*8 - 0x20]
mov ecx, dword [ecx*4 + 0x743050]
or ecx, eax
mov dword [esi], ecx
mov eax, ecx
test dl, 4
je 0x568fa0
movzx ecx, byte [ebp + edi*8 - 0x1f]
mov ecx, dword [ecx*4 + 0x743050]
or ecx, eax
mov dword [esi], ecx
mov eax, ecx
test dl, 2
je 0x568fb7
movzx ecx, byte [ebp + edi*8 - 0x1e]
mov ecx, dword [ecx*4 + 0x743050]
or ecx, eax
mov dword [esi], ecx
mov eax, ecx
test dl, 1
je 0x568fcc
movzx ecx, byte [ebp + edi*8 - 0x1d]
mov ecx, dword [ecx*4 + 0x743050]
or ecx, eax
mov dword [esi], ecx
inc edx
add esi, 4
cmp edx, 0x100
jl 0x568f13
inc edi
cmp edi, 4
jl 0x568f11
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006f4db8
mov esp, ebp
pop ebp
ret