Function at 0x10049210
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
movaps xmm0, xmmword [0x1025b750]
xor ecx, ecx
push ebx
push ebp
push esi
push edi
movups xmmword [esp + 0x14], xmm0
mov byte [esp + 0x24], 1
nop word [eax + eax]
mov al, cl
add al, 0x2e
xor byte [esp + ecx + 0x14], al
inc ecx
cmp ecx, 0xf
jb 0x10049230
lea edx, [esp + 0x14]
mov byte [esp + 0x24], 0
lea ecx, [edx + 1]
nop word [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x10049250
mov ebp, dword [esp + 0x4c]
lea eax, [esp + 0x14]
mov edi, dword [esp + 0x38]
sub edx, ecx
mov ebx, dword [esp + 0x48]
lea ecx, [esp + 0x38]
push edx
cmp ebp, 0x10
mov edx, ebx
push eax
cmovae ecx, edi
call fcn.100183c0
add esp, 8
test al, al
jne 0x1004942b
movaps xmm0, xmmword [0x1025b760]
xor ecx, ecx
movups xmmword [esp + 0x14], xmm0
mov byte [esp + 0x24], 1
nop word [eax + eax]
mov al, cl
add al, 0x2e
xor byte [esp + ecx + 0x14], al
inc ecx
cmp ecx, 0xf
jb 0x100492a0
lea edx, [esp + 0x14]
mov byte [esp + 0x24], 0
lea ecx, [edx + 1]
nop word [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x100492c0
sub edx, ecx
lea eax, [esp + 0x14]
push edx
cmp ebp, 0x10
lea ecx, [esp + 0x3c]
push eax
cmovae ecx, edi
mov edx, ebx
call fcn.100183c0
add esp, 8
test al, al
jne 0x1004942b
movaps xmm0, xmmword [0x1025c7d0]
xor ecx, ecx
movups xmmword [esp + 0x14], xmm0
mov dword [esp + 0x24], 0x36049
mov byte [esp + 0x28], 1
mov al, cl
add al, 0x2e
xor byte [esp + ecx + 0x14], al
inc ecx
cmp ecx, 0x13
jb 0x10049306
lea edx, [esp + 0x14]
mov byte [esp + 0x28], 0
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x10049320
sub edx, ecx
lea eax, [esp + 0x14]
push edx
cmp ebp, 0x10
lea ecx, [esp + 0x3c]
push eax
cmovae ecx, edi
mov edx, ebx
call fcn.100183c0
add esp, 8
test al, al
jne 0x1004942b
mov dword [esp + 0x14], 0x7e6f7f6c
xor ecx, ecx
mov dword [esp + 0x18], 0x47515b46
mov dword [esp + 0x1c], 0xa7f7a69
mov dword [esp + 0x20], 0x1007865
nop dword [eax]
mov al, cl
add al, 0x2e
xor byte [esp + ecx + 0x14], al
inc ecx
cmp ecx, 0xe
jb 0x10049370
lea edx, [esp + 0x14]
mov byte [esp + 0x23], 0
lea ecx, [edx + 1]
nop word [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x10049390
sub edx, ecx
lea eax, [esp + 0x14]
push edx
cmp ebp, 0x10
lea ecx, [esp + 0x3c]
push eax
cmovae ecx, edi
mov edx, ebx
call fcn.100183c0
add esp, 8
test al, al
jne 0x1004942b
movaps xmm0, xmmword [0x1025cae0]
xor ecx, ecx
movups xmmword [esp + 0x14], xmm0
mov dword [esp + 0x24], 0x437507c
mov dword [esp + 0x28], 0x71c03
mov byte [esp + 0x2c], 1
nop word [eax + eax]
mov al, cl
add al, 0x2e
xor byte [esp + ecx + 0x14], al
inc ecx
cmp ecx, 0x17
jb 0x100493e0
lea esi, [esp + 0x14]
mov byte [esp + 0x2c], 0
lea ecx, [esi + 1]
nop word [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x10049400
sub esi, ecx
lea eax, [esp + 0x14]
cmp ebp, 0x10
lea ecx, [esp + 0x38]
push esi
cmovae ecx, edi
mov edx, ebx
push eax
call fcn.100183c0
add esp, 8
test al, al
jne 0x1004942b
xor bl, bl
jmp 0x1004942d
mov bl, 1
cmp ebp, 0x10
jb 0x1004945f
lea ecx, [ebp + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x10049455
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10049455
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.100e876a
add esp, 8
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0x24
ret