Function at 0x10049b50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
mov al, 0x27
mov byte [esp + 0xa], 0x24
mov bh, al
mov byte [esp + 0xc], 0x46
xor al, byte [esp + 0xc]
mov dl, 0x35
mov byte [esp + 0xb], bh
mov bl, 0x23
mov bh, byte [esp + 0xa]
mov ah, 0x19
xor bh, byte [esp + 0xc]
mov dh, 0x34
push esi
mov esi, ecx
mov byte [esp + 0xe], bh
mov byte [esp + 0x11], bh
mov cl, 0x33
mov bh, byte [esp + 0xf]
mov ch, 0x28
mov byte [esp + 0x12], al
mov al, byte [esp + 0x10]
xor dl, al
mov byte [esp + 0x1a], 0
xor bl, al
mov byte [esp + 0x13], dl
xor ah, al
mov byte [esp + 0x14], bl
xor dh, al
mov byte [esp + 0x15], ah
xor cl, al
mov byte [esp + 0x16], dh
xor ch, al
mov byte [esp + 0x17], cl
xor bh, al
mov byte [esp + 0x18], ch
cmp byte [esp + 0xe], 0
push edi
mov byte [esp + 0x1d], bh
mov byte [esp + 0x1e], 0
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
jne 0x10049bf0
xor ecx, ecx
jmp 0x10049c00
lea ecx, [esp + 0x15]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10049bf7
sub ecx, edx
push ecx
lea eax, [esp + 0x19]
push eax
lea ecx, [esp + 0x30]
call fcn.100028c0
mov ecx, dword [esi]
lea edx, [esp + 0x28]
call fcn.100145a0
mov edx, dword [esp + 0x3c]
mov dword [esi + 4], eax
cmp edx, 0x10
jb 0x10049c35
mov ecx, dword [esp + 0x28]
inc edx
push 1
call fcn.10002790
add esp, 4
movaps xmm0, xmmword [0x10070050]
xor ecx, ecx
movups xmmword [esp + 0x14], xmm0
mov word [esp + 0x24], 4
nop word [eax + eax]
mov al, byte [esp + 0x14]
xor byte [esp + ecx + 0x15], al
inc ecx
cmp ecx, 0x10
jb 0x10049c50
cmp byte [esp + 0x15], 0
mov byte [esp + 0x25], 0
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
jne 0x10049c83
xor ecx, ecx
jmp 0x10049c99
lea ecx, [esp + 0x15]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10049c90
sub ecx, edx
push ecx
lea eax, [esp + 0x19]
push eax
lea ecx, [esp + 0x30]
call fcn.100028c0
mov ecx, dword [esi + 4]
lea edx, [esp + 0x28]
call fcn.100145a0
mov edx, dword [esp + 0x3c]
mov dword [esi + 8], eax
cmp edx, 0x10
jb 0x10049ccf
mov ecx, dword [esp + 0x28]
inc edx
push 1
call fcn.10002790
add esp, 4
movaps xmm0, xmmword [0x1006f450]
xor ecx, ecx
movups xmmword [esp + 0x14], xmm0
mov word [esp + 0x24], 0x64
mov al, byte [esp + 0x14]
xor byte [esp + ecx + 0x15], al
inc ecx
cmp ecx, 0x10
jb 0x10049ce4
cmp byte [esp + 0x15], 0
mov byte [esp + 0x25], 0
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
jne 0x10049d17
xor ecx, ecx
jmp 0x10049d29
lea ecx, [esp + 0x15]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10049d20
sub ecx, edx
push ecx
lea eax, [esp + 0x19]
push eax
lea ecx, [esp + 0x30]
call fcn.100028c0
mov ecx, dword [esi + 4]
lea edx, [esp + 0x28]
call fcn.100145a0
mov edx, dword [esp + 0x3c]
mov dword [esi + 0xc], eax
cmp edx, 0x10
jb 0x10049d5f
mov ecx, dword [esp + 0x28]
inc edx
push 1
call fcn.10002790
add esp, 4
mov dl, 0x51
mov byte [esp + 0x12], 0x56
mov bh, dl
mov byte [esp + 0x14], 0x34
mov byte [esp + 0x13], bh
mov al, 0x55
mov bh, byte [esp + 0x12]
mov cl, 0x47
xor bh, byte [esp + 0x14]
mov bl, 0x6b
xor al, byte [esp + 0x14]
mov ah, 0x40
mov byte [esp + 0x12], bh
mov ch, 0x5d
mov byte [esp + 0x15], bh
mov dh, 0x59
mov bh, byte [esp + 0x13]
mov byte [esp + 0x16], al
mov al, byte [esp + 0x14]
xor cl, al
mov byte [esp + 0x1e], 0
xor dl, al
mov byte [esp + 0x17], cl
xor bl, al
mov byte [esp + 0x18], dl
xor ah, al
mov byte [esp + 0x19], bl
xor ch, al
mov byte [esp + 0x1a], ah
xor dh, al
mov byte [esp + 0x1b], ch
xor bh, al
mov byte [esp + 0x1c], dh
cmp byte [esp + 0x12], 0
mov byte [esp + 0x1d], bh
mov byte [esp + 0x1e], 0
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
jne 0x10049df1
xor ecx, ecx
jmp 0x10049e01
lea ecx, [esp + 0x15]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10049df8
sub ecx, edx
push ecx
lea eax, [esp + 0x19]
push eax
lea ecx, [esp + 0x30]
call fcn.100028c0
mov ecx, dword [esi + 4]
lea edx, [esp + 0x28]
call fcn.100145a0
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x10], eax
cmp edx, 0x10
jb 0x10049e37
mov ecx, dword [esp + 0x28]
inc edx
push 1
call fcn.10002790
add esp, 4
mov al, 0x24
mov byte [esp + 0x14], 0x50
mov bl, al
mov byte [esp + 0x1d], 0
xor al, byte [esp + 0x14]
mov bh, 0x23
xor bh, byte [esp + 0x14]
mov cl, 0x22
mov byte [esp + 0x16], al
mov dl, 0xf
mov al, byte [esp + 0x14]
mov ah, 0x39
mov ch, 0x3d
mov byte [esp + 0x15], bh
mov dh, 0x35
mov byte [esp + 0x1d], 0
xor cl, al
mov dword [esp + 0x3c], 0xf
xor dl, al
mov byte [esp + 0x17], cl
xor bl, al
mov byte [esp + 0x18], dl
xor ah, al
mov byte [esp + 0x19], bl
xor ch, al
mov byte [esp + 0x1a], ah
xor dh, al
mov byte [esp + 0x1b], ch
mov byte [esp + 0x1c], dh
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
test bh, bh
jne 0x10049eab
xor ecx, ecx
jmp 0x10049ebb
lea ecx, [esp + 0x15]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10049eb2
sub ecx, edx
push ecx
lea eax, [esp + 0x19]
push eax
lea ecx, [esp + 0x30]
call fcn.100028c0
mov ecx, dword [esi + 0x10]
lea edx, [esp + 0x28]
call fcn.100145a0
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x14], eax
cmp edx, 0x10
jb 0x10049ef1
mov ecx, dword [esp + 0x28]
inc edx
push 1
call fcn.10002790
add esp, 4
mov edi, dword [esi + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test edi, edi
je 0x10049f10
push 4
push edi
call ebx
test eax, eax
jne 0x10049f10
push eax
mov ecx, edi
call dword [0x1006ebec]
mov esi, dword [esi]
test esi, esi
je 0x10049f29
push 4
push esi
call ebx
test eax, eax
jne 0x10049f29
push 0x14
mov ecx, esi
call dword [0x1006ebfc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret