Function at 0x10032ff0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10314a50
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x1043900c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp + 8]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10033028
sub ecx, esi
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
lea eax, [edx + ecx]
cmp edx, eax
jne 0x1003305f
xor edx, edx
mov esi, 0xf
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], esi
mov byte [ebp - 0x28], dl
jmp 0x1003306f
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.1001a920
mov esi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
cmp esi, 0x10
mov edi, dword [0x1060b618]
cmovae eax, ecx
mov dword [ebp - 0x80], edi
add eax, edx
lea edx, [ebp - 0x28]
push ecx
cmp esi, 0x10
push eax
cmovae edx, ecx
lea ecx, [ebp - 0x5c]
push edx
call fcn.10019d20
mov byte [ebp - 4], 1
mov esi, dword [0x10492f20]
mov edx, dword [0x10492f24]
shld edx, esi, 0xd
xor edx, dword [0x10492f24]
shl esi, 0xd
mov ecx, edx
xor esi, dword [0x10492f20]
mov eax, esi
shrd eax, ecx, 7
xor esi, eax
shr ecx, 7
xor edx, ecx
mov eax, esi
mov ecx, edx
shld ecx, eax, 0x11
shl eax, 0x11
xor ecx, edx
xor eax, esi
mov dword [0x10492f24], ecx
mov esi, dword [ebp - 0x5c]
mov edx, 0
mov dword [0x10492f20], eax
mov dword [ebp - 0x88], eax
mov eax, dword [edi + 4]
sub eax, dword [edi]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x58]
mov edi, eax
mov dword [ebp - 0x84], ecx
sub edi, esi
je 0x1003312e
mov eax, edx
and eax, 7
mov al, byte [ebp + eax - 0x88]
xor byte [esi + edx], al
inc edx
cmp edx, edi
jae 0x1003312b
mov esi, dword [ebp - 0x5c]
jmp 0x10033112
mov eax, dword [ebp - 0x58]
push 8
lea ecx, [ebp - 0x88]
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.1006fc50
mov eax, dword [ebp - 0x58]
mov ecx, 8
mov esi, dword [ebp - 0x5c]
xorps xmm0, xmm0
sub eax, esi
movlpd qword [ebp - 0x6c], xmm0
cmp dword [ebp - 0x7c], ecx
mov edi, dword [ebp - 0x6c]
cmovb ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x74], eax
xor eax, eax
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x48], eax
test ecx, ecx
je 0x100331a8
mov edx, dword [ebp - 0x80]
xor ecx, ecx
mov esi, dword [ebp - 0x68]
mov edx, dword [edx]
mov dword [ebp - 0x50], edx
nop
movzx eax, byte [edx + eax]
shl eax, cl
add ecx, 8
cdq
or edi, eax
or esi, edx
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x48], eax
cmp eax, dword [ebp - 0x64]
jb 0x10033180
mov dword [ebp - 0x48], esi
mov esi, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x48]
jmp 0x100331ab
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x74]
lea edx, [ecx*8]
xor ecx, ecx
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x60], ecx
test edx, edx
je 0x10033299
mov byte [ebp - 0x41], 1
nop dword [eax]
mov esi, eax
mov edx, edi
shld esi, edx, 0xd
push 0
push dword [ebp - 0x64]
xor esi, eax
shl edx, 0xd
xor edx, edi
mov ecx, esi
mov eax, edx
shrd eax, ecx, 7
xor edx, eax
shr ecx, 7
xor esi, ecx
mov edi, edx
mov eax, esi
shld eax, edi, 0x11
xor eax, esi
shl edi, 0x11
xor edi, edx
mov dword [ebp - 0x48], eax
push eax
push edi
mov dword [ebp - 0x68], edi
call fcn.10311ef0
mov ecx, dword [ebp - 0x60]
mov esi, eax
mov dword [ebp - 0x50], esi
cmp ecx, esi
je 0x1003327e
mov ah, byte [ebp - 0x41]
mov edi, ecx
shr edi, 3
mov ecx, esi
add edi, dword [ebp - 0x4c]
and ecx, 7
mov dword [ebp - 0x50], ecx
mov al, 1
shl al, cl
mov ecx, dword [ebp - 0x4c]
and ah, byte [edi]
shr esi, 3
mov byte [ebp - 0x43], al
mov byte [ebp - 0x42], ah
and al, byte [ecx + esi]
mov ecx, dword [ebp - 0x60]
mov al, ah
seta dl
xor al, byte [edi]
and ecx, 7
shl dl, cl
mov ecx, dword [ebp - 0x50]
or dl, al
test ah, ah
mov byte [edi], dl
mov edx, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x68]
seta al
shl al, cl
mov cl, byte [ebp - 0x43]
not cl
and cl, byte [edx + esi]
or al, cl
mov ecx, dword [ebp - 0x60]
mov byte [edx + esi], al
mov esi, dword [ebp - 0x5c]
mov dword [ebp - 0x4c], esi
jmp 0x10033281
mov esi, dword [ebp - 0x4c]
mov al, byte [ebp - 0x41]
inc ecx
rol al, 1
mov byte [ebp - 0x41], al
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x60], ecx
cmp ecx, dword [ebp - 0x64]
jb 0x100331d0
xor edi, edi
cmp dword [ebp - 0x74], edi
jbe 0x100332bd
xor edx, edx
mov eax, edi
div dword [ebp - 0x7c]
mov eax, dword [ebp - 0x80]
add edx, dword [eax]
mov cl, byte [edx]
xor cl, byte [esi + edi]
mov byte [esi + edi], cl
inc edi
mov esi, dword [ebp - 0x5c]
cmp edi, dword [ebp - 0x74]
jb 0x100332a0
mov edi, dword [ebp - 0x54]
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], edi
push ecx
push eax
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.1006c550
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x68], eax
cmp edx, eax
je 0x10033331
mov ecx, edx
call fcn.10019dd0
mov eax, dword [ebp - 0x68]
mov edx, dword [ebp - 0x78]
movups xmm0, xmmword [eax]
movups xmmword [edx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [edx + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x10033367
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003335d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003335d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.102bb95a
add esp, 8
test esi, esi
je 0x10033391
sub edi, esi
mov eax, esi
cmp edi, 0x1000
jb 0x10033387
mov esi, dword [eax - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100333b7
push edi
push esi
call fcn.102bb95a
add esp, 8
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x100333c7
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100333bd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100333bd
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.102bb95a
add esp, 8
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.102bb91c
mov esp, ebp
pop ebp
ret 4