Function at 0x1004a800
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x1c
movaps xmm0, xmmword [0x1025c6d0]
xor ecx, ecx
movups xmmword [esp], xmm0
mov dword [esp + 0x10], 0x24304f5f
mov dword [esp + 0x14], 0x71c30
mov byte [esp + 0x18], 1
mov al, cl
add al, 0x2e
xor byte [esp + ecx], al
inc ecx
cmp ecx, 0x17
jb 0x1004a825
lea edx, [esp]
mov byte [esp + 0x18], 0
lea ecx, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x1004a840
push ebx
mov ebx, dword [esp + 0x34]
lea eax, [esp + 4]
push ebp
mov ebp, dword [esp + 0x3c]
sub edx, ecx
push edi
mov edi, dword [esp + 0x2c]
lea ecx, [esp + 0x2c]
push edx
cmp ebp, 0x10
mov edx, ebx
push eax
cmovae ecx, edi
call fcn.100183c0
add esp, 8
test al, al
jne 0x1004ab1c
movaps xmm0, xmmword [0x1025ba50]
xor ecx, ecx
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x1c], 0xa183e37
mov dword [esp + 0x20], 0x1d0b1d1c
mov dword [esp + 0x24], 0x100322f
mov al, cl
add al, 0x58
xor byte [esp + ecx + 0xc], al
inc ecx
cmp ecx, 0x1a
jb 0x1004a8a0
lea edx, [esp + 0xc]
mov byte [esp + 0x27], 0
lea ecx, [edx + 1]
nop word [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x1004a8c0
sub edx, ecx
lea eax, [esp + 0xc]
push edx
cmp ebp, 0x10
lea ecx, [esp + 0x30]
push eax
cmovae ecx, edi
mov edx, ebx
call fcn.100183c0
add esp, 8
test al, al
jne 0x1004ab1c
movaps xmm0, xmmword [0x1025c690]
xor ecx, ecx
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x1c], 0x24304f5f
mov dword [esp + 0x20], 0x71c30
mov byte [esp + 0x24], 1
nop
mov al, cl
add al, 0x2e
xor byte [esp + ecx + 0xc], al
inc ecx
cmp ecx, 0x17
jb 0x1004a910
lea edx, [esp + 0xc]
mov byte [esp + 0x24], 0
lea ecx, [edx + 1]
nop word [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x1004a930
sub edx, ecx
lea eax, [esp + 0xc]
push edx
cmp ebp, 0x10
lea ecx, [esp + 0x30]
push eax
cmovae ecx, edi
mov edx, ebx
call fcn.100183c0
add esp, 8
test al, al
jne 0x1004ab1c
movaps xmm0, xmmword [0x1025cc70]
xor ecx, ecx
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x1c], 0x31214d69
mov dword [esp + 0x20], 0x1a362632
mov word [esp + 0x24], 5
mov byte [esp + 0x26], 1
mov al, cl
add al, 0x2e
xor byte [esp + ecx + 0xc], al
inc ecx
cmp ecx, 0x19
jb 0x1004a985
lea edx, [esp + 0xc]
mov byte [esp + 0x26], 0
lea ecx, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x1004a9a0
sub edx, ecx
lea eax, [esp + 0xc]
push edx
cmp ebp, 0x10
lea ecx, [esp + 0x30]
push eax
cmovae ecx, edi
mov edx, ebx
call fcn.100183c0
add esp, 8
test al, al
jne 0x1004ab1c
movaps xmm0, xmmword [0x1025cd10]
xor ecx, ecx
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x1c], 0x31305e4c
mov dword [esp + 0x20], 0x61b3127
mov word [esp + 0x24], 0x100
mov al, cl
add al, 0x2e
xor byte [esp + ecx + 0xc], al
inc ecx
cmp ecx, 0x18
jb 0x1004a9f0
lea edx, [esp + 0xc]
mov byte [esp + 0x25], 0
lea ecx, [edx + 1]
nop word [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x1004aa10
sub edx, ecx
lea eax, [esp + 0xc]
push edx
cmp ebp, 0x10
lea ecx, [esp + 0x30]
push eax
cmovae ecx, edi
mov edx, ebx
call fcn.100183c0
add esp, 8
test al, al
jne 0x1004ab1c
movaps xmm0, xmmword [0x1025c6a0]
xor ecx, ecx
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x1c], 0x24304f5f
mov dword [esp + 0x20], 0x71c30
mov byte [esp + 0x24], 1
nop
mov al, cl
add al, 0x2e
xor byte [esp + ecx + 0xc], al
inc ecx
cmp ecx, 0x17
jb 0x1004aa60
lea edx, [esp + 0xc]
mov byte [esp + 0x24], 0
lea ecx, [edx + 1]
nop word [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x1004aa80
sub edx, ecx
lea eax, [esp + 0xc]
push edx
cmp ebp, 0x10
lea ecx, [esp + 0x30]
push eax
cmovae ecx, edi
mov edx, ebx
call fcn.100183c0
add esp, 8
test al, al
jne 0x1004ab1c
movaps xmm0, xmmword [0x1025c6c0]
xor ecx, ecx
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x1c], 0x24304f5f
mov dword [esp + 0x20], 0x71c30
mov byte [esp + 0x24], 1
nop
mov al, cl
add al, 0x2e
xor byte [esp + ecx + 0xc], al
inc ecx
cmp ecx, 0x17
jb 0x1004aad0
push esi
lea esi, [esp + 0x10]
mov byte [esp + 0x28], 0
lea ecx, [esi + 1]
nop dword [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x1004aaf0
sub esi, ecx
lea eax, [esp + 0x10]
cmp ebp, 0x10
lea ecx, [esp + 0x30]
push esi
cmovae ecx, edi
mov edx, ebx
push eax
call fcn.100183c0
add esp, 8
pop esi
test al, al
jne 0x1004ab1c
xor bl, bl
jmp 0x1004ab1e
mov bl, 1
cmp ebp, 0x10
jb 0x1004ab50
lea ecx, [ebp + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x1004ab46
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1004ab46
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, 0x1c
ret