Function at 0x100499a0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
movaps xmm0, xmmword [0x1025ccb0]
xor ecx, ecx
movups xmmword [esp], xmm0
mov word [esp + 0x10], 0x7d
mov byte [esp + 0x12], 1
nop dword [eax]
mov al, cl
add al, 0x2e
xor byte [esp + ecx], al
inc ecx
cmp ecx, 0x11
jb 0x100499c0
lea edx, [esp]
mov byte [esp + 0x12], 0
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x100499d8
push ebx
mov ebx, dword [esp + 0x3c]
lea eax, [esp + 4]
push ebp
mov ebp, dword [esp + 0x44]
sub edx, ecx
push edi
mov edi, dword [esp + 0x34]
lea ecx, [esp + 0x34]
push edx
cmp ebp, 0x10
mov edx, ebx
push eax
cmovae ecx, edi
call fcn.100183c0
add esp, 8
test al, al
jne 0x10049c6c
movaps xmm0, xmmword [0x1025ba00]
xor ecx, ecx
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x1c], 0x1007c61
mov al, cl
add al, 0x2e
xor byte [esp + ecx + 0xc], al
inc ecx
cmp ecx, 0x12
jb 0x10049a28
lea edx, [esp + 0xc]
mov byte [esp + 0x1f], 0
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x10049a42
sub edx, ecx
lea eax, [esp + 0xc]
push edx
cmp ebp, 0x10
lea ecx, [esp + 0x38]
push eax
cmovae ecx, edi
mov edx, ebx
call fcn.100183c0
add esp, 8
test al, al
jne 0x10049c6c
movaps xmm0, xmmword [0x1025ba30]
xor ecx, ecx
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x1c], 0x1007c61
mov al, cl
add al, 0x2e
xor byte [esp + ecx + 0xc], al
inc ecx
cmp ecx, 0x12
jb 0x10049a83
lea edx, [esp + 0xc]
mov byte [esp + 0x1f], 0
lea ecx, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x10049aa0
sub edx, ecx
lea eax, [esp + 0xc]
push edx
cmp ebp, 0x10
lea ecx, [esp + 0x38]
push eax
cmovae ecx, edi
mov edx, ebx
call fcn.100183c0
add esp, 8
test al, al
jne 0x10049c6c
movaps xmm0, xmmword [0x1025cbe0]
xor ecx, ecx
movups xmmword [esp + 0xc], xmm0
mov word [esp + 0x1c], 0x7d
mov byte [esp + 0x1e], 1
mov al, cl
add al, 0x2e
xor byte [esp + ecx + 0xc], al
inc ecx
cmp ecx, 0x11
jb 0x10049ae5
lea edx, [esp + 0xc]
mov byte [esp + 0x1e], 0
lea ecx, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x10049b00
sub edx, ecx
lea eax, [esp + 0xc]
push edx
cmp ebp, 0x10
lea ecx, [esp + 0x38]
push eax
cmovae ecx, edi
mov edx, ebx
call fcn.100183c0
add esp, 8
test al, al
jne 0x10049c6c
movaps xmm0, xmmword [0x1025cac0]
xor ecx, ecx
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x1c], 0x1e265971
mov word [esp + 0x20], 1
mov byte [esp + 0x22], 1
nop dword [eax]
mov al, cl
add al, 0x2e
xor byte [esp + ecx + 0xc], al
inc ecx
cmp ecx, 0x15
jb 0x10049b50
lea edx, [esp + 0xc]
mov byte [esp + 0x22], 0
lea ecx, [edx + 1]
nop word [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x10049b70
sub edx, ecx
lea eax, [esp + 0xc]
push edx
cmp ebp, 0x10
lea ecx, [esp + 0x38]
push eax
cmovae ecx, edi
mov edx, ebx
call fcn.100183c0
add esp, 8
test al, al
jne 0x10049c6c
movaps xmm0, xmmword [0x1025cc10]
xor ecx, ecx
movups xmmword [esp + 0xc], xmm0
mov word [esp + 0x1c], 0x7d
mov byte [esp + 0x1e], 1
mov al, cl
add al, 0x2e
xor byte [esp + ecx + 0xc], al
inc ecx
cmp ecx, 0x11
jb 0x10049bb5
lea edx, [esp + 0xc]
mov byte [esp + 0x1e], 0
lea ecx, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x10049bd0
sub edx, ecx
lea eax, [esp + 0xc]
push edx
cmp ebp, 0x10
lea ecx, [esp + 0x38]
push eax
cmovae ecx, edi
mov edx, ebx
call fcn.100183c0
add esp, 8
test al, al
jne 0x10049c6c
movaps xmm0, xmmword [0x1025bb10]
xor ecx, ecx
movups xmmword [esp + 0xc], xmm0
mov word [esp + 0x2c], 0x3b
movaps xmm0, xmmword [0x1025bc50]
movups xmmword [esp + 0x1c], xmm0
mov byte [esp + 0x2e], 1
mov al, cl
add al, 0x58
xor byte [esp + ecx + 0xc], al
inc ecx
cmp ecx, 0x21
jb 0x10049c21
push esi
lea esi, [esp + 0x10]
mov byte [esp + 0x32], 0
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x10049c40
sub esi, ecx
lea eax, [esp + 0x10]
cmp ebp, 0x10
lea ecx, [esp + 0x38]
push esi
cmovae ecx, edi
mov edx, ebx
push eax
call fcn.100183c0
add esp, 8
pop esi
test al, al
jne 0x10049c6c
xor bl, bl
jmp 0x10049c6e
mov bl, 1
cmp ebp, 0x10
jb 0x10049ca0
lea ecx, [ebp + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x10049c96
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10049c96
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 ebp
mov al, bl
pop ebx
add esp, 0x24
ret