Function at 0x100412f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esi]
test edi, edi
je 0x1004131a
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004131a
mov ecx, edi
call dword [0x10075220]
mov edi, eax
jmp 0x1004131c
xor edi, edi
mov ebx, dword [esi]
test ebx, ebx
je 0x1004133b
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004133b
or edi, 0x20
mov ecx, ebx
push edi
call dword [0x10075224]
mov byte [ebp - 0x14], 0x11
mov al, 0x73
xor al, byte [ebp - 0x14]
mov cl, 0x65
mov byte [ebp - 0x13], al
mov dl, 0x7f
mov al, byte [ebp - 0x14]
mov ch, 0x7d
xor cl, al
mov byte [ebp - 1], 0x74
xor dl, al
mov byte [ebp - 0x12], cl
xor ch, al
mov byte [ebp - 0x11], dl
mov dh, 0x7e
mov byte [ebp - 0xe], ch
xor dh, al
mov byte [ebp - 0xa], 0
mov bl, 0x4e
mov byte [ebp - 0xd], dh
xor bl, al
mov byte [ebp - 0xa], 0
mov ah, 0x72
mov byte [ebp - 0x10], bl
xor ah, al
lea ecx, [ebp - 0x13]
mov bh, 0x62
mov byte [ebp - 0xf], ah
xor bh, al
lea edi, [ecx + 1]
mov al, byte [ebp - 1]
xorps xmm0, xmm0
xor al, byte [ebp - 0x14]
sub esp, 0x18
mov edx, esp
mov byte [ebp - 0xc], bh
mov byte [ebp - 0xb], al
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100413b0
sub ecx, edi
lea eax, [ebp - 0x13]
push ecx
push eax
mov ecx, edx
call fcn.10005220
mov ecx, dword [esi]
call fcn.100138b0
add esp, 0x18
mov dword [esi + 4], eax
mov cl, 0x40
mov dword [ebp - 0x18], 0x2e342240
mov dword [ebp - 0x14], 0x3221371f
xor eax, eax
mov dword [ebp - 0x10], 0x322f2932
mov byte [ebp - 0xc], 0
nop
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 0xb
jae 0x100413ff
mov cl, byte [ebp - 0x18]
jmp 0x100413f0
sub esp, 0x18
mov byte [ebp - 0xc], 0
mov edx, esp
lea ecx, [ebp - 0x17]
xorps xmm0, xmm0
lea edi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10041422
sub ecx, edi
lea eax, [ebp - 0x17]
push ecx
push eax
mov ecx, edx
call fcn.10005220
mov ecx, dword [esi]
call fcn.100138b0
mov dword [esi + 8], eax
mov dl, 0x45
mov byte [ebp - 0x14], 0x2b
mov al, 0x49
xor al, byte [ebp - 0x14]
mov dh, 0x4c
mov byte [ebp - 0x13], al
mov cl, 0x5f
mov al, byte [ebp - 0x14]
mov ch, 0x44
xor dl, al
mov byte [ebp - 1], 0x4e
xor dh, al
mov byte [ebp - 0x11], dl
xor cl, al
mov byte [ebp - 0xd], dh
xor ch, al
mov byte [ebp - 0x12], cl
mov edx, esp
mov byte [ebp - 0xe], ch
mov bl, 0x74
mov byte [ebp - 0xa], 0
mov ah, 0x59
mov byte [ebp - 0xa], 0
mov bh, 0x5e
lea ecx, [ebp - 0x13]
xor bl, al
lea edi, [ecx + 1]
xor ah, al
mov byte [ebp - 0x10], bl
xor bh, al
mov byte [ebp - 0xf], ah
mov al, byte [ebp - 1]
xorps xmm0, xmm0
xor al, byte [ebp - 0x14]
movups xmmword [edx], xmm0
mov byte [ebp - 0xc], bh
mov byte [ebp - 0xb], al
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100414b2
sub ecx, edi
lea eax, [ebp - 0x13]
push ecx
push eax
mov ecx, edx
call fcn.10005220
mov ecx, dword [esi]
call fcn.100138b0
mov dword [esi + 0xc], eax
mov dl, 0x72
mov byte [ebp - 0x14], 0x1c
mov al, 0x7e
xor al, byte [ebp - 0x14]
mov dh, 0x7b
mov byte [ebp - 0x13], al
mov cl, 0x68
mov al, byte [ebp - 0x14]
mov ch, 0x7d
xor dl, al
mov byte [ebp - 0xb], 0
xor dh, al
mov byte [ebp - 0x11], dl
xor cl, al
mov byte [ebp - 0xd], dh
mov edx, esp
mov byte [ebp - 0x12], cl
xor ch, al
mov byte [ebp - 0xb], 0
mov bl, 0x43
mov byte [ebp - 0xe], ch
mov ah, 0x71
lea ecx, [ebp - 0x13]
mov bh, 0x79
lea edi, [ecx + 1]
xor bl, al
xor ah, al
xorps xmm0, xmm0
mov byte [ebp - 0x10], bl
xor bh, al
mov byte [ebp - 0xf], ah
movups xmmword [edx], xmm0
mov byte [ebp - 0xc], bh
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10041535
sub ecx, edi
lea eax, [ebp - 0x13]
push ecx
push eax
mov ecx, edx
call fcn.10005220
mov ecx, dword [esi]
call fcn.100138b0
mov dword [esi + 0x10], eax
mov cl, 0x25
mov byte [ebp - 2], cl
mov al, 0x33
mov byte [ebp - 0x14], 0x51
mov dl, 0x3f
xor al, byte [ebp - 0x14]
mov dh, 0x38
xor cl, byte [ebp - 0x14]
mov ch, 0x23
mov byte [ebp - 0x13], al
mov bl, 0xe
mov byte [ebp - 0x12], cl
mov ah, 0x21
mov cl, byte [ebp - 0x14]
mov bh, 0x34
xor dl, cl
mov byte [ebp - 1], 0x22
mov al, byte [ebp - 1]
xor dh, cl
xor al, cl
mov byte [ebp - 0x11], dl
xor ch, cl
mov byte [ebp - 0xd], dh
mov edx, esp
mov byte [ebp - 0xb], al
mov al, byte [ebp - 2]
xor bl, cl
xor ah, cl
mov byte [ebp - 0xe], ch
xor bh, cl
mov byte [ebp - 9], 0
xor al, cl
mov byte [ebp - 0x10], bl
xorps xmm0, xmm0
mov byte [ebp - 0xf], ah
movups xmmword [edx], xmm0
lea ecx, [ebp - 0x13]
mov byte [ebp - 0xc], bh
mov byte [ebp - 0xa], al
lea edi, [ecx + 1]
mov byte [ebp - 9], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100415d0
sub ecx, edi
lea eax, [ebp - 0x13]
push ecx
push eax
mov ecx, edx
call fcn.10005220
mov ecx, dword [esi]
call fcn.100138b0
movaps xmm0, xmmword [0x100774b0]
add esp, 0x18
mov dword [esi + 0x14], eax
xor ecx, ecx
movups xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 0xc], 0x7e7672
mov al, byte [ebp - 0x1c]
xor byte [ebp + ecx - 0x1b], al
inc ecx
cmp ecx, 0x12
jb 0x10041606
sub esp, 0x18
mov byte [ebp - 9], 0
mov edx, esp
lea ecx, [ebp - 0x1b]
xorps xmm0, xmm0
lea edi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10041636
sub ecx, edi
lea eax, [ebp - 0x1b]
push ecx
push eax
mov ecx, edx
call fcn.10005220
mov ecx, dword [esi]
call fcn.100138b0
movaps xmm0, xmmword [0x100772a0]
add esp, 0x18
mov dword [esi + 0x18], eax
xor ecx, ecx
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x10], 0x667d676b
mov word [ebp - 0xc], 0x7c
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0x14
jb 0x10041672
sub esp, 0x18
mov byte [ebp - 0xb], 0
mov edx, esp
lea ecx, [ebp - 0x1f]
xorps xmm0, xmm0
lea edi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100416a2
sub ecx, edi
lea eax, [ebp - 0x1f]
push ecx
push eax
mov ecx, edx
call fcn.10005220
mov ecx, dword [esi]
call fcn.100138b0
movaps xmm0, xmmword [0x10077210]
add esp, 0x18
mov dword [esi + 0x1c], eax
xor ecx, ecx
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x10], 0x525e6251
mov dword [ebp - 0xc], 0x495348
nop
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0x16
jb 0x100416e0
sub esp, 0x18
mov byte [ebp - 9], 0
mov edx, esp
lea ecx, [ebp - 0x1f]
xorps xmm0, xmm0
lea edi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10041710
sub ecx, edi
lea eax, [ebp - 0x1f]
push ecx
push eax
mov ecx, edx
call fcn.10005220
mov ecx, dword [esi]
call fcn.100138b0
add esp, 0x18
mov dword [esi + 0x20], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret