Function at 0x10024c70
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 0x100cc5e9
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x100
mov eax, dword [0x100ff230]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebx + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x58], 0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
cmp dword [ebx + 0x10], 0x20c
mov dword [ebp - 4], 0
mov dword [ebp - 0x58], 1
ja 0x10024dbd
mov ecx, dword [ebx + 0xc]
xor edx, edx
mov dword [ebp - 0x48], edx
mov al, byte [ecx + 0xc]
test al, al
je 0x10024ead
mov esi, ecx
movzx eax, al
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x10024d6a
add esi, 0xd
mov dword [ebp - 0x50], eax
mov al, byte [esi]
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
mov byte [ebp - 0x4c], al
cmp ecx, edx
jae 0x10024d4e
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x10024d41
mov eax, dword [edi]
add eax, ecx
mov cl, byte [ebp - 0x4c]
mov byte [eax + 1], 0
mov byte [eax], cl
jmp 0x10024d5d
push dword [ebp - 0x4c]
mov ecx, edi
push dword [ebp - 0x54]
push 1
call fcn.10009360
inc esi
sub dword [ebp - 0x50], 1
jne 0x10024d23
mov eax, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x48]
mov esi, dword [ebx + 0xc]
inc edx
add edx, eax
add esi, edx
mov dword [ebp - 0x48], edx
cmp byte [esi + 0xc], 0
je 0x10024dad
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
cmp ecx, edx
jae 0x10024d9c
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x10024d94
mov eax, dword [edi]
mov word [eax + ecx], 0x2e
jmp 0x10024daa
push 0x2e
push dword [ebp - 0x54]
mov ecx, edi
push 1
call fcn.10009360
mov edx, dword [ebp - 0x48]
mov al, byte [esi + 0xc]
test al, al
jne 0x10024d13
jmp 0x10024ead
push ecx
lea ecx, [ebp - 0x110]
call fcn.100045c0
mov edx, str._TID:
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x100]
call fcn.10006770
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov ecx, esi
call fcn.1001e810
mov edx, 0x100e746c
mov ecx, eax
call fcn.10006770
movaps xmm0, xmmword [0x100ead30]
mov esi, eax
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0x3f733c3c
mov dword [ebp - 0x30], 0x343d3c
mov byte [ebp - 4], 2
xor ecx, ecx
nop dword [eax]
mov al, byte [ebp + ecx - 0x43]
xor al, byte [ebp - 0x44]
mov byte [ebp + ecx - 0x2c], al
inc ecx
cmp ecx, 0x16
jb 0x10024e20
lea edx, [ebp - 0x2c]
mov byte [ebp - 0x16], 0
mov ecx, esi
call fcn.10006770
mov byte [ebp - 4], 1
call fcn.100037a0
mov esi, eax
lea ecx, [ebp - 0x110]
lea eax, [ebp - 0x30]
push eax
call fcn.100044d0
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 0x10
jb 0x10024e65
mov eax, dword [eax]
sub esp, 8
mov ecx, esi
push eax
push 3
call fcn.10003ef0
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x10
jb 0x10024ea2
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10024e98
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10024ecf
push ecx
push edx
call fcn.1009197a
add esp, 8
lea ecx, [ebp - 0x110]
call fcn.10004400
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10091622
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
call fcn.1009d81f
int3