Function at 0x10024e30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009df3d
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x100b7040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x43]
xorps xmm0, xmm0
mov word [ebp - 0x44], 0x36
mov byte [ebp - 0x43], 0
lea edx, [ecx + 1]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10024e84
sub ecx, edx
lea eax, [ebp - 0x43]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10002540
mov eax, dword [ebp + 0xc]
add eax, 0xfffffffd
mov dword [ebp - 4], 0
cmp eax, 9
ja case.default.0x10024eb0
jmp dword [eax*4 + 0x10025384]
movaps xmm0, xmmword [0x100af0f0]
xor ecx, ecx
push 6
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x7b776b
nop dword [eax]
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x12
jb 0x10024ed0
sub esp, 0x18
mov byte [ebp - 0x29], 0
mov edx, esp
lea ecx, [ebp - 0x3b]
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10024f00
sub ecx, esi
lea eax, [ebp - 0x3b]
push ecx
push eax
mov ecx, edx
call fcn.10002540
lea eax, [ebp - 0x5c]
push eax
call fcn.1000ae50
add esp, 0x20
lea ecx, [ebp - 0x28]
push eax
call fcn.10005c60
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x100252ab
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100252a1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002537e
jmp 0x100252a1
movaps xmm0, xmmword [str.3fzoV_lTARWVl]
xor ecx, ecx
push 7
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x474b57
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x12
jb 0x10024f77
sub esp, 0x18
mov byte [ebp - 0x29], 0
mov edx, esp
lea ecx, [ebp - 0x3b]
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10024fa7
jmp 0x10024f07
movaps xmm0, xmmword [0x100af450]
xor ecx, ecx
push 8
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x616d71
nop dword [eax]
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x12
jb 0x10024fd0
sub esp, 0x18
mov byte [ebp - 0x29], 0
mov edx, esp
lea ecx, [ebp - 0x3b]
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10025000
jmp 0x10024f07
movaps xmm0, xmmword [0x100aecd0]
xor ecx, ecx
push 9
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x5e524e
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x12
jb 0x10025022
sub esp, 0x18
mov byte [ebp - 0x29], 0
mov edx, esp
lea ecx, [ebp - 0x3b]
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10025052
jmp 0x10024f07
movaps xmm0, xmmword [0x100afb40]
xor ecx, ecx
push 0xa
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x333f23
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x12
jb 0x10025074
sub esp, 0x18
mov byte [ebp - 0x29], 0
mov edx, esp
lea ecx, [ebp - 0x3b]
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100250a4
jmp 0x10024f07
movaps xmm0, xmmword [0x100af420]
xor ecx, ecx
push 0xb
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x606c70
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x12
jb 0x100250c6
sub esp, 0x18
mov byte [ebp - 0x29], 0
mov edx, esp
lea ecx, [ebp - 0x3b]
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100250f6
jmp 0x10024f07
movaps xmm0, xmmword [0x100afbb0]
xor ecx, ecx
push 0xc
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x313d21
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x12
jb 0x10025118
sub esp, 0x18
mov byte [ebp - 0x29], 0
mov edx, esp
lea ecx, [ebp - 0x3b]
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10025148
jmp 0x10024f07
movaps xmm0, xmmword [0x100aee10]
xor ecx, ecx
push 0xd
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x575b47
nop word [eax + eax]
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x12
jb 0x10025170
sub esp, 0x18
mov byte [ebp - 0x29], 0
mov edx, esp
lea ecx, [ebp - 0x3b]
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100251a0
jmp 0x10024f07
movaps xmm0, xmmword [0x100af220]
xor ecx, ecx
push 0xe
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x737f63
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x12
jb 0x100251c2
sub esp, 0x18
mov byte [ebp - 0x29], 0
mov edx, esp
lea ecx, [ebp - 0x3b]
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100251f2
jmp 0x10024f07
movaps xmm0, xmmword [0x100af900]
xor ecx, ecx
push 0xf
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0xc10
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x12
jb 0x10025214
sub esp, 0x18
mov byte [ebp - 0x29], 0
mov edx, esp
lea ecx, [ebp - 0x3b]
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10025244
jmp 0x10024f07
movaps xmm0, xmmword [0x100af0e0]
xor ecx, ecx
push esi
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x7b776b
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x12
jb 0x10025265
sub esp, 0x18
mov byte [ebp - 0x29], 0
mov edx, esp
lea ecx, [ebp - 0x3b]
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10025295
jmp 0x10024f07
push ecx
push edx
call fcn.1007fa46
add esp, 8
mov eax, dword [edi]
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x40], eax
test eax, eax
je 0x10025332
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10025332
cmp dword [ebp - 0x14], 0xf
lea ecx, [ebp - 0x28]
cmova ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100252d1
sub ecx, edx
mov dword [ebp - 0x44], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.1007fa59
push esi
mov edi, eax
push 0
push edi
call fcn.10081b50
cmp dword [ebp - 0x14], 0xf
lea edx, [ebp - 0x28]
push dword [ebp - 0x44]
cmova edx, dword [ebp - 0x28]
lea esi, [edi + 0x20]
push edx
push esi
call fcn.100815d0
mov eax, dword [ebp - 0x44]
add esp, 0x1c
mov ecx, dword [ebp - 0x40]
mov dword [edi + 4], esi
mov dword [edi + 0x14], eax
push edi
mov dword [edi + 0x18], 0x1f
call dword [0x100ae584]
push edi
call fcn.1007fa54
mov esi, dword [ebp - 0x28]
add esp, 4
mov eax, dword [ebp - 0x14]
cmp eax, 0xf
jbe 0x10025361
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x10025357
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002537e
push ecx
push esi
call fcn.1007fa46
add esp, 8
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.1007f9e5
mov esp, ebp
pop ebp
ret 8
call fcn.10084bdf
nop
mov bh, 0x4e
add dl, byte [eax]
popal
dec edi
add dl, byte [eax]
mov bl, 0x4f
add dl, byte [eax]
or al, 0x50
add dl, byte [eax]
pop esi
push eax
add dl, byte [eax]
mov al, 0x50
add dl, byte [eax]
add dl, byte [ecx + 2]
adc byte [ecx + edx*2 + 2], dl
adc byte [ecx + edx*2 + 0x51fe1002], ch
add dl, byte [eax]
int3