Function at 0x70f040
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7f5118
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x68
push esi
push edi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ecx
lea eax, [ebx + 8]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x48]
call fcn.00757180
xor esi, esi
cmp dword [ebp - 0x38], esi
jbe 0x70f1b4
mov edx, dword [ebp - 0x48]
nop dword [eax + eax]
cmp dword [ebp - 0x34], 0x10
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x48]
cmovae eax, edx
xor byte [eax + esi], 0x36
lea eax, [ebp - 0x48]
cmp dword [ebp - 0x34], 0x10
mov edx, dword [ebp - 0x48]
cmovae ecx, edx
setae byte [ebp - 0x11]
cmp byte [ecx + esi], 0
jne 0x70f0d8
cmp byte [ebp - 0x11], 0
cmovne eax, edx
mov byte [eax + esi], 0x55
jmp 0x70f1a7
mov cl, byte [ebp - 0x11]
test cl, cl
cmovne eax, edx
cmp byte [eax + esi], 0x55
lea eax, [ebp - 0x48]
jne 0x70f0f7
test cl, cl
cmovne eax, edx
mov byte [eax + esi], 0xff
jmp 0x70f1a7
test cl, cl
cmovne eax, edx
cmp byte [eax + esi], 0xff
lea eax, [ebp - 0x48]
jne 0x70f113
test cl, cl
cmovne eax, edx
mov byte [eax + esi], 0xfd
jmp 0x70f1a7
test cl, cl
cmovne eax, edx
cmp byte [eax + esi], 0xfd
lea eax, [ebp - 0x48]
jne 0x70f12c
test cl, cl
cmovne eax, edx
mov byte [eax + esi], 0xde
jmp 0x70f1a7
test cl, cl
cmovne eax, edx
cmp byte [eax + esi], 0xde
lea eax, [ebp - 0x48]
jne 0x70f145
test cl, cl
cmovne eax, edx
mov byte [eax + esi], 5
jmp 0x70f1a7
test cl, cl
cmovne eax, edx
cmp byte [eax + esi], 5
lea eax, [ebp - 0x48]
jne 0x70f15e
test cl, cl
cmovne eax, edx
mov byte [eax + esi], 1
jmp 0x70f1a7
test cl, cl
cmovne eax, edx
cmp byte [eax + esi], 1
lea eax, [ebp - 0x48]
jne 0x70f177
test cl, cl
cmovne eax, edx
mov byte [eax + esi], 0xa
jmp 0x70f1a7
test cl, cl
cmovne eax, edx
cmp byte [eax + esi], 0xa
lea eax, [ebp - 0x48]
jne 0x70f190
test cl, cl
cmovne eax, edx
mov byte [eax + esi], 0x80
jmp 0x70f1a7
test cl, cl
cmovne eax, edx
cmp byte [eax + esi], 0x80
jne 0x70f1aa
test cl, cl
lea eax, [ebp - 0x48]
cmovne eax, edx
mov byte [eax + esi], 0
mov edx, dword [ebp - 0x48]
inc esi
cmp esi, dword [ebp - 0x38]
jb 0x70f0a0
movups xmm0, xmmword [ebp - 0x48]
lea eax, [ebp - 0x78]
mov byte [ebp - 0x48], 0
push eax
movups xmmword [ebp - 0x78], xmm0
lea ecx, [ebx + 8]
movq xmm0, qword [ebp - 0x38]
movq qword [ebp - 0x68], xmm0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
call fcn.00757000
mov ecx, dword [ebp - 0x64]
cmp ecx, 0x10
jb 0x70f218
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x70f20e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x70f42b
push ecx
push edx
call fcn.007ce431
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
push 0
push 0x1364
mov byte [ebp - 4], 1
call fcn.006f8960
add eax, dword [ebx + 0x18]
add esp, 8
mov ecx, dword [ebp - 0x50]
cmp eax, ecx
ja 0x70f262
cmp dword [ebp - 0x4c], 0x10
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x50], eax
cmovae ecx, dword [ebp - 0x60]
mov byte [ecx + eax], 0
jmp 0x70f26f
sub eax, ecx
lea ecx, [ebp - 0x60]
push 0
push eax
call fcn.00759a40
cmp dword [ebp - 0x4c], 0x10
lea eax, [ebp - 0x60]
push 0
cmovae eax, dword [ebp - 0x60]
lea esi, [ebp - 0x60]
push 0x136c
mov dword [eax], 0xabbadaad
cmp dword [ebp - 0x4c], 0x10
mov edi, dword [ebx + 0x18]
cmovae esi, dword [ebp - 0x60]
call fcn.006f8960
push 0
push 0x1368
mov dword [eax + esi], edi
lea esi, [ebp - 0x60]
cmp dword [ebp - 0x4c], 0x10
cmovae esi, dword [ebp - 0x60]
call fcn.006f8960
mov ecx, dword [ebp - 0x18]
add esp, 0x10
mov dword [eax + esi], ecx
mov ecx, dword [ebx + 0x18]
test ecx, ecx
je 0x70f2f6
cmp dword [ebx + 0x1c], 0x10
lea eax, [ebx + 8]
push ecx
cmovae eax, dword [ebx + 8]
lea esi, [ebp - 0x60]
cmp dword [ebp - 0x4c], 0x10
push eax
cmovae esi, dword [ebp - 0x60]
push 0
push 0x1364
call fcn.006f8960
add esp, 8
add eax, esi
push eax
call fcn.007cfe90
add esp, 0xc
push 0
push 0x1370
call fcn.006f8960
mov ecx, dword [ebp - 0x50]
mov esi, eax
add esp, 8
cmp esi, ecx
jae 0x70f397
mov edi, dword [0x7fd0d8]
nop dword [eax + eax]
cmp dword [ebp - 0x4c], 0x10
lea eax, [ebp - 0x60]
mov dword [ebp - 0x18], 0
cmovae eax, dword [ebp - 0x60]
sub ecx, esi
add eax, esi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x2d], 0xcddccfcc
mov dword [ebp - 0x29], 0xc5cefa
mov byte [ebp - 0x25], 1
lea ecx, [eax - 0x65]
xor byte [ebp + eax - 0x2d], cl
inc eax
cmp eax, 7
jb 0x70f350
push 0x811c10
mov byte [ebp - 0x25], 0
call dword [0x7fd064]
lea ecx, [ebp - 0x2d]
push ecx
push eax
call edi
push 0
push 0
push 0
lea ecx, [ebp - 0x18]
push ecx
push 1
lea ecx, [ebp - 0x24]
push ecx
push dword [ebp - 0x1c]
call eax
cmp eax, 0xffffffff
je 0x70f405
add esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x50]
cmp esi, ecx
jb 0x70f320
mov byte [ebp - 0x11], 1
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0x10
jb 0x70f3cb
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x70f3c1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x70f430
push ecx
push edx
call fcn.007ce431
add esp, 8
mov ecx, dword [ebx + 0x1c]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
cmp ecx, 0x10
jb 0x70f415
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x70f40b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x70f430
jmp 0x70f40b
mov byte [ebp - 0x11], 0
jmp 0x70f39b
push ecx
push edx
call fcn.007ce431
add esp, 8
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0x11]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.007d36d0
call fcn.007d36d0
int3