Function at 0x705680
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x68
mov esi, esp
mov dword [esi + 0x50], ebp
mov edi, ecx
nop
mov dword [esi + 0x54], esp
mov dword [esi + 0x60], 0xffffffff
lea eax, [esi + 0x58]
mov dword [esi + 0x5c], 0x713c80
mov ecx, dword fs:[0]
mov dword [esi + 0x58], ecx
mov dword fs:[0], eax
cmp dword [0xa8d668], 0
jne 0x7056ee
nop
mov dword [esi + 0x10], edi
push 0x4f8
call fcn.0091d7fd
add esp, 4
mov dword [esi + 0x60], 0
mov dword [esi], eax
mov ecx, eax
call fcn.0066b2e0
nop
mov eax, dword [esi]
mov dword [0xa8d668], eax
nop
mov edi, dword [esi + 0x10]
nop
mov eax, dword [0xa8d668]
mov dword [esi + 0xc], eax
mov ecx, dword [eax + 0x370]
lea ebx, [edi + 0x218]
mov eax, dword [edi + 0x14]
mov dword [esi], eax
mov dword [esi + 0x60], 0xffffffff
call dword [0xa37360]
push ebx
push dword [esi]
call ecx
mov eax, dword [edi + 0x218]
or eax, dword [edi + 0x21c]
je 0x70577f
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x364]
lea eax, [edi + 0x228]
mov dword [esi], eax
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
mov ebx, dword [edi + 0x14]
call dword [0xa37360]
sub esp, 0x14
movsd xmm0, qword [esi + 0x48]
movsd qword [esp + 4], xmm0
mov eax, dword [esi]
mov dword [esp + 0xc], eax
mov dword [esp], ebx
mov dword [esp + 0x10], 0
call ecx
mov eax, dword [edi + 0x228]
or eax, dword [edi + 0x22c]
je 0x705786
xor eax, eax
jmp 0x705c87
nop
mov dword [esi + 0x28], 0
test byte [edi + 0x240], 4
jne 0x7057a7
lea ecx, [edi + 0x74]
push dword [edi + 0x218]
call fcn.006c67c0
jmp 0x7057cd
nop
mov eax, dword [edi + 0x218]
mov ecx, dword [edi + 0x21c]
cmp eax, 0x1000
sbb ecx, 0
mov edx, 0x1000
cmovl edx, eax
lea ecx, [edi + 0x74]
push edx
call fcn.006c67c0
nop
mov eax, dword [edi + 0x21c]
mov ecx, 0xfff
add ecx, dword [edi + 0x218]
adc eax, 0
mov edx, eax
sar edx, 0x1f
shr edx, 0x14
add edx, ecx
adc eax, 0
shld eax, edx, 0x14
lea ecx, [edi + 0x98]
push eax
call fcn.00702ea0
mov eax, dword [edi + 0x14]
mov dword [esi], eax
mov dword [esi + 0x10], edi
mov ebx, dword [edi + 0x7c]
cmp ebx, 0x1000
mov edi, 0x1000
cmovb edi, ebx
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x35c]
test ebx, ebx
je 0x70582b
mov eax, dword [esi + 0x10]
mov ebx, dword [eax + 0x78]
call dword [0xa37360]
lea eax, [esi + 0x28]
push 0
push eax
push edi
push ebx
push dword [esi]
call ecx
test eax, eax
setne al
mov dword [esi + 0x24], eax
je 0x705859
nop
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 0x9c]
mov byte [eax], 1
jmp 0x705c83
nop
mov edx, dword [esi + 0x10]
or byte [edx + 0xc], 0x20
lea eax, [edx + 0x24c]
cmp dword [edx + 0x260], 0x10
mov dword [esi + 8], eax
jb 0x705879
mov eax, dword [edx + 0x24c]
mov dword [edx + 0x25c], 0
mov byte [eax], 0
lea eax, [esi + 0x30]
mov dword [esi + 4], eax
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0xf
mov byte [esi + 0x30], 0
movzx eax, byte [0xa4cae0]
cmp al, 0xbf
je 0x70596d
xor ecx, ecx
nop
mov al, 0xe9
lock cmpxchg byte [0xa4cae0], cl
je 0x7058c5
cmp al, 0xbf
jne 0x7058b0
jmp 0x70596d
mov ecx, 0xffffffd0
lea ebx, [0x54492c08]
mov eax, 0xac544ec2
lea edx, [0x54492c09]
mov dword [esi + 0xc], edx
mov edi, 0xac544ec1
nop word cs:[eax + eax]
nop
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], eax
mov dword [esi], ebx
mov edx, 0x2fa0be83
mul edx
mov ebx, edx
mov eax, edi
mov edx, 0x2fa0be83
mul edx
shr edx, 3
imul eax, edx, 0x2b
movzx edx, byte [ecx + 0xa4cae0]
mov edi, dword [esi + 0xc]
xor dl, byte [edi + eax]
shr ebx, 3
imul eax, ebx, 0x2b
xor dl, 0xe2
mov byte [ecx + 0xa4cae0], dl
movzx edx, byte [ecx + 0xa4cae1]
mov ebx, dword [esi]
xor dl, byte [ebx + eax]
mov ebx, dword [esi]
xor dl, 0xe2
mov byte [ecx + 0xa4cae1], dl
mov eax, dword [esi + 0x1c]
add ebx, 0xfffffffe
add eax, 2
add edi, 0xfffffffe
mov dword [esi + 0xc], edi
mov edi, dword [esi + 0x18]
add edi, 2
add ecx, 2
jne 0x7058f0
mov al, 0xbf
xchg byte [0xa4cae0], al
mov dword [esi + 0x60], 0xffffffff
nop
mov dword [esi + 0x60], 0xffffffff
sub esp, 0xc
movzx eax, byte [esi + 0x14]
mov byte [esp + 4], al
mov dword [esp + 8], 0xa4cab0
mov dword [esp], 0x2f
lea ecx, [esi + 0x30]
call fcn.006704d0
mov dword [esi + 0x2c], 0x954b60
mov eax, dword [esi + 0x40]
mov dword [esi], eax
cmp dword [esi + 0x44], 0x10
jb 0x7059af
mov eax, dword [esi + 0x30]
mov dword [esi + 4], eax
mov eax, dword [esi + 0x10]
mov ebx, dword [eax + 0x25c]
mov ecx, dword [eax + 0x260]
mov edx, ecx
sub edx, ebx
mov edi, dword [esi]
cmp edx, edi
jae 0x7059f6
nop
mov dword [esi + 0x60], 2
sub esp, 0x10
movzx ecx, byte [esi + 0x14]
mov byte [esp + 4], cl
mov dword [esp + 0xc], edi
mov eax, dword [esi + 4]
mov dword [esp + 8], eax
mov dword [esp], edi
mov ecx, dword [esi + 8]
call fcn.00671270
jmp 0x705c4d
add edi, ebx
mov dword [esi + 0xc], edi
mov dword [eax + 0x25c], edi
cmp ecx, 0x10
jb 0x705a0f
mov ecx, dword [eax + 0x24c]
mov dword [esi + 8], ecx
mov ecx, dword [esi + 8]
mov dword [esi + 0x18], ebx
lea edi, [ecx + ebx]
mov edx, edi
sub edx, dword [esi + 4]
jae 0x705a3e
mov eax, dword [esi]
test eax, eax
je 0x705c43
xor ebx, ebx
cmp eax, 8
jae 0x705afa
mov eax, dword [esi + 4]
mov ecx, dword [esi]
jmp 0x705b6b
mov ebx, dword [esi]
test ebx, ebx
je 0x705c43
cmp ebx, 4
jb 0x705bd6
mov ecx, dword [esi + 4]
sub ecx, edi
cmp ecx, 0x10
jb 0x705bd6
xor edi, edi
cmp ebx, 0x10
jb 0x705aaa
mov edi, ebx
and edi, 0xfffffff0
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0xc]
add ecx, eax
add ecx, 0xfffffff0
mov eax, dword [esi + 4]
lea edx, [ebx + eax]
add edx, 0xfffffff0
mov eax, ecx
mov ebx, edi
neg ebx
xor ecx, ecx
nop
movups xmm0, xmmword [edx + ecx]
movups xmmword [eax + ecx], xmm0
add ecx, 0xfffffff0
cmp ebx, ecx
jne 0x705a87
mov ebx, dword [esi]
cmp ebx, edi
je 0x705c43
test bl, 0xc
je 0x705bd3
mov edx, ebx
and edx, 0xfffffffc
and ebx, 3
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0xc]
add eax, ecx
add eax, 0xfffffffc
mov dword [esi + 0x20], eax
neg edi
mov dword [esi + 0x10], edx
mov ecx, edx
neg ecx
mov eax, dword [esi + 4]
mov edx, dword [esi]
add eax, edx
add eax, 0xfffffffc
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x20]
nop
mov edx, dword [esi + 0x1c]
mov edx, dword [edx + edi]
mov dword [eax + edi], edx
add edi, 0xfffffffc
cmp ecx, edi
jne 0x705ad9
mov eax, dword [esi + 0x10]
cmp dword [esi], eax
jne 0x705bd6
jmp 0x705c43
cmp edx, 0x20
mov eax, dword [esi + 4]
mov ecx, dword [esi]
jb 0x705b6b
xor ebx, ebx
cmp ecx, 0x20
jb 0x705b4a
mov ebx, ecx
and ebx, 0xffffffe0
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0x18]
add edx, ecx
add edx, 0x10
mov ecx, ebx
xor ebx, ebx
nop
movups xmm0, xmmword [eax + ebx]
movups xmm1, xmmword [eax + ebx + 0x10]
movups xmmword [edx + ebx - 0x10], xmm0
movups xmmword [edx + ebx], xmm1
add ebx, 0x20
cmp ecx, ebx
jne 0x705b1f
mov ebx, ecx
mov ecx, dword [esi]
cmp ecx, ebx
je 0x705c43
test cl, 0x18
je 0x705b6b
mov edx, ebx
mov ebx, ecx
and ebx, 0xfffffff8
nop
movsd xmm0, qword [eax + edx]
movsd qword [edi + edx], xmm0
add edx, 8
cmp ebx, edx
jne 0x705b51
cmp ecx, ebx
je 0x705c43
mov edx, ecx
mov dword [esi + 0x1c], ebx
and edx, 3
je 0x705b8c
mov ebx, dword [esi + 0x1c]
nop dword [eax + eax]
nop
movzx ecx, byte [eax + ebx]
mov byte [edi + ebx], cl
inc ebx
dec edx
jne 0x705b80
mov edi, dword [esi]
mov ecx, dword [esi + 0x1c]
sub ecx, edi
cmp ecx, 0xfffffffc
ja 0x705c43
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0x18]
add ecx, edx
add ecx, 3
nop
movzx edx, byte [eax + ebx]
mov byte [ecx + ebx - 3], dl
movzx edx, byte [eax + ebx + 1]
mov byte [ecx + ebx - 2], dl
movzx edx, byte [eax + ebx + 2]
mov byte [ecx + ebx - 1], dl
movzx edx, byte [eax + ebx + 3]
mov byte [ecx + ebx], dl
add ebx, 4
cmp edi, ebx
jne 0x705ba7
jmp 0x705c43
and ebx, 0xf
lea eax, [ebx - 1]
mov dword [esi], eax
mov ecx, ebx
and ecx, 3
je 0x705c03
mov eax, dword [esi + 8]
mov edx, dword [esi + 0x18]
add edx, eax
dec edx
mov edi, dword [esi + 4]
nop
nop
movzx eax, byte [edi + ebx - 1]
mov byte [edx + ebx], al
lea eax, [ebx - 1]
dec ecx
mov ebx, eax
jne 0x705bf0
jmp 0x705c08
mov eax, ebx
mov edi, dword [esi + 4]
cmp dword [esi], 3
jb 0x705c43
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0x18]
add ecx, edx
dec ecx
mov edx, eax
nop
movzx ebx, byte [edi + eax - 1]
mov byte [ecx + eax], bl
movzx ebx, byte [edi + eax - 2]
mov byte [ecx + eax - 1], bl
movzx ebx, byte [edi + eax - 3]
mov byte [ecx + eax - 2], bl
movzx ebx, byte [edi + eax - 4]
mov byte [ecx + eax - 3], bl
add edx, 0xfffffffc
mov eax, edx
jne 0x705c18
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov byte [eax + ecx], 0
mov eax, dword [esi + 0x44]
cmp eax, 0x10
jb 0x705c83
nop
mov ecx, dword [esi + 0x30]
lea edx, [eax + 1]
cmp edx, 0x1000
jb 0x705c79
nop
mov edi, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edi
cmp ecx, 0x20
jae 0x705c9a
add eax, 0x24
mov edx, eax
mov ecx, edi
push edx
push ecx
call fcn.0091d82d
add esp, 8
nop
mov eax, dword [esi + 0x24]
nop
mov ecx, dword [esi + 0x58]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
nop
mov dword [esi + 0x60], 1
call fcn.00900ce1
nop word [eax + eax]
push ebp
sub esp, 0x14
lea esi, [ebp - 0x64]
mov ebp, dword [esi + 0x50]
call fcn.009350a0
nop
push ebp
sub esp, 0x14
lea esi, [ebp - 0x64]
mov ebp, dword [esi + 0x50]
lea ecx, [esi + 0x2c]
call fcn.006575f0
add esp, 0x14
pop ebp
ret