Function at 0x10119460
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10183a6d
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x101dadb0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
sub esp, 0x1c
lea eax, [ebp - 0x35]
mov esi, esp
mov dword [ebp - 0x18], eax
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.100484a0
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [ebp - 4], 0
mov ecx, esi
push 4
push str.name
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
call fcn.10047890
mov dword [ebp - 4], 0xffffffff
push dword [ebx + 0x58]
call fcn.100d38b0
mov dword [ebx + 0x54], eax
mov cl, 0x14
mov dword [ebp - 0x20], 0x7d7f6714
xor eax, eax
mov dword [ebp - 0x1c], 0x734b7878
mov dword [ebp - 0x18], 0x64617b66
mov byte [ebp - 0x14], 0
xor byte [ebp + eax - 0x1f], cl
inc eax
cmp eax, 0xb
jae 0x10119530
mov cl, byte [ebp - 0x20]
jmp 0x10119521
sub esp, 0x1c
mov byte [ebp - 0x14], 0
lea eax, [ebp - 0x1f]
mov ecx, esp
push eax
call fcn.10046d00
push dword [ebx + 0x58]
call fcn.100d38b0
mov dword [ebx + 0x50], eax
xor esi, esi
mov edi, ebx
mov dword [ebp - 0x44], 0x14
nop dword [eax + eax]
movaps xmm0, xmmword [0x101c26e0]
sub esp, 0x1c
mov dword [ebp - 0x3c], esp
xor eax, eax
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0x44054e
push esi
nop dword [eax + eax]
mov cl, byte [ebp - 0x34]
xor byte [ebp + eax - 0x33], cl
inc eax
cmp eax, 0x12
jb 0x10119580
sub esp, 0x1c
mov byte [ebp - 0x21], 0
lea eax, [ebp - 0x33]
mov ecx, esp
push eax
call fcn.10046d00
push dword [ebp - 0x3c]
call fcn.10049e30
add esp, 0x24
push dword [ebx + 0x50]
call fcn.100d38b0
mov dword [edi], eax
inc esi
add edi, 4
sub dword [ebp - 0x44], 1
jne 0x10119560
sub esp, 0x1c
lea eax, [ebp - 0x35]
mov esi, esp
mov dword [ebp - 0x18], eax
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.100484a0
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [ebp - 4], 1
mov ecx, esi
push 9
push str.Btn_Drops
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
call fcn.10047890
mov dword [ebp - 4], 0xffffffff
push dword [ebx + 0x58]
call fcn.100d38b0
mov dword [ebx + 0x5c], eax
sub esp, 0x1c
mov esi, esp
lea eax, [ebp - 0x3d]
mov dword [ebp - 0x18], eax
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.100484a0
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [ebp - 4], 2
mov ecx, esi
push 0xb
push str.Text_Health
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
call fcn.10047890
mov dword [ebp - 4], 0xffffffff
push dword [ebx + 0x58]
call fcn.100d38b0
mov esi, dword [ebx + 0x5c]
mov dword [ebx + 0x64], eax
test esi, esi
je 0x101196e6
push 0
mov ecx, esi
call dword [0x101ba7a0]
mov esi, dword [ebx + 0x5c]
test esi, esi
je 0x101196e6
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x101196e6
mov dword [0x1027c054], esi
mov dword [0x1027bfe8], 7
call fcn.100d7450
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1011f880
mov esp, ebp
pop ebp
ret