Function at 0x10024940
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009d63d
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x100b7080]
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], 0xb
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 0x10024994
sub ecx, edx
lea eax, [ebp - 0x43]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10002570
mov eax, dword [ebp + 0xc]
add eax, 0xfffffffd
mov dword [ebp - 4], 0
cmp eax, 9
ja case.default.0x100249c0
jmp dword [eax*4 + 0x10024e94]
movaps xmm0, xmmword [0x100af330]
xor ecx, ecx
push 6
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x6d617d
nop dword [eax]
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x12
jb 0x100249e0
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 0x10024a10
sub ecx, esi
lea eax, [ebp - 0x3b]
push ecx
push eax
mov ecx, edx
call fcn.10002570
lea eax, [ebp - 0x5c]
push eax
call fcn.1000a3e0
add esp, 0x20
lea ecx, [ebp - 0x28]
push eax
call fcn.100051c0
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x10024dbb
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10024db1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10024e8e
jmp 0x10024db1
movaps xmm0, xmmword [0x100afa70]
xor ecx, ecx
push 7
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x343824
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x12
jb 0x10024a87
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 0x10024ab7
jmp 0x10024a17
movaps xmm0, xmmword [0x100af3b0]
xor ecx, ecx
push 8
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x676b77
nop dword [eax]
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x12
jb 0x10024ae0
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 0x10024b10
jmp 0x10024a17
movaps xmm0, xmmword [str._uiEL]
xor ecx, ecx
push 9
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x545844
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x12
jb 0x10024b32
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 0x10024b62
jmp 0x10024a17
movaps xmm0, xmmword [0x100af3e0]
xor ecx, ecx
push 0xa
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x1b170b
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x12
jb 0x10024b84
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 0x10024bb4
jmp 0x10024a17
movaps xmm0, xmmword [0x100af980]
xor ecx, ecx
push 0xb
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x3c302c
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x12
jb 0x10024bd6
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 0x10024c06
jmp 0x10024a17
movaps xmm0, xmmword [0x100afa20]
xor ecx, ecx
push 0xc
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x303c20
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x12
jb 0x10024c28
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 0x10024c58
jmp 0x10024a17
movaps xmm0, xmmword [0x100af5a0]
xor ecx, ecx
push 0xd
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x161a06
nop word [eax + eax]
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x12
jb 0x10024c80
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 0x10024cb0
jmp 0x10024a17
movaps xmm0, xmmword [str.bwNGtLYJONt]
xor ecx, ecx
push 0xe
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x5f534f
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x12
jb 0x10024cd2
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 0x10024d02
jmp 0x10024a17
movaps xmm0, xmmword [str.0eylUoWBQTUo]
xor ecx, ecx
push 0xf
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x444854
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x12
jb 0x10024d24
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 0x10024d54
jmp 0x10024a17
movaps xmm0, xmmword [0x100af8c0]
xor ecx, ecx
push esi
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x3b372b
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x12
jb 0x10024d75
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 0x10024da5
jmp 0x10024a17
push ecx
push edx
call fcn.100812a6
add esp, 8
mov eax, dword [edi]
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x40], eax
test eax, eax
je 0x10024e42
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10024e42
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 0x10024de1
sub ecx, edx
mov dword [ebp - 0x44], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.100812b9
push esi
mov edi, eax
push 0
push edi
call fcn.100833b0
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.10082e30
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 [0x100ae59c]
push edi
call fcn.100812b4
mov esi, dword [ebp - 0x28]
add esp, 4
mov eax, dword [ebp - 0x14]
cmp eax, 0xf
jbe 0x10024e71
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x10024e67
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10024e8e
push ecx
push esi
call fcn.100812a6
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.10081245
mov esp, ebp
pop ebp
ret 8
call fcn.1008643f
nop
invalid