Function at 0x10049470
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
movaps xmm0, xmmword [0x1025b950]
xor ecx, ecx
movups xmmword [esp], xmm0
mov byte [esp + 0x10], 1
mov al, cl
add al, 0x2e
xor byte [esp + ecx], al
inc ecx
cmp ecx, 0xf
jb 0x10049485
lea edx, [esp]
mov byte [esp + 0x10], 0
lea ecx, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x100494a0
push ebx
mov ebx, dword [esp + 0x2c]
lea eax, [esp + 4]
push ebp
mov ebp, dword [esp + 0x34]
sub edx, ecx
push edi
mov edi, dword [esp + 0x24]
lea ecx, [esp + 0x24]
push edx
cmp ebp, 0x10
mov edx, ebx
push eax
cmovae ecx, edi
call fcn.100183c0
add esp, 8
test al, al
jne 0x1004995c
movaps xmm0, xmmword [0x1025b940]
xor ecx, ecx
movups xmmword [esp + 0xc], xmm0
mov byte [esp + 0x1c], 1
nop dword [eax]
mov al, cl
add al, 0x2e
xor byte [esp + ecx + 0xc], al
inc ecx
cmp ecx, 0xf
jb 0x100494f0
lea edx, [esp + 0xc]
mov byte [esp + 0x1c], 0
lea ecx, [edx + 1]
nop word [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x10049510
sub edx, ecx
lea eax, [esp + 0xc]
push edx
cmp ebp, 0x10
lea ecx, [esp + 0x28]
push eax
cmovae ecx, edi
mov edx, ebx
call fcn.100183c0
add esp, 8
test al, al
jne 0x1004995c
movaps xmm0, xmmword [0x1025b900]
xor ecx, ecx
movups xmmword [esp + 0xc], xmm0
mov byte [esp + 0x1c], 1
nop
mov al, cl
add al, 0x2e
xor byte [esp + ecx + 0xc], al
inc ecx
cmp ecx, 0xf
jb 0x10049550
lea edx, [esp + 0xc]
mov byte [esp + 0x1c], 0
lea ecx, [edx + 1]
nop word [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x10049570
sub edx, ecx
lea eax, [esp + 0xc]
push edx
cmp ebp, 0x10
lea ecx, [esp + 0x28]
push eax
cmovae ecx, edi
mov edx, ebx
call fcn.100183c0
add esp, 8
test al, al
jne 0x1004995c
movaps xmm0, xmmword [0x1025b930]
xor ecx, ecx
movups xmmword [esp + 0xc], xmm0
mov byte [esp + 0x1c], 1
nop
mov al, cl
add al, 0x2e
xor byte [esp + ecx + 0xc], al
inc ecx
cmp ecx, 0xf
jb 0x100495b0
lea edx, [esp + 0xc]
mov byte [esp + 0x1c], 0
lea ecx, [edx + 1]
nop word [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x100495d0
sub edx, ecx
lea eax, [esp + 0xc]
push edx
cmp ebp, 0x10
lea ecx, [esp + 0x28]
push eax
cmovae ecx, edi
mov edx, ebx
call fcn.100183c0
add esp, 8
test al, al
jne 0x1004995c
movaps xmm0, xmmword [0x1025ba10]
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 0x10049611
lea edx, [esp + 0xc]
mov byte [esp + 0x1f], 0
lea ecx, [edx + 1]
nop dword [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x10049630
sub edx, ecx
lea eax, [esp + 0xc]
push edx
cmp ebp, 0x10
lea ecx, [esp + 0x28]
push eax
cmovae ecx, edi
mov edx, ebx
call fcn.100183c0
add esp, 8
test al, al
jne 0x1004995c
movaps xmm0, xmmword [0x1025b840]
xor ecx, ecx
movups xmmword [esp + 0xc], xmm0
mov byte [esp + 0x1c], 1
nop
mov al, cl
add al, 0x2e
xor byte [esp + ecx + 0xc], al
inc ecx
cmp ecx, 0xf
jb 0x10049670
lea edx, [esp + 0xc]
mov byte [esp + 0x1c], 0
lea ecx, [edx + 1]
nop word [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x10049690
sub edx, ecx
lea eax, [esp + 0xc]
push edx
cmp ebp, 0x10
lea ecx, [esp + 0x28]
push eax
cmovae ecx, edi
mov edx, ebx
call fcn.100183c0
add esp, 8
test al, al
jne 0x1004995c
movaps xmm0, xmmword [0x1025c920]
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 0x100496d1
lea edx, [esp + 0xc]
mov byte [esp + 0x1f], 0
lea ecx, [edx + 1]
nop dword [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x100496f0
sub edx, ecx
lea eax, [esp + 0xc]
push edx
cmp ebp, 0x10
lea ecx, [esp + 0x28]
push eax
cmovae ecx, edi
mov edx, ebx
call fcn.100183c0
add esp, 8
test al, al
jne 0x1004995c
movaps xmm0, xmmword [0x1025b920]
xor ecx, ecx
movups xmmword [esp + 0xc], xmm0
mov byte [esp + 0x1c], 1
nop
mov al, cl
add al, 0x2e
xor byte [esp + ecx + 0xc], al
inc ecx
cmp ecx, 0xf
jb 0x10049730
lea edx, [esp + 0xc]
mov byte [esp + 0x1c], 0
lea ecx, [edx + 1]
nop word [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x10049750
sub edx, ecx
lea eax, [esp + 0xc]
push edx
cmp ebp, 0x10
lea ecx, [esp + 0x28]
push eax
cmovae ecx, edi
mov edx, ebx
call fcn.100183c0
add esp, 8
test al, al
jne 0x1004995c
movaps xmm0, xmmword [0x1025cbc0]
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 0x10049795
lea edx, [esp + 0xc]
mov byte [esp + 0x1e], 0
lea ecx, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x100497b0
sub edx, ecx
lea eax, [esp + 0xc]
push edx
cmp ebp, 0x10
lea ecx, [esp + 0x28]
push eax
cmovae ecx, edi
mov edx, ebx
call fcn.100183c0
add esp, 8
test al, al
jne 0x1004995c
movaps xmm0, xmmword [0x1025cc70]
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 0x100497f5
lea edx, [esp + 0xc]
mov byte [esp + 0x1e], 0
lea ecx, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x10049810
sub edx, ecx
lea eax, [esp + 0xc]
push edx
cmp ebp, 0x10
lea ecx, [esp + 0x28]
push eax
cmovae ecx, edi
mov edx, ebx
call fcn.100183c0
add esp, 8
test al, al
jne 0x1004995c
movaps xmm0, xmmword [0x1025ce70]
xor ecx, ecx
movups xmmword [esp + 0xc], xmm0
mov word [esp + 0x1c], 0x100
mov al, cl
add al, 0x2e
xor byte [esp + ecx + 0xc], al
inc ecx
cmp ecx, 0x10
jb 0x10049850
lea edx, [esp + 0xc]
mov byte [esp + 0x1d], 0
lea ecx, [edx + 1]
nop word [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x10049870
sub edx, ecx
lea eax, [esp + 0xc]
push edx
cmp ebp, 0x10
lea ecx, [esp + 0x28]
push eax
cmovae ecx, edi
mov edx, ebx
call fcn.100183c0
add esp, 8
test al, al
jne 0x1004995c
movaps xmm0, xmmword [0x1025ceb0]
xor ecx, ecx
movups xmmword [esp + 0xc], xmm0
mov word [esp + 0x1c], 0x100
mov al, cl
add al, 0x2e
xor byte [esp + ecx + 0xc], al
inc ecx
cmp ecx, 0x10
jb 0x100498b0
lea edx, [esp + 0xc]
mov byte [esp + 0x1d], 0
lea ecx, [edx + 1]
nop word [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x100498d0
sub edx, ecx
lea eax, [esp + 0xc]
push edx
cmp ebp, 0x10
lea ecx, [esp + 0x28]
push eax
cmovae ecx, edi
mov edx, ebx
call fcn.100183c0
add esp, 8
test al, al
jne 0x1004995c
movaps xmm0, xmmword [0x1025b8f0]
xor ecx, ecx
movups xmmword [esp + 0xc], xmm0
mov byte [esp + 0x1c], 1
nop
mov al, cl
add al, 0x2e
xor byte [esp + ecx + 0xc], al
inc ecx
cmp ecx, 0xf
jb 0x10049910
push esi
lea esi, [esp + 0x10]
mov byte [esp + 0x20], 0
lea ecx, [esi + 1]
nop dword [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x10049930
sub esi, ecx
lea eax, [esp + 0x10]
cmp ebp, 0x10
lea ecx, [esp + 0x28]
push esi
cmovae ecx, edi
mov edx, ebx
push eax
call fcn.100183c0
add esp, 8
pop esi
test al, al
jne 0x1004995c
xor bl, bl
jmp 0x1004995e
mov bl, 1
cmp ebp, 0x10
jb 0x10049990
lea ecx, [ebp + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x10049986
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10049986
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, 0x14
ret