Function at 0x10004aaf
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a889e
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
push esi
push edi
mov eax, dword [0x100c90c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebx + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x34], esi
mov ecx, esi
mov dword [ebp - 0x30], 1
push 0
movups xmmword [esi], xmm0
push 0x100b68a3
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.10002620
mov dword [ebp - 4], 0
mov edi, dword [0x100ce4f0]
mov dword [ebp - 0x30], 1
test edi, edi
je case.0x10004936.113
cmp byte [0x100ce578], 0
je 0x1000491f
mov ecx, 0xd78c9c
call fcn.1001cb40
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x1000491f
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1000491f
mov eax, dword [ebp - 0x2c]
add eax, 0x6a8
push 4
push eax
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1000491f
mov eax, dword [ebp - 0x2c]
mov ax, word [eax]
mov word [edi + 0x3c], ax
movzx eax, word [edi + 0x3c]
add eax, 0xffffff9b
cmp eax, 0x6f
ja case.0x10004936.113
movzx eax, byte [eax + 0x10004be8]
jmp dword [eax*4 + 0x10004bc4]
mov dl, 0x7c
mov dword [ebp - 0x24], 0xe1d377c
mov dword [ebp - 0x20], 0x2b5c0f09
xor ecx, ecx
mov dword [ebp - 0x1c], 0x150e0e1d
mov word [ebp - 0x18], 0xe13
mov byte [ebp - 0x16], 0
lea eax, [ebp - 0x23]
xor byte [eax + ecx], dl
inc ecx
cmp ecx, 0xd
jae 0x10004971
mov dl, byte [ebp - 0x24]
jmp 0x10004960
lea ecx, [ebp - 0x23]
mov byte [ebp - 0x16], 0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10004980
jmp 0x10004b9e
mov dl, 0x73
mov dword [ebp - 0x20], 0x1123873
mov dword [ebp - 0x1c], 0x21530006
xor ecx, ecx
mov dword [ebp - 0x18], 0x1606141c
mov byte [ebp - 0x14], 0
nop dword [eax]
lea eax, [ebp - 0x1f]
xor byte [eax + ecx], dl
inc ecx
cmp ecx, 0xb
jae 0x100049c1
mov dl, byte [ebp - 0x20]
jmp 0x100049b0
lea ecx, [ebp - 0x1f]
mov byte [ebp - 0x14], 0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100049d0
lea eax, [ebp - 0x1f]
jmp 0x10004ba1
mov cl, 0x4b
mov byte [ebp - 0x20], 0x2a
mov byte [ebp - 0x26], cl
mov al, 0x61
xor al, byte [ebp - 0x20]
mov ch, 0x59
xor cl, byte [ebp - 0x20]
mov dl, 0x58
mov byte [ebp - 0x1f], al
mov dh, 0xa
mov byte [ebp - 0x1e], cl
mov ah, 0x5f
mov cl, byte [ebp - 0x20]
mov byte [ebp - 0x25], 0x67
xor dl, cl
mov al, byte [ebp - 0x25]
xor ch, cl
xor al, cl
mov byte [ebp - 0x27], 0x4d
mov byte [ebp - 0x19], al
xor dh, cl
mov al, byte [ebp - 0x26]
xor ah, cl
xor al, cl
mov byte [ebp - 0x28], 0x4f
mov byte [ebp - 0x18], al
mov al, byte [ebp - 0x27]
xor al, cl
mov byte [ebp - 0x1b], ch
mov byte [ebp - 0x17], al
mov al, byte [ebp - 0x28]
xor al, cl
mov byte [ebp - 0x15], 0
lea ecx, [ebp - 0x1f]
mov byte [ebp - 0x1d], dl
mov byte [ebp - 0x1a], dh
lea edx, [ecx + 1]
mov byte [ebp - 0x1c], ah
mov byte [ebp - 0x16], al
mov byte [ebp - 0x15], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10004a50
lea eax, [ebp - 0x1f]
jmp 0x10004ba1
mov dl, 0x3e
mov dword [ebp - 0x20], 0x4c5f753e
mov dword [ebp - 0x1c], 0x6e1e4d4b
xor ecx, ecx
mov dword [ebp - 0x18], 0x4d5b574c
mov word [ebp - 0x14], 0x4a
nop
lea eax, [ebp - 0x1f]
xor byte [eax + ecx], dl
inc ecx
cmp ecx, 0xc
jae 0x10004a91
mov dl, byte [ebp - 0x20]
jmp 0x10004a80
lea ecx, [ebp - 0x1f]
mov byte [ebp - 0x13], 0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10004aa0
lea eax, [ebp - 0x1f]
jmp 0x10004ba1
movaps xmm0, xmmword [0x100bf500]
xor ecx, ecx
movups xmmword [ebp - 0x24], xmm0
mov word [ebp - 0x14], 0x35
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x10
jb 0x10004ac2
lea ecx, [ebp - 0x23]
mov byte [ebp - 0x13], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10004ae0
jmp 0x10004b9e
movaps xmm0, xmmword [str.O_no]
xor ecx, ecx
movups xmmword [ebp - 0x24], xmm0
nop dword [eax]
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0xe
jb 0x10004b00
lea ecx, [ebp - 0x23]
mov byte [ebp - 0x15], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10004b17
jmp 0x10004b9e
mov dl, 0x58
mov dword [ebp - 0x24], 0x78341d58
mov dword [ebp - 0x20], 0x392a3715
xor ecx, ecx
mov dword [ebp - 0x1c], 0x3915783c
mov word [ebp - 0x18], 0x3d3f
mov byte [ebp - 0x16], 0
lea eax, [ebp - 0x23]
xor byte [eax + ecx], dl
inc ecx
cmp ecx, 0xd
jae 0x10004b54
mov dl, byte [ebp - 0x24]
jmp 0x10004b43
lea ecx, [ebp - 0x23]
mov byte [ebp - 0x16], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10004b60
jmp 0x10004b9e
movaps xmm0, xmmword [0x100bfe30]
xor ecx, ecx
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x14], 0
nop word [eax + eax]
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0xf
jb 0x10004b80
lea ecx, [ebp - 0x23]
mov byte [ebp - 0x14], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10004b97
lea eax, [ebp - 0x23]
sub ecx, edx
push ecx
push eax
mov ecx, esi
call fcn.10005f40
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4